@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/*
  Across Health theme stylesheet
  Structure:
  01. Tokens and base
  02. Header and navigation
  03. Shared UI
  04. Flexible homepage sections
  05. Legacy page template sections
  06. Footer
  07. Responsive rules
*/

/* 01. Tokens and base */

:root {
  --ah-navy: #192431;
  --ah-charcoal: #212B36;
  --ah-orange: #F95E21;
  --ah-orange-light: #FE8D50;
  --ah-blue: #71bbff;
  --ah-blue-soft: rgba(113, 187, 255, 0.12);
  --ah-blue-border: rgba(113, 187, 255, 0.35);
  --ah-bg-light: #F7F9FA;
  --ah-border: #E2E8F0;
  --ah-text: #212B36;
  --ah-muted: #5D6875;
  --ah-muted-light: #A0B4C8;
}

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

body {
  margin: 0;
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 16px;
  color: var(--ah-text);
  background: var(--ah-bg-light);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-main {
  min-height: 60vh;
}

/* 02. Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--ah-border);
}

.site-header__inner {
  max-width: 1280px;
  height: 88px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  color: var(--ah-charcoal);
}

.site-logo img {
  height: 56px;
  width: auto;
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Accessible hidden text */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Mobile hamburger button */
.site-nav-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
}

.site-nav-toggle__icon {
  display: grid;
  gap: 5px;
  width: 22px;
}

.site-nav-toggle__icon span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ah-text);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

body.nav-open .site-nav-toggle__icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .site-nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

body.nav-open .site-nav-toggle__icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─────────────────────────────────────────────
   Header navigation
───────────────────────────────────────────── */

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list li {
  position: relative;
  margin: 0;
}

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ah-charcoal);
  font-size: 14px;
  font-weight: 700;
}

.site-nav__list a:hover {
  color: var(--ah-orange);
}

.site-nav__list .sub-menu {
  position: absolute;
  top: 100%;
  left: -22px;
  z-index: 20;
  min-width: 220px;
  margin: 0;
  padding: 12px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--ah-border);
  box-shadow: 0 18px 42px rgba(25, 36, 49, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.site-nav__list li:hover > .sub-menu,
.site-nav__list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__list .sub-menu a {
  display: flex;
  min-height: auto;
  padding: 10px 12px;
  color: var(--ah-muted);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.site-nav__list .sub-menu a:hover {
  color: var(--ah-orange);
  background: var(--ah-bg-light);
}

.site-nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ah-charcoal);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header__inner {
    position: relative;
  }

  .site-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 24px;
    right: 24px;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--ah-border);
    box-shadow: 0 18px 42px rgba(25, 36, 49, 0.14);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__list a {
    min-height: auto;
    padding: 12px 0;
  }

  .site-nav__list .sub-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0 16px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list .sub-menu a {
    padding: 9px 0;
    background: transparent;
  }

  .site-nav .btn-cta {
    text-align: center;
  }
}

.site-nav a.btn-cta:hover,
.site-nav a.btn-cta:focus {
  color: #fff;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  background: var(--ah-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.btn-cta:hover,
.btn-cta:focus {
  background: var(--ah-orange-light);
  color: #fff;
}

/* 03. Shared UI */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.btn-primary {
  background: var(--ah-orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--ah-orange-light);
  color: #fff;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
}

.btn-secondary:hover {
  border-color: var(--ah-orange);
  color: var(--ah-orange);
}

.section-label {
  margin: 0 0 16px;
  color: var(--ah-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.rich-text {
  max-width: 760px;
}

.rich-text p {
  margin: 0 0 24px;
  color: var(--ah-muted);
  font-size: 17px;
  line-height: 1.75;
}

.rich-text p:last-child {
  margin-bottom: 0;
}

.rich-text--dark p {
  color: var(--ah-muted-light);
}

.empty-page-section {
  padding: 96px 40px;
  background: var(--ah-bg-light);
}

.empty-page-section__inner {
  max-width: 1280px;
  margin: 0 auto;
  color: var(--ah-muted);
}

/* Fallback index.php hero */

.test-hero {
  background: var(--ah-navy);
  color: #fff;
  padding: 120px 40px;
}

.test-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.test-hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(2.6rem, 4vw, 56px);
  line-height: 1.05;
  font-weight: 800;
}

.test-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--ah-muted-light);
  font-size: 20px;
  line-height: 1.7;
}

/* 04. Flexible homepage sections */

/* Hero */

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background: var(--ah-navy);
  color: #fff;
  display: flex;
  align-items: center;
}

.home-hero__background {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    radial-gradient(circle at 76% 28%, rgba(249, 94, 33, 0.12), transparent 22%),
    radial-gradient(circle at 86% 76%,rgba(113, 187, 255, 0.1),rgba(52, 211, 153, 0.08), transparent 24%);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 104px 40px;
}

.home-hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(2.6rem, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.052em;
  font-weight: 800;
}

.home-hero__intro {
  max-width: 660px;
  margin: 0;
  color: var(--ah-muted-light);
  font-size: 18px;
  line-height: 1.65;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

/* Stats strip */

.stats-strip {
  padding: 0 40px;
}

.stats-strip--dark {
  background: var(--ah-navy);
}

.stats-strip--light {
  background: var(--ah-bg-light);
}

.stats-strip--white {
  background: #fff;
}

.stats-strip__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,0.12);
}

.stats-strip--light .stats-strip__inner,
.stats-strip--white .stats-strip__inner {
  border-top-color: var(--ah-border);
}

.stats-strip__item {
  display: grid;
  justify-items: center;
  padding: 34px 24px 38px;
  text-align: center;
}

.stats-strip__value {
  margin: 0 0 6px;
  color: var(--ah-orange);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.stats-strip__label {
  margin: 0;
  color: var(--ah-muted-light);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.stats-strip--light .stats-strip__label,
.stats-strip--white .stats-strip__label {
  color: var(--ah-muted);
}

/* Two-column text */

.section-two-col {
  padding: 88px 40px;
}

.section-two-col--light {
  background: var(--ah-bg-light);
}

.section-two-col--white {
  background: #fff;
}

.section-two-col--dark {
  background: var(--ah-charcoal);
  color: #fff;
}

.section-two-col__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: start;
}

.section-two-col__heading h2 {
  max-width: 560px;
  margin: 0;
  color: var(--ah-text);
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.section-two-col--dark .section-two-col__heading h2 {
  color: #fff;
}

.section-two-col__content {
  max-width: 760px;
}

.section-two-col__content .btn-primary,
.section-two-col__content .btn-secondary {
  margin-top: 24px;
}

/* Generic card grid */

.section-card-grid {
  padding: 88px 40px;
}

.section-card-grid--light {
  background: var(--ah-bg-light);
}

.section-card-grid--white {
  background: #fff;
}

.section-card-grid--dark {
  background: var(--ah-charcoal);
  color: #fff;
}

.section-card-grid__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-card-grid__heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-card-grid__heading h2 {
  margin: 0;
  color: var(--ah-text);
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.section-card-grid--dark .section-card-grid__heading h2 {
  color: #fff;
}

.section-card-grid__heading p:not(.section-label) {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--ah-muted);
  font-size: 17px;
  line-height: 1.65;
}

.section-card-grid--dark .section-card-grid__heading p:not(.section-label) {
  color: var(--ah-muted-light);
}

.cms-card-grid {
  display: grid;
  gap: 20px;
}

.cms-card-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cms-card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cms-card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cms-card {
  min-height: 240px;
  background: #fff;
  border: 1px solid var(--ah-border);
  padding: 28px;
}

.section-card-grid--dark .cms-card {
  background: rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.14);
}

.cms-card__label {
  margin: 0 0 28px;
  color: var(--ah-orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cms-card h3 {
  margin: 0 0 14px;
  color: var(--ah-text);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
}

.section-card-grid--dark .cms-card h3 {
  color: #fff;
}

.cms-card p:not(.cms-card__label) {
  margin: 0;
  color: var(--ah-muted);
  font-size: 14px;
  line-height: 1.7;
}

.section-card-grid--dark .cms-card p:not(.cms-card__label) {
  color: var(--ah-muted-light);
}

.cms-card__link {
  display: inline-block;
  margin-top: 22px;
  color: var(--ah-orange);
  font-size: 14px;
  font-weight: 800;
}

.cms-card__link:hover {
  color: var(--ah-orange-light);
}

/* Diagnostic challenge */

.diagnostic-challenge {
  padding: 96px 40px;
}

.diagnostic-challenge--light {
  background: var(--ah-bg-light);
}

.diagnostic-challenge--white {
  background: #fff;
}

.diagnostic-challenge__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  gap: 88px;
  align-items: start;
}

.diagnostic-challenge__content h2 {
  max-width: 720px;
  margin: 0 0 26px;
  color: var(--ah-text);
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.diagnostic-challenge__content .rich-text {
  max-width: 760px;
}

.diagnostic-challenge__link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--ah-orange);
  font-size: 15px;
  font-weight: 800;
}

.diagnostic-challenge__link::after {
  content: "→";
  margin-left: 10px;
  transition: transform 0.15s ease;
}

.diagnostic-challenge__link:hover::after {
  transform: translateX(3px);
}

.diagnostic-chain {
  position: relative;
  overflow: hidden;
  background: var(--ah-navy);
  color: #fff;
  padding: 36px;
  border: 1px solid rgba(255,255,255,0.1);
}

.diagnostic-chain::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.45;
  pointer-events: none;
}

.diagnostic-chain > * {
  position: relative;
  z-index: 1;
}

.diagnostic-chain__items {
  display: grid;
  gap: 26px;
}

.diagnostic-chain__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.diagnostic-chain__number {
  margin: 0;
  color: var(--ah-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.diagnostic-chain__item h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

.diagnostic-chain__item p:not(.diagnostic-chain__number) {
  margin: 0;
  color: var(--ah-muted-light);
  font-size: 14px;
  line-height: 1.65;
}

/* Benchmark 4D flexible section */

.benchmark-4d-section {
  padding: 96px 40px;
}

.benchmark-4d-section--light {
  background: var(--ah-bg-light);
}

.benchmark-4d-section--white {
  background: #fff;
}

.benchmark-4d-section__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.benchmark-4d-section__heading {
  max-width: 820px;
  margin-bottom: 54px;
}

.benchmark-4d-section__heading h2 {
  margin: 0;
  color: var(--ah-text);
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.benchmark-4d-section__heading p:not(.section-label) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--ah-muted);
  font-size: 17px;
  line-height: 1.7;
}

.benchmark-4d-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ah-border);
  background: var(--ah-border);
  gap: 1px;
}

.benchmark-4d-card {
  position: relative;
  min-height: 290px;
  background: #fff;
  padding: 34px 30px;
}

.benchmark-4d-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ah-orange);
}

.benchmark-4d-card--blue::before {
  background: var(--ah-blue);
}

.benchmark-4d-card--muted::before {
  background: #A0B4C8;
}

.benchmark-4d-card__label {
  margin: 0 0 28px;
  color: var(--ah-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.benchmark-4d-card--blue .benchmark-4d-card__label {
  color: var(--ah-blue);
}

.benchmark-4d-card--muted .benchmark-4d-card__label {
  color: #8a99aa;
}

.benchmark-4d-card h3 {
  margin: 0 0 18px;
  color: var(--ah-text);
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.benchmark-4d-card h3::first-letter {
  color: var(--ah-orange);
}

.benchmark-4d-card--blue h3::first-letter {
  color: var(--ah-blue);
}

.benchmark-4d-card--muted h3::first-letter {
  color: #8a99aa;
}

.benchmark-4d-card p:not(.benchmark-4d-card__label) {
  margin: 0;
  color: var(--ah-muted);
  font-size: 15px;
  line-height: 1.7;
}

.benchmark-4d-section__cta {
  margin-top: 36px;
}

/* Resource teaser grid */

.resource-teaser-section {
  padding: 96px 40px;
}

.resource-teaser-section--white {
  background: #fff;
  color: var(--ah-text);
}

.resource-teaser-section--light {
  background: var(--ah-bg-light);
  color: var(--ah-text);
}

.resource-teaser-section--dark {
  background: var(--ah-charcoal);
  color: #fff;
}

.resource-teaser-section__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.resource-teaser-section__heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.resource-teaser-section__heading h2 {
  margin: 0;
  color: var(--ah-text);
  font-size: clamp(2.1rem, 3.4vw, 3.8rem);
  line-height: 1.07;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.resource-teaser-section--dark .resource-teaser-section__heading h2 {
  color: #fff;
}

.resource-teaser-section__heading p:not(.section-label) {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--ah-muted);
  font-size: 17px;
  line-height: 1.7;
}

.resource-teaser-section--dark .resource-teaser-section__heading p:not(.section-label) {
  color: var(--ah-muted-light);
}

.resource-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.resource-teaser {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  background: var(--ah-bg-light);
  border: 1px solid var(--ah-border);
  padding: 30px;
  color: var(--ah-text);
}

.resource-teaser--highlight {
  background: #fff8f5;
  border-color: rgba(249, 94, 33, 0.28);
}

.resource-teaser--newsletter {
  background: var(--ah-navy);
  border-color: var(--ah-navy);
  color: #fff;
}

.resource-teaser__label {
  margin: 0 0 30px;
  color: var(--ah-orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.resource-teaser h3 {
  margin: 0 0 16px;
  color: var(--ah-text);
  font-size: 19px;
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.resource-teaser--newsletter h3 {
  color: #fff;
}

.resource-teaser__text {
  margin: 0;
  color: var(--ah-muted);
  font-size: 15px;
  line-height: 1.7;
}

.resource-teaser--newsletter .resource-teaser__text {
  color: var(--ah-muted-light);
}

.resource-teaser__link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 28px;
  color: var(--ah-orange);
  font-size: 14px;
  font-weight: 800;
}

.resource-teaser__link::after {
  content: "→";
  margin-left: 9px;
  transition: transform 0.15s ease;
}

.resource-teaser__link:hover::after {
  transform: translateX(3px);
}

.resource-teaser--newsletter .resource-teaser__link {
  color: #fff;
}

/* ─────────────────────────────────────────────
   Flexible section: Resource listing
───────────────────────────────────────────── */

.resource-listing {
  padding: 96px 40px;
}

.resource-listing--white {
  background: #fff;
}

.resource-listing--light {
  background: var(--ah-bg-light);
}

.resource-listing__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.resource-listing__heading {
  max-width: 800px;
  margin-bottom: 48px;
}

.resource-listing__heading h2 {
  margin: 0;
  color: var(--ah-text);
  font-size: clamp(2.1rem, 3.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.resource-listing__heading p:not(.section-label) {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--ah-muted);
  font-size: 17px;
  line-height: 1.7;
}

.resource-listing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.resource-listing-card {
  display: flex;
  background: #fff;
  border: 1px solid var(--ah-border);
}

.resource-listing--white .resource-listing-card {
  background: var(--ah-bg-light);
}

.resource-listing-card__link {
  width: 100%;
  min-height: 320px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.resource-listing-card__label {
  margin: 0 0 30px;
  color: var(--ah-orange);
  font-size: 10px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.resource-listing-card h3 {
  margin: 0 0 16px;
  color: var(--ah-text);
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.resource-listing-card__excerpt {
  margin: 0;
  color: var(--ah-muted);
  font-size: 15px;
  line-height: 1.7;
}

.resource-listing-card__cta {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 30px;
  color: var(--ah-orange);
  font-size: 14px;
  font-weight: 800;
}

.resource-listing-card__cta::after {
  content: "→";
  margin-left: 9px;
  transition: transform 0.15s ease;
}

.resource-listing-card:hover .resource-listing-card__cta::after {
  transform: translateX(3px);
}

.resource-listing-card:hover h3 {
  color: var(--ah-orange);
}

.resource-listing__empty {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--ah-border);
}

.resource-listing__empty p {
  margin: 0;
  color: var(--ah-muted);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .resource-listing__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .resource-listing {
    padding: 76px 24px;
  }

  .resource-listing__grid {
    grid-template-columns: 1fr;
  }

  .resource-listing-card__link {
    min-height: auto;
  }
}

.resource-listing__footer {
  margin-top: 36px;
  text-align: center;
}

.resource-listing__all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ah-border);
  background: #fff;
  color: var(--ah-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.resource-listing__all-link::after {
  content: "→";
  margin-left: 10px;
  color: var(--ah-orange);
  transition: transform 0.18s ease;
}

.resource-listing__all-link:hover,
.resource-listing__all-link:focus {
  border-color: rgba(249, 94, 33, 0.45);
  color: var(--ah-orange);
  box-shadow: 0 10px 28px rgba(249, 94, 33, 0.08);
}

.resource-listing__all-link:hover::after,
.resource-listing__all-link:focus::after {
  transform: translateX(3px);
}

/* ─────────────────────────────────────────────
   Flexible section: Expert insight listing
───────────────────────────────────────────── */

.expert-insight-listing {
  padding: 88px 40px 96px;
}

.expert-insight-listing--white {
  background: #fff;
}

.expert-insight-listing--light {
  background: var(--ah-bg-light);
}

.expert-insight-listing__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.expert-insight-listing__heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.expert-insight-listing__heading h2 {
  margin: 0;
  color: var(--ah-text);
  font-size: clamp(2.1rem, 3.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.expert-insight-listing__heading p:not(.section-label) {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--ah-muted);
  font-size: 17px;
  line-height: 1.7;
}

.expert-insight-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 58px;
}

.expert-insight-filter button {
  appearance: none;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--ah-border);
  background: #fff;
  color: var(--ah-muted);
  font-family: inherit;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
}

.expert-insight-filter button:hover,
.expert-insight-filter button.is-active {
  border-color: var(--ah-orange);
  background: var(--ah-orange);
  color: #fff;
}

.expert-insight-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ah-border);
}

.expert-insight-row {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 70px;
  padding: 44px 0 48px;
  border-bottom: 1px solid var(--ah-border);
}

.expert-insight-row.is-hidden {
  display: none;
}

.expert-insight-row__author strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ah-text);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
}

.expert-insight-row__author span,
.expert-insight-row__author time {
  display: block;
  margin-bottom: 8px;
  color: var(--ah-muted);
  font-size: 15px;
  line-height: 1.45;
}

.expert-insight-row__read-time {
  position: relative;
  display: block;
  padding-left: 24px;
  color: #9aa8b8 !important;
}

.expert-insight-row__read-time::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: currentColor;
  opacity: 0.72;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm1 3a1 1 0 1 0-2 0v5c0 .27.11.52.29.71l3 3a1 1 0 0 0 1.42-1.42L13 11.59V7Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm1 3a1 1 0 1 0-2 0v5c0 .27.11.52.29.71l3 3a1 1 0 0 0 1.42-1.42L13 11.59V7Z'/%3E%3C/svg%3E");
}

.expert-insight-row__read-time::after {
  display: none;
}

.expert-insight-row__topics {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
}

.expert-insight-row__topic {
  appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--ah-border);
  background: var(--ah-bg-light);
  color: var(--ah-muted) !important;
  font-family: inherit;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  text-align: left;
  white-space: normal;
  cursor: pointer;
}

.expert-insight-row__topic:hover {
  border-color: var(--ah-orange);
  background: rgba(249, 94, 33, 0.08);
  color: var(--ah-orange) !important;
}

.expert-insight-row__topic.is-active {
  border-color: var(--ah-orange);
  background: rgba(249, 94, 33, 0.1);
  color: var(--ah-orange) !important;
}

.expert-insight-row__author {
  min-width: 0;
}

.expert-insight-row__topics button {
  margin: 0;
}

.expert-insight-row__content {
  padding-top: 2px;
}

.expert-insight-row h3 {
  max-width: 900px;
  margin: 0;
  color: var(--ah-text);
  font-size: clamp(1.2rem, 1.45vw, 1.65rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.expert-insight-row h3 a:hover {
  color: var(--ah-orange);
}

.expert-insight-row__excerpt {
  max-width: 940px;
  margin: 18px 0 0;
  color: var(--ah-muted);
  font-size: 17px;
  line-height: 1.72;
}

.expert-insight-row__link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--ah-orange);
  font-size: 15px;
  font-weight: 800;
}

.expert-insight-row__link::after {
  content: "→";
  margin-left: 9px;
  transition: transform 0.15s ease;
}

.expert-insight-row__link:hover::after {
  transform: translateX(3px);
}

.expert-insight-listing__empty {
  padding: 32px;
  background: var(--ah-bg-light);
  border: 1px solid var(--ah-border);
}

.expert-insight-listing__empty p {
  margin: 0;
  color: var(--ah-muted);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .expert-insight-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 768px) {
  .expert-insight-listing {
    padding: 72px 24px 80px;
  }

  .expert-insight-row {
    padding: 34px 0;
  }
}

/* ─────────────────────────────────────────────
   Flexible section: Case study listing
───────────────────────────────────────────── */

.case-study-listing {
  padding: 88px 40px 96px;
}

.case-study-listing--white {
  background: #fff;
}

.case-study-listing--light {
  background: var(--ah-bg-light);
}

.case-study-listing__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.case-study-listing__heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.case-study-listing__heading h2 {
  margin: 0;
  color: var(--ah-text);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.case-study-listing__heading p:not(.section-label) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--ah-muted);
  font-size: 18px;
  line-height: 1.65;
}

.case-study-grid {
  display: grid;
  border-top: 1px solid var(--ah-border);
}

.case-study-card {
  border-bottom: 1px solid var(--ah-border);
}

.case-study-card__link {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 90px;
  padding: 46px 0 50px;
}

.case-study-card__meta {
  display: grid;
  align-content: start;
  gap: 12px;
}

.case-study-card__meta span {
  display: block;
  color: var(--ah-muted);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}

.case-study-card__tag {
  display: inline-flex !important;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid var(--ah-border);
  background: var(--ah-bg-light);
  color: var(--ah-muted) !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

.case-study-card__body {
  max-width: 1080px;
}

.case-study-card h3 {
  max-width: 980px;
  margin: 0;
  color: var(--ah-text);
  font-size: clamp(1.25rem, 1.5vw, 1.7rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.case-study-card__excerpt {
  max-width: 1050px;
  margin: 18px 0 0;
  color: var(--ah-muted);
  font-size: 17px;
  line-height: 1.68;
}

.case-study-card__result {
  max-width: 960px;
  margin-top: 28px;
  padding-left: 22px;
  border-left: 3px solid var(--ah-blue);
}

.case-study-card__result span {
  display: block;
  margin-bottom: 10px;
  color: var(--ah-blue);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.case-study-card__result p {
  margin: 0;
  color: var(--ah-text);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}

.case-study-card__cta {
  display: inline-flex;
  margin-top: 28px;
  color: var(--ah-orange);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
}

.case-study-card__cta::after {
  content: "→";
  margin-left: 9px;
  transition: transform 0.15s ease;
}

.case-study-card:hover h3 {
  color: var(--ah-orange);
}

.case-study-card:hover .case-study-card__cta::after {
  transform: translateX(3px);
}

.case-study-listing__empty {
  padding: 32px;
  background: var(--ah-bg-light);
  border: 1px solid var(--ah-border);
}

.case-study-listing__empty p {
  margin: 0;
  color: var(--ah-muted);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .case-study-card__link {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .case-study-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
  }
}

@media (max-width: 768px) {
  .case-study-listing {
    padding: 72px 24px 80px;
  }

  .case-study-card__link {
    padding: 36px 0;
  }

  .case-study-card__excerpt {
    font-size: 16px;
  }
}

/* ─────────────────────────────────────────────
   Single resource
───────────────────────────────────────────── */

.resource-article {
  background: #fff;
}

/* Dark article hero */

.resource-article-hero {
  position: relative;
  overflow: hidden;
  background: var(--ah-navy);
  color: #fff;
}

.resource-article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(249, 94, 33, 0.12), transparent 24%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  pointer-events: none;
}

.resource-article-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 40px 78px;
}

.resource-article__back {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--ah-muted);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.resource-article__back::before {
  content: "←";
  margin-right: 8px;
}

.resource-article__back:hover {
  color: var(--ah-orange);
}

.resource-article__back--dark {
  color: rgba(255,255,255,0.56);
}

.resource-article__back--dark:hover {
  color: #fff;
}

.resource-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.resource-article-hero__topic {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  background: rgba(249, 94, 33, 0.18);
  color: var(--ah-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.resource-article-hero__read-time {
  color: var(--ah-muted-light);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.resource-article-hero h1 {
  max-width: 860px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.9rem, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.resource-article-hero__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.resource-article-hero__author-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(249, 94, 33, 0.55);
  color: var(--ah-orange);
}

.resource-article-hero__author-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.resource-article-hero__author strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
}

.resource-article-hero__author em {
  display: block;
  color: var(--ah-muted-light);
  font-style: normal;
  font-size: 14px;
  line-height: 1.45;
}

/* Body layout */

.resource-article__layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 40px 96px;
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 96px;
  align-items: start;
}

.resource-article__dek {
  margin: 0 0 42px;
  padding-left: 28px;
  border-left: 4px solid var(--ah-orange);
  color: var(--ah-muted);
  font-size: 21px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.resource-article__content {
  color: var(--ah-muted);
  font-size: 16px;
  line-height: 26.7777px;
}

.resource-article__content > *:first-child {
  margin-top: 0;
}

.resource-article__content p,
.resource-article__content ul,
.resource-article__content ol {
  margin: 0 0 22px;
}

.resource-article__content ul,
.resource-article__content ol {
  padding-left: 24px;
}

.resource-article__content li {
  margin-bottom: 8px;
}

.resource-article__content h2 {
  margin: 46px 0 18px;
  color: var(--ah-text);
  font-size: clamp(1.65rem, 2.2vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.resource-article__content h3 {
  margin: 32px 0 12px;
  color: var(--ah-text);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.resource-article__content a {
  color: var(--ah-orange);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.resource-article__content a:hover {
  color: var(--ah-orange-light);
}

.resource-article-hero__meta {
  flex-wrap: wrap;
}

.resource-article-hero__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resource-article-hero__topic:hover {
  background: rgba(249, 94, 33, 0.28);
  color: #fff;
}

.resource-article-hero__read-time {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 23px;
}

.resource-article-hero__read-time::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  background: currentColor;
  opacity: 0.72;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm1 3a1 1 0 1 0-2 0v5c0 .27.11.52.29.71l3 3a1 1 0 0 0 1.42-1.42L13 11.59V7Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm1 3a1 1 0 1 0-2 0v5c0 .27.11.52.29.71l3 3a1 1 0 0 0 1.42-1.42L13 11.59V7Z'/%3E%3C/svg%3E");
}

/* ─────────────────────────────────────────────
   Resource detail: Case study
───────────────────────────────────────────── */

.case-study-detail {
  background: #fff;
}

/* Dark hero */

.case-study-hero {
  padding: 96px 40px 88px;
  background: var(--ah-navy);
}

.case-study-hero__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.case-study-detail__back {
  display: inline-flex;
  align-items: center;
  color: var(--ah-muted);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
}

.case-study-detail__back::before {
  content: "←";
  margin-right: 10px;
}

.case-study-detail__back:hover {
  color: var(--ah-orange);
}

.case-study-detail__back--dark {
  margin-bottom: 44px;
  color: #6f8195;
}

.case-study-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  color: #a0b4c8;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
}

.case-study-hero__tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 13px;
  background: var(--ah-blue-soft);
  color: var(--ah-blue);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-study-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.8rem, 4.3vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.case-study-hero__excerpt {
  max-width: 850px;
  margin: 30px 0 0;
  color: #a0b4c8;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.65;
}

/* Content layout */

.case-study-content {
  padding: 76px 40px 104px;
  background: #fff;
}

.case-study-content__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.case-study-content__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 88px;
  align-items: start;
}

.case-study-content__main {
  min-width: 0;
}

.case-study-content__rail {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 112px;
}

/* Right rail cards */

.case-study-rail-card {
  padding: 32px;
  border: 1px solid var(--ah-border);
}

.case-study-rail-card .section-label {
  margin-bottom: 22px;
}

.case-study-rail-card h2 {
  margin: 0;
  font-size: clamp(1.2rem, 1.45vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.case-study-rail-card--dark {
  background: var(--ah-navy);
  border-color: var(--ah-navy);
  color: #fff;
}

.case-study-rail-card--dark h2 {
  color: #fff;
}

.case-study-rail-card--dark > a {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
}

.case-study-rail-card--dark > a::after {
  content: "→";
  margin-left: 10px;
}

.case-study-rail-card--dark > a:hover {
  color: var(--ah-orange-light);
}

.case-study-rail-card--light {
  background: var(--ah-bg-light);
}

.case-study-rail-card--light h2 {
  color: var(--ah-text);
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
}

.case-study-rail-card--light h2 a:hover {
  color: var(--ah-orange);
}

.case-study-rail-card--light p:not(.section-label) {
  margin: 14px 0 0;
  color: var(--ah-muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.case-study-rail-card__arrow {
  display: inline-flex;
  margin-top: 10px;
  color: var(--ah-orange);
  font-size: 0;
  line-height: 1;
}

.case-study-rail-card__arrow::after {
  content: "→";
  font-size: 17px;
  font-weight: 800;
}

/* Story sections */

.case-study-story-block {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  padding: 42px 0;
  border-top: 1px solid var(--ah-border);
  align-items: start;
}

.case-study-story-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.case-study-story-block__label {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 0px;
}

.case-study-story-block__label p {
  line-height: 28px;
}

.case-study-story-block__label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--ah-orange);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.case-study-story-block__label p {
  margin: 0;
  color: var(--ah-orange);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.case-study-story-block__body {
  color: var(--ah-muted);
  font-size: 18px;
  line-height: 1.75;
}

.case-study-story-block__body p {
  margin: 0 0 1.1em;
}

.case-study-story-block__body p:last-child {
  margin-bottom: 0;
}

/* Results */

.case-study-results {
  margin-top: 56px;
  padding: 44px;
  background: var(--ah-bg-light);
  border: 1px solid var(--ah-border);
}

.case-study-results h2 {
  margin: 0 0 28px;
  color: var(--ah-text);
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.case-study-results__list {
  display: grid;
  gap: 16px;
}

.case-study-results__item {
  position: relative;
  padding-left: 28px;
  color: var(--ah-muted);
  font-size: 17px;
  line-height: 1.65;
}

.case-study-results__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  background: var(--ah-orange);
}

.case-study-results__item p {
  margin: 0;
}

/* Responsive */

@media (max-width: 1100px) {
  .case-study-content__layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .case-study-content__rail {
    position: static;
    max-width: 520px;
  }
}

@media (max-width: 900px) {
  .case-study-story-block {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 768px) {
  .case-study-hero {
    padding: 72px 24px 64px;
  }

  .case-study-detail__back--dark {
    margin-bottom: 36px;
  }

  .case-study-hero__meta {
    gap: 10px;
    margin-bottom: 24px;
    font-size: 14px;
  }

  .case-study-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }

  .case-study-hero__excerpt {
    font-size: 18px;
  }

  .case-study-content {
    padding: 56px 24px 80px;
  }

  .case-study-story-block {
    padding: 34px 0;
  }

  .case-study-story-block__body {
    font-size: 17px;
  }

  .case-study-rail-card {
    padding: 26px 24px;
  }

  .case-study-results {
    padding: 30px 24px;
  }
}

/* ─────────────────────────────────────────────
   Single webinar
───────────────────────────────────────────── */

.webinar-detail {
  background: #fff;
}

/* Dark webinar hero */

.webinar-detail-hero {
  position: relative;
  overflow: hidden;
  background: var(--ah-navy);
  color: #fff;
}

.webinar-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(249, 94, 33, 0.12), transparent 24%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  pointer-events: none;
}

.webinar-detail-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 40px 78px;
}

.webinar-detail__back {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--ah-muted);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.webinar-detail__back::before {
  content: "←";
  margin-right: 8px;
}

.webinar-detail__back:hover {
  color: var(--ah-orange);
}

.webinar-detail__back--dark {
  color: rgba(255,255,255,0.56);
}

.webinar-detail__back--dark:hover {
  color: #fff;
}

.webinar-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
  align-items: center;
}

.webinar-detail__meta span {
  color: var(--ah-muted);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
}

.webinar-detail__meta--dark span {
  color: var(--ah-muted-light);
}

.webinar-detail__status {
  display: inline-flex;
  padding: 7px 13px;
  background: rgba(249, 94, 33, 0.16);
  color: var(--ah-orange) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.webinar-detail-hero h1 {
  max-width: 860px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.9rem, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.webinar-detail__speakers--hero {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}

.webinar-detail__speaker {
  display: flex;
  align-items: center;
  gap: 14px;
}

.webinar-detail__speaker-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(249, 94, 33, 0.55);
  color: var(--ah-orange);
}

.webinar-detail__speaker-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.webinar-detail__speaker strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
}

.webinar-detail__speaker em {
  display: block;
  color: var(--ah-muted-light);
  font-style: normal;
  font-size: 14px;
  line-height: 1.45;
}

/* Body */

.webinar-detail__layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 40px 96px;
  display: grid;
  grid-template-columns: minmax(0, 780px) 320px;
  gap: 96px;
  align-items: start;
}

.webinar-detail__section {
  margin-top: 58px;
  padding-top: 34px;
  border-top: 1px solid var(--ah-border);
}

.webinar-detail__section--first {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.webinar-detail__text {
  max-width: 780px;
  color: var(--ah-muted);
  font-size: 18px;
  line-height: 1.7;
}

.webinar-detail__text p {
  margin: 0 0 18px;
}

.webinar-detail__text > *:last-child {
  margin-bottom: 0;
}

.webinar-detail__embed {
  max-width: 780px;
}

.webinar-detail__embed-placeholder {
  max-width: 780px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ah-bg-light);
  border: 1px solid var(--ah-border);
  color: var(--ah-muted);
}

.webinar-detail__embed-placeholder p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* Related insights */

.webinar-detail__related {
  margin-top: 58px;
  padding-top: 34px;
  border-top: 1px solid var(--ah-border);
}

.webinar-detail__related-list {
  display: grid;
  gap: 18px;
}

.webinar-related-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px 26px;
  border: 1px solid var(--ah-border);
  background: #fff;
}

.webinar-related-card__icon {
  width: 24px;
  height: 24px;
  color: var(--ah-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.webinar-related-card__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.webinar-related-card__content strong {
  display: block;
  color: var(--ah-text);
  font-size: 18px;
  line-height: 1.32;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.webinar-related-card__content em {
  display: block;
  margin-top: 8px;
  color: var(--ah-muted);
  font-style: normal;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.webinar-related-card:hover {
  border-color: rgba(249, 94, 33, 0.45);
}

.webinar-related-card:hover strong {
  color: var(--ah-orange);
}

/* Rail */

.webinar-detail__rail {
  position: sticky;
  top: 104px;
}

.webinar-rail-card {
  background: var(--ah-bg-light);
  border: 1px solid var(--ah-border);
  padding: 26px;
}

.webinar-rail-card--dark {
  background: var(--ah-navy);
  border-color: var(--ah-navy);
  color: #fff;
}

.webinar-rail-card h2 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.webinar-rail-card p:not(.section-label) {
  margin: 14px 0 0;
  color: var(--ah-muted-light);
  font-size: 14px;
  line-height: 1.6;
}

.webinar-rail-card a {
  display: inline-flex;
  margin-top: 22px;
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
}

.webinar-rail-card a::after {
  content: "→";
  margin-left: 8px;
}

.webinar-rail-card a:hover {
  color: var(--ah-orange);
}

@media (max-width: 1000px) {
  .webinar-detail__layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .webinar-detail__rail {
    position: static;
  }
}

@media (max-width: 768px) {
  .webinar-detail-hero__inner {
    padding: 56px 24px 64px;
  }

  .webinar-detail-hero h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }

  .webinar-detail__layout {
    padding: 52px 24px 76px;
  }
}

/* ─────────────────────────────────────────────
   Flexible section: Webinar listing
───────────────────────────────────────────── */

.webinar-listing {
  padding: 96px 40px 104px;
}

.webinar-listing--white {
  background: #fff;
}

.webinar-listing--light {
  background: var(--ah-bg-light);
}

.webinar-listing-recorded {
  padding: 96px 40px 104px;
  background: var(--ah-bg-light);
}

.webinar-listing__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.webinar-overview-heading {
  margin-bottom: 48px;
}

.webinar-overview-heading .section-label {
  margin-bottom: 16px;
}

.webinar-overview-heading h2 {
  margin: 0;
  color: var(--ah-text);
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
}

/* Shared webinar meta */

.webinar-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.webinar-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  background: #fff1eb;
  color: var(--ah-orange);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.webinar-meta-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--ah-muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.webinar-meta-item--calendar,
.webinar-meta-item--time {
  padding-left: 22px;
}

.webinar-meta-item--calendar::before,
.webinar-meta-item--time::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  background: currentColor;
  opacity: 0.78;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.webinar-meta-item--calendar::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1.5A2.5 2.5 0 0 1 22 6.5v12a2.5 2.5 0 0 1-2.5 2.5h-15A2.5 2.5 0 0 1 2 18.5v-12A2.5 2.5 0 0 1 4.5 4H6V3a1 1 0 0 1 1-1ZM4.5 10v8.5c0 .28.22.5.5.5h14c.28 0 .5-.22.5-.5V10h-15Zm0-2h15V6.5A.5.5 0 0 0 19 6H5a.5.5 0 0 0-.5.5V8Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1.5A2.5 2.5 0 0 1 22 6.5v12a2.5 2.5 0 0 1-2.5 2.5h-15A2.5 2.5 0 0 1 2 18.5v-12A2.5 2.5 0 0 1 4.5 4H6V3a1 1 0 0 1 1-1ZM4.5 10v8.5c0 .28.22.5.5.5h14c.28 0 .5-.22.5-.5V10h-15Zm0-2h15V6.5A.5.5 0 0 0 19 6H5a.5.5 0 0 0-.5.5V8Z'/%3E%3C/svg%3E");
}

.webinar-meta-item--time::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm1 3a1 1 0 1 0-2 0v5c0 .27.11.52.29.71l3 3a1 1 0 0 0 1.42-1.42L13 11.59V7Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm1 3a1 1 0 1 0-2 0v5c0 .27.11.52.29.71l3 3a1 1 0 0 0 1.42-1.42L13 11.59V7Z'/%3E%3C/svg%3E");
}

.webinar-meta-item--calendar::after,
.webinar-meta-item--time::after {
  display: none;
}

/* Upcoming card */

.webinar-upcoming-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 48px;
  align-items: center;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--ah-border);
}

.webinar-upcoming-card h3 {
  max-width: 920px;
  margin: 0;
  color: var(--ah-text);
  font-size: clamp(1.25rem, 1.65vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.webinar-upcoming-card h3 a:hover {
  color: var(--ah-orange);
}

.webinar-upcoming-card__excerpt {
  max-width: 940px;
  margin: 14px 0 0;
  color: var(--ah-muted);
  font-size: 15px;
  line-height: 1.65;
}

.webinar-speaker-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 22px;
}

.webinar-speaker {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.webinar-speaker__icon {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid var(--ah-border);
  background: var(--ah-bg-light);
}

.webinar-speaker__icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 6px;
  height: 6px;
  transform: translateX(-50%);
  border: 1.5px solid #9aa8b8;
  border-radius: 50%;
}

.webinar-speaker__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 12px;
  height: 7px;
  transform: translateX(-50%);
  border: 1.5px solid #9aa8b8;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom: 0;
}

.webinar-speaker strong {
  display: block;
  color: var(--ah-text);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
}

.webinar-speaker em {
  display: block;
  margin-top: 2px;
  color: var(--ah-muted);
  font-size: 12px;
  line-height: 1.35;
  font-style: normal;
}

.webinar-upcoming-card__action {
  justify-self: end;
}

.webinar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  background: var(--ah-orange);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.webinar-button::after {
  content: "→";
  margin-left: 10px;
}

.webinar-button:hover {
  background: var(--ah-orange-light);
  color: #fff;
}

/* Recorded section */

.webinar-recorded-panel {
  background: #fff;
  border: 1px solid var(--ah-border);
}

.webinar-recorded-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 40px;
  padding: 34px;
  border-bottom: 1px solid var(--ah-border);
}

.webinar-recorded-card:last-child {
  border-bottom: 0;
}

.webinar-recorded-card__media {
  display: grid;
  align-content: start;
  gap: 20px;
}

.webinar-recorded-card__date {
  color: var(--ah-muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.webinar-recorded-card__icon {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ah-border);
  background: var(--ah-bg-light);
}

.webinar-recorded-card__icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 19px;
  height: 19px;
  transform: translate(-50%, -50%);
  background: #9aa8b8;
  opacity: 0.9;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M4 7a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2.25l3.15-2.1A1.2 1.2 0 0 1 21 8.15v7.7a1.2 1.2 0 0 1-1.85 1.01L16 14.75V17a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7Zm2 0v10h8V7H6Zm10 4.65v.7l3 2v-4.7l-3 2Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M4 7a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2.25l3.15-2.1A1.2 1.2 0 0 1 21 8.15v7.7a1.2 1.2 0 0 1-1.85 1.01L16 14.75V17a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7Zm2 0v10h8V7H6Zm10 4.65v.7l3 2v-4.7l-3 2Z'/%3E%3C/svg%3E");
}

.webinar-recorded-card__icon::after {
  display: none;
}

.webinar-recorded-card h3 {
  max-width: 900px;
  margin: 0;
  color: var(--ah-text);
  font-size: clamp(1.15rem, 1.45vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.webinar-recorded-card h3 a:hover {
  color: var(--ah-orange);
}

.webinar-recorded-card p {
  max-width: 960px;
  margin: 12px 0 0;
  color: var(--ah-muted);
  font-size: 14px;
  line-height: 1.65;
}

.webinar-recorded-card__speakers {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.webinar-recorded-card__speakers span {
  color: var(--ah-muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.webinar-text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--ah-orange);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
}

.webinar-text-link::after {
  content: "→";
  margin-left: 9px;
  transition: transform 0.15s ease;
}

.webinar-text-link:hover::after {
  transform: translateX(3px);
}

.webinar-listing__empty {
  padding: 30px;
  background: var(--ah-bg-light);
  border: 1px solid var(--ah-border);
}

.webinar-listing__empty p {
  margin: 0;
  color: var(--ah-muted);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .webinar-upcoming-card {
    grid-template-columns: 1fr;
  }

  .webinar-upcoming-card__action {
    justify-self: start;
  }

  .webinar-recorded-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .webinar-recorded-card__media {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .webinar-listing,
  .webinar-listing-recorded {
    padding: 72px 24px 80px;
  }

  .webinar-upcoming-card,
  .webinar-recorded-card {
    padding: 26px 24px;
  }

  .webinar-speaker-list {
    flex-direction: column;
    gap: 14px;
  }
}

.webinar-upcoming-card + .webinar-upcoming-card {
  margin-top: 22px;
}

/* Highlighted callouts */

.resource-article__content blockquote,
.resource-article__content .article-callout {
  margin: 38px 0;
  padding: 0 0 0 28px;
  border-left: 4px solid var(--ah-orange);
  color: var(--ah-muted);
  font-size: 21px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.resource-article__content blockquote p,
.resource-article__content .article-callout p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

/* Related */

.resource-article__related {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--ah-border);
}

.resource-article__related-list {
  display: grid;
  gap: 18px;
}

.resource-article__related-item {
  display: block;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--ah-border);
}

.resource-article__related-item strong {
  display: block;
  color: var(--ah-text);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.resource-article__related-item span {
  display: block;
  margin-top: 6px;
  color: var(--ah-muted);
  font-size: 14px;
  line-height: 1.5;
}

.resource-article__related-item:hover strong {
  color: var(--ah-orange);
}

/* Sticky rail */

.resource-article__rail {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}

.resource-rail-card {
  background: var(--ah-bg-light);
  border: 1px solid var(--ah-border);
  padding: 24px;
}

.resource-rail-card--dark {
  background: var(--ah-navy);
  border-color: var(--ah-navy);
  color: #fff;
}

.resource-rail-card--download {
  background: #fff;
  border: 2px solid var(--ah-orange);
}

.resource-rail-card h2 {
  margin: 0;
  color: var(--ah-text);
  font-size: 19px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.resource-rail-card--dark h2 {
  color: #fff;
}

.resource-rail-card p:not(.section-label) {
  margin: 12px 0 0;
  color: var(--ah-muted);
  font-size: 13px;
  line-height: 1.6;
}

.resource-rail-card--dark p:not(.section-label) {
  color: var(--ah-muted-light);
}

.resource-rail-card a,
.resource-rail-card__button {
  display: inline-flex;
  margin-top: 22px;
  color: var(--ah-orange);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
}

.resource-rail-card--dark a {
  color: #fff;
}

.resource-rail-card a::after,
.resource-rail-card__button::after {
  content: "→";
  margin-left: 8px;
}

.resource-rail-card a:hover,
.resource-rail-card__button:hover {
  color: var(--ah-orange-light);
}

@media (max-width: 1000px) {
  .resource-article__layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .resource-article__rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-rail-card--download {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .resource-article-hero__inner {
    padding: 56px 24px 64px;
  }

  .resource-article-hero h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }

  .resource-article__layout {
    padding: 48px 24px 76px;
  }

  .resource-article__rail {
    grid-template-columns: 1fr;
  }

  .resource-article__dek,
  .resource-article__content blockquote,
  .resource-article__content .article-callout {
    font-size: 18px;
    line-height: 1.6;
  }
}

/* Closing CTA flexible section */

.closing-cta {
  padding: 46px 40px;
}

.closing-cta--orange {
  background: var(--ah-orange);
  color: #fff;
}

.closing-cta--dark {
  background: var(--ah-navy);
  color: #fff;
}

.closing-cta--light {
  background: var(--ah-bg-light);
  color: var(--ah-text);
}

.closing-cta__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.closing-cta__copy {
  max-width: 760px;
}

.closing-cta .section-label {
  margin: 0 0 8px;
  color: currentColor;
  font-size: 11px;
  letter-spacing: 0.22em;
}

.closing-cta--light .section-label {
  color: var(--ah-orange);
}

.closing-cta__copy h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.closing-cta__intro {
  max-width: 640px;
  margin: 10px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  line-height: 1.65;
}

.closing-cta--light .closing-cta__intro {
  color: var(--ah-muted);
}

.closing-cta__action {
  justify-self: end;
}

.closing-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  background: #fff;
  color: var(--ah-orange);
  border: 1px solid #fff;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.closing-cta__button::after {
  content: "→";
  margin-left: 10px;
}

.closing-cta__button:hover {
  background: transparent;
  color: #fff;
}

.closing-cta--dark .closing-cta__button {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}

.closing-cta--dark .closing-cta__button:hover {
  border-color: var(--ah-orange);
  color: var(--ah-orange);
}

.closing-cta--light .closing-cta__button {
  background: var(--ah-orange);
  color: #fff;
  border-color: var(--ah-orange);
}

.closing-cta--light .closing-cta__button:hover {
  background: var(--ah-orange-light);
  border-color: var(--ah-orange-light);
  color: #fff;
}

/* ─────────────────────────────────────────────
   Flexible section: Contact panel
───────────────────────────────────────────── */

.contact-panel {
  padding: 96px 40px;
}

.contact-panel--light {
  background: var(--ah-bg-light);
}

.contact-panel--white {
  background: #fff;
}

.contact-panel__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 4fr);
  gap: 88px;
  align-items: start;
}

.contact-panel__main h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ah-text);
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.contact-panel__intro {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--ah-muted);
  font-size: 17px;
  line-height: 1.7;
}

.contact-panel__form-placeholder {
  margin-top: 42px;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--ah-border);
}

.contact-panel--white .contact-panel__form-placeholder {
  background: var(--ah-bg-light);
}

.contact-panel__form-placeholder h3 {
  margin: 0 0 12px;
  color: var(--ah-text);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.contact-panel__form-placeholder p {
  max-width: 620px;
  margin: 0;
  color: var(--ah-muted);
  font-size: 15px;
  line-height: 1.7;
}

.contact-panel__side {
  padding: 34px;
  background: var(--ah-navy);
  color: #fff;
}

.contact-panel__side h3 {
  margin: 0 0 24px;
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.contact-panel__side .rich-text p {
  color: var(--ah-muted-light);
  font-size: 15px;
  line-height: 1.75;
}

.contact-panel__side .rich-text a {
  color: #fff;
  font-weight: 800;
}

.contact-panel__side .rich-text a:hover {
  color: var(--ah-orange);
}

@media (max-width: 900px) {
  .contact-panel__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .contact-panel {
    padding: 76px 24px;
  }

  .contact-panel__form-placeholder,
  .contact-panel__side {
    padding: 28px 24px;
  }
}

/* Contact form */
.contact-panel__form {
  margin-top: 42px;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--ah-border);
}

.contact-panel--white .contact-panel__form {
  background: var(--ah-bg-light);
}

.ah-contact-form {
  display: grid;
  gap: 18px;
}

.ah-form-grid {
  display: grid;
  gap: 18px;
}

.ah-form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ah-form-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ah-text);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ah-form-field input,
.ah-form-field textarea {
  width: 100%;
  border: 1px solid var(--ah-border);
  background: #fff;
  padding: 13px 15px;
  color: var(--ah-text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
}

.contact-panel--white .ah-form-field input,
.contact-panel--white .ah-form-field textarea {
  background: #fff;
}

.ah-form-field input:focus,
.ah-form-field textarea:focus {
  outline: none;
  border-color: var(--ah-orange);
}

.ah-form-checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--ah-muted);
  font-size: 14px;
  line-height: 1.6;
}

.ah-form-checkbox input {
  margin-top: 4px;
}

.ah-form-submit {
  justify-self: start;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  background: var(--ah-orange);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
}

.ah-form-submit:hover {
  background: var(--ah-orange-light);
}

.ah-form-message {
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid var(--ah-border);
  font-size: 15px;
  line-height: 1.5;
}

.ah-form-message p {
  margin: 0;
}

.ah-form-message--success {
  border-color: var(--ah-blue-border);
  background: var(--ah-blue-soft);
  color: var(--ah-text);
}

.ah-form-message--error {
  border-color: rgba(249, 94, 33, 0.35);
  background: rgba(249, 94, 33, 0.08);
  color: var(--ah-text);
}

.ah-form-honeypot {
  position: absolute;
  left: -9999px;
}

@media (max-width: 768px) {
  .contact-panel__form {
    padding: 28px 24px;
  }

  .ah-form-grid--2 {
    grid-template-columns: 1fr;
  }
}

.ah-form-checkbox__link {
  color: var(--ah-orange);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ah-form-checkbox__link:hover,
.ah-form-checkbox__link:focus {
  color: var(--ah-orange-light);
}

/* Diagnostic framework visual */
.diagnostic-framework-visual {
  background: var(--ah-navy);
  color: #fff;
  padding: 96px 0;
  overflow: hidden;
}

.diagnostic-framework-visual__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 44px;
}

.diagnostic-framework-visual__heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.diagnostic-framework-visual__heading h2 {
  margin: 0;
  color: #fff;
}

.diagnostic-framework-visual__heading p:not(.section-label) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  line-height: 1.7;
}

.diagnostic-framework-visual__figure {
  margin: 0;
}

.diagnostic-framework-visual__scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.diagnostic-framework-visual__scroll img {
  display: block;
  width: 100%;
  min-width: 980px;
  height: auto;
}

.diagnostic-framework-visual figcaption {
  max-width: 860px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .diagnostic-framework-visual {
    padding: 72px 0;
  }

  .diagnostic-framework-visual__inner {
    padding: 0 24px;
  }

  .diagnostic-framework-visual__heading {
    margin-bottom: 32px;
  }

  .diagnostic-framework-visual__scroll {
    margin-right: -24px;
    padding-bottom: 12px;
  }

  .diagnostic-framework-visual__scroll img {
    min-width: 1080px;
  }
}

/* ─────────────────────────────────────────────
   Flexible section: Legal document
───────────────────────────────────────────── */


.legal-hero {
  position: relative;
  overflow: hidden;
  background: var(--ah-navy);
  color: #fff;
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(249, 94, 33, 0.16), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(255,255,255,0.06), transparent 20%);
  pointer-events: none;
}

.legal-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 76px 40px 70px;
}

.legal-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.legal-hero__updated {
  margin: 24px 0 0;
  color: var(--ah-muted-light);
  font-size: 18px;
  line-height: 1.6;
}

.legal-document {
  padding: 64px 40px 96px;
}

.legal-document--white,
.legal-document--light {
  background: var(--ah-bg-light);
}

.legal-document__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.legal-document__toc {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 128px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--ah-border);
  padding: 28px 28px 30px;
}

.legal-document__toc p {
  margin: 0 0 18px;
  color: var(--ah-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.legal-document__toc nav {
  border-top: 1px solid var(--ah-border);
}

.legal-document__toc a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--ah-border);
  color: var(--ah-muted);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}

.legal-document__toc a:hover {
  color: var(--ah-orange);
}

.legal-document__card {
  background: #fff;
  border: 1px solid var(--ah-border);
  padding: 56px 64px;
}

.legal-document__body {
  color: var(--ah-text);
  font-size: 16px;
  line-height: 26.7777px;
}

.legal-document__body > p:first-child {
  margin: 0 0 42px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--ah-border);
  color: var(--ah-text);
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.legal-document__body h2 {
  scroll-margin-top: 110px;
  margin: 44px 0 16px;
  color: var(--ah-text);
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.legal-document__body h2:first-child {
  margin-top: 0;
}

.legal-document__body h3 {
  margin: 34px 0 12px;
  color: var(--ah-text);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.legal-document__body .legal-document__lead {
  margin: 0 0 38px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--ah-border);
  color: var(--ah-text);
  font-size: 18px;
  line-height: 26.7777px;
  letter-spacing: -0.01em;
}

.legal-document__body p,
.legal-document__body ul,
.legal-document__body ol {
  margin: 0 0 20px;
  color: var(--ah-muted);
  line-height: 26.7777px;
}

.legal-document__body ul,
.legal-document__body ol {
  padding-left: 24px;
}

.legal-document__body li {
  margin-bottom: 8px;
  line-height: 26.7777px;
}

.legal-document__body a {
  color: var(--ah-orange);
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-document__body a:hover {
  color: var(--ah-orange-light);
}

.legal-document__body table {
  width: 100%;
  min-width: 760px;
  margin: 0;
  border-collapse: collapse;
  border: 1px solid var(--ah-border);
  font-size: 13px;
  line-height: 1.45;
  table-layout: auto;
}

.legal-document__body th {
  background: var(--ah-navy);
  color: #fff;
  padding: 13px 14px;
  text-align: left;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.legal-document__body td {
  padding: 13px 14px;
  border-top: 1px solid var(--ah-border);
  color: var(--ah-muted);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.legal-document__body th {
  background: var(--ah-navy);
  color: #fff;
  padding: 16px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-document__body td {
  padding: 16px 18px;
  border-top: 1px solid var(--ah-border);
  color: var(--ah-muted);
  vertical-align: top;
}

.legal-document__body .table-scroll {
  width: 100%;
  max-width: 100%;
  margin: 28px 0 36px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 1000px) {
  .legal-document__inner {
    grid-template-columns: 1fr;
  }

  .legal-document__toc {
    position: static;
  }
}

@media (max-width: 768px) {
  .legal-hero__inner {
    padding: 82px 24px 72px;
  }

  .legal-document {
    padding: 40px 24px 76px;
  }

  .legal-document__card {
    padding: 36px 24px;
  }
}

/* Value box grid */
.value-box-grid {
  background: #fff;
  padding: 96px 0;
}

.value-box-grid__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 44px;
}

.value-box-grid__heading {
  max-width: 880px;
  margin-bottom: 64px;
}

.value-box-grid__heading h2 {
  margin: 0;
}

.value-box-grid__heading p:not(.section-label) {
  margin: 18px 0 0;
  color: var(--ah-muted);
  font-size: 18px;
  line-height: 1.7;
}

.value-box-grid__items {
  display: grid;
  gap: 24px;
}

.value-box-grid--columns-2 .value-box-grid__items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-box-grid--columns-3 .value-box-grid__items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-box-grid--columns-4 .value-box-grid__items {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-box-grid__item {
  display: block;
  min-height: 150px;
  padding: 34px 40px 36px;
  border: 1px solid rgba(212, 220, 229, 0.9);
  background: #fff;
  color: var(--ah-text);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.value-box-grid__item:hover {
  border-color: rgba(249, 94, 33, 0.38);
  color: var(--ah-text);
  box-shadow:
    0 0 0 1px rgba(249, 94, 33, 0.08),
    0 16px 42px rgba(249, 94, 33, 0.10),
    inset 0 0 34px rgba(249, 94, 33, 0.045);
}

.value-box-grid__item h3 {
  margin: 0 0 18px;
  color: var(--ah-text);
  font-size: 20px;
  line-height: 1.3;
}

.value-box-grid__item p {
  margin: 0;
  color: var(--ah-muted);
  font-size: 17px;
  line-height: 1.55;
}

.value-box-grid__item:focus-visible {
  outline: 3px solid rgba(249, 94, 33, 0.28);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .value-box-grid--columns-4 .value-box-grid__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-box-grid--columns-3 .value-box-grid__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .value-box-grid {
    padding: 72px 0;
  }

  .value-box-grid__inner {
    padding: 0 24px;
  }

  .value-box-grid__heading {
    margin-bottom: 38px;
  }

  .value-box-grid__items,
  .value-box-grid--columns-2 .value-box-grid__items,
  .value-box-grid--columns-3 .value-box-grid__items,
  .value-box-grid--columns-4 .value-box-grid__items {
    grid-template-columns: 1fr;
  }

  .value-box-grid__item {
    min-height: 0;
    padding: 28px 28px 30px;
  }
}

/* Evidence stats */
.evidence-stats {
  padding: 96px 0;
}

.evidence-stats--dark {
  background: var(--ah-navy);
  color: #fff;
}

.evidence-stats--light {
  background: var(--ah-bg-light);
  color: var(--ah-text);
}

.evidence-stats--white {
  background: #fff;
  color: var(--ah-text);
}

.evidence-stats__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 44px;
}

.evidence-stats__heading {
  max-width: 920px;
  margin-bottom: 72px;
}

.evidence-stats__heading h2 {
  margin: 0;
  color: inherit;
}

.evidence-stats__heading p:not(.section-label) {
  margin: 18px 0 0;
  max-width: 780px;
  color: var(--ah-muted);
  font-size: 18px;
  line-height: 1.7;
}

.evidence-stats--dark .evidence-stats__heading p:not(.section-label) {
  color: rgba(255, 255, 255, 0.68);
}

.evidence-stats__grid {
  display: grid;
  gap: 44px 56px;
}

.evidence-stats--columns-2 .evidence-stats__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.evidence-stats--columns-3 .evidence-stats__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.evidence-stats__item {
  padding-top: 46px;
  border-top: 1px solid var(--ah-border);
}

.evidence-stats--dark .evidence-stats__item {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.evidence-stats__value {
  margin: 0 0 14px;
  color: var(--ah-orange);
  font-size: clamp(34px, 2.7vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.evidence-stats__item h3 {
  margin: 0;
  color: inherit;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
}

.evidence-stats__description {
  margin: 16px 0 0;
  color: var(--ah-muted);
  font-size: 18px;
  line-height: 1.65;
}

.evidence-stats--dark .evidence-stats__description {
  color: rgba(185, 205, 224, 0.72);
}

@media (max-width: 1100px) {
  .evidence-stats--columns-3 .evidence-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .evidence-stats {
    padding: 72px 0;
  }

  .evidence-stats__inner {
    padding: 0 24px;
  }

  .evidence-stats__heading {
    margin-bottom: 44px;
  }

  .evidence-stats__grid,
  .evidence-stats--columns-2 .evidence-stats__grid,
  .evidence-stats--columns-3 .evidence-stats__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .evidence-stats__item {
    padding-top: 34px;
  }

  .evidence-stats__value {
    margin: 0 0 14px;
    color: var(--ah-orange);
    font-size: clamp(32px, 2.4vw, 44px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
  }
}

/* 05. Legacy page template sections */

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero--dark {
  background: var(--ah-navy);
  color: #fff;
}

.page-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 112px 40px 96px;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 0 28px;
  font-size: clamp(2.6rem, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.page-hero__intro {
  max-width: 760px;
  margin: 0;
  color: var(--ah-muted-light);
  font-size: 20px;
  line-height: 1.7;
}

.content-section {
  padding: 96px 40px;
}

.content-section--light {
  background: var(--ah-bg-light);
}

.content-section--white {
  background: #fff;
}

.content-section--dark {
  background: var(--ah-charcoal);
  color: #fff;
}

.content-section__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.content-section__inner--two-col {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 88px;
  align-items: start;
}

.content-section h2 {
  max-width: 560px;
  margin: 0;
  color: var(--ah-text);
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.content-section--dark h2 {
  color: #fff;
}

.cta-band {
  background: var(--ah-navy);
  color: #fff;
  padding: 96px 40px;
  text-align: center;
}

.cta-band__inner {
  max-width: 840px;
  margin: 0 auto;
}

.cta-band h2 {
  max-width: 780px;
  margin: 0 auto 40px;
  color: inherit;
  font-size: clamp(2.1rem, 3.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 800;
}

/* Legacy benchmark page template */

.benchmark-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background: var(--ah-navy);
  color: #fff;
  display: flex;
  align-items: center;
}

.benchmark-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    radial-gradient(circle at 76% 28%, rgba(249, 94, 33, 0.12), transparent 22%),
    radial-gradient(circle at 86% 76%, rgba(113, 187, 255, 0.1), transparent 24%);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.benchmark-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 104px 40px;
}

.benchmark-hero h1 {
  max-width: 920px;
  margin: 0 0 28px;
  font-size: clamp(2.6rem, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.benchmark-hero__intro {
  max-width: 720px;
  margin: 0;
  color: var(--ah-muted-light);
  font-size: 18px;
  line-height: 1.7;
}

.benchmark-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.benchmark-section {
  padding: 96px 40px;
}

.benchmark-section--light {
  background: var(--ah-bg-light);
}

.benchmark-section--white {
  background: #fff;
}

.benchmark-section--dark {
  background: var(--ah-charcoal);
  color: #fff;
}

.benchmark-section__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 56px;
}

.section-heading--wide {
  max-width: 960px;
}

.section-heading h2 {
  margin: 0;
  color: var(--ah-text);
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.section-heading p:not(.section-label) {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--ah-muted);
  font-size: 18px;
  line-height: 1.75;
}

.section-heading--dark h2 {
  color: #fff;
}

.benchmark-card-grid {
  display: grid;
  gap: 20px;
}

.benchmark-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benchmark-card {
  background: #fff;
  border: 1px solid var(--ah-border);
  padding: 32px;
}

.benchmark-card__num {
  margin: 0 0 32px;
  color: var(--ah-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.benchmark-card h3 {
  margin: 0 0 14px;
  color: var(--ah-text);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

.benchmark-card p:last-child {
  margin: 0;
  color: var(--ah-muted);
  font-size: 15px;
  line-height: 1.7;
}

.benchmark-4d {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ah-border);
  background: var(--ah-border);
  gap: 1px;
}

.benchmark-4d__item {
  background: #fff;
  padding: 40px 32px;
}

.benchmark-4d__item span {
  display: block;
  margin-bottom: 28px;
  color: var(--ah-orange);
  font-size: 64px;
  line-height: 0.8;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.benchmark-4d__item h3 {
  margin: 0 0 14px;
  color: var(--ah-text);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.benchmark-4d__item p {
  margin: 0;
  color: var(--ah-muted);
  font-size: 15px;
  line-height: 1.75;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.principle-tile {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.035);
  padding: 32px;
}

.principle-tile::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 28px;
  background: var(--ah-orange);
}

.principle-tile h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.principle-tile p {
  margin: 0;
  color: var(--ah-muted-light);
  font-size: 15px;
  line-height: 1.75;
}

.quiz-band {
  background: #fff;
  padding: 72px 40px;
}

.quiz-band__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  border: 1px solid rgba(249, 94, 33, 0.28);
  background: #FFF8F5;
}

.quiz-band h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ah-text);
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.quiz-band p:not(.section-label) {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--ah-muted);
  font-size: 18px;
  line-height: 1.7;
}

/* 06. Footer */

.site-footer {
  background: var(--ah-navy);
  color: #fff;
  padding: 72px 40px 0;
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 4fr) minmax(0, 8fr);
  gap: 96px;
  align-items: start;
}

.site-footer__brand {
  max-width: 360px;
}

.site-footer__logo {
  display: inline-flex;
  margin-bottom: 28px;
}

.site-footer__logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.site-footer__brand p {
  margin: 0 0 28px;
  color: var(--ah-muted-light);
  font-size: 15px;
  line-height: 1.7;
}

.site-footer__brand address {
  margin: 0;
  color: var(--ah-muted-light);
  font-style: normal;
  font-size: 14px;
  line-height: 1.8;
}

.site-footer__brand address a {
  color: var(--ah-muted-light);
}

.site-footer__brand address a:hover {
  color: var(--ah-orange);
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px;
}

.site-footer__nav h2 {
  margin: 0 0 24px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer__nav a {
  display: block;
  margin-bottom: 14px;
  color: var(--ah-muted-light);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.site-footer__nav a:hover {
  color: var(--ah-orange);
}

.site-footer__bottom {
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.site-footer__bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__bottom p {
  margin: 0;
  color: var(--ah-muted-light);
  font-size: 13px;
  line-height: 1.5;
}

/* 07. Responsive rules */

@media (max-width: 1100px) {
  .benchmark-card-grid--four,
  .benchmark-4d,
  .benchmark-4d-grid,
  .principle-grid,
  .resource-teaser-grid,
  .cms-card-grid--3,
  .cms-card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-band__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .diagnostic-challenge__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .page-hero__inner,
  .content-section,
  .cta-band {
    padding-left: 24px;
    padding-right: 24px;
  }

  .page-hero__inner {
    padding-top: 96px;
    padding-bottom: 88px;
  }

  .content-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .content-section__inner--two-col,
  .section-two-col__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .rich-text p {
    font-size: 17px;
  }

  .stats-strip__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .closing-cta__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .closing-cta__action {
    justify-self: start;
  }

  .site-footer {
    padding: 56px 24px 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    padding: 22px 0;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    height: 78px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-logo img {
    height: 46px;
  }

  .site-nav {
    display: none;
  }

  .test-hero,
  .home-hero__inner,
  .benchmark-hero__inner,
  .benchmark-section,
  .quiz-band,
  .section-two-col,
  .section-card-grid,
  .diagnostic-challenge,
  .benchmark-4d-section,
  .resource-teaser-section,
  .closing-cta {
    padding-left: 24px;
    padding-right: 24px;
  }

  .home-hero,
  .benchmark-hero {
    min-height: auto;
  }

  .home-hero__inner,
  .benchmark-hero__inner {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .home-hero h1,
  .benchmark-hero h1 {
    font-size: clamp(2.6rem, 4vw, 56px);
  }

  .home-hero__intro,
  .benchmark-hero__intro {
    font-size: 17px;
  }

  .home-hero__actions,
  .benchmark-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section-two-col,
  .section-card-grid {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .diagnostic-challenge,
  .benchmark-4d-section,
  .resource-teaser-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .closing-cta {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .cms-card-grid--2,
  .cms-card-grid--3,
  .cms-card-grid--4,
  .benchmark-card-grid--four,
  .benchmark-4d,
  .benchmark-4d-grid,
  .principle-grid,
  .resource-teaser-grid {
    grid-template-columns: 1fr;
  }

  .cms-card,
  .benchmark-4d-card,
  .resource-teaser {
    min-height: auto;
  }

  .diagnostic-chain {
    padding: 28px 24px;
  }

  .diagnostic-chain__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quiz-band__inner {
    padding: 32px 24px;
  }
}

@media (max-width: 560px) {
  .stats-strip {
    padding-left: 24px;
    padding-right: 24px;
  }

  .stats-strip__inner {
    grid-template-columns: 1fr;
  }

  .stats-strip__item {
    padding: 26px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .stats-strip--light .stats-strip__item,
  .stats-strip--white .stats-strip__item {
    border-bottom-color: var(--ah-border);
  }

  .site-footer__nav {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────
   08. Global title scale and alignment pass
   Keeps hero/title sizing consistent across templates.
───────────────────────────────────────────── */

:root {
  --ah-container: 1280px;
  --ah-section-padding-x: 40px;
  --ah-section-padding-x-mobile: 24px;

  --ah-title-hero: clamp(2.45rem, 3.7vw, 56px);
  --ah-title-detail: clamp(2.35rem, 3.35vw, 52px);
  --ah-title-section: clamp(1.9rem, 2.65vw, 42px);
  --ah-title-section-large: clamp(2rem, 3vw, 48px);
  --ah-title-card: clamp(1.1rem, 1.25vw, 22px);

  --ah-hero-line-height: 1.07;
  --ah-title-letter-spacing: -0.052em;
}

/* Align all major inner containers to the same site grid */
.site-header__inner,
.home-hero__inner,
.test-hero__inner,
.page-hero__inner,
.benchmark-hero__inner,
.legal-hero__inner,
.resource-article-hero__inner,
.webinar-detail-hero__inner,
.case-study-hero__inner,
.resource-article__layout,
.webinar-detail__layout,
.case-study-content__inner,
.resource-listing__inner,
.expert-insight-listing__inner,
.case-study-listing__inner,
.webinar-listing__inner,
.section-two-col__inner,
.section-card-grid__inner,
.diagnostic-challenge__inner,
.benchmark-4d-section__inner,
.resource-teaser-section__inner,
.contact-panel__inner,
.legal-document__inner,
.content-section__inner,
.benchmark-section__inner,
.site-footer__inner,
.site-footer__bottom-inner {
  max-width: var(--ah-container);
}

/* Keep dark/detail heroes visually aligned with homepage/page heroes */
.resource-article-hero__inner,
.webinar-detail-hero__inner,
.legal-hero__inner {
  padding: 72px var(--ah-section-padding-x) 78px;
}

.case-study-hero {
  padding: 72px var(--ah-section-padding-x) 78px;
}

/* Primary hero titles */
.home-hero h1,
.test-hero h1,
.page-hero h1,
.benchmark-hero h1,
.legal-hero h1 {
  max-width: 900px;
  font-size: var(--ah-title-hero);
  line-height: var(--ah-hero-line-height);
  letter-spacing: var(--ah-title-letter-spacing);
}

/* Detail-page hero titles */
.resource-article-hero h1,
.webinar-detail-hero h1,
.case-study-hero h1 {
  max-width: 1040px;
  font-size: var(--ah-title-detail);
  line-height: 1.08;
  letter-spacing: var(--ah-title-letter-spacing);
}

/* Case studies need a little more line length because titles are often long */
.case-study-hero h1 {
  max-width: 1080px;
}

/* Hero intro/dek text */
.home-hero__intro,
.benchmark-hero__intro,
.page-hero__intro,
.legal-hero__updated,
.resource-article__dek,
.case-study-hero__excerpt,
.webinar-detail__text,
.case-study-story-block__body {
  font-size: 17px;
  line-height: 1.7;
}

.case-study-hero__excerpt {
  max-width: 860px;
  margin-top: 26px;
}

/* Section-level headings */
.section-two-col__heading h2,
.section-card-grid__heading h2,
.resource-teaser-section__heading h2,
.resource-listing__heading h2,
.expert-insight-listing__heading h2,
.case-study-listing__heading h2,
.webinar-overview-heading h2,
.contact-panel__main h2,
.content-section h2,
.section-heading h2,
.benchmark-4d-section__heading h2,
.diagnostic-challenge__content h2,
.cta-band h2,
.quiz-band h2 {
  font-size: var(--ah-title-section);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

/* Allow a few concept/landing sections to feel slightly larger without exceeding the homepage scale */
.diagnostic-challenge__content h2,
.benchmark-4d-section__heading h2,
.section-heading h2 {
  font-size: var(--ah-title-section-large);
}

/* Card and row titles */
.cms-card h3,
.resource-teaser h3,
.resource-listing-card h3,
.expert-insight-row h3,
.case-study-card h3,
.webinar-upcoming-card h3,
.webinar-recorded-card h3,
.benchmark-card h3,
.benchmark-4d-card h3,
.diagnostic-chain__item h3,
.contact-panel__side h3,
.contact-panel__form-placeholder h3,
.resource-rail-card h2,
.webinar-rail-card h2,
.case-study-rail-card h2 {
  font-size: var(--ah-title-card);
  line-height: 1.24;
  letter-spacing: -0.02em;
}

/* Case-study detail layout refinement */
.case-study-content {
  padding-top: 72px;
}

.case-study-content__layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 80px;
}

.case-study-story-block {
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 48px;
}

.case-study-story-block__body {
  font-size: 17px;
}

.case-study-rail-card {
  padding: 28px;
}

.case-study-rail-card--light {
  background: #fff;
}

/* More consistent label sizing */
.case-study-hero__meta {
  font-size: 15px;
}

.case-study-hero__tag {
  min-height: 28px;
  padding: 0 13px;
}

/* Responsive title scale */
@media (max-width: 900px) {
  :root {
    --ah-title-hero: clamp(2.25rem, 8vw, 44px);
    --ah-title-detail: clamp(2.15rem, 7.5vw, 42px);
    --ah-title-section: clamp(1.75rem, 6vw, 36px);
    --ah-title-section-large: clamp(1.85rem, 6.5vw, 38px);
  }

  .resource-article-hero__inner,
  .webinar-detail-hero__inner,
  .legal-hero__inner {
    padding: 64px var(--ah-section-padding-x-mobile) 68px;
  }

  .case-study-hero {
    padding: 64px var(--ah-section-padding-x-mobile) 68px;
  }

  .case-study-content__layout,
  .case-study-story-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .case-study-content__rail {
    position: static;
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  :root {
    --ah-title-hero: clamp(2.05rem, 9vw, 38px);
    --ah-title-detail: clamp(2rem, 8.8vw, 37px);
    --ah-title-section: clamp(1.65rem, 7vw, 32px);
    --ah-title-section-large: clamp(1.7rem, 7vw, 34px);
  }

  .home-hero__intro,
  .benchmark-hero__intro,
  .page-hero__intro,
  .case-study-hero__excerpt,
  .webinar-detail__text,
  .case-study-story-block__body {
    font-size: 16px;
  }

  .case-study-content {
    padding: 52px var(--ah-section-padding-x-mobile) 76px;
  }
}

/* Footer menus */
.site-footer__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__menu li {
  margin: 0;
  padding: 0;
}

.site-footer__menu a {
  display: block;
  margin-bottom: 14px;
  color: var(--ah-muted-light);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.site-footer__menu a:hover {
  color: var(--ah-orange);
}

/* ─────────────────────────────────────────────
   Resource image lightbox
───────────────────────────────────────────── */

.is-lightbox-enabled {
  cursor: zoom-in;
}

.is-lightbox-link {
  display: inline-block;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 36, 49, 0.88);
  backdrop-filter: blur(4px);
}

.image-lightbox__figure {
  position: relative;
  z-index: 2;
  max-width: min(1120px, 92vw);
  max-height: 86vh;
  margin: 0;
  display: grid;
  gap: 14px;
}

.image-lightbox__image {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.image-lightbox__caption {
  max-width: 920px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.image-lightbox__close {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: inherit;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox__close:hover {
  background: var(--ah-orange);
  border-color: var(--ah-orange);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .image-lightbox {
    padding: 24px;
  }

  .image-lightbox__close {
    top: 14px;
    right: 14px;
  }

  .image-lightbox__image {
    max-height: 74vh;
  }
}

/* Cookie consent */
.ah-cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9000;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--ah-border);
  box-shadow: 0 24px 70px rgba(25, 36, 49, 0.16);
}

.ah-cookie-banner[hidden],
.ah-cookie-settings[hidden] {
  display: none;
}

.ah-cookie-banner__title {
  margin: 0 0 6px;
  color: var(--ah-text);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.ah-cookie-banner__text {
  margin: 0;
  color: var(--ah-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ah-cookie-banner__text a {
  color: var(--ah-orange);
  font-weight: 800;
}

.ah-cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ah-cookie-button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--ah-border);
  background: #fff;
  color: var(--ah-text);
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
}

.ah-cookie-button--primary {
  background: var(--ah-orange);
  border-color: var(--ah-orange);
  color: #fff;
}

.ah-cookie-button--primary:hover {
  background: var(--ah-orange-light);
  border-color: var(--ah-orange-light);
}

.ah-cookie-button--secondary:hover {
  border-color: var(--ah-orange);
  color: var(--ah-orange);
}

.ah-cookie-settings {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 8999;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--ah-border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ah-muted);
  font-family: inherit;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(25, 36, 49, 0.10);
}

.ah-cookie-settings:hover {
  border-color: var(--ah-orange);
  color: var(--ah-orange);
}

@media (max-width: 768px) {
  .ah-cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .ah-cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ah-cookie-button {
    width: 100%;
  }
}

.ah-cookie-policy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ah-border);
  background: #fff;
  color: var(--ah-text);
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
}

.ah-cookie-policy-button:hover {
  border-color: var(--ah-orange);
  color: var(--ah-orange);
}

/* 404 page */
.error-404-page {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 82% 24%, rgba(249, 94, 33, 0.18), transparent 32%),
    radial-gradient(circle at 18% 82%, rgba(113, 187, 255, 0.16), transparent 30%),
    linear-gradient(135deg, var(--ah-navy) 0%, var(--ah-charcoal) 100%);
  padding: 112px 32px;
}

.error-404-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
  pointer-events: none;
}

.error-404-page__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 420px;
  gap: 72px;
  align-items: center;
}

.error-404-page__content {
  max-width: 720px;
}

.error-404-page h1 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.error-404-page__intro {
  max-width: 620px;
  margin: 0;
  color: var(--ah-muted-light);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.error-404-page__actions {
  margin-top: 40px;
}

.error-404-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.error-404-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(249, 94, 33, 0.12);
}

.error-404-card__top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 30px 34px;
  background: var(--ah-bg-light);
  border-bottom: 1px solid var(--ah-border);
}

.error-404-card__top span {
  color: var(--ah-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.error-404-card__top strong {
  color: var(--ah-orange);
  font-size: 56px;
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.error-404-card__body {
  position: relative;
  padding: 8px 34px 0;
}

.error-404-metric {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ah-border);
}

.error-404-metric span {
  color: var(--ah-muted);
  font-size: 14px;
  line-height: 1.4;
}

.error-404-metric strong {
  color: var(--ah-text);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;
  text-align: right;
}

.error-404-card__note {
  margin: 0;
  padding: 26px 34px 32px;
  color: var(--ah-muted);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .error-404-page {
    min-height: calc(100vh - 78px);
    padding: 80px 24px;
  }

  .error-404-page__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .error-404-card {
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  .error-404-page {
    padding: 64px 20px;
  }

  .error-404-page h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .error-404-page__intro {
    font-size: 17px;
  }

  .error-404-card__top,
  .error-404-card__body,
  .error-404-card__note {
    padding-left: 24px;
    padding-right: 24px;
  }

  .error-404-metric {
    display: block;
  }

  .error-404-metric strong {
    display: block;
    margin-top: 6px;
    text-align: left;
  }
}