:root {
  --maxw: 1200px;

  /* Brand */
  --brand-blue: #0C6DFD;
  --brand-blue-600: #1235e2;
  --brand-orange: #e79a2f;
  --brand-orange-600: #d98d25;
  --surface-footer: #f3f4f6;

  /* Text / UI */
  --text: #0e1633;
  --muted: #6b7280;
  --ring: #9db0ff;
  --hero-bg: #f3f3f5;
  --hero-title-color: #1E4C7A;

  /* Typography */
  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --font-primary: var(--font-sans);
  --font-family-base: var(--font-sans);
  --font-family-heading: var(--font-serif);
  --font-family-ui: var(--font-sans);

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Responsive type scale */
  --font-size-display-xl: clamp(2.25rem, 1.95rem + 1.5vw, 3.5rem);
  --line-height-display-xl: 1.08;
  --letter-spacing-display-xl: -0.04em;

  --font-size-display-lg: clamp(2rem, 1.8rem + 1vw, 2.625rem);
  --line-height-display-lg: 1.1;
  --letter-spacing-display-lg: -0.035em;

  --font-size-heading-1: clamp(1.875rem, 1.65rem + 1vw, 2.5rem);
  --line-height-heading-1: 1.12;
  --letter-spacing-heading-1: -0.03em;

  --font-size-heading-2: clamp(1.75rem, 1.55rem + 0.8vw, 2.25rem);
  --line-height-heading-2: 1.16;
  --letter-spacing-heading-2: -0.028em;

  --font-size-heading-3: clamp(1.5rem, 1.34rem + 0.55vw, 1.75rem);
  --line-height-heading-3: 1.2;
  --letter-spacing-heading-3: -0.022em;

  --font-size-heading-4: clamp(1.25rem, 1.14rem + 0.35vw, 1.375rem);
  --line-height-heading-4: 1.26;
  --letter-spacing-heading-4: -0.016em;

  --font-size-body-xl: clamp(1.0625rem, 1.01rem + 0.25vw, 1.125rem);
  --line-height-body-xl: 1.7;

  --font-size-body-lg: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --line-height-body-lg: 1.72;

  --font-size-body-md: clamp(0.9375rem, 0.91rem + 0.12vw, 1rem);
  --line-height-body-md: 1.72;

  --font-size-body-sm: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --line-height-body-sm: 1.64;

  --font-size-label-lg: clamp(0.9375rem, 0.91rem + 0.12vw, 1rem);
  --line-height-label-lg: 1.45;

  --font-size-label-md: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --line-height-label-md: 1.45;

  --font-size-label-sm: clamp(0.75rem, 0.73rem + 0.08vw, 0.8125rem);
  --line-height-label-sm: 1.4;

  --font-size-meta-xs: clamp(0.625rem, 0.61rem + 0.05vw, 0.6875rem);
  --line-height-meta-xs: 1.4;

  --font-size-meta-sm: clamp(0.75rem, 0.73rem + 0.08vw, 0.875rem);
  --line-height-meta-sm: 1.45;

  --font-size-button-md: clamp(0.9375rem, 0.91rem + 0.08vw, 1rem);
  --line-height-button-md: 1;

  --font-size-button-sm: clamp(0.8125rem, 0.8rem + 0.06vw, 0.875rem);
  --line-height-button-sm: 1;

  --font-size-stat-xl: clamp(2rem, 1.75rem + 1.1vw, 3.25rem);
  --line-height-stat-xl: 0.94;
  --letter-spacing-stat-xl: -0.05em;

  --font-size-stat-lg: clamp(1.875rem, 1.7rem + 0.9vw, 2.5rem);
  --line-height-stat-lg: 0.95;
  --letter-spacing-stat-lg: -0.05em;

  --font-size-hero-title: clamp(2rem, 1.75rem + 1vw, 2.625rem);
  --line-height-hero-title: 1.08;
  --letter-spacing-hero-title: -0.032em;

  /* Spacing rhythm */
  --space-2xs: clamp(0.25rem, 0.24rem + 0.03vw, 0.3125rem);
  --space-xs: clamp(0.5rem, 0.47rem + 0.08vw, 0.625rem);
  --space-sm: clamp(0.75rem, 0.7rem + 0.14vw, 0.875rem);
  --space-md: clamp(1rem, 0.93rem + 0.2vw, 1.125rem);
  --space-lg: clamp(1.25rem, 1.15rem + 0.3vw, 1.5rem);
  --space-xl: clamp(1.5rem, 1.35rem + 0.5vw, 2rem);
  --space-2xl: clamp(2rem, 1.8rem + 0.7vw, 2.5rem);
  --space-3xl: clamp(2.5rem, 2.2rem + 1vw, 3.5rem);

  --section-header-gap: var(--space-sm);
  --section-header-margin-bottom: var(--space-2xl);
  --section-intro-gap: var(--space-md);

  /* Buttons */
  --btn-radius: 4px;
  --btn-height: 44px;
  --btn-height-cta: 60px;
  --btn-padding-x: 16px;
  --btn-padding-x-cta: 22px;
  --btn-cta-min-width: 380px;

  /* Hero */
  --hero-radius: 12px;
  --hero-min-height-desktop: 400px;
  --hero-content-pad-top: 30px;
  --hero-content-pad-right: 32px;
  --hero-content-pad-bottom: 30px;
  --hero-content-pad-left: 32px;
  --hero-media-min-height: 400px;

  /* Focus */
  --focus-ring: 0 0 0 0.15rem rgba(12, 109, 253, 0.25);

  /* Testimonial */
  --testimonial-card-width: 306px;
  --testimonial-card-min-height: 440px;
  --testimonial-title-size: var(--font-size-label-lg);
  --testimonial-title-line: 1.375;
  --testimonial-body-size: var(--font-size-body-sm);
  --testimonial-body-line: 1.7;
  --testimonial-meta-size: var(--font-size-body-sm);
  --testimonial-meta-line: 1.45;
  --testimonial-price-size: var(--font-size-body-sm);
  --testimonial-price-line: 1.45;
  --testimonial-button-size: var(--font-size-button-md);
  --testimonial-button-line: 1;

  /* Product cards */
  --product-card-bg: #ffffff;
  --product-card-border: #dfe3ea;
  --product-card-title: #14204b;
  --product-card-text: #4f5d73;
  --product-card-meta: #5c6b85;
  --product-card-meta-strong: #16305f;
  --product-card-icon: var(--brand-blue);
  --product-card-button: var(--brand-orange);
  --product-card-button-hover: var(--brand-orange-600);
  --product-card-radius: 18px;
  --product-card-shadow: 0 4px 18px rgba(15, 23, 42, 0.035);

  --site-header-offset: 140px;
}

/* =========================================
   Base Typography
========================================= */

html {
  font-size: 16px;
}

body {
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body-md);
  line-height: var(--line-height-body-md);
  color: var(--text);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-padding-top: 96px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-semibold);
  color: var(--text);
  margin-top: 0;
  text-wrap: balance;
}

h1 {
  font-size: var(--font-size-heading-1);
  line-height: var(--line-height-heading-1);
  letter-spacing: var(--letter-spacing-heading-1);
  margin-bottom: var(--space-md);
}

h2 {
  font-size: var(--font-size-heading-2);
  line-height: var(--line-height-heading-2);
  letter-spacing: var(--letter-spacing-heading-2);
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: var(--font-size-heading-3);
  line-height: var(--line-height-heading-3);
  letter-spacing: var(--letter-spacing-heading-3);
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: var(--font-size-heading-4);
  line-height: var(--line-height-heading-4);
  letter-spacing: var(--letter-spacing-heading-4);
  margin-bottom: var(--space-xs);
}

p {
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

ul,
ol {
  margin-top: 0;
  margin-bottom: var(--space-md);
  padding-left: 1.25rem;
}

li + li {
  margin-top: var(--space-2xs);
}

button,
input,
select,
textarea {
  font: inherit;
}

a,
small,
strong,
span,
label {
  font-family: inherit;
}

/* =========================================
   Site Header
========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background-color: var(--surface-footer);
  font-family: var(--font-family-ui);
  border-bottom: 1px solid rgba(14, 22, 51, 0.06);
}

.site-header__main {
  background: var(--surface-footer);
  border-bottom: 1px solid rgba(14, 22, 51, 0.06);
}

/* allow dropdowns to escape cleanly */
.site-header,
.site-header .container,
.site-header .navbar,
.site-header .navbar-collapse,
.site-header .dropdown,
.site-header .dropdown-menu {
  overflow: visible;
}

.site-header .navbar {
  --bs-navbar-padding-y: 0;
  --bs-navbar-brand-padding-y: 0;
  padding: 0;
}

.site-header .navbar,
.site-header .navbar-brand,
.site-header .navbar-nav,
.site-header .nav-item,
.site-header .nav-link {
  margin: 0;
}

.site-header .navbar-brand,
.site-header .navbar-nav {
  padding: 0;
}

.site-header .nav-link {
  padding: 0;
  border: 0;
  background: transparent;
}

/* =========================================
   Utility Bar
========================================= */

.site-header__utility-bar {
  background: var(--surface-footer);
  border-bottom: 1px solid rgba(14, 22, 51, 0.08);
}

.site-header__utility-inner {
  min-height: calc(var(--space-lg) + var(--space-xs));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-header__hello {
  width: 100%;
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-family-ui);
  font-size: var(--font-size-body-sm);
  line-height: var(--line-height-body-sm);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0;
}

.site-header__hello a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.22s ease;
}

.site-header__hello a:hover,
.site-header__hello a:focus-visible {
  color: var(--brand-blue);
  text-decoration: none;
}

/* =========================================
   Main Header Row
========================================= */

.site-header__nav {
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}

.site-header__nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: var(--space-2xl);
  min-height: calc(var(--space-3xl) + var(--space-xs));
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-header__brand-logo {
  display: block;
  max-width: clamp(10.5rem, 10rem + 2vw, 11.875rem);
  max-height: clamp(2rem, 1.9rem + 0.35vw, 2.5rem);
  width: auto;
  height: auto;
}

.site-header .navbar-toggler {
  display: none;
}

/* =========================================
   Layout
========================================= */

.site-header .navbar-collapse {
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  min-width: 0;
}

.site-header__nav-wrap {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
}

/* =========================================
   Global Header Link Reset
========================================= */

.site-header a,
.site-header .nav-link,
.site-header .dropdown-toggle {
  text-decoration: none;
  color: inherit;
}

.site-header a:hover,
.site-header a:focus,
.site-header .nav-link:hover,
.site-header .nav-link:focus {
  text-decoration: none;
}

/* =========================================
   Shared animated underline system
========================================= */

.site-header__nav-link,
.site-header__dropdown-heading-link,
.site-header__dropdown-link {
  position: relative;
  text-decoration: none;
}

/* Primary nav underline uses ::before so caret can stay on ::after */
.site-header__nav-link::before {
  content: "";
  position: absolute;
  left: var(--space-md);
  right: var(--space-md);
  bottom: 18px;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.6);
  transform-origin: center;
  transition:
    transform 0.24s ease,
    opacity 0.2s ease;
  pointer-events: none;
}

.site-header__nav-link:hover::before,
.site-header__nav-link:focus-visible::before,
.site-header__nav-link[aria-expanded="true"]::before,
.site-header .nav-item.show > .site-header__nav-link::before,
.site-header .nav-item:hover > .site-header__nav-link::before,
.site-header .nav-item:focus-within > .site-header__nav-link::before {
  opacity: 1;
  transform: scaleX(1);
}

/* Secondary nav underline */
.site-header__dropdown-heading-link::after,
.site-header__dropdown-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.6);
  transform-origin: left center;
  transition:
    transform 0.24s ease,
    opacity 0.2s ease;
  pointer-events: none;
}

.site-header__dropdown-heading-link:hover::after,
.site-header__dropdown-heading-link:focus-visible::after,
.site-header__dropdown-link:hover::after,
.site-header__dropdown-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

/* =========================================
   Primary Navigation
========================================= */

.site-header__nav-list {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 84px;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  font-weight: var(--font-weight-semibold);
}

.site-header__nav-list > .nav-item {
  display: flex;
  align-items: stretch;
  position: static;
  margin: 0;
  padding: 0;
}

.site-header__nav-list > .nav-item > .site-header__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 100%;
  min-height: 0;
  padding: 0 var(--space-md);
  font-family: var(--font-family-ui);
  font-size: var(--font-size-label-lg);
  line-height: 1;
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--text) !important;
  background: transparent;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: color 0.22s ease;
}

.site-header .dropdown-toggle {
  background-image: none !important;
}

.site-header .dropdown-toggle.nav-link {
  padding-right: 0;
}

/* Custom caret retained for dropdown items */
.site-header__nav-link.dropdown-toggle::after,
.nav-link.dropdown-toggle.site-header__nav-link::after {
  display: inline-block;
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 6px;
  vertical-align: middle;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  border-top: 0;
  border-left: 0;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.site-header .nav-item.dropdown:hover > .site-header__nav-link.dropdown-toggle::after,
.site-header .nav-item.dropdown:focus-within > .site-header__nav-link.dropdown-toggle::after,
.site-header .nav-item.show > .site-header__nav-link.dropdown-toggle::after,
.site-header__nav-link.dropdown-toggle[aria-expanded="true"]::after {
  transform: translateY(1px) rotate(225deg);
}

.site-header__nav-link:hover,
.site-header__nav-link:focus,
.site-header__nav-link:focus-visible,
.site-header .nav-item.show > .site-header__nav-link,
.site-header__nav-link[aria-expanded="true"] {
  color: var(--brand-blue) !important;
  text-decoration: none;
}

.site-header__nav-link:focus-visible {
  outline: none;
}

/* =========================================
   Mega Menu Panel
========================================= */

.site-header__dropdown-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1200;
  width: 100%;
  min-width: 15rem;
  padding: var(--space-lg) 0;
  margin-top: 0;
  background: #ffffff;
  border: 0;
  border-top: 1px solid rgba(14, 22, 51, 0.06);
  border-radius: 0;
  box-shadow: 0 12px 30px rgba(14, 22, 51, 0.08);
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

/* Desktop hover-open */
@media (min-width: 992px) {
  .site-header .nav-item.dropdown {
    position: static;
  }

  .site-header .nav-item.dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
  }

  .site-header .nav-item.dropdown:hover > .site-header__dropdown-menu,
  .site-header .nav-item.dropdown:focus-within > .site-header__dropdown-menu,
  .site-header .nav-item.show > .site-header__dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* =========================================
   Mega Menu Headings
========================================= */

.site-header__dropdown-heading {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-family-ui);
  font-size: var(--font-size-label-sm);
  line-height: var(--line-height-label-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-header__dropdown-heading-link {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header__dropdown-heading-link::after {
  bottom: -1px;
}

.site-header__dropdown-heading-link:hover,
.site-header__dropdown-heading-link:focus,
.site-header__dropdown-heading-link:focus-visible {
  color: var(--brand-blue);
  text-decoration: none;
  outline: none;
}

/* =========================================
   Mega Menu Lists
========================================= */

.site-header__dropdown-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__dropdown-list li {
  margin: 0;
  padding: 0;
}

/* =========================================
   Mega Menu Links
========================================= */

.site-header__dropdown-link {
  display: inline-block;
  padding: var(--space-2xs) 0;
  font-family: var(--font-family-ui);
  font-size: var(--font-size-body-sm);
  line-height: var(--line-height-body-sm);
  font-weight: var(--font-weight-regular);
  letter-spacing: -0.01em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header__dropdown-link::after {
  bottom: 0;
}

.site-header__dropdown-link:hover,
.site-header__dropdown-link:focus,
.site-header__dropdown-link:focus-visible {
  color: var(--brand-blue);
  text-decoration: none;
  outline: none;
}

/* =========================================
   Search
========================================= */

.site-header__search {
  flex: 0 0 clamp(16rem, 14rem + 8vw, 20rem);
  width: clamp(16rem, 14rem + 8vw, 20rem);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.site-header__search .input-group {
  display: flex;
  align-items: center;
  width: 100%;
}

.site-header__search-input {
  height: clamp(2.375rem, 2.25rem + 0.3vw, 2.5rem);
  padding-inline: var(--space-sm);
  border: 1px solid #d1d5db;
  border-radius: 0;
  background: #ffffff;
  color: var(--text);
  font-family: var(--font-family-ui);
  font-size: var(--font-size-body-sm);
  line-height: var(--line-height-body-sm);
  box-shadow: none;
}

.site-header__search-input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.site-header__search-input:focus {
  border-color: var(--brand-blue);
  box-shadow: none;
  outline: none;
}

.site-header__search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.5rem, 2.35rem + 0.25vw, 2.625rem);
  height: clamp(2.375rem, 2.25rem + 0.3vw, 2.5rem);
  border: 1px solid #d1d5db;
  border-left: 0;
  border-radius: 0;
  background: #ffffff;
  color: var(--muted);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.site-header__search-button:hover,
.site-header__search-button:focus-visible {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  background: #ffffff;
  outline: none;
}

/* =========================================
   Mobile
========================================= */

@media (max-width: 991.98px) {
  .site-header__nav {
    padding-top: var(--space-xs);
    padding-bottom: var(--space-xs);
  }

  .site-header__nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: var(--space-md);
    min-height: clamp(3rem, 2.85rem + 0.5vw, 3.5rem);
  }

  .site-header__brand-logo {
    max-width: clamp(9.5rem, 9rem + 2vw, 10.625rem);
    max-height: clamp(1.875rem, 1.8rem + 0.3vw, 2.25rem);
  }

  .site-header .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-header .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
  }

  .site-header .navbar-collapse {
    display: none !important;
    width: 100%;
    padding-top: var(--space-xs);
  }

  .site-header .navbar-collapse.show {
    display: block !important;
  }

  .site-header__nav-wrap {
    width: 100%;
    display: block;
  }

  .site-header__nav-list {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    width: 100%;
  }

  .site-header__nav-list .nav-item {
    display: block;
    width: 100%;
    border-top: 1px solid rgba(14, 22, 51, 0.06);
    position: relative;
  }

  .site-header__nav-list > .nav-item > .site-header__nav-link {
    width: 100%;
    min-height: clamp(3rem, 2.9rem + 0.25vw, 3.25rem);
    height: auto;
    justify-content: space-between;
    padding: 14px 0;
  }

  .site-header__nav-list > .nav-item > .site-header__nav-link::before {
    left: 0;
    right: 0;
    bottom: 8px;
  }

  .site-header__dropdown-menu {
    position: static !important;
    min-width: 0;
    width: 100%;
    padding: var(--space-xs) 0 var(--space-sm);
    box-shadow: none;
    border-top: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  .site-header .nav-item.show > .site-header__dropdown-menu {
    display: block;
  }

  .site-header__dropdown-heading {
    margin: var(--space-xs) 0 var(--space-xs);
  }

  .site-header__dropdown-link {
    padding: var(--space-xs) 0;
  }

  .site-header__search {
    width: 100%;
    margin-top: var(--space-sm);
    flex: 0 0 auto;
  }

  .site-header__search .input-group {
    width: 100%;
  }
}

/* =========================================
   Breadcrumbs
========================================= */

.site-header__breadcrumbs {
  padding-top: var(--space-xs);
  padding-bottom: var(--space-sm);
  border-top: 1px solid #f1f3f5;
  background: var(--surface-footer);
}

.site-header__breadcrumbs .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  font-family: var(--font-family-ui);
  font-size: var(--font-size-label-sm);
  line-height: var(--line-height-label-sm);
}

.site-header__breadcrumbs .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  line-height: var(--line-height-label-sm);
  color: var(--muted);
}

.site-header__breadcrumbs .breadcrumb-item a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header__breadcrumbs .breadcrumb-item a:hover,
.site-header__breadcrumbs .breadcrumb-item a:focus-visible {
  color: var(--brand-blue);
  text-decoration: none;
}

.site-header__breadcrumbs .breadcrumb-item.active {
  color: var(--text);
  font-weight: var(--font-weight-medium);
}

.site-header__breadcrumbs .breadcrumb-item + .breadcrumb-item {
  padding-left: 0;
}

.site-header__breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-xs);
  color: var(--muted);
  line-height: 1;
}

/* =========================================
   Footer Badges (Premium Ticker)
========================================= */

.footer-badges {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 32px 0;
}

.badge-ticker {
  overflow: hidden;
  position: relative;
}

.footer-badge-img {
  height: 48px;
  margin: 0 32px;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.footer-badge-img:hover {
  opacity: 0.85;
  filter: grayscale(0%);
  transform: translateY(-2px);
}

@keyframes footerTickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.badge-ticker:hover .ticker-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

/* =========================================
   Footer Core
========================================= */

.site-footer {
  background: #f3f4f6;
  padding: 56px 0 28px;
  color: var(--text);
}

.footer-top {
  align-items: flex-start;
  margin-bottom: 24px;
}

.footer-links h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-label-lg);
  line-height: 1.35;
  margin-bottom: var(--space-sm);
  color: var(--text);
  letter-spacing: -0.01em;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: var(--font-size-body-sm);
  line-height: var(--line-height-body-sm);
  transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--brand-blue);
  transition: width 0.25s ease;
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  width: 100%;
}

.footer-divider {
  border: none;
  border-top: 1px solid #dde3ea;
  margin: 28px 0 22px;
}

.footer-bottom {
  align-items: center;
}

.footer-copy {
  font-size: var(--font-size-body-sm);
  line-height: var(--line-height-body-sm);
  color: var(--muted);
  margin: 0;
}

/* =========================================
   Footer Accreditations
========================================= */

.footer-accreditations {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer-accreditations-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-left: auto;
}

.footer-accreditations-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.footer-accreditations-separator {
  width: 100%;
  max-width: 220px;
}

.footer-accreditation {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.footer-accreditation-box {
  width: 84px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: transparent;
  border-radius: 8px;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.footer-accreditation:hover .footer-accreditation-box {
  transform: translateY(-2px);
}

.footer-accreditation:active .footer-accreditation-box {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(14, 22, 51, 0.08);
}

.footer-accreditation-box img,
.footer-accreditation-box svg {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 1;
  filter: grayscale(0%);
  transition: transform 0.25s ease;
}

.footer-accreditation:hover img,
.footer-accreditation:hover svg {
  transform: scale(1.04);
}

.footer-accreditation:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 4px;
  border-radius: 8px;
}

/* =========================================
   Footer Awarding Bodies
========================================= */

.footer-awarding-bodies {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  flex-wrap: nowrap;
}

.footer-awarding-box {
  width: 84px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.footer-awarding-box img,
.footer-awarding-box svg {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0.85;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-awarding-box:hover img,
.footer-awarding-box:hover svg {
  transform: scale(1.04);
  opacity: 1;
}

/* =========================================
   Footer Social Icons
========================================= */

.footer-social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-icons {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  text-decoration: none;
  border-radius: 8px;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.footer-icons a svg {
  display: block;
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.footer-icons a:hover,
.footer-icons a:focus-visible {
  background: rgba(12, 109, 253, 0.08);
}

.footer-icons a:hover svg,
.footer-icons a:focus-visible svg {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-icons a:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

/* =========================================
   Footer Responsive
========================================= */

@media (max-width: 991.98px) {
  .footer-accreditations {
    justify-content: flex-start;
    margin-top: 24px;
  }

  .footer-accreditations-inner {
    margin-left: 0;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
  }

  .footer-awarding-bodies {
    justify-content: flex-start;
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-social {
    justify-content: flex-start;
    margin-top: 16px;
  }

  .footer-icons {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    padding: 44px 0 24px;
  }

  .footer-top {
    row-gap: 24px;
  }

  .footer-links li {
    margin-bottom: 10px;
  }

  .footer-accreditation-box {
    width: 72px;
    height: 52px;
    padding: 4px;
  }

  .footer-awarding-box {
    width: 72px;
    height: 42px;
  }

  .footer-accreditation-box img[alt="Ofsted"],
  .footer-accreditation-box img[alt*="Cyber Essentials"],
  .footer-accreditation-box img[alt="Klarna"] {
    max-height: 42px;
  }
}

/* =========================================
   Separator
========================================= */

.section-separator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  margin: var(--space-sm) 0 var(--space-md);
}

.section-separator span {
  display: block;
  height: 3px;
  background: var(--brand-blue);
  border-radius: 999px;
}

.section-separator span:nth-child(1) {
  width: 60px;
}

.section-separator span:nth-child(2),
.section-separator span:nth-child(3) {
  width: 13px;
}

/* =========================================
   Reveal Animation System (Global)
========================================= */

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-left {
  transform: translate3d(-28px, 0, 0);
}

.reveal-right {
  transform: translate3d(28px, 0, 0);
}

.reveal-scale {
  transform: translate3d(0, 18px, 0) scale(0.985);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Initial load animation */
.reveal-load {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-load.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-load {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================
   Horizontal Ticker (Reusable)
========================================= */

.ticker-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-track > * {
  flex: 0 0 auto;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-container:hover .ticker-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

.section-header {
  text-align: center;
  margin-bottom: var(--section-header-margin-bottom);
}

.section-title {
  font-family: var(--font-family-heading);
  margin: 0 0 var(--section-header-gap);
}

.section-subtext {
  font-size: var(--font-size-body-xl);
  line-height: var(--line-height-body-xl);
  color: var(--muted);
  margin: 0;
}

.text-body-lg {
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body-xl);
  line-height: var(--line-height-body-xl);
  letter-spacing: -0.01em;
  color: var(--text);
}

.text-block {
  max-width: 560px;
  color: var(--text);
}

.text-block p {
  margin: 0 0 var(--space-sm);
}

.text-block p:last-child {
  margin-bottom: 0;
}

.text-price {
  margin-top: var(--space-2xs);
  margin-bottom: 0;
}

.text-price strong,
.text-emphasis {
  font-weight: var(--font-weight-semibold);
}

/* =========================================
   Base Button
========================================= */

.btn-base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-ui);
  font-size: var(--font-size-button-md);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-button-md);
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  padding: 0 var(--btn-padding-x);
  height: var(--btn-height);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-base:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn-primary-custom {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
  background: var(--brand-blue-600);
  border-color: var(--brand-blue-600);
  color: #fff;
}

.btn-cta {
  min-width: var(--btn-cta-min-width);
  height: var(--btn-height-cta);
  padding: 0 var(--btn-padding-x-cta);
  justify-content: space-between;
  border-color: var(--ring);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  margin-top: var(--space-lg);
}

.btn-cta:hover,
.btn-cta:focus {
  border-color: var(--ring);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    var(--focus-ring);
}

.btn-cta .arrow {
  font-size: clamp(1.5rem, 1.4rem + 0.35vw, 1.875rem);
  line-height: 1;
  margin-left: 16px;
}

/* =========================================
   Hero layout
========================================= */

.hero__accreditation {
  display: block;
  margin: 0 0 var(--space-md) 0;
  align-self: flex-start;
}

.hero-shell {
  background: var(--hero-bg);
  border-radius: var(--hero-radius);
  overflow: hidden;
}

.hero {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.hero__content {
  padding: var(--hero-content-pad-top)
           var(--hero-content-pad-right)
           var(--hero-content-pad-bottom)
           var(--hero-content-pad-left);
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 760px;
}

.hero-title {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-hero-title);
  line-height: var(--line-height-hero-title);
  letter-spacing: var(--letter-spacing-hero-title);
  color: var(--hero-title-color);
  margin: 0 0 var(--space-sm);
  max-width: 100%;
  text-wrap: balance;
}

.hero__content .text-block {
  max-width: 700px;
}

.hero__media {
  padding: 0;
}

.hero__figure {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__media picture {
  display: block;
  height: 100%;
}

@media (min-width: 992px) {
  .hero,
  .hero__content,
  .hero__media,
  .hero__figure,
  .hero__media picture,
  .hero__img {
    min-height: var(--hero-min-height-desktop);
  }
}

@media (max-width: 991.98px) {
  .hero__content {
    padding: 28px 24px 14px;
  }

  .hero__media {
    padding: 0 24px 24px;
  }

  .hero__figure {
    min-height: 280px;
    border-radius: 12px;
  }

  .hero__media picture,
  .hero__img {
    min-height: 280px;
  }
}

/* =========================================
   Impact Section Header
========================================= */

.impact-section-header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.impact-section-title {
  font-family: var(--font-family-heading);
  margin: 0 0 var(--space-xs);
}

.impact-section-header .section-separator {
  margin: var(--space-xs) 0 var(--space-sm);
}

.impact-section-subtext {
  max-width: 820px;
  margin: 0 auto;
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body-md);
  line-height: var(--line-height-body-lg);
  color: var(--muted);
}

/* =========================================
   Results Ticker Section
========================================= */

.qualcat-results-section {
  background: #ffffff;
}

.qualcat-results-ticker-shell {
  position: relative;
  padding: 0;
  border-top: 1px solid #e7ebf1;
  border-bottom: 1px solid #e7ebf1;
}

.qualcat-results-ticker {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.qualcat-results-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 16px 0 18px;
  animation: qualcatResultsScroll 82s linear infinite;
}

.qualcat-results-ticker:hover .qualcat-results-track {
  animation-play-state: paused;
}

.qualcat-results-item {
  width: 258px;
  max-width: 258px;
  flex: 0 0 auto;
}

@keyframes qualcatResultsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================
   Premium Results Cards
========================================= */

.impact-stat-card {
  position: relative;
  height: 100%;
  min-height: 164px;
  padding: 17px 18px 15px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 6px 18px rgba(14, 22, 51, 0.03);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.impact-stat-card:hover {
  transform: translateY(-2px);
  border-color: #d8e1ec;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 10px 24px rgba(14, 22, 51, 0.05);
}

.impact-stat-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f74ff 0%, #78a9ff 100%);
}

.impact-stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.impact-stat-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
}

.impact-stat-card__date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 8px;
  margin-bottom: var(--space-xs);
  font-family: var(--font-family-ui);
  font-size: var(--font-size-meta-xs);
  line-height: 1.8;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a7686;
  background: #f4f7fa;
  border: 1px solid #e3e9f0;
  border-radius: 999px;
}

.impact-stat-card__value {
  font-family: var(--font-family-ui);
  font-size: var(--font-size-stat-lg);
  line-height: var(--line-height-stat-lg);
  letter-spacing: var(--letter-spacing-stat-lg);
  font-weight: var(--font-weight-bold);
  color: #1f6df0;
  margin-bottom: var(--space-xs);
  text-rendering: geometricPrecision;
}

.impact-stat-card__label {
  font-size: var(--font-size-body-sm);
  line-height: 1.45;
  font-weight: var(--font-weight-medium);
  letter-spacing: -0.015em;
  color: #223048;
  max-width: 205px;
  margin: 0 auto;
}

.impact-stat-card__label br {
  display: none;
}

/* =========================================
   KPI Section
========================================= */

.qualcat-kpi-section {
  background: #ffffff;
}

/* =========================================
   KPI Highlight Grid
========================================= */

.impact-highlight-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.impact-highlight {
  position: relative;
  background: #f7f9fc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 22px;
  min-height: 220px;
  overflow: hidden;
}

.impact-highlight::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-blue);
  opacity: 0.95;
}

.impact-highlight--featured {
  background: linear-gradient(180deg, #0e224f 0%, #112d66 100%);
  border-color: #112d66;
  color: #ffffff;
}

.impact-highlight--featured::before {
  background: var(--brand-orange);
  opacity: 1;
}

.impact-highlight--accent {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.impact-highlight__eyebrow {
  margin-bottom: var(--space-md);
  font-family: var(--font-family-ui);
  font-size: var(--font-size-label-sm);
  line-height: 1.35;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
}

.impact-highlight__metric {
  margin-bottom: var(--space-sm);
  font-family: var(--font-family-ui);
  font-size: var(--font-size-stat-xl);
  line-height: var(--line-height-stat-xl);
  letter-spacing: var(--letter-spacing-stat-xl);
  font-weight: var(--font-weight-bold);
  color: var(--text);
}

.impact-highlight__title {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-family-heading);
  font-size: var(--font-size-heading-4);
  line-height: var(--line-height-heading-4);
  letter-spacing: var(--letter-spacing-heading-4);
  font-weight: var(--font-weight-semibold);
  color: var(--text);
}

.impact-highlight__text {
  margin: 0;
  font-size: var(--font-size-body-sm);
  line-height: var(--line-height-body-sm);
  font-weight: var(--font-weight-regular);
  color: var(--muted);
}

.impact-highlight--featured .impact-highlight__metric,
.impact-highlight--featured .impact-highlight__title,
.impact-highlight--featured .impact-highlight__text {
  color: #ffffff;
}

.impact-highlight--featured .impact-highlight__text {
  color: rgba(255, 255, 255, 0.86);
}

/* =========================================
   Benefits section
========================================= */

.benefits-section {
  margin: 16px 0;
}

.benefits-shell {
  background: var(--hero-bg);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 52px 40px 48px;
}

.benefits-section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.benefits-section__title {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-heading-2);
  line-height: var(--line-height-heading-2);
  letter-spacing: var(--letter-spacing-heading-2);
  color: #2c3138;
  margin: 0;
}

.benefits-tabs__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.benefits-tabs__or {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d9e0ea;
  color: #6b7280;
  font-family: var(--font-family-ui);
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  text-transform: lowercase;
  box-shadow: 0 1px 2px rgba(14, 22, 51, 0.04);
}

.benefits-tab.nav-link {
  min-width: 192px;
  height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--btn-radius);
  border: 1px solid var(--brand-blue);
  background: #fff;
  color: var(--brand-blue);
  font-family: var(--font-family-ui);
  font-size: var(--font-size-button-md);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.benefits-tab.nav-link:hover,
.benefits-tab.nav-link:focus {
  background: #f7faff;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  box-shadow: var(--focus-ring);
  outline: none;
}

.benefits-tab.nav-link.active {
  background: linear-gradient(180deg, #4a74f0 0%, #3e68e9 100%);
  color: #fff;
  border-color: #4a74f0;
}

.benefits-tabs__content {
  width: 100%;
}

.benefits-panel__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 320px);
  gap: 34px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}

.benefits-panel__content {
  min-width: 0;
}

.benefits-panel__title {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-heading-3);
  line-height: var(--line-height-heading-3);
  letter-spacing: var(--letter-spacing-heading-3);
  font-weight: var(--font-weight-bold);
  color: #2c3138;
  margin: 0 0 var(--space-xs);
}

.benefits-panel__separator {
  justify-content: flex-start;
  margin: 0 0 var(--space-lg);
}

.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefits-list__item {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-body-md);
  line-height: 1.6;
  font-weight: var(--font-weight-regular);
  color: #4b4b4b;
}

.benefits-list__item:last-child {
  margin-bottom: 0;
}

.benefits-list__icon {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e39a28;
}

.benefits-list__icon svg {
  width: 12px;
  height: 12px;
  display: block;
  fill: currentColor;
}

.benefits-panel__media {
  width: 100%;
}

.benefits-panel__figure {
  width: 100%;
}

.benefits-panel__image {
  display: block;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(14, 22, 51, 0.08);
}

.benefits-tabs .tab-pane {
  outline: none;
}

/* =========================================
   Section spacing: Benefits -> Products
========================================= */

#qualcat-benefits {
  margin-bottom: 0;
}

#qualcat-benefits .benefits-section {
  margin-bottom: 0;
}

#qualcat-benefits .benefits-shell {
  margin-bottom: 0;
}

#qualcat-products,
.products-section,
.qual-products-section {
  margin-top: 0;
  padding-top: 24px;
}

#qualcat-products .section-header,
.products-section .section-header,
.qual-products-section .section-header {
  margin-top: 0;
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  #qualcat-products,
  .products-section,
  .qual-products-section {
    padding-top: 32px;
  }
}

/* =========================================
   Premium stacked product cards
========================================= */

.qualcat-products__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.qualcat-products__title {
  font-family: var(--font-family-heading);
  margin: 0;
}

.qualcat-products__title span {
  display: block;
  text-decoration: none;
}

.product-grid {
  align-items: stretch;
}

.product-grid--stacked {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.product-grid__item {
  display: flex;
}

.product-card {
  width: 100%;
}

/* =========================================
   Premium clickable card shell
========================================= */

.product-card--premium {
  position: relative;
  background: var(--product-card-bg);
  border: 1px solid var(--product-card-border);
  border-radius: var(--product-card-radius);
  overflow: hidden;
  box-shadow: var(--product-card-shadow);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.product-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card--link:hover,
.product-card--link:focus,
.product-card--premium:hover {
  transform: translateY(-2px);
  border-color: #d3d9e3;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  text-decoration: none;
  color: inherit;
}

.product-card--link:focus {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(12, 109, 253, 0.18),
    0 10px 28px rgba(15, 23, 42, 0.07);
}

.product-card__topline {
  display: block;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-orange) 100%);
}

.product-card__inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: stretch;
}

/* =========================================
   Media
========================================= */

.product-card__media {
  display: block;
  background: #ffffff;
}

.product-card__image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f3f4f6;
  aspect-ratio: 4 / 3;
}

.product-card__image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 200px;
  object-fit: cover;
  object-position: center;
}

/* =========================================
   Content
========================================= */

.product-card__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 26px 22px;
}

.product-card__title {
  display: block;
  margin: 0 0 var(--space-md);
  font-family: var(--font-family-heading);
  font-size: clamp(1.125rem, 1.03rem + 0.35vw, 1.375rem);
  line-height: 1.18;
  letter-spacing: -0.024em;
  font-weight: var(--font-weight-bold);
  color: var(--product-card-title);
  text-wrap: balance;
}

.product-card__facts-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 18px;
  row-gap: 12px;
  margin: 0 0 var(--space-md);
}

.product-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: flex-start;
}

.product-card__cta-inline {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  align-self: start;
}

.product-card__fact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #e5eaf3;
  border-radius: 10px;
  background: #f8fbff;
  box-sizing: border-box;
}

.product-card__fact-label {
  font-family: var(--font-family-ui);
  font-size: var(--font-size-label-sm);
  line-height: 1.2;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.02em;
  color: var(--product-card-meta);
  text-transform: uppercase;
  white-space: nowrap;
}

.product-card__fact-value {
  font-family: var(--font-family-ui);
  font-size: var(--font-size-body-sm);
  line-height: 1.35;
  font-weight: var(--font-weight-semibold);
  color: var(--product-card-meta-strong);
  white-space: nowrap;
}

.product-card__description {
  display: block;
  margin: 0;
  max-width: 62ch;
  font-size: var(--font-size-body-sm);
  line-height: 1.75;
  font-weight: var(--font-weight-regular);
  color: var(--product-card-text);
}

/* =========================================
   Footer CTA button
========================================= */

.product-card__footer {
  margin-top: auto;
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.product-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--product-card-button);
  color: #ffffff;
  font-family: var(--font-family-ui);
  font-size: var(--font-size-button-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 40px;
  border: 0;
  box-shadow: 0 4px 12px rgba(231, 154, 47, 0.22);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  white-space: nowrap;
}

.product-card__button-arrow {
  font-size: clamp(0.875rem, 0.84rem + 0.12vw, 0.9375rem);
  line-height: 1;
}

.product-card--link:hover .product-card__button,
.product-card--link:focus .product-card__button,
.product-card--premium:hover .product-card__button {
  background: var(--product-card-button-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(231, 154, 47, 0.28);
}

/* =========================================
   Spacing between cards
========================================= */

.product-grid--stacked > .product-grid__item + .product-grid__item {
  margin-top: 2px;
}

/* =========================================
   Section rhythm control
========================================= */

#qualcat-products {
  margin-bottom: 0;
  padding-bottom: 24px;
}

.study-options-section {
  margin-top: 0;
  padding-top: 24px;
}

@media (min-width: 768px) {
  #qualcat-products {
    padding-bottom: 32px;
  }

  .study-options-section {
    padding-top: 32px;
  }
}

/* =========================================
   study option cards
========================================= */

.study-options-section {
  background: #f3f4f6;
  padding-bottom: 4rem;
}

.study-options-header {
  max-width: 760px;
  margin-bottom: var(--space-xl);
}

.study-options-header h2 {
  margin-bottom: var(--space-sm);
  text-align: center;
}

.study-support-content h2 {
  margin-bottom: var(--space-sm);
}

.study-options-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--space-lg);
}

.study-options-divider span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: #3f6df6;
}

.study-options-divider span:nth-child(1) {
  width: 54px;
}

.study-options-divider span:nth-child(2) {
  width: 18px;
}

.study-options-divider span:nth-child(3) {
  width: 8px;
}

.study-options-intro {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--font-size-body-md);
  line-height: var(--line-height-body-md);
  color: #6b7280;
}

.study-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.study-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.10);
}

.study-card-lite,
.study-card-platinum {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.study-card-featured {
  background: linear-gradient(180deg, #3f6df6 0%, #325fe8 100%);
  border: 1px solid #325fe8;
  color: #ffffff;
}

.study-card-featured .study-card-title {
  color: #ffffff;
}

.study-card-featured .study-card-text {
  color: #ffffff !important;
  opacity: 1 !important;
  font-size: var(--font-size-body-md);
  line-height: 1.75;
  font-weight: var(--font-weight-medium);
}

.study-card-featured .study-card-list li {
  color: #ffffff;
}

.study-card-featured .study-card-list li::before {
  color: #ffffff;
}

.study-card-body {
  padding: 2rem 1.5rem;
}

.study-card-top {
  min-height: 40px;
  margin-bottom: var(--space-sm);
}

.study-card-title {
  font-family: var(--font-family-heading);
  font-size: clamp(1.625rem, 1.45rem + 0.7vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.study-card-title-accent {
  color: #e39a2d;
}

.study-card-text {
  font-size: var(--font-size-body-md);
  line-height: 1.68;
  color: #4b5563;
  margin-bottom: var(--space-lg);
}

.study-card-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: var(--space-md);
  font-size: var(--font-size-body-md);
  line-height: 1.55;
  color: #374151;
}

.study-card-list li:last-child {
  margin-bottom: 0;
}

.study-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #3f6df6;
  font-weight: 700;
}

.study-card-list-featured li {
  color: #ffffff;
}

.study-card-list-featured li::before {
  color: #ffffff;
}

.study-card-badge {
  position: absolute;
  top: 3px;
  right: 6px;
  background: var(--brand-orange);
  color: #ffffff;
  backdrop-filter: blur(6px);
  font-family: var(--font-family-ui);
  font-size: var(--font-size-label-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(231, 154, 47, 0.25);
  border: none;
}

/* =========================================
   Support
========================================= */

.study-support-section {
  margin-top: 5rem;
}

.study-support-image-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.study-support-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.study-support-content {
  max-width: 520px;
}

.study-support-divider {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--space-lg);
}

.study-support-divider span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: #e39a2d;
}

.study-support-divider span:nth-child(1) {
  width: 54px;
}

.study-support-divider span:nth-child(2) {
  width: 18px;
}

.study-support-divider span:nth-child(3) {
  width: 8px;
}

.study-support-intro {
  font-size: var(--font-size-body-md);
  line-height: 1.72;
  color: #4b5563;
  max-width: 460px;
  margin-bottom: var(--space-lg);
}

.study-support-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.study-support-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  min-height: 54px;
  padding: 0.95rem 1rem;
  color: #374151;
  font-size: var(--font-size-body-sm);
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.study-support-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: #3f6df6;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   Testimonials Section
========================================= */

.testimonials-section {
  background: #f3f3f5;
}

.testimonials-header {
  max-width: 720px;
}

.testimonials-title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-heading-2);
  line-height: var(--line-height-heading-2);
  letter-spacing: var(--letter-spacing-heading-2);
  color: var(--text);
}

.testimonials-divider {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 var(--space-md);
}

.testimonials-divider span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: var(--brand-blue);
}

.testimonials-divider span:nth-child(1) {
  width: 42px;
}

.testimonials-divider span:nth-child(2) {
  width: 18px;
}

.testimonials-divider span:nth-child(3) {
  width: 8px;
}

.testimonials-intro {
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body-md);
  line-height: var(--line-height-body-md);
  color: var(--muted);
}

.testimonials-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.testimonials-scroll::-webkit-scrollbar {
  height: 8px;
}

.testimonials-scroll::-webkit-scrollbar-thumb {
  background: #c7cfdb;
  border-radius: 999px;
}

.testimonials-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.testimonials-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: stretch;
  width: max-content;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 306px;
  width: 306px;
  min-height: 410px;
  background: #ffffff;
  border: 1px solid #d9dde7;
  border-radius: 14px;
  box-shadow: none;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
  scroll-snap-align: start;
}

.testimonial-media {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.testimonial-media-image,
.testimonial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.testimonial-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 14px;
  min-width: 0;
}

.testimonial-quote {
  margin: 0 0 var(--space-md);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body-sm);
  line-height: 1.72;
  color: #4b5563;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 240px;
}

.testimonial-quote-mark {
  color: var(--brand-orange);
}

.testimonial-footer {
  position: relative;
  margin-top: auto;
  padding-top: var(--space-sm);
}

.testimonial-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -14px;
  right: -14px;
  height: 1px;
  background: rgba(14, 22, 51, 0.08);
}

.testimonial-person {
  gap: 12px;
  margin-top: 4px;
  min-width: 0;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #8b5cf6, #c084fc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: var(--font-weight-semibold);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-meta {
  min-width: 0;
  flex: 1 1 auto;
}

.testimonial-name {
  margin: 0;
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-label-lg);
  line-height: 1.375;
  color: var(--text);
}

.testimonial-role {
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body-sm);
  line-height: 1.45;
  color: var(--brand-blue);
}

.testimonial-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: var(--space-sm);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  font-size: var(--font-size-body-sm);
  line-height: 1;
  color: #f4bf2a;
  flex-shrink: 0;
}

.testimonial-badge span {
  display: inline-block;
  padding: 5px 10px;
  font-size: var(--font-size-label-sm);
  line-height: 1;
  border-radius: 6px;
  border: 1px solid rgba(14, 22, 51, 0.12);
  background: #f8f9fb;
  color: var(--text);
  font-weight: var(--font-weight-medium);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s ease;
  text-decoration: none;
}

.video-play-overlay:hover {
  background: rgba(0, 0, 0, 0.35);
}

.video-play-overlay .play-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  position: relative;
}

.video-play-overlay .play-icon::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 14px;
  width: 0;
  height: 0;
  border-left: 12px solid #000;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

/* =========================================
   FAQ SECTION
========================================= */

.faq-section {
  background: #ffffff;
}

.faq-section__header {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.faq-section__title {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-heading-2);
  line-height: var(--line-height-heading-2);
  letter-spacing: var(--letter-spacing-heading-2);
  color: var(--text);
  margin: 0 0 var(--space-sm);
}

.faq-section__intro {
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body-xl);
  line-height: var(--line-height-body-xl);
  color: var(--muted);
  margin-top: var(--space-sm);
}

.faq-groups-accordion {
  --bs-accordion-border-width: 0;
  --bs-accordion-border-color: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-inner-border-radius: 10px;
  --bs-accordion-btn-icon: none;
  --bs-accordion-btn-active-icon: none;
}

.faq-group-item {
  border: 0;
  background: transparent;
  margin-bottom: 8px;
}

.faq-group-item:last-child {
  margin-bottom: 0;
}

.faq-group-button {
  position: relative;
  background: var(--brand-blue);
  color: #ffffff;
  border: 0;
  border-radius: 8px !important;
  padding: 18px 56px 18px 24px;
  min-height: 52px;
  box-shadow: none;
  font-family: var(--font-family-ui);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-label-md);
  line-height: 1.4;
}

.faq-group-button:not(.collapsed) {
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: none;
}

.faq-group-button:focus {
  box-shadow: none;
}

.faq-group-button::after {
  display: none !important;
}

.faq-group-button__text {
  display: block;
  width: 100%;
  padding-right: 12px;
}

.faq-group-button::before {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: var(--font-weight-regular);
  font-size: clamp(1.25rem, 1.15rem + 0.35vw, 1.5rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
}

.faq-group-button:not(.collapsed)::before {
  content: "−";
}

.faq-group-body {
  padding: 16px 0 8px;
  background: transparent;
}

.faq-questions-accordion {
  --bs-accordion-border-width: 1px;
  --bs-accordion-border-color: #dbe3f0;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-icon-width: 1rem;
}

.faq-question-item {
  border: 1px solid #dbe3f0;
  border-radius: 8px !important;
  overflow: hidden;
  margin-bottom: 12px;
  background: #ffffff;
}

.faq-question-item:last-child {
  margin-bottom: 0;
}

.faq-question-button {
  background: #ffffff;
  color: var(--text);
  padding: 18px 48px 18px 20px;
  font-family: var(--font-family-ui);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-label-lg);
  line-height: 1.5;
  box-shadow: none;
}

.faq-question-button:not(.collapsed) {
  background: #f7f9fc;
  color: var(--text);
  box-shadow: none;
}

.faq-question-button:focus {
  box-shadow: none;
}

.faq-question-body {
  padding: 0 20px 20px;
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body-md);
  line-height: 1.72;
  color: var(--muted);
  background: #ffffff;
}

/* =========================================
   Tutors / Learning Specialists
========================================= */

.staff-cards-section {
  background: #fff;
}

.staff-cards-section__header {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.staff-cards-section__title {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-heading-2);
  line-height: var(--line-height-heading-2);
  letter-spacing: var(--letter-spacing-heading-2);
  color: var(--text);
  margin: 0 0 var(--space-sm);
}

.staff-cards-section__intro {
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body-xl);
  line-height: var(--line-height-body-xl);
  color: var(--muted);
  max-width: 720px;
  margin: var(--space-sm) auto 0;
}

.staff-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e9edf5;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.staff-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(14, 22, 51, 0.08);
  border-color: #dbe4f0;
}

.staff-card__image-link {
  display: block;
  text-decoration: none;
}

.staff-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f3f5;
}

.staff-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.staff-card__body {
  padding: 22px 20px 20px;
  text-align: center;
}

.staff-card__name {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-semibold);
  font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.375rem);
  line-height: 1.22;
  letter-spacing: -0.022em;
  color: var(--text);
  margin: 0 0 var(--space-xs);
}

.staff-card__job-title {
  font-size: var(--font-size-body-md);
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.staff-card__footer {
  margin-top: var(--space-md);
}

.staff-card__link {
  font-family: var(--font-family-ui);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-button-md);
  line-height: 1.45;
  color: var(--brand-blue);
  text-decoration: none;
}

.staff-card__link:hover,
.staff-card__link:focus {
  color: var(--brand-blue-600);
  text-decoration: underline;
}

/* =========================================
   Internal Links – Two Column List
========================================= */

.internal-links-section {
  background: #fff;
}

.internal-links-section__header {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.internal-links-section__title {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-heading-2);
  line-height: var(--line-height-heading-2);
  letter-spacing: var(--letter-spacing-heading-2);
  color: var(--text);
  margin: 0 0 var(--space-sm);
}

.internal-links-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 14px;
}

.internal-links-list__item {
  position: relative;
  padding-left: 22px;
}

.internal-links-list__item::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.55;
  color: var(--brand-blue);
}

.internal-links-list__link {
  text-decoration: none;
}

.internal-links-list__text {
  font-family: var(--font-family-ui);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-body-xl);
  line-height: var(--line-height-body-xl);
  color: var(--text);
  transition: color 0.15s ease;
}

.internal-links-list__link:hover .internal-links-list__text,
.internal-links-list__link:focus .internal-links-list__text {
  color: var(--brand-blue);
  text-decoration: underline;
}

/* =========================================
   Qualification Category Layout
========================================= */

@media (min-width: 992px) {
  .qualcat-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22.5rem;
    gap: var(--space-2xl);
    align-items: stretch;
  }

  .qualcat-main {
    min-width: 0;
    overflow: visible;
  }

  .qualcat-aside {
    position: relative;
    min-width: 0;
    overflow: visible;
  }

  .qualcat-cta-shell {
    position: sticky;
    top: calc(var(--site-header-offset) + 26px);
  }

  .qualcat-layout {
    overflow: visible;
  }
}

@media (max-width: 991.98px) {
  .qualcat-layout {
    display: block;
  }

  .qualcat-main {
    min-width: 0;
  }

  .qualcat-aside {
    margin-top: var(--space-2xl);
    min-width: 0;
    position: static;
    overflow: visible;
  }

  .qualcat-cta-shell {
    position: static;
    top: auto;
  }
}

@media (max-width: 1199.98px) {
  .impact-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-highlight--featured {
    grid-column: span 2;
  }
}

@media (max-width: 991.98px) {
  .impact-section-header {
    margin-bottom: var(--space-sm);
  }

  .qualcat-results-track {
    gap: 12px;
    padding: 14px 0 16px;
  }

  .qualcat-results-item {
    width: 232px;
    max-width: 232px;
  }

  .impact-stat-card {
    min-height: 152px;
    padding: 15px 16px 14px;
    border-radius: 13px;
  }

  .impact-stat-card::before {
    left: 14px;
    right: 14px;
  }

  .impact-stat-card::after {
    border-radius: 13px;
  }

  .benefits-shell {
    padding: 32px 24px;
  }

  .benefits-panel__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 100%;
  }

  .benefits-panel__media {
    order: 2;
  }

  .benefits-panel__image {
    max-width: 100%;
    margin-left: 0;
  }

  .benefits-tab.nav-link {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }

  .benefits-tabs__or {
    width: 100%;
    max-width: 320px;
    margin: -2px auto;
  }

  .product-grid--stacked {
    max-width: 100%;
  }

  .product-card__inner {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .product-card__image {
    min-height: 230px;
  }

  .product-card__content {
    padding: 24px;
  }

  .study-support-content {
    max-width: 100%;
  }

  .study-support-content h2 {
    text-align: center;
  }

  .testimonial-card {
    flex: 0 0 300px;
    width: 300px;
  }

  .testimonial-media {
    height: 260px;
  }

  .qualcat-layout {
    display: block;
  }

  .qualcat-aside {
    position: static;
  }

  .qualcat-cta-shell {
    position: static;
    top: auto;
  }
}

@media (max-width: 767.98px) {
  .impact-section-title {
    margin-bottom: var(--space-xs);
  }

  .impact-section-header .section-separator {
    margin: var(--space-xs) 0 var(--space-sm);
  }

  .qualcat-results-track {
    gap: 10px;
    padding: 12px 0 14px;
  }

  .qualcat-results-item {
    width: 208px;
    max-width: 208px;
  }

  .impact-stat-card {
    min-height: 140px;
    padding: 13px 14px 12px;
    border-radius: 12px;
  }

  .impact-stat-card::before {
    left: 12px;
    right: 12px;
  }

  .impact-stat-card::after {
    border-radius: 12px;
  }

  .impact-highlight-grid {
    grid-template-columns: 1fr;
  }

  .impact-highlight,
  .impact-highlight--featured {
    grid-column: auto;
    min-height: 0;
  }

  .impact-highlight {
    padding: 20px 18px;
  }

  .product-card__inner {
    grid-template-columns: 1fr;
  }

  .product-card__image-wrap {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .product-card__image {
    min-height: 0;
    height: 100%;
  }

  .product-card__content {
    padding: 16px 16px 18px;
  }

  .product-card__title {
    margin-bottom: var(--space-sm);
    text-wrap: initial;
  }

  .product-card__facts-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-card__facts {
    width: 100%;
    gap: 10px;
  }

  .product-card__cta-inline {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .product-card__fact {
    width: 100%;
    justify-content: space-between;
    min-height: 0;
  }

  .product-card__fact-label,
  .product-card__fact-value {
    white-space: normal;
  }

  .product-card__description {
    max-width: none;
  }

  .product-card__footer {
    padding-top: var(--space-md);
  }

  .product-card__button {
    width: 100%;
    justify-content: center;
    min-height: 42px;
    line-height: 42px;
  }

  .testimonials-track {
    gap: 16px;
  }

  .testimonial-card {
    flex: 0 0 86vw;
    width: 86vw;
    min-height: 0;
  }

  .testimonial-media {
    height: 220px;
  }

  .testimonial-card-body {
    padding: 14px 14px 16px;
  }

  .faq-group-button {
    padding: 16px 48px 16px 18px;
  }

  .faq-group-button::before {
    right: 18px;
  }

  .faq-question-button {
    padding: 16px 42px 16px 16px;
  }

  .faq-question-body {
    padding: 0 16px 16px;
  }

  .staff-card__body {
    padding: 18px 16px 18px;
  }

  .internal-links-list {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
}

@media (max-width: 575.98px) {
  .benefits-shell {
    padding: 24px 18px;
  }

  .study-card-body {
    padding: 1.5rem 1.25rem;
  }

  .study-support-item {
    padding: 0.85rem 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qualcat-results-track {
    animation: none;
  }

  .impact-stat-card,
  .impact-highlight,
  .site-header__nav-link::before,
  .site-header__nav-link.dropdown-toggle::after,
  .site-header__dropdown-heading-link::after,
  .site-header__dropdown-link::after,
  .site-header__dropdown-menu {
    transition: none;
  }
}