/* Homepage redesign — scoped under .home-page. Design tokens: refreshed purple palette for marketing sections. */

/* Match newdesign (Tailwind `font-sans`): system UI stack so font-weight steps render like the React prototype, not Roboto-only. */
:root {
  --home-font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.home-page,
.cms-header--home,
.cms-footer.cms-footer--home {
  font-family: var(--home-font-sans);
}

/* Global `.button` in style.css forces Roboto; inherit the home marketing stack instead. */
.cms-header--home .button,
.cms-footer.cms-footer--home .button {
  font-family: inherit;
}

/* style.css sets font-family: Roboto on h1–h6; that overrides parent .home-page — inherit system stack here. */
.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4,
.home-page h5,
.home-page h6,
.cms-footer.cms-footer--home h4 {
  font-family: inherit;
}

/* Homepage header (matches newdesign Navbar: transparent → glass on scroll). Loaded only on /. */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Keep scroll-reveal motion subtle and accessible on the homepage. */
.home-page [data-aos] {
  transition-timing-function: ease-out;
}

/* Fallback reveal path when AOS script is unavailable. */
.home-page [data-aos].home-reveal-ready {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s ease-out,
    transform 0.55s ease-out;
}

.home-page [data-aos="fade-left"].home-reveal-ready {
  transform: translateX(18px);
}

.home-page [data-aos="fade-right"].home-reveal-ready {
  transform: translateX(-18px);
}

.home-page [data-aos].home-reveal-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-page [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

.cms-header--home {
  z-index: 50;
  border-bottom: 1px solid transparent;
  background-color: transparent;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    padding 0.3s ease,
    backdrop-filter 0.3s ease;
  padding: 24px 0;
}

.cms-header--home:not(.cms-header--scrolled) {
  background-color: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

.cms-header--home.stickyon:not(.cms-header--scrolled) {
  box-shadow: none !important;
}

.cms-header--home.cms-header--scrolled {
  background-color: rgba(255, 255, 255, 0.82) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--home-color-lavender-soft) !important;
  box-shadow: 0 1px 0 rgba(139, 92, 246, 0.08);
  padding: 16px 0;
}

@media (prefers-reduced-motion: reduce) {
  .cms-header--home {
    transition: none;
  }
}

.cms-header--home .navbar-brand img {
  height: 32px;
  width: auto;
  max-width: none;
  transition: height 0.3s ease;
}

.cms-header--home.cms-header--scrolled .navbar-brand img {
  height: 28px;
}

.cms-header--home .mobile-menu li {
  margin: 0 18px;
}

.cms-header--home .mobile-menu li a {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  letter-spacing: 0.02em;
}

.cms-header--home .mobile-menu li a:hover,
.cms-header--home .mobile-menu li:hover > a,
.cms-header--home .mobile-menu li.current_page_item > a {
  color: #3b1578;
}

.cms-header--home .mobile-menu li.nav-home__section.nav-section-active > a {
  color: #3b1578;
  font-weight: 600;
}

.cms-header--home .mobile-menu li a:before {
  display: none;
}

.cms-header--home .header-right .button {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 12px;
  min-height: 44px;
  padding: 10px 22px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.cms-header--home .header-right .brd-btn {
  border: 2px solid #3b1578;
  color: #3b1578;
  background: transparent;
}

.cms-header--home .header-right .brd-btn:hover,
.cms-header--home .header-right .brd-btn:focus {
  background: var(--home-color-lavender);
  color: #3b1578;
}

.cms-header--home .header-right .grd-btn {
  background: #3b1578;
  background-size: auto;
  color: #fff;
  border: 2px solid #3b1578;
}

.cms-header--home .header-right .grd-btn:hover,
.cms-header--home .header-right .grd-btn:focus {
  background: #4c1d95;
  border-color: #4c1d95;
  color: #fff;
}

.cms-header--home .header-right {
  column-gap: 16px;
}

.cms-header--home .mobile-menu-btn .off-canvas-btn a span {
  background-color: #4b5563;
}

.cms-header--home .mobile-menu-btn .off-canvas-btn:hover a span {
  background-color: #3b1578;
}

@media (min-width: 1170px) {
  .cms-header--home .off-canvas-wrapper {
    width: calc(100% - 140px);
  }

  /* Desktop: logo left, nav + CTAs grouped on the right (matches newdesign Navbar). */
  .cms-header--home .off-canvas-wrapper .off-canvas-inner-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    min-width: 0;
  }

  .cms-header--home .off-canvas-wrapper .off-canvas-inner {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    column-gap: 20px;
  }

  header.cms-header.cms-header--home .mobile-menu li.nav-home__industries > .menu-expand {
    top: 11px;
  }

  header.cms-header.cms-header--home .mobile-navigation {
    margin: 0;
    flex: 0 1 auto;
  }

  .cms-header--home .header-right {
    flex: 0 0 auto;
  }

  /* Industries dropdown — same system as primary nav (newdesign / home tokens) */
  header.cms-header.cms-header--home .mobile-menu li.menu-item-has-children > ul.sub-menu:before,
  header.cms-header.cms-header--home .mobile-menu li.menu-item-has-children > ul.sub-menu::before {
    display: none !important;
    content: none !important;
  }

  header.cms-header.cms-header--home .mobile-menu ul.sub-menu.nav-home__submenu {
    padding: 6px;
    min-width: 216px;
    max-width: min(300px, 92vw);
    border-radius: 14px;
    border: 1px solid var(--home-color-lavender-soft);
    box-shadow: 0 12px 36px rgba(59, 21, 120, 0.09);
    background: #fff;
  }

  header.cms-header.cms-header--home .mobile-menu ul.sub-menu.nav-home__submenu li.menu-item:before,
  header.cms-header.cms-header--home .mobile-menu ul.sub-menu.nav-home__submenu li.menu-item::before {
    display: none !important;
    content: none !important;
  }

  header.cms-header.cms-header--home .mobile-menu ul.sub-menu.nav-home__submenu li.menu-item a {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    padding: 9px 12px;
    border-radius: 10px;
    margin: 1px 0;
    transition:
      background-color 0.15s ease,
      color 0.15s ease;
  }

  header.cms-header.cms-header--home .mobile-menu ul.sub-menu.nav-home__submenu li.menu-item a:hover,
  header.cms-header.cms-header--home .mobile-menu ul.sub-menu.nav-home__submenu li.menu-item.current_page_item a {
    color: #3b1578;
    font-weight: 500;
    background-color: var(--home-color-lavender);
  }
}

/* Mobile / tablet drawer: industries list — simple indent, no heavy panel chrome */
@media (max-width: 1169px) {
  .cms-header--home .mobile-menu li.nav-home__industries ul.nav-home__submenu {
    margin: 4px 0 8px 8px;
    padding: 4px 0 8px 14px;
    border-left: 2px solid var(--home-color-lavender-soft);
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    border-top: none;
    border-right: none;
    border-bottom: none;
  }

  .cms-header--home .mobile-menu li.nav-home__industries ul.nav-home__submenu li.menu-item a {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    padding: 8px 0 8px 4px;
  }

  .cms-header--home .mobile-menu li.nav-home__industries ul.nav-home__submenu li.menu-item a:hover,
  .cms-header--home .mobile-menu li.nav-home__industries ul.nav-home__submenu li.menu-item.current_page_item a {
    color: #3b1578;
    background: transparent;
  }

  .cms-header--home .mobile-menu li.nav-home__industries > .menu-expand {
    top: 1px;
  }

  .cms-header--home .mobile-menu .menu-item-has-children .menu-expand i {
    border-bottom-color: #9ca3af;
  }

  .cms-header--home .mobile-menu .menu-item-has-children .menu-expand i:before {
    border-bottom-color: #9ca3af;
  }

  .cms-header--home .mobile-menu .menu-item-has-children.active > .menu-expand i,
  .cms-header--home .mobile-menu .menu-item-has-children.active > .menu-expand i:before {
    border-bottom-color: #3b1578;
  }
}

@media only screen and (max-width: 1169px) {
  header.cms-header.cms-header--home .navbar-brand img {
    height: 28px;
    width: auto !important;
    max-width: 160px;
  }

  .cms-header--home.cms-header--scrolled .navbar-brand img {
    height: 26px;
  }
}

.home-page {
  --home-color-text: #1e0a3c;
  --home-color-text-muted: #6b7280;
  --home-color-text-body: #374151;
  --home-color-primary: #3b1578;
  --home-color-primary-hover: #4c1d95;
  --home-color-accent: #7c3aed;
  --home-color-lavender: #f8faff;
  --home-color-lavender-soft: #f2f6ff;
  --home-color-border: #dbe7ff;
  --home-color-border-soft: #eaf1ff;
  --home-max: 1270px;
  --home-max-narrow: 768px;
  --home-radius: 16px;
  --home-radius-lg: 24px;
  color: var(--home-color-text);
}

.home-page *,
.home-page *::before,
.home-page *::after {
  box-sizing: border-box;
}

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

.home-page .home-section {
  scroll-margin-top: 96px;
}

.home-page .home-outer {
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 0 15px;
}

.home-page .home-section {
  padding: 72px 0;
}

@media (min-width: 768px) {
  .home-page .home-section {
    padding: 96px 0;
  }
}

.home-page .home-h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--home-color-text);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .home-page .home-h2 {
    font-size: 36px;
  }
}

/* Third-level heading — FAQ question / card subheads scale; lighter than global h3 (30px/700 from style.css) */
.home-page .home-h3,
.home-page.legal-page-wrap .legal-page__card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--home-color-text);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .home-page .home-h3,
  .home-page.legal-page-wrap .legal-page__card h3 {
    font-size: 20px;
  }
}

.home-page .home-h3 {
  margin: 0 0 12px;
}

.home-page.legal-page-wrap .legal-page__card h3 {
  margin-top: 22px;
  margin-bottom: 10px;
}

.home-page.legal-page-wrap .legal-page__card h3 b,
.home-page.legal-page-wrap .legal-page__card h3 strong {
  font-weight: 600;
}

.home-page .home-text-accent {
  color: var(--home-color-accent);
}

/* Hero */
.home-page .home-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(70vh - 40px);
  padding: 28px 0 48px;
  text-align: center;
  background: #fff;
}

.home-page .home-hero__inner {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 15px;
}

.home-page .home-hero__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--home-color-text);
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .home-page .home-hero__title {
    font-size: 56px;
  }
}

.home-page .home-hero__title-br {
  display: none;
}

@media (min-width: 768px) {
  .home-page .home-hero__title-br {
    display: inline;
  }
}

.home-page .home-hero__title-accent {
  color: var(--home-color-accent);
}

.home-page .home-hero__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--home-color-text-muted);
  margin: 0 auto 48px;
  max-width: 42rem;
}

@media (min-width: 768px) {
  .home-page .home-hero__lead {
    font-size: 20px;
  }
}

.home-page .home-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media (min-width: 576px) {
  .home-page .home-hero__actions {
    flex-direction: row;
    justify-content: center;
  }
}

.home-page .home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 12px;
  padding: 16px 32px;
  min-height: 52px;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.home-page .home-btn--primary {
  background: var(--home-color-primary);
  color: #fff;
}

.home-page .home-btn--primary:hover,
.home-page .home-btn--primary:focus {
  background: var(--home-color-primary-hover);
  color: #fff;
}

.home-page .home-btn--outline {
  background: transparent;
  color: var(--home-color-primary);
  border: 2px solid var(--home-color-primary);
}

.home-page .home-btn--outline:hover,
.home-page .home-btn--outline:focus {
  background: var(--home-color-lavender);
  color: var(--home-color-primary);
}

.home-page .home-btn--link {
  background: transparent;
  color: var(--home-color-primary);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 8px 16px;
  min-height: auto;
}

.home-page .home-btn--link:hover,
.home-page .home-btn--link:focus {
  color: var(--home-color-accent);
}

.home-page .home-btn--block {
  width: 100%;
}

.home-page .home-btn--cta {
  background: var(--home-color-accent);
  color: #fff;
  white-space: nowrap;
}

.home-page .home-btn--cta:hover,
.home-page .home-btn--cta:focus {
  background: #6d28d9;
  color: #fff;
}

/* Logo carousel */
.home-page .home-logo-carousel {
  padding: 32px 0 48px;
  background: #fff;
  border-bottom: 1px solid var(--home-color-border-soft);
  overflow: hidden;
}

.home-page .home-logo-carousel__intro {
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 0 15px;
}

.home-page .home-logo-carousel__label {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--home-color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 32px;
}

/* Edge fade via mask */
.home-page .home-logo-carousel__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 40px,
    #000 calc(100% - 40px),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 40px,
    #000 calc(100% - 40px),
    transparent 100%
  );
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

.home-page .home-logo-carousel__track {
  overflow: hidden;
}

/* Seamless loop: markup is two identical sequences (second set aria-hidden). Total width = 2W + gap, so one period = W + gap = -50% - gap/2. */
.home-page .home-logo-carousel__row {
  --home-logo-gap: 55px;
  display: flex;
  width: max-content;
  gap: var(--home-logo-gap);
  align-items: center;
  animation: home-logo-scroll 48s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  /* Let wrapped logo rows extend fully (overflow:hidden on the track can hide extra rows). */
  .home-page .home-logo-carousel__track {
    overflow: visible;
  }

  .home-page .home-logo-carousel__row {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 28px;
    width: 100%;
    max-width: var(--home-max);
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
  }
}

.home-page .home-logo-carousel__row:hover {
  animation-play-state: paused;
}

@keyframes home-logo-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(-50% - 0.5 * var(--home-logo-gap, 55px)), 0, 0);
  }
}

.home-page .home-logo-carousel__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Light treatment; avoid filter+opacity on SVG <img> — hurts contrast and can make some marks nearly vanish on white. */
.home-page .home-logo-carousel__item img {
  max-height: 38px;
  width: auto;
  max-width: 158px;
  object-fit: contain;
  opacity: 0.95;
}

.home-page .home-logo-carousel__item img.home-logo-carousel__logo--grayscale {
  filter: grayscale(100%);
}

.home-page .home-logo-carousel__item img.home-logo-carousel__logo--small {
  max-height: 30px;
  max-width: 123px;
}


/* How it works */
.home-page .home-how {
  background: #fff;
}

.home-page .home-how__header {
  text-align: center;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .home-page .home-how__header {
    margin-bottom: 80px;
  }
}

.home-page .home-how__line-wrap {
  position: relative;
}

.home-page .home-how__line {
  display: none;
}

@media (min-width: 768px) {
  .home-page .home-how__line {
    display: block;
    position: absolute;
    top: 48px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: #e9d5ff;
  }
}

.home-page .home-how__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .home-page .home-how__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.home-page .home-how__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-page .home-how__icon-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--home-color-lavender-soft);
  border: 1px solid var(--home-color-border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.home-page .home-how__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--home-color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.home-page .home-icon {
  display: inline-flex;
  color: var(--home-color-accent);
}

.home-page .home-icon--purple {
  color: var(--home-color-accent);
}

.home-page .home-how__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--home-color-text);
  margin: 0 0 12px;
}

.home-page .home-how__desc {
  font-size: 14px;
  line-height: 1.625;
  color: var(--home-color-text-muted);
  margin: 0;
  max-width: 250px;
}

/* Video */
.home-page .home-video {
  background: var(--home-color-lavender);
}

.home-page .home-video__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .home-page .home-video__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.home-page .home-video__h2 br {
  display: none;
}

@media (min-width: 576px) {
  .home-page .home-video__h2 br {
    display: inline;
  }
}

.home-page .home-video__lead {
  margin-bottom: 32px;
}

.home-page .home-video__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-page .home-video__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--home-color-text-body);
}

.home-page .home-icon--check {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--home-color-accent);
}

.home-page .home-video__embed {
  position: relative;
  border-radius: var(--home-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(59, 21, 120, 0.2);
  box-shadow: 0 20px 40px rgba(30, 10, 60, 0.12);
  aspect-ratio: 16 / 6;
  background: #000;
}

.home-page .home-video__poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
  text-align: left;
}

.home-page .home-video__poster:focus-visible {
  outline: 2px solid var(--home-color-accent);
  outline-offset: 3px;
}

.home-page .home-video__poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.home-page .home-video__play-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.home-page .home-video__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  box-shadow: 0 10px 25px rgba(30, 10, 60, 0.25);
  transition: transform 0.2s ease;
  pointer-events: none;
}

.home-page .home-video__play-icon {
  display: block;
  flex-shrink: 0;
}

.home-page .home-video__poster:hover .home-video__play,
.home-page .home-video__poster:focus-visible .home-video__play {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-video__play {
    transition: none;
  }
}

.home-page .home-video__mock-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  pointer-events: none;
}

.home-page .home-video__mock-ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: #fff;
}

.home-page .home-video__mock-title {
  font-size: 14px;
  font-weight: 500;
}

.home-page .home-video__mock-time {
  font-size: 12px;
  color: #e9d5ff;
  flex-shrink: 0;
}

.home-page .home-video__mock-progress {
  height: 6px;
  width: 100%;
  border-radius: 999px;
  background: rgba(59, 21, 120, 0.5);
  overflow: hidden;
}

.home-page .home-video__mock-progress-fill {
  display: block;
  height: 100%;
  width: 33.333%;
  border-radius: inherit;
  background: var(--home-color-accent);
}

.home-page .home-video__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-page .home-video__iframe[hidden] {
  display: none;
}

/* Roles */
.home-page .home-roles {
  background: #fff;
}

.home-page .home-roles__header {
  text-align: center;
  margin-bottom: 48px;
}

.home-page .home-roles__sub {
  font-size: 18px;
  color: var(--home-color-text-muted);
  margin: 0 auto;
  max-width: 42rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .home-page .home-roles__sub {
    max-width: 48rem;
  }
}

@media (min-width: 1024px) {
  .home-page .home-roles__sub {
    max-width: 56rem;
  }
}

.home-page .home-roles__grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .home-page .home-roles__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-page .home-roles__card {
  background: var(--home-color-lavender);
  border: 1px solid var(--home-color-border-soft);
  border-radius: var(--home-radius-lg);
  padding: 24px;
}

.home-page .home-roles__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--home-color-lavender-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.home-page .home-roles__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--home-color-text);
  margin: 0 0 8px;
}

.home-page .home-roles__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--home-color-text-muted);
  margin: 0;
}

/* Comparison */
.home-page .home-compare {
  background: #fff;
}

.home-page .home-compare__header {
  text-align: center;
  margin-bottom: 48px;
}

.home-page .home-compare__sub {
  font-size: 18px;
  color: var(--home-color-text-muted);
  margin: 0;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.home-page .home-compare__table-wrap--desktop {
  display: none;
}

@media (min-width: 768px) {
  .home-page .home-compare__table-wrap--desktop {
    display: block;
  }
  .home-page .home-compare__mobile {
    display: none;
  }
}

.home-page .home-compare__table {
  background: #fff;
  border: 1px solid var(--home-color-border-soft);
  border-radius: var(--home-radius-lg);
  overflow: hidden;
}

.home-page .home-compare__row {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  align-items: stretch;
}

.home-page .home-compare__row--head {
  border-bottom: 1px solid var(--home-color-border-soft);
}

.home-page .home-compare__row--border {
  border-bottom: 1px solid var(--home-color-lavender);
}

.home-page .home-compare__cell {
  padding: 20px 16px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-page .home-compare__cell--muted {
  color: #9ca3af;
  font-weight: 500;
  justify-content: flex-start;
}

.home-page .home-compare__cell--feature {
  font-weight: 500;
  color: var(--home-color-text);
  justify-content: flex-start;
  text-align: left;
}

.home-page .home-compare__cell--highlight {
  background: var(--home-color-primary);
  color: #fff;
  font-weight: 600;
}

.home-page .home-compare__cell--ts {
  background: rgba(243, 232, 255, 0.5);
}

.home-page .home-compare__text {
  color: var(--home-color-text-body);
  font-size: 14px;
}

.home-page .home-compare__yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--home-color-primary);
}

.home-page .home-compare__dash {
  display: inline-block;
  width: 12px;
  height: 2px;
  background: #d1d5db;
  border-radius: 1px;
}

.home-page .home-compare__mobile {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .home-page .home-compare__mobile {
    display: none;
  }
}

.home-page .home-compare__card {
  border: 1px solid var(--home-color-border-soft);
  border-radius: var(--home-radius-lg);
  padding: 20px;
  background: #fff;
}

.home-page .home-compare__card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--home-color-text);
  margin-bottom: 16px;
}

.home-page .home-compare__card-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-page .home-compare__card-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
  font-size: 14px;
}

.home-page .home-compare__card-line > span:first-child {
  color: var(--home-color-text-muted);
}

.home-page .home-compare__card-line--hl {
  background: rgba(243, 232, 255, 0.5);
  margin: 0 -12px;
  padding: 10px 12px;
  border-radius: 8px;
}

.home-page .home-compare__card-line--hl > span:first-child {
  font-weight: 600;
  color: var(--home-color-primary);
}

/* Testimonials */
.home-page .home-testimonials {
  background: var(--home-color-lavender);
}

.home-page .home-testimonials.home-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

@media (min-width: 768px) {
  .home-page .home-testimonials.home-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

.home-page .home-testimonials__header {
  text-align: center;
  margin-bottom: 36px;
}

.home-page .home-testimonials__grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .home-page .home-testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-page .home-quote {
  margin: 0;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--home-color-border-soft);
  border-radius: var(--home-radius-lg);
  display: flex;
  flex-direction: column;
}

.home-page .home-quote__mark {
  font-size: 38px;
  font-family: Georgia, serif;
  line-height: 1;
  color: var(--home-color-accent);
  margin-bottom: 10px;
}

.home-page .home-quote__text {
  font-style: italic;
  color: var(--home-color-text-body);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}

.home-page .home-quote__footer {
  border-top: 1px solid var(--home-color-border-soft);
  padding-top: 14px;
  margin-top: auto;
}

.home-page .home-quote__name {
  font-weight: 600;
  color: var(--home-color-text);
}

.home-page .home-quote__role {
  font-size: 14px;
  color: var(--home-color-text-muted);
  margin-top: 4px;
}

/* Stats / social proof */
.home-page .home-stats {
  background: #fff;
}

.home-page .home-stats__outer {
  text-align: center;
}

.home-page .home-stats__h2 {
  margin-bottom: 48px;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.home-page .home-stats__grid {
  display: grid;
  gap: 24px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .home-page .home-stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-page .home-stats__card {
  padding: 32px;
  border-radius: var(--home-radius-lg);
  background: #fff;
  border: 1px solid var(--home-color-border-soft);
  box-shadow: 0 1px 3px rgba(30, 10, 60, 0.06);
}

.home-page .home-stats__value {
  font-size: 40px;
  font-weight: 700;
  color: var(--home-color-text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .home-page .home-stats__value {
    font-size: 48px;
  }
}

.home-page .home-stats__label {
  font-weight: 500;
  color: var(--home-color-text-muted);
}

.home-page .home-stats__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.home-page .home-stats__tag {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--home-color-lavender-soft);
  color: var(--home-color-primary);
  font-size: 14px;
  font-weight: 600;
}

/* Pricing */
.home-page .home-pricing {
  background: #fff;
}

.home-page .home-pricing__header {
  text-align: center;
  margin-bottom: 48px;
}

.home-page .home-pricing__sub {
  font-size: 18px;
  color: var(--home-color-text-muted);
  margin: 0;
}

.home-page .home-pricing__cards {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 992px) {
  .home-page .home-pricing__cards {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.home-page .home-pricing__card {
  position: relative;
  border: 2px solid var(--home-color-primary);
  border-radius: var(--home-radius-lg);
  background: #fff;
  padding: 36px 24px;
  box-shadow: 0 12px 40px rgba(30, 10, 60, 0.1);
}

@media (min-width: 768px) {
  .home-page .home-pricing__card {
    padding: 40px 32px;
  }
}

.home-page .home-pricing__card--leadership {
  border: 1px solid var(--home-color-border-soft);
  box-shadow: 0 8px 30px rgba(30, 10, 60, 0.08);
}

.home-page .home-pricing__popular {
  position: absolute;
  left: 50%;
  top: -14px;
  transform: translateX(-50%);
  background: var(--home-color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.home-page .home-pricing__card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home-page .home-pricing__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--home-color-lavender-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.home-page .home-pricing__pill {
  display: inline-block;
  background: var(--home-color-lavender-soft);
  color: var(--home-color-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.home-page .home-pricing__tier {
  font-size: 24px;
  font-weight: 700;
  color: var(--home-color-text);
  margin: 0 0 8px;
}

.home-page .home-pricing__desc {
  font-size: 14px;
  color: var(--home-color-text-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

@media (min-width: 992px) {
  .home-page .home-pricing__desc {
    /* Keep card content aligned when neighboring descriptions wrap differently */
    min-height: clamp(4.8rem, 8vw, 6.4rem);
  }
}

.home-page .home-pricing__box {
  background: var(--home-color-lavender);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.home-page .home-pricing__roles {
  margin-bottom: 24px;
}

.home-page .home-pricing__roles-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--home-color-text);
}

.home-page .home-pricing__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-page .home-pricing__chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--home-color-lavender-soft);
  color: var(--home-color-primary);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  padding: 6px 12px;
}

.home-page .home-pricing__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  margin-bottom: 8px;
}

.home-page .home-pricing__row:last-child {
  margin-bottom: 0;
}

.home-page .home-pricing__row span:first-child {
  color: var(--home-color-text-muted);
}

.home-page .home-pricing__strong {
  font-weight: 600;
  color: var(--home-color-text);
  text-align: right;
}

.home-page .home-pricing__features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  flex: 1;
}

.home-page .home-pricing__features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--home-color-text-body);
  margin-bottom: 12px;
}

.home-page .home-icon--check-sm {
  color: var(--home-color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.home-page .home-pricing__card .home-btn {
  margin-top: auto;
}

.home-page .home-pricing__footnote {
  text-align: center;
  font-size: 14px;
  color: var(--home-color-text-muted);
  margin: 40px 0 0;
  line-height: 1.6;
}

.home-page .home-pricing__footnote a {
  color: var(--home-color-primary);
  font-weight: 600;
}

.home-page .home-pricing__footnote a:hover {
  color: var(--home-color-accent);
}

/* CTA band */
.home-page .home-cta-band {
  background: #fff;
}

.home-page .home-cta-band__box {
  background: var(--home-color-text);
  border-radius: 24px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(30, 10, 60, 0.15);
}

@media (min-width: 768px) {
  .home-page .home-cta-band__box {
    padding: 64px 48px;
  }
}

.home-page .home-cta-band__title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .home-page .home-cta-band__title {
    font-size: 36px;
  }
}

.home-page .home-cta-band__lead {
  font-size: 18px;
  color: #c4b5fd;
  margin: 0 auto 32px;
  max-width: 36rem;
  line-height: 1.6;
}

.home-page .home-cta-band__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 36rem;
  margin: 0 auto 24px;
}

@media (min-width: 576px) {
  .home-page .home-cta-band__form {
    flex-direction: row;
    align-items: stretch;
  }
}

.home-page .home-cta-band__input {
  flex: 1;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 16px 20px;
  font-size: 16px;
  font-family: inherit;
  min-height: 52px;
}

.home-page .home-cta-band__input::placeholder {
  color: #a78bfa;
}

.home-page .home-cta-band__input:focus {
  outline: none;
  border-color: var(--home-color-accent);
}

.home-page .home-cta-band__note {
  font-size: 14px;
  color: #a78bfa;
  margin: 0;
  font-weight: 500;
}

/* FAQ */
.home-page .home-faq {
  background: var(--home-color-lavender);
}

.home-page .home-faq__narrow {
  max-width: 48rem;
  margin: 0 auto;
}

.home-page .home-faq__header {
  text-align: center;
  margin-bottom: 48px;
}

.home-page .home-faq__intro {
  font-size: 18px;
  color: var(--home-color-text-muted);
  margin: 16px 0 0;
}

.home-page .home-faq__list {
  background: #fff;
  border: 1px solid var(--home-color-border-soft);
  border-radius: var(--home-radius-lg);
  padding: 0 24px;
}

.home-page .home-faq__item {
  border-bottom: 1px solid var(--home-color-border-soft);
}

.home-page .home-faq__item:last-child {
  border-bottom: none;
}

.home-page .home-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--home-color-text);
  line-height: 1.4;
}

.home-page .home-faq__trigger:focus {
  outline: 2px solid var(--home-color-accent);
  outline-offset: 2px;
}

.home-page .home-faq__chev {
  flex-shrink: 0;
  color: var(--home-color-accent);
  transition: transform 0.25s ease;
}

.home-page .home-faq__trigger[aria-expanded="true"] .home-faq__chev {
  transform: rotate(180deg);
}

.home-page .home-faq__panel[hidden] {
  display: none;
}

.home-page .home-faq__answer {
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--home-color-text-muted);
  padding-right: 16px;
}

.home-page .home-faq__answer a {
  color: var(--home-color-primary);
  font-weight: 600;
}

/* Blog listing + article — match hero: white canvas, hero title/lead, video-style rounded outlines */
.home-page.blog-page-wrap {
  background: #fff;
  min-height: 50vh;
}

.home-page.blog-page-wrap .blog-page {
  padding-top: 48px;
  padding-bottom: 96px;
}

.home-page.blog-page-wrap .blog-page-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.home-page.blog-page-wrap .blog-page-header__title {
  font-family: inherit;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--home-color-text);
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .home-page.blog-page-wrap .blog-page-header__title {
    font-size: 56px;
  }
}

.home-page.blog-page-wrap .blog-page-header__accent {
  color: var(--home-color-accent);
  font-weight: 700;
}

.home-page.blog-page-wrap .blog-page-header__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--home-color-text-muted);
  margin: 0 auto;
  max-width: 42rem;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .home-page.blog-page-wrap .blog-page-header__lead {
    font-size: 20px;
  }
}

/* Light canvas like other home sections (.home-roles__card, etc.) */
.home-page.blog-page-wrap .blog-sidebar {
  background: var(--home-color-lavender);
  border: 1px solid var(--home-color-border-soft);
  border-radius: var(--home-radius-lg);
  box-shadow: none;
}

.home-page.blog-page-wrap .blog-sidebar h3 {
  color: var(--home-color-text-muted);
  letter-spacing: 0.06em;
}

.home-page.blog-page-wrap .blog-category-list a,
.home-page.blog-page-wrap .blog-article-list a {
  border: 1px solid rgba(59, 21, 120, 0.2);
  color: var(--home-color-text-body);
  background: #fff;
  letter-spacing: -0.01em;
}

.home-page.blog-page-wrap .blog-category-list a.active,
.home-page.blog-page-wrap .blog-article-list a.active,
.home-page.blog-page-wrap .blog-category-list a:hover,
.home-page.blog-page-wrap .blog-article-list a:hover {
  color: #fff;
  background: var(--home-color-primary);
  border-color: var(--home-color-primary);
}

.home-page.blog-page-wrap .blog-article-list .empty {
  border: 1px dashed rgba(59, 21, 120, 0.25);
  color: var(--home-color-text-muted);
  background: #fff;
}

.home-page.blog-page-wrap .blog-card,
.home-page.blog-page-wrap .blog-article {
  border: 1px solid rgba(59, 21, 120, 0.2);
  border-radius: var(--home-radius-lg);
  background: #fff;
  box-shadow: none;
}

.home-page.blog-page-wrap .blog-meta span {
  background: rgba(59, 21, 120, 0.06);
  color: var(--home-color-text-muted);
  letter-spacing: -0.01em;
}

.home-page.blog-page-wrap .blog-meta .blog-category {
  background: var(--home-color-primary);
  color: #fff;
}

.home-page.blog-page-wrap .blog-card .home-h2 a {
  color: var(--home-color-text);
  font-weight: inherit;
}

.home-page.blog-page-wrap .blog-card .home-h2 a:hover {
  color: var(--home-color-primary);
}

.home-page.blog-page-wrap .blog-card p {
  color: var(--home-color-text-muted);
  letter-spacing: -0.01em;
}

.home-page.blog-page-wrap .blog-empty-state {
  background: #fff;
  border: 1px dashed rgba(59, 21, 120, 0.25);
}

.home-page.blog-page-wrap .blog-empty-state .home-h2 {
  color: var(--home-color-text);
}

.home-page.blog-page-wrap .blog-empty-state p {
  color: var(--home-color-text-muted);
}

/* Post title uses .home-h2 (600, section scale) — lighter than global h1 700 */
.home-page.blog-page-wrap .blog-article .home-h2 {
  margin-bottom: 20px;
}

.home-page.blog-page-wrap .blog-summary {
  color: var(--home-color-text-body);
}

.home-page.blog-page-wrap .blog-content h2,
.home-page.blog-page-wrap .blog-content h3,
.home-page.blog-page-wrap .blog-content h4 {
  color: var(--home-color-text);
}

.home-page.blog-page-wrap .blog-content a {
  color: var(--home-color-primary);
}

.home-page.blog-page-wrap .blog-content a:hover,
.home-page.blog-page-wrap .blog-content a:focus {
  color: var(--home-color-primary-hover);
}

.home-page.blog-page-wrap .blog-content blockquote {
  border-left-color: var(--home-color-border);
  color: var(--home-color-text-body);
}

.home-page.blog-page-wrap .blog-content .blog-quoted-text {
  color: var(--home-color-accent);
}

.home-page.blog-page-wrap .blog-content .source-footnote a {
  color: var(--home-color-primary);
  border-bottom-color: rgba(59, 21, 120, 0.35);
}

.home-page.blog-page-wrap .blog-content .source-footnote a:hover,
.home-page.blog-page-wrap .blog-content .source-footnote a:focus {
  color: var(--home-color-primary-hover);
}

.home-page.blog-page-wrap .blog-content .source-quotes {
  border-top-color: var(--home-color-border-soft);
}

.home-page.blog-page-wrap .blog-content .source-quotes h2,
.home-page.blog-page-wrap .blog-content .source-quotes li {
  color: var(--home-color-text-muted);
}

.home-page.blog-page-wrap .blog-card .button.brd-btn,
.home-page.blog-page-wrap .blog-main .button.brd-btn {
  border: 2px solid var(--home-color-primary);
  color: var(--home-color-primary);
  background: transparent;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  min-height: 44px;
  padding: 10px 22px;
}

.home-page.blog-page-wrap .blog-card .button.brd-btn:hover,
.home-page.blog-page-wrap .blog-card .button.brd-btn:focus,
.home-page.blog-page-wrap .blog-main .button.brd-btn:hover,
.home-page.blog-page-wrap .blog-main .button.brd-btn:focus {
  background: var(--home-color-lavender);
  color: var(--home-color-primary);
}

/* Legal pages (privacy/terms) - align visual language with home redesign */
.home-page.legal-page-wrap {
  background: #fff;
}

.home-page.legal-page-wrap .legal-page {
  padding-top: 56px;
  padding-bottom: 96px;
}

.home-page.legal-page-wrap .legal-page__card {
  background: #fff;
  border: 1px solid rgba(59, 21, 120, 0.2);
  border-radius: var(--home-radius-lg);
  padding: 28px 24px;
}

@media (min-width: 768px) {
  .home-page.legal-page-wrap .legal-page__card {
    padding: 40px 48px;
  }
}

.home-page.legal-page-wrap .legal-page__card + .legal-page__card {
  margin-top: 24px;
}

@media (min-width: 768px) {
  .home-page.legal-page-wrap .legal-page__card + .legal-page__card {
    margin-top: 32px;
  }
}

.home-page.legal-page-wrap .legal-page__card ul,
.home-page.legal-page-wrap .legal-page__card ol {
  margin: 0 0 1em;
  padding-left: 1.5em;
  list-style-position: outside;
}

.home-page.legal-page-wrap .legal-page__card ul {
  list-style-type: disc;
}

.home-page.legal-page-wrap .legal-page__card ol {
  list-style-type: decimal;
}

.home-page.legal-page-wrap .legal-page__card ul ul {
  list-style-type: circle;
  margin-top: 0.35em;
  margin-bottom: 0.35em;
}

.home-page.legal-page-wrap .legal-page__card li {
  margin-bottom: 0.35em;
}

.home-page.legal-page-wrap .legal-page__card li:last-child {
  margin-bottom: 0;
}

/* Match .home-h2 (industry section titles, etc.) — not hero h1 scale (40/56) */
.home-page.legal-page-wrap h2 {
  color: var(--home-color-text);
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .home-page.legal-page-wrap h2 {
    font-size: 36px;
  }
}

/* h4 in legal cards: same treatment as .industry-page__eyebrow (uppercase sub-labels) */
.home-page.legal-page-wrap .legal-page__card h4 {
  margin: 20px 0 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--home-color-text-muted);
}

.home-page.legal-page-wrap p,
.home-page.legal-page-wrap li {
  color: var(--home-color-text-body);
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.home-page.legal-page-wrap a {
  color: var(--home-color-primary);
}

.home-page.legal-page-wrap a:hover,
.home-page.legal-page-wrap a:focus {
  color: var(--home-color-primary-hover);
}

/* --------------------------------------------------------------------------
   About page — aligned with homepage hero, sections, and tokens
   -------------------------------------------------------------------------- */
.home-page.about-page {
  background: #fff;
  color: var(--home-color-text);
}

.home-page.about-page .about-page__hero {
  background: #fff;
}

.home-page.about-page .about-page__hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .home-page.about-page .about-page__hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

@media (max-width: 991px) {
  .home-page.about-page .about-page__hero-copy {
    text-align: center;
  }

  .home-page.about-page .about-page__lead {
    margin-left: auto;
    margin-right: auto;
  }
}

.home-page.about-page .about-page__eyebrow {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--home-color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home-page.about-page .about-page__team-header {
  text-align: center;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .home-page.about-page .about-page__team-header {
    margin-bottom: 48px;
  }
}

.home-page.about-page .about-page__team-heading {
  margin-left: auto;
  margin-right: auto;
  max-width: 28rem;
}

.home-page.about-page .about-page__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--home-color-text);
  margin: 0 0 24px;
}

@media (min-width: 768px) {
  .home-page.about-page .about-page__title {
    font-size: 56px;
    margin-bottom: 32px;
  }
}

.home-page.about-page .about-page__hero-intro .about-page__lead + .about-page__lead {
  margin-top: 1.25rem;
}

.home-page.about-page .about-page__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--home-color-text-muted);
  max-width: 36rem;
}

@media (min-width: 768px) {
  .home-page.about-page .about-page__lead {
    font-size: 20px;
  }
}

.home-page.about-page .about-page__media-frame {
  border-radius: var(--home-radius-lg);
  border: 1px solid rgba(59, 21, 120, 0.2);
  overflow: hidden;
  background: #fff;
}

.home-page.about-page .about-page__media-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.home-page.about-page .about-page__team {
  background: var(--home-color-lavender);
  border-top: 1px solid var(--home-color-border-soft);
  border-bottom: 1px solid var(--home-color-border-soft);
}

.home-page.about-page .about-page__founders {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .home-page.about-page .about-page__founders {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: none;
  }
}

.home-page.about-page .about-page__founder {
  text-align: center;
}

.home-page.about-page .about-page__founder-photo {
  display: inline-flex;
  margin-bottom: 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(59, 21, 120, 0.15);
}

.home-page.about-page .about-page__founder-photo img {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
}

.home-page.about-page .about-page__founder-name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.home-page.about-page .about-page__founder-name a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--home-color-text);
  text-decoration: none;
}

.home-page.about-page .about-page__founder-name a:hover,
.home-page.about-page .about-page__founder-name a:focus {
  color: var(--home-color-primary);
}

.home-page.about-page .about-page__li-icon {
  flex-shrink: 0;
  display: inline-block;
}

.home-page.about-page .about-page__founder-role {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--home-color-text-muted);
  letter-spacing: -0.01em;
}

.home-page.about-page .about-page__mission {
  padding: 72px 0;
  background: #1e0a3c;
  text-align: center;
}

@media (min-width: 768px) {
  .home-page.about-page .about-page__mission {
    padding: 96px 0;
  }
}

.home-page.about-page .about-page__mission-inner {
  max-width: 52rem;
  margin: 0 auto;
}

.home-page.about-page .about-page__eyebrow--on-dark {
  color: rgba(196, 181, 253, 0.95);
}

.home-page.about-page .about-page__mission-title {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}

@media (min-width: 768px) {
  .home-page.about-page .about-page__mission-title {
    font-size: 36px;
    line-height: 1.2;
  }
}

/* --------------------------------------------------------------------------
   Industry pages — aligned with homepage tokens and section rhythm
   -------------------------------------------------------------------------- */
.home-page.industry-page .industry-page__hero {
  background: #fff;
  padding-top: 56px;
}

.home-page.industry-page .industry-page__hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .home-page.industry-page .industry-page__hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.home-page.industry-page .industry-page__eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--home-color-text-muted);
}

.home-page.industry-page .industry-page__title {
  margin: 0 0 20px;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--home-color-text);
}

@media (min-width: 768px) {
  .home-page.industry-page .industry-page__title {
    font-size: 56px;
  }
}

.home-page.industry-page .industry-page__title-accent {
  color: var(--home-color-accent);
}

.home-page.industry-page .industry-page__lead {
  margin: 0;
  max-width: 34rem;
  font-size: 18px;
  line-height: 1.6;
  color: var(--home-color-text-muted);
}

.home-page.industry-page .industry-page__hero-media img,
.home-page.industry-page .industry-page__overview-media img {
  width: 100%;
  height: auto;
  display: block;
}

.home-page.industry-page .industry-page__hero-media img,
.home-page.industry-page .industry-page__overview-media img {
  border-radius: var(--home-radius-lg);
  border: 1px solid rgba(59, 21, 120, 0.16);
}

.home-page.industry-page .industry-page__nav-wrap {
  position: sticky;
  top: 72px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--home-color-border-soft);
  border-bottom: 1px solid var(--home-color-border-soft);
}

.home-page.industry-page .industry-page__nav {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.home-page.industry-page .industry-page__nav a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--home-color-text-muted);
  padding: 8px 12px;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.home-page.industry-page .industry-page__nav a:hover {
  color: var(--home-color-primary);
  background: var(--home-color-lavender);
}

.home-page.industry-page .industry-page__nav a.industry-page__nav-link--active,
.home-page.industry-page .industry-page__nav a[aria-current="location"] {
  color: var(--home-color-primary);
  background: var(--home-color-lavender);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--home-color-primary) 24%, white);
}

.home-page.industry-page .industry-page__overview {
  background: var(--home-color-lavender);
}

.home-page.industry-page .industry-page__overview-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .home-page.industry-page .industry-page__overview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.home-page.industry-page .industry-page__overview-copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--home-color-text-body);
}

.home-page.industry-page .industry-page__section-head {
  margin-bottom: 36px;
}

.home-page.industry-page .industry-page__section-head--center {
  text-align: center;
}

.home-page.industry-page .industry-page__capabilities {
  background: #fff;
}

.home-page.industry-page .industry-page__capability-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 576px) {
  .home-page.industry-page .industry-page__capability-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .home-page.industry-page .industry-page__capability-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-page.industry-page .industry-page__capability-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--home-color-border-soft);
  border-radius: 12px;
  background: var(--home-color-lavender-soft);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.home-page.industry-page .industry-page__capability-item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--home-color-accent) 18%, var(--home-color-border-soft));
  box-shadow: 0 8px 18px rgba(30, 10, 60, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .home-page.industry-page .industry-page__capability-item,
  .home-page.industry-page .industry-page__nav a {
    transition: none;
  }

  .home-page.industry-page .industry-page__capability-item:hover {
    transform: none;
    box-shadow: none;
  }
}

.home-page.industry-page .industry-page__capability-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.home-page.industry-page .industry-page__capability-item span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--home-color-text);
}

.home-page.industry-page .industry-page__cta-box {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border: 1px solid var(--home-color-border);
  box-shadow: 0 12px 30px rgba(30, 10, 60, 0.08);
}

.home-page.industry-page .industry-page__cta-title {
  margin-bottom: 22px;
  color: var(--home-color-text);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .home-page.industry-page .industry-page__cta-title {
    font-size: 34px;
  }
}

.home-page.industry-page .industry-page__cta-title-soft {
  color: color-mix(in srgb, var(--home-color-accent) 72%, white);
  font-weight: inherit;
}

.home-page.industry-page .industry-page__client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 28px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--home-color-border-soft);
  border-radius: 14px;
}

.home-page.industry-page .industry-page__client-logos img {
  max-height: 42px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.home-page.industry-page .industry-page__client-logos img[src$="bodycote.svg"] {
  max-height: 36px;
}
