/* =========================================================
   MEDX SERVICES
   CONSOLIDATED PUBLIC WEBSITE DESIGN SYSTEM
   ========================================================= */


/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */

:root {
  /* ---------------------------------------------------------
     MedX design tokens. Brand: Executive Navy, Royal Blue,
     Healthcare Teal, Premium Gold. New work uses --mx-* tokens;
     the older names below map onto them for compatibility.
     --------------------------------------------------------- */
  --mx-navy: #0a2463;
  --mx-navy-2: #12337f;
  --mx-navy-3: #1b4596;
  --mx-blue: #1659c7;
  --mx-blue-hover: #1148a3;
  --mx-teal: #00b3a6;
  --mx-teal-ink: #007a71;   /* teal dark enough for text on white (AA) */
  --mx-teal-tint: #e6f8f6;
  --mx-gold: #fbb231;
  --mx-gold-tint: #fff4dc;
  --mx-ink: #0d1b2e;
  --mx-body: #33465c;
  --mx-muted: #5b6b7f;
  --mx-mist: #f4f8fd;
  --mx-line: #d9e2ec;
  --mx-white: #ffffff;

  /* Type: Manrope for headings, Atkinson Hyperlegible Next for reading */
  --mx-font-head: "Manrope", "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --mx-font-body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mx-step--1: 0.875rem;
  --mx-step-0: 1.0625rem;
  --mx-step-1: 1.25rem;
  --mx-step-2: 1.5rem;
  --mx-step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --mx-step-4: clamp(2.125rem, 1.6rem + 2.4vw, 3rem);
  --mx-step-5: clamp(2.5rem, 1.7rem + 3.6vw, 3.75rem);
  --mx-measure: 66ch;

  /* Shape and depth: three radii, two shadows */
  --mx-r-sm: 6px;
  --mx-r: 12px;
  --mx-r-lg: 20px;
  --mx-shadow-1: 0 1px 2px rgba(10, 36, 99, 0.06), 0 4px 12px rgba(10, 36, 99, 0.05);
  --mx-shadow-2: 0 12px 40px rgba(10, 36, 99, 0.14);

  /* Spacing scale */
  --mx-s-1: 0.5rem;
  --mx-s-2: 1rem;
  --mx-s-3: 1.5rem;
  --mx-s-4: 2.5rem;
  --mx-s-5: 4rem;
  --mx-s-6: 6rem;

  /* Legacy names, now mapped to the brand */
  --navy-950: var(--mx-navy);
  --navy-900: var(--mx-navy);
  --navy-850: var(--mx-navy-2);
  --navy-800: var(--mx-navy-2);
  --navy-700: var(--mx-navy-3);

  --blue-700: var(--mx-blue-hover);
  --blue-600: var(--mx-blue);
  --blue-500: #2f6fd6;

  --cyan-600: var(--mx-teal-ink);
  --cyan-500: var(--mx-teal);
  --cyan-300: #7fe3da;
  --cyan-100: var(--mx-teal-tint);

  --gold-500: var(--mx-gold);
  --gold-100: var(--mx-gold-tint);

  --green-700: #0f6b49;
  --green-100: #e9f7f1;
  --amber-700: #9a6410;
  --amber-100: #fff5df;
  --red-700: #a63a3a;
  --red-100: #fff0f0;

  --ink: var(--mx-ink);
  --text: var(--mx-body);
  --muted: var(--mx-muted);
  --muted-2: #74839a;

  --white: var(--mx-white);
  --soft: var(--mx-mist);
  --soft-blue: #ebf2fa;
  --line: var(--mx-line);
  --line-strong: #c5d2e0;

  --radius-sm: var(--mx-r-sm);
  --radius: var(--mx-r);
  --radius-lg: var(--mx-r-lg);
  --radius-xl: var(--mx-r-lg);

  --shadow-sm: var(--mx-shadow-1);
  --shadow: var(--mx-shadow-1);
  --shadow-lg: var(--mx-shadow-2);

  --max: 1180px;
  --font: var(--mx-font-body);
  --display: var(--mx-font-head);

  --navy: var(--mx-navy);
  --navy-2: var(--mx-navy-2);
  --blue: var(--mx-blue);
  --cyan: var(--mx-teal);
  --gold: var(--mx-gold);
  --green: var(--green-700);
  --border: var(--line);
  --off-white: var(--soft);
  --text-dark: var(--ink);
  --text-mid: var(--muted);
  --text-light: var(--muted-2);
  --font-display: var(--display);
  --font-body: var(--font);
  --max-width: var(--max);
}


/* =========================================================
   2. RESET / BASE
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(24, 167, 201, 0.2);
}

.container {
  width: min(var(--max), 90%);
  margin-inline: auto;
}

.section {
  padding: 82px 0;
}

.section-sm {
  padding: 60px 0;
}

.section + .section {
  border-top: 1px solid rgba(223, 231, 239, 0.35);
}

.center {
  text-align: center;
}

.eyebrow,
.kicker {
  color: var(--blue-600);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 12px;
}

.section-title {
  max-width: 840px;
  color: var(--navy-900);
  font: 800 clamp(2rem, 4vw, 3.3rem) / 1.08 var(--display);
  letter-spacing: -0.04em;
}

.section-copy {
  max-width: 740px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.center .section-title,
.center .section-copy {
  margin-left: auto;
  margin-right: auto;
}

p + p.section-copy {
  margin-top: 14px;
}


/* =========================================================
   3. HEADER / NAVIGATION
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(10, 36, 99, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(20px);
}

.site-nav {
  width: min(var(--max), 92%);
  height: 78px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;

  color: var(--white);
  text-decoration: none;
  white-space: nowrap;

  font: 800 1.08rem var(--display);
}

.brand img {
  width: 42px;
  height: 42px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;

  list-style: none;
}

.desktop-nav > li > a,
.nav-dropdown > button {
  position: relative;

  color: rgba(255, 255, 255, 0.78);
  background: none;
  border: 0;

  text-decoration: none;

  font-size: 0.88rem;
  font-weight: 650;

  cursor: pointer;

  transition:
    color 0.18s ease,
    background 0.18s ease;
}

.desktop-nav > li > a,
.nav-dropdown > button {
  padding: 27px 0;
}

.desktop-nav > li > a:hover,
.desktop-nav > li > a[aria-current="page"],
.nav-dropdown > button:hover,
.nav-dropdown > button[aria-current="page"],
.nav-dropdown.open > button {
  color: var(--white);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button::after {
  content: "";

  display: inline-block;

  width: 6px;
  height: 6px;

  margin-left: 8px;
  margin-bottom: 3px;

  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;

  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.nav-dropdown.open > button::after {
  margin-bottom: 0;
  transform: rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 62px;
  left: -18px;

  display: none;

  width: 300px;
  padding: 10px;

  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;

  box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;

  padding: 10px 12px;

  color: var(--ink);
  border-radius: 9px;

  text-decoration: none;
  font-size: 0.87rem;
  line-height: 1.35;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: var(--blue-600);
  background: var(--soft);
}

.desktop-nav .nav-cta-main,
.nav-cta-main {
  display: inline-flex !important;
  align-items: center;

  padding: 11px 17px !important;

  color: var(--navy-900) !important;
  background: var(--gold-500) !important;
  border: 1px solid var(--gold-500) !important;
  border-radius: 10px;

  font-weight: 800 !important;
}

.desktop-nav .nav-cta-main:hover,
.nav-cta-main:hover {
  color: var(--navy-900) !important;
  background: #f8c65e !important;
}

.menu-btn {
  display: none;

  width: 44px;
  height: 44px;

  color: var(--white);
  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;

  font-size: 1.5rem;

  cursor: pointer;
}

.mobile-nav {
  display: none;

  padding: 8px 5% 22px;

  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  padding: 13px 2px;

  color: rgba(255, 255, 255, 0.9);

  text-decoration: none;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


/* =========================================================
   4. BUTTONS
   ========================================================= */

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 48px;
  padding: 13px 19px;

  border-radius: 11px;

  text-decoration: none;

  font-size: 0.93rem;
  font-weight: 800;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--navy-900);
  background: var(--gold-500);
  border: 1px solid var(--gold-500);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(243, 181, 63, 0.25);
}

.btn-secondary {
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover {
  border-color: #aac1d5;
  box-shadow: var(--shadow-sm);
}

.hero .btn-secondary,
.page-hero .btn-secondary,
.cta .btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero .btn-secondary:hover,
.page-hero .btn-secondary:hover,
.cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}


/* =========================================================
   5. HOMEPAGE HERO
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;

  padding: 94px 0 82px;

  color: var(--white);

  background:
    radial-gradient(circle at 82% 19%, rgba(0, 184, 220, 0.25), transparent 34%),
    radial-gradient(circle at 90% 85%, rgba(33, 125, 226, 0.26), transparent 34%),
    linear-gradient(118deg, var(--mx-navy) 0%, #061b50 40%, #073c91 76%, #075bb4 120%);
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );

  background-size: 42px 42px;

  mask-image:
    linear-gradient(
      to left,
      black,
      transparent 72%
    );
}

.hero-grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 66px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  color: var(--cyan-300);
}

.hero h1 {
  max-width: 650px;

  color: var(--white);

  font:
    800 clamp(3rem, 5.25vw, 4.7rem) / 1.01
    var(--display);

  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--cyan-300);
}

.hero p {
  max-width: 625px;

  margin: 24px 0 30px;

  color: rgba(255, 255, 255, 0.77);

  font-size: 1.11rem;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;

  margin-top: 28px;
}

.hero-trust-row span {
  position: relative;

  padding-left: 17px;

  color: rgba(255, 255, 255, 0.68);

  font-size: 0.76rem;
  font-weight: 600;
}

.hero-trust-row span::before {
  content: "";

  position: absolute;
  top: 0.55em;
  left: 0;

  width: 6px;
  height: 6px;

  background: var(--cyan-300);
  border-radius: 50%;
}


/* =========================================================
   6. HERO PRODUCT / FLOATING CARDS
   ========================================================= */

.hero-product-wrap {
  position: relative;

  width: 100%;
  max-width: 625px;

  justify-self: end;

  padding: 30px 16px 24px;
}

.hero-workspace {
  position: relative;
  z-index: 3;

  width: 100%;

  padding: 18px;
}

.workspace-status {
  margin-left: auto;

  color: #607387;

  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.workspace-body {
  padding: 21px;
}

.workspace-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;

  margin-bottom: 18px;
}

.workspace-heading strong {
  display: block;

  margin-top: 4px;

  color: var(--navy-900);

  font:
    800 1.14rem
    var(--display);
}

.workspace-kicker {
  color: var(--blue-600);

  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.workspace-badge {
  padding: 6px 10px;

  color: var(--green-700);
  background: var(--green-100);

  border-radius: 999px;

  font-size: 0.64rem;
  font-weight: 800;
}

.workspace-pathway {
  padding: 16px;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: 12px;
}

.workspace-pathway-label {
  margin-bottom: 13px;

  color: var(--muted);

  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;

  text-align: center;
}

.workspace-pathway-step span {
  display: grid;
  place-items: center;

  width: 30px;
  height: 30px;

  margin: 0 auto 5px;

  color: var(--white);
  background: var(--blue-600);

  border-radius: 50%;

  font-size: 0.64rem;
  font-weight: 900;
}

.workspace-pathway-step.current span {
  background: var(--cyan-500);
}

.workspace-pathway-step.review span {
  color: var(--navy-900);
  background: var(--gold-500);
}

.workspace-pathway-step small {
  color: var(--text);

  font-size: 0.67rem;
  font-weight: 600;
}

.workspace-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;

  margin-top: 12px;
}

.workspace-metric {
  min-height: 82px;
  padding: 13px;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: 11px;
}

.workspace-metric small {
  display: block;

  color: var(--muted);

  font-size: 0.63rem;
  line-height: 1.25;
}

.workspace-metric strong {
  display: block;

  margin-top: 5px;

  color: var(--navy-900);

  font:
    800 1.35rem
    var(--display);
}

.workspace-progression {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;

  margin-top: 12px;
  padding: 10px 12px;

  color: var(--muted);

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: 11px;

  font-size: 0.68rem;
}

.workspace-progression span {
  padding: 4px 7px;

  color: var(--blue-600);
  background: var(--soft-blue);

  border-radius: 999px;

  font-weight: 800;
}

.workspace-progression b {
  color: #8ba0b4;
}

.workspace-note,
.synthetic-note {
  margin-top: 10px;

  color: #718096;

  font-size: 0.65rem;
}

.hero-float {
  position: absolute;
  z-index: 6;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 11px 13px;

  background: rgba(255, 255, 255, 0.96);

  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 13px;

  box-shadow:
    0 14px 34px rgba(3, 20, 37, 0.17);

  backdrop-filter: blur(14px);

  animation:
    medx-float 6s ease-in-out infinite;
}

.hero-float strong {
  display: block;

  color: var(--navy-900);

  font-size: 0.72rem;
  line-height: 1.2;
}

.hero-float small {
  display: block;

  margin-top: 2px;

  color: var(--muted);

  font-size: 0.61rem;
}

.float-icon {
  display: grid;
  place-items: center;

  width: 31px;
  height: 31px;

  flex: 0 0 auto;

  color: var(--blue-600);
  background: var(--soft-blue);

  border-radius: 9px;

  font-size: 0.78rem;
  font-weight: 900;
}

.hero-float-clinical {
  top: 8px;
  left: -18px;

  animation-delay: -1.5s;
}

.hero-float-data {
  top: 30%;
  right: -24px;

  animation-delay: -3.5s;
}

.hero-float-evidence {
  right: 18px;
  bottom: 0;

  animation-delay: -5s;
}

@keyframes medx-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}


/* =========================================================
   7. PAGE HERO
   ========================================================= */

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

  padding: 88px 0 72px;

  color: var(--white);

  background:
    radial-gradient(circle at 85% 20%, rgba(0, 184, 220, 0.18), transparent 30%),
    linear-gradient(120deg, #061b50 0%, #073c91 68%, #075bb4 115%);
}

.page-hero::after {
  content: "";

  position: absolute;
  right: -180px;
  bottom: -220px;

  width: 480px;
  height: 480px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 940px;

  font:
    800 clamp(2.7rem, 5vw, 4.55rem) / 1.02
    var(--display);

  letter-spacing: -0.047em;
}

.page-hero p {
  max-width: 780px;

  margin-top: 20px;

  color: rgba(255, 255, 255, 0.76);

  font-size: 1.08rem;
}

.breadcrumb {
  margin-bottom: 18px;

  color: #a7bfd4;

  font-size: 0.8rem;
}

.breadcrumb a {
  color: #e2edf6;

  text-decoration: none;
}


/* =========================================================
   8. SHARED CARDS / GRIDS
   ========================================================= */

.path-grid,
.card-grid,
.org-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;

  margin-top: 38px;
}

.path-card,
.card,
.org-card {
  position: relative;

  padding: 30px;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  box-shadow:
    0 10px 30px rgba(7, 27, 51, 0.035);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.path-card:hover,
.card:hover,
.org-card:hover,
.course-card:hover {
  transform: translateY(-3px);

  border-color: #c7d9e6;

  box-shadow: var(--shadow-sm);
}

.path-card h3,
.card h3,
.org-card h3 {
  margin-bottom: 10px;

  color: var(--navy-900);

  font:
    800 1.34rem
    var(--display);
}

.path-card p,
.card p,
.org-card p {
  color: var(--muted);
}

.path-card.feature {
  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--navy-900),
      #0c3b67
    );

  border: 0;
}

.path-card.feature h3 {
  color: var(--white);
}

.path-card.feature p {
  color: rgba(255, 255, 255, 0.72);
}

.link-arrow {
  display: inline-flex;
  align-items: center;

  margin-top: 18px;

  color: var(--blue-600);

  text-decoration: none;
  font-weight: 800;
}

.path-card.feature .link-arrow {
  color: var(--gold-500);
}


/* =========================================================
   9. COURSE CARDS
   ========================================================= */

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

  margin-top: 40px;
}

.course-card {
  display: flex;
  flex-direction: column;

  min-height: 235px;
  padding: 24px;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: var(--radius);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.course-tag {
  margin-bottom: 14px;

  color: var(--blue-600);

  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-card h3 {
  color: var(--navy-900);

  font:
    800 1.22rem / 1.22
    var(--display);
}

.course-card p {
  margin: 11px 0 16px;

  color: var(--muted);

  font-size: 0.9rem;
}

.course-card a {
  margin-top: auto;

  color: var(--blue-600);

  text-decoration: none;
  font-weight: 800;
}


/* =========================================================
   10. HOMEPAGE LEARNING ROUTES
   ========================================================= */

.home-learning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;

  margin-top: 42px;
}

.home-learning-card {
  position: relative;

  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;

  min-height: 245px;
  padding: 28px;

  color: inherit;
  background: var(--white);

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.home-learning-card:hover {
  transform: translateY(-4px);

  border-color: #bfd6e6;

  box-shadow: var(--shadow);
}

.learning-number {
  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;

  color: var(--blue-600);
  background: var(--soft-blue);

  border-radius: 12px;

  font-weight: 900;
}

.home-learning-card h3 {
  color: var(--navy-900);

  font:
    800 1.35rem
    var(--display);
}

.home-learning-card p {
  max-width: 490px;

  margin-top: 10px;

  color: var(--muted);

  font-size: 0.91rem;
}

.learning-link {
  display: inline-block;

  margin-top: 20px;

  color: var(--blue-600);

  font-size: 0.87rem;
  font-weight: 800;
}


/* =========================================================
   11. METHOD
   ========================================================= */

.method {
  background: var(--soft);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;

  margin-top: 40px;
}

.method-step {
  height: 100%;
  padding: 24px;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.method-num {
  display: grid;
  place-items: center;

  width: 42px;
  height: 42px;

  margin-bottom: 18px;

  color: var(--blue-600);
  background: var(--soft-blue);

  border-radius: 11px;

  font-weight: 900;
}

.method-step h3 {
  margin-bottom: 7px;

  color: var(--navy-900);

  font:
    800 1.1rem
    var(--display);
}

.method-step p {
  color: var(--muted);

  font-size: 0.9rem;
}


/* =========================================================
   12. SPLIT LAYOUT
   ========================================================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}


/* =========================================================
   13. FEATURE LIST
   ========================================================= */

.feature-list {
  display: grid;
  gap: 14px;

  margin-top: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tick {
  flex: 0 0 auto;

  display: grid;
  place-items: center;

  width: 24px;
  height: 24px;

  color: var(--green-700);
  background: var(--green-100);

  border-radius: 50%;

  font-weight: 900;
}


/* =========================================================
   14. INFO / PRICE CARDS
   ========================================================= */

.price-card {
  padding: 30px;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow);
}

.price {
  color: var(--navy-900);

  font:
    800 2.6rem
    var(--display);
}


/* =========================================================
   15. CTA
   ========================================================= */

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  padding: 48px;

  color: var(--white);

  background:
    radial-gradient(circle at 88% 15%, rgba(0, 184, 220, 0.24), transparent 35%),
    linear-gradient(120deg, #061b50 0%, #073c91 66%, #086ab5 120%);

  border-radius: var(--radius-xl);
}

.cta h2 {
  color: var(--white);

  font:
    800 clamp(1.8rem, 3vw, 2.8rem)
    var(--display);

  letter-spacing: -0.03em;
}

.cta p {
  max-width: 650px;

  margin-top: 8px;

  color: rgba(255, 255, 255, 0.79);
}


/* =========================================================
   16. CLINICAL / PAS VISUAL SYSTEM
   ========================================================= */

.simulator-panel,
.clinical-visual {
  position: relative;

  padding: 20px;

  background:
    radial-gradient(circle at 88% 12%, rgba(0, 184, 220, 0.20), transparent 34%),
    linear-gradient(135deg, var(--mx-navy) 0%, #061b50 52%, #073c91 120%);

  border-radius: 24px;

  box-shadow: var(--shadow-lg);
}

.sim-window,
.clinical-window {
  overflow: hidden;

  background: #eef3f7;

  border-radius: 14px;

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.sim-top,
.clinical-top {
  display: flex;
  align-items: center;
  gap: 7px;

  height: 42px;
  padding: 0 14px;

  background: var(--white);

  border-bottom: 1px solid var(--line);
}

.dotx {
  width: 9px;
  height: 9px;

  background: #c8d4df;

  border-radius: 50%;
}

.sim-content {
  display: grid;
  grid-template-columns: 150px 1fr;

  min-height: 310px;
}

.sim-side {
  padding: 16px;

  color: var(--white);
  background: #0a2b62;
}

.sim-side strong {
  display: block;

  margin-bottom: 10px;

  font:
    800 0.88rem
    var(--display);
}

.sim-side div {
  padding: 8px 5px;

  color: rgba(255, 255, 255, 0.68);

  border-radius: 7px;

  font-size: 0.75rem;
}

.sim-side div:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.sim-main {
  min-width: 0;

  padding: 18px;
}

.sim-main > strong {
  color: var(--navy-900);
}

.sim-table {
  overflow: hidden;

  background: var(--white);

  border: 1px solid #d6e0e9;
  border-radius: 10px;

  font-size: 0.72rem;
}

.sim-table > div {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr 0.7fr;

  padding: 9px 11px;

  border-bottom: 1px solid #e8eef3;
}

.sim-table > div:last-child {
  border-bottom: 0;
}

.sim-table > div:first-child {
  color: #4d6276;
  background: #f6f8fa;

  font-weight: 800;
}


/* =========================================================
   17. CLINICAL PATHWAY
   ========================================================= */

.clinical-pathway {
  margin-top: 22px;
  padding: 28px;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  box-shadow:
    0 18px 50px rgba(7, 27, 51, 0.08);
}

.clinical-pathway-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;

  margin-bottom: 28px;
}

.clinical-pathway-head strong {
  display: block;

  margin-top: 5px;

  color: var(--navy-900);

  font:
    800 1rem
    var(--display);
}

.clinical-pathway-head small {
  color: var(--muted);
}

.pathway-track {
  position: relative;

  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.pathway-track::before {
  content: "";

  position: absolute;
  top: 17px;
  left: 7%;
  right: 7%;

  height: 2px;

  background:
    linear-gradient(
      90deg,
      var(--blue-600),
      var(--cyan-500)
    );
}

.pathway-event {
  position: relative;
  z-index: 1;

  text-align: center;
}

.pathway-dot {
  display: grid;
  place-items: center;

  width: 36px;
  height: 36px;

  margin: 0 auto 10px;

  color: var(--white);
  background: var(--blue-600);

  border: 5px solid var(--white);
  border-radius: 50%;

  box-shadow:
    0 0 0 1px var(--line);
}

.pathway-event.current .pathway-dot {
  background: var(--cyan-600);
}

.pathway-event strong {
  display: block;

  color: var(--navy-900);

  font-size: 0.78rem;
}

.pathway-event span {
  display: block;

  margin-top: 3px;

  color: var(--muted);

  font-size: 0.7rem;
}

.pathway-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;

  margin-top: 28px;
  padding-top: 18px;

  border-top: 1px solid var(--line);
}

.pathway-summary-grid > div {
  padding: 12px;

  background: var(--soft);

  border-radius: 10px;
}

.pathway-summary-grid small {
  display: block;

  color: var(--muted);

  font-size: 0.64rem;
}

.pathway-summary-grid strong {
  display: block;

  margin-top: 3px;

  color: var(--navy-900);

  font-size: 0.78rem;
}


/* =========================================================
   18. DATA & INFORMATICS VISUAL
   ========================================================= */

.informatics-visual {
  position: relative;

  overflow: hidden;

  padding: 26px;

  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(24, 167, 201, 0.12),
      transparent 26%
    ),
    linear-gradient(
      180deg,
      #f7fbfe,
      #ffffff
    );

  border: 1px solid var(--line);
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow);
}

.informatics-stack {
  display: grid;
  gap: 14px;
}

.info-layer {
  position: relative;

  padding: 18px;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: var(--radius);

  box-shadow: var(--shadow-sm);
}

.info-layer:not(:last-child)::after {
  content: "↓";

  position: absolute;
  bottom: -25px;
  left: 50%;

  transform: translateX(-50%);

  color: #7e9bb2;

  font-weight: 900;
}

.info-layer-title {
  margin-bottom: 12px;

  color: var(--navy-900);

  font:
    800 0.9rem
    var(--display);
}

.info-node-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.info-node {
  padding: 7px 10px;

  color: var(--blue-700);
  background: var(--soft-blue);

  border-radius: 999px;

  font-size: 0.76rem;
  font-weight: 800;
}

.info-layer.governance {
  background: #fbfcfe;
}

.info-layer.model {
  background: #eef8fb;
  border-color: #cde8ef;
}

.info-layer.insight {
  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--navy-900),
      #0c416f
    );

  border-color: transparent;
}

.info-layer.insight .info-layer-title {
  color: var(--white);
}

.info-layer.insight .info-node {
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
}


/* =========================================================
   19. PRACTISE THE WORK
   ========================================================= */

.practice-section {
  background:
    linear-gradient(
      180deg,
      #ffffff,
      #f8fbfd
    );
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;

  margin-top: 42px;
}

.practice-card {
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  min-height: 340px;
  padding: 26px;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  box-shadow:
    0 12px 34px rgba(7, 27, 51, 0.045);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.practice-card:hover {
  transform: translateY(-4px);

  border-color: #bfd7e6;

  box-shadow: var(--shadow);
}

.practice-card::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 4px;

  background:
    linear-gradient(
      90deg,
      var(--blue-600),
      var(--cyan-500)
    );
}

.practice-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  margin-bottom: 18px;
}

.practice-icon {
  display: grid;
  place-items: center;

  min-width: 42px;
  height: 42px;
  padding: 0 9px;

  color: var(--blue-600);
  background: var(--soft-blue);

  border-radius: 11px;

  font-size: 0.69rem;
  font-weight: 900;
}

.practice-type {
  color: var(--muted);

  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.practice-card h3 {
  color: var(--navy-900);

  font:
    800 1.32rem
    var(--display);
}

.practice-card p {
  margin-top: 10px;

  color: var(--muted);

  font-size: 0.9rem;
}

.practice-card > a {
  margin-top: auto;
  padding-top: 20px;

  color: var(--blue-600);

  text-decoration: none;
  font-weight: 800;
  font-size: 0.86rem;
}

.practice-mini-worklist {
  overflow: hidden;

  margin-top: 22px;

  border: 1px solid var(--line);
  border-radius: 10px;
}

.practice-mini-worklist > div {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 9px 11px;

  background: var(--soft);

  border-bottom: 1px solid var(--line);

  color: var(--muted);

  font-size: 0.71rem;
}

.practice-mini-worklist > div:last-child {
  border-bottom: 0;
}

.practice-mini-worklist > div span:first-child {
  color: var(--navy-900);

  font-weight: 700;
}

.quality-check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-top: 22px;
}

.quality-check-list span {
  padding: 7px 9px;

  color: var(--muted);
  background: var(--soft);

  border: 1px solid var(--line);
  border-radius: 999px;

  font-size: 0.69rem;
  font-weight: 700;
}

.quality-check-list span:first-child {
  color: var(--green-700);
  background: var(--green-100);
  border-color: #cfe8dc;
}

.practice-bars {
  height: 90px;

  display: flex;
  align-items: flex-end;
  gap: 8px;

  margin-top: 24px;
  padding: 12px 10px 0;

  background: var(--soft);

  border: 1px solid var(--line);
  border-radius: 10px;
}

.practice-bars span {
  flex: 1;

  min-height: 10px;

  background:
    linear-gradient(
      180deg,
      var(--cyan-500),
      var(--blue-600)
    );

  border-radius: 4px 4px 1px 1px;
}

.mini-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;

  margin-top: 22px;
}

.mini-dashboard > div {
  padding: 12px;

  text-align: center;

  background: var(--soft);

  border: 1px solid var(--line);
  border-radius: 10px;
}

.mini-dashboard small {
  display: block;

  color: var(--muted);

  font-size: 0.63rem;
}

.mini-dashboard strong {
  display: block;

  margin-top: 3px;

  color: var(--navy-900);

  font:
    800 1.25rem
    var(--display);
}


/* =========================================================
   20. ANALYTICS DASHBOARD
   ========================================================= */

.analytics-dashboard {
  overflow: hidden;

  min-height: 440px;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-lg);
}

.analytics-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 16px 20px;

  color: var(--white);
  background: var(--navy-900);
}

.analytics-topbar strong {
  font:
    800 0.95rem
    var(--display);
}

.analytics-topbar span {
  color: #a9bdd0;

  font-size: 0.72rem;
}

.analytics-body {
  padding: 20px;

  background: #f6f9fd;
}

.analytics-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.analytics-metric {
  padding: 15px;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: 12px;
}

.analytics-metric small {
  display: block;

  color: var(--muted);

  font-size: 0.68rem;
}

.analytics-metric strong {
  display: block;

  margin-top: 3px;

  color: var(--navy-900);

  font:
    800 1.45rem
    var(--display);
}

.analytics-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 14px;

  margin-top: 14px;
}

.analytics-panel {
  min-height: 220px;
  padding: 18px;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: 13px;
}

.analytics-panel h4 {
  margin-bottom: 16px;

  color: var(--navy-900);

  font-size: 0.8rem;
}

.analytics-chart {
  height: 150px;

  display: flex;
  align-items: flex-end;
  gap: 10px;

  padding: 16px 6px 0;

  border-bottom: 1px solid var(--line);
}

.analytics-bar {
  display: block;
  flex: 1;

  min-width: 18px;
  min-height: 12px;

  background:
    linear-gradient(
      180deg,
      var(--cyan-500) 0%,
      var(--blue-600) 100%
    );

  border-radius: 6px 6px 2px 2px;

  box-shadow:
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.analytics-list {
  display: grid;
  gap: 0;
}

.analytics-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 11px 0;

  color: var(--muted);

  border-bottom: 1px solid var(--line);

  font-size: 0.75rem;
}

.analytics-list-row:last-child {
  border-bottom: 0;
}

.analytics-list-row strong {
  color: var(--navy-900);
}

.analytics-process {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;

  margin-top: 14px;
  padding: 11px;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: 11px;

  color: var(--muted);

  font-size: 0.68rem;
}

.analytics-process span {
  padding: 5px 8px;

  color: var(--blue-600);
  background: var(--soft-blue);

  border-radius: 999px;

  font-weight: 800;
}

.analytics-process b {
  color: #8aa1b4;
}


/* =========================================================
   21. EVIDENCE JOURNEY
   ========================================================= */

.evidence-journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;

  margin-top: 34px;
}

.evidence-stage {
  position: relative;

  min-height: 190px;
  padding: 24px;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.evidence-stage:not(:last-child)::after {
  content: "→";

  position: absolute;
  top: 50%;
  right: -15px;
  z-index: 2;

  display: grid;
  place-items: center;

  width: 28px;
  height: 28px;

  transform: translateY(-50%);

  color: var(--blue-600);
  background: var(--white);

  border: 1px solid var(--line);
  border-radius: 50%;

  font-weight: 900;
}

.evidence-stage small {
  color: var(--blue-600);

  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.evidence-stage h3 {
  margin-top: 8px;

  color: var(--navy-900);

  font:
    800 1.05rem
    var(--display);
}

.evidence-stage p {
  margin-top: 8px;

  color: var(--muted);

  font-size: 0.85rem;
}


/* =========================================================
   22. CAPABILITY PROFILE
   ========================================================= */

.capability-section {
  background:
    linear-gradient(
      180deg,
      #f8fbfd,
      #ffffff
    );
}

.capability-profile {
  overflow: hidden;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-lg);
}

.capability-profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 20px 22px;

  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--navy-900),
      #0b3d69
    );
}

.capability-profile-head small {
  display: block;

  color: #a9bfd2;

  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.capability-profile-head strong {
  display: block;

  margin-top: 3px;

  font:
    800 1rem
    var(--display);
}

.capability-profile-head > span {
  padding: 6px 9px;

  color: var(--cyan-300);
  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;

  font-size: 0.64rem;
  font-weight: 800;
}

.capability-skills {
  padding: 6px 20px;
}

.capability-skill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  padding: 15px 2px;

  border-bottom: 1px solid var(--line);
}

.capability-skill:last-child {
  border-bottom: 0;
}

.capability-skill strong {
  display: block;

  color: var(--navy-900);

  font-size: 0.82rem;
}

.capability-skill small {
  display: block;

  margin-top: 2px;

  color: var(--muted);

  font-size: 0.67rem;
}

.capability-status {
  flex: 0 0 auto;

  padding: 6px 9px;

  border-radius: 999px;

  font-size: 0.62rem;
  font-weight: 800;
}

.capability-status.developed {
  color: var(--green-700);
  background: var(--green-100);
}

.capability-status.practised {
  color: var(--blue-700);
  background: var(--soft-blue);
}

.capability-status.progress {
  color: var(--amber-700);
  background: var(--amber-100);
}

.capability-evidence {
  padding: 20px 22px;

  background: var(--soft);

  border-top: 1px solid var(--line);
}

.capability-evidence ul {
  display: grid;
  gap: 8px;

  margin-top: 12px;

  list-style: none;
}

.capability-evidence li {
  position: relative;

  padding-left: 22px;

  color: var(--muted);

  font-size: 0.78rem;
}

.capability-evidence li::before {
  content: "✓";

  position: absolute;
  left: 0;

  color: var(--green-700);

  font-weight: 900;
}


/* =========================================================
   23. CAREER ROUTE CARDS
   ========================================================= */

.career-route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;

  margin-top: 42px;
}

.career-route-card {
  position: relative;

  min-height: 220px;
  padding: 24px;

  color: inherit;
  background: var(--white);

  border: 1px solid var(--line);
  border-radius: var(--radius);

  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.career-route-card:hover {
  transform: translateY(-3px);

  border-color: #bdd6e6;

  box-shadow: var(--shadow-sm);
}

.career-route-card > span {
  display: grid;
  place-items: center;

  width: 40px;
  height: 40px;

  margin-bottom: 18px;

  color: var(--blue-600);
  background: var(--soft-blue);

  border-radius: 10px;

  font-size: 0.69rem;
  font-weight: 900;
}

.career-route-card h3 {
  color: var(--navy-900);

  font:
    800 1.12rem
    var(--display);
}

.career-route-card p {
  margin-top: 9px;

  color: var(--muted);

  font-size: 0.84rem;
}


/* =========================================================
   24. ORGANISATION / COHORT VISUAL
   ========================================================= */

.organisation-types {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;

  margin-top: 24px;
}

.organisation-types span {
  padding: 8px 11px;

  color: var(--blue-700);
  background: var(--soft-blue);

  border-radius: 999px;

  font-size: 0.72rem;
  font-weight: 800;
}

.cohort-visual {
  overflow: hidden;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-lg);
}

.cohort-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 19px 22px;

  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--navy-900),
      #0b436e
    );
}

.cohort-head small {
  display: block;

  color: #aac0d2;

  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cohort-head strong {
  display: block;

  margin-top: 3px;

  font:
    800 1rem
    var(--display);
}

.cohort-head > span {
  padding: 6px 9px;

  color: var(--cyan-300);
  background: rgba(255, 255, 255, 0.08);

  border-radius: 999px;

  font-size: 0.62rem;
  font-weight: 800;
}

.cohort-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;

  padding: 20px 20px 10px;
}

.cohort-metrics > div {
  padding: 14px;

  text-align: center;

  background: var(--soft);

  border: 1px solid var(--line);
  border-radius: 11px;
}

.cohort-metrics strong {
  display: block;

  color: var(--navy-900);

  font:
    800 1.5rem
    var(--display);
}

.cohort-metrics span {
  display: block;

  color: var(--muted);

  font-size: 0.66rem;
}

.cohort-progress-list {
  display: grid;
  gap: 14px;

  padding: 15px 20px 22px;
}

.cohort-progress-list > div > span {
  display: block;

  margin-bottom: 6px;

  color: var(--text);

  font-size: 0.72rem;
  font-weight: 700;
}

.cohort-progress-list > div > div {
  overflow: hidden;

  height: 8px;

  background: #e7edf3;

  border-radius: 999px;
}

.cohort-progress-list i {
  display: block;

  height: 100%;

  background:
    linear-gradient(
      90deg,
      var(--blue-600),
      var(--cyan-500)
    );

  border-radius: inherit;
}

.cohort-note {
  padding: 12px 20px;

  color: var(--muted);
  background: var(--soft);

  border-top: 1px solid var(--line);

  font-size: 0.65rem;
}


/* =========================================================
   25. FLOW COMPONENTS
   ========================================================= */

.flow-card {
  padding: 18px;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: 14px;
}

.flow-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;

  color: var(--muted);

  font-size: 0.8rem;
}

.flow-step {
  padding: 7px 10px;

  color: var(--blue-600);
  background: var(--soft-blue);

  border-radius: 999px;

  font-weight: 800;
}

.pathway-mini {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 9px;

  margin-top: 26px;
}

.pathway-mini a,
.pathway-mini span {
  padding: 8px 12px;

  border-radius: 999px;

  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
}

.pathway-mini a {
  color: #d7eff7;
  background: rgba(255, 255, 255, 0.09);
}

.pathway-mini span {
  color: var(--navy-900);
  background: var(--gold-500);
}

.pathway-mini b {
  color: #91aec4;
}


/* =========================================================
   26. MODULE LIST
   ========================================================= */

.module-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;

  margin-top: 32px;
}

.module {
  display: flex;
  gap: 13px;

  padding: 17px 18px;

  background: var(--white);

  border: 1px solid var(--line);
  border-radius: 12px;
}

.module > span {
  color: var(--blue-600);

  font-weight: 900;
}

.module strong {
  color: var(--navy-900);
}

.module small {
  color: var(--muted);
}


/* =========================================================
   27. OUTCOMES
   ========================================================= */

.outcomes {
  color: var(--white);
  background: var(--navy-900);
}

.outcomes .section-title {
  color: var(--white);
}

.outcomes .section-copy {
  color: rgba(255, 255, 255, 0.68);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;

  margin-top: 40px;
}

.outcome-card {
  padding: 26px;

  background: rgba(255, 255, 255, 0.07);

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.outcome-card strong {
  display: block;

  color: var(--gold-500);

  font:
    800 2.1rem
    var(--display);
}

.outcome-card span {
  color: rgba(255, 255, 255, 0.72);
}


/* =========================================================
   28. FAQ
   ========================================================= */

.faq {
  max-width: 860px;

  margin: 34px auto 0;
}

.faq details {
  padding: 17px 0;

  border-bottom: 1px solid var(--line);
}

.faq summary {
  color: var(--navy-900);

  font-weight: 800;

  cursor: pointer;
}

.faq p {
  padding-top: 10px;

  color: var(--muted);
}


/* =========================================================
   29. ARCHITECTURE
   ========================================================= */

.architecture {
  background: var(--white);
}

.architecture-shell {
  position: relative;

  margin-top: 42px;
}

.architecture-root {
  max-width: 360px;

  margin: 0 auto 34px;
  padding: 22px 24px;

  color: var(--white);
  text-align: center;

  background:
    linear-gradient(
      135deg,
      var(--navy-900),
      #0b315b
    );

  border-radius: 18px;

  box-shadow: var(--shadow);
}

.architecture-root strong {
  display: block;

  font:
    800 1.35rem
    var(--display);
}

.architecture-root span {
  color: #b8cadb;

  font-size: 0.86rem;
}

.architecture-branches {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.arch-branch {
  padding: 28px;

  background: var(--soft);

  border: 1px solid var(--line);
  border-radius: 22px;
}

.arch-branch.skill {
  background:
    linear-gradient(
      180deg,
      #f4fafe,
      var(--white)
    );
}

.arch-branch.career {
  background:
    linear-gradient(
      180deg,
      #fffaf0,
      var(--white)
    );
}

.arch-branch-head {
  margin-bottom: 24px;

  text-align: center;
}

.arch-branch-head h3 {
  color: var(--navy-900);

  font:
    800 1.55rem
    var(--display);
}

.arch-branch-head p {
  margin-top: 8px;

  color: var(--muted);
}

.arch-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.arch-node {
  display: block;

  padding: 17px;

  color: var(--navy-900);
  background: var(--white);

  border: 1px solid var(--line);
  border-radius: 14px;

  text-align: center;
  text-decoration: none;

  font-weight: 800;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.arch-node:hover {
  transform: translateY(-2px);

  border-color: #bad6e8;

  box-shadow: var(--shadow-sm);
}

.arch-node small {
  display: block;

  margin-top: 5px;

  color: var(--muted);

  font-size: 0.75rem;
  font-weight: 500;
}

.arch-flow {
  display: grid;
  gap: 12px;

  max-width: 560px;

  margin: 22px auto 0;
}

.arch-flow .arch-node {
  position: relative;
}

.arch-flow .arch-node:not(:last-child)::after {
  content: "↓";

  position: absolute;
  bottom: -23px;
  left: 50%;

  transform: translateX(-50%);

  color: #7291aa;

  font-weight: 900;
}

.arch-flow .arch-node.highlight {
  color: var(--white);
  background: var(--navy-900);

  border-color: var(--navy-900);
}

.arch-flow .arch-node.highlight small {
  color: #b8cadb;
}

.arch-flow .arch-node.outcome {
  color: #0a5c42;
  background: var(--green-100);

  border-color: #cce9da;
}

.arch-career-list {
  display: grid;
  gap: 12px;
}

.arch-career-list .arch-node {
  padding-left: 20px;

  text-align: left;
}


/* =========================================================
   30. FOOTER
   ========================================================= */

.footer {
  padding: 64px 0 24px;

  color: var(--white);
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, 1fr);
  gap: 36px;
}

.footer h4 {
  margin-bottom: 14px;

  color: #9eb5ca;

  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer a {
  display: block;

  margin: 8px 0;

  color: rgba(255, 255, 255, 0.7);

  text-decoration: none;

  font-size: 0.88rem;
}

.footer a:hover {
  color: var(--white);
}

.footer p {
  max-width: 340px;

  color: rgba(255, 255, 255, 0.6);

  font-size: 0.87rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;

  margin-top: 42px;
  padding-top: 18px;

  color: #8096aa;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  font-size: 0.76rem;
}


/* =========================================================
   31. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1080px) {

  .desktop-nav {
    gap: 17px;
  }

  .desktop-nav > li > a,
  .nav-dropdown > button {
    font-size: 0.83rem;
  }

  .hero-grid {
    gap: 46px;
  }

  .hero-product-wrap {
    max-width: 580px;
  }

}


/* =========================================================
   32. RESPONSIVE — MOBILE NAV / TABLET
   ========================================================= */

@media (max-width: 980px) {

  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 54px;
  }

  .hero-product-wrap {
    width: min(100%, 690px);
    max-width: none;

    justify-self: start;

    padding-left: 22px;
    padding-right: 22px;
  }

  .course-grid,
  .home-learning-grid,
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .career-route-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }

  .path-grid,
  .card-grid,
  .org-grid {
    grid-template-columns: 1fr;
  }

  .architecture-branches {
    grid-template-columns: 1fr;
  }

  .arch-entry-grid {
    grid-template-columns: 1fr;
  }

  .analytics-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .evidence-journey {
    grid-template-columns: repeat(2, 1fr);
  }

  .evidence-stage:nth-child(2)::after {
    display: none;
  }

}


/* =========================================================
   33. RESPONSIVE — SMALL TABLET / MOBILE
   ========================================================= */

@media (max-width: 720px) {

  .section {
    padding: 70px 0;
  }

  .section-sm {
    padding: 48px 0;
  }

  .site-nav {
    height: 70px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding: 72px 0 62px;
  }

  .page-hero {
    padding: 70px 0 58px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 11.5vw, 4rem);
  }

  .page-hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.5rem);
  }

  .hero-product-wrap {
    padding:
      30px
      0
      20px;
  }

  .hero-float {
    position: relative;
    inset: auto !important;

    display: inline-flex;

    margin: 0 8px 10px 0;

    animation: none;
  }

  .hero-workspace {
    margin-top: 6px;
  }

  .workspace-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-grid,
  .home-learning-grid,
  .practice-grid,
  .method-grid,
  .module-list,
  .outcome-grid,
  .footer-grid,
  .analytics-grid,
  .evidence-journey,
  .career-route-grid {
    grid-template-columns: 1fr;
  }

  .home-learning-card {
    min-height: 0;
  }

  .practice-card {
    min-height: 320px;
  }

  .analytics-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;

    padding: 32px;
  }

  .sim-content {
    grid-template-columns: 110px 1fr;
  }

  .sim-table > div {
    grid-template-columns: 1fr 1fr;
  }

  .sim-table > div span:nth-child(n + 3) {
    display: none;
  }

  .pathway-track {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pathway-track::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 17px;

    width: 2px;
    height: auto;
  }

  .pathway-event {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 14px;

    text-align: left;
  }

  .pathway-dot {
    margin: 0;
  }

  .pathway-event strong,
  .pathway-event span {
    grid-column: 2;
  }

  .pathway-summary-grid {
    grid-template-columns: 1fr;
  }

  .evidence-stage::after {
    display: none !important;
  }

}


/* =========================================================
   34. RESPONSIVE — PHONE
   ========================================================= */

@media (max-width: 520px) {

  .container {
    width: min(var(--max), 91%);
  }

  .actions {
    width: 100%;
  }

  .actions .btn {
    width: 100%;
  }

  .hero-trust-row {
    display: grid;
    gap: 8px;
  }

  .workspace-pathway-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 14px;
  }

  .workspace-metrics,
  .analytics-metrics,
  .cohort-metrics,
  .mini-dashboard {
    grid-template-columns: 1fr;
  }

  .workspace-progression,
  .analytics-process {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
  }

  .workspace-progression b,
  .analytics-process b {
    transform: rotate(90deg);
    margin-left: 14px;
  }

  .home-learning-card {
    grid-template-columns: 1fr;
  }

  .price-card,
  .card,
  .org-card,
  .path-card,
  .course-card,
  .method-step,
  .practice-card,
  .career-route-card {
    padding: 22px;
  }

  .simulator-panel,
  .clinical-visual {
    padding: 12px;
  }

  .sim-content {
    grid-template-columns: 90px 1fr;
  }

  .sim-side {
    padding: 11px;
  }

  .sim-side div {
    padding: 7px 2px;

    font-size: 0.67rem;
  }

  .flow-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .pathway-mini {
    align-items: flex-start;
  }

  .capability-skill {
    align-items: flex-start;
    flex-direction: column;
  }

}


/* =========================================================
   35. ACCESSIBILITY / REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-float {
    animation: none !important;
  }

}


/* =========================================================
   36. KEYBOARD FOCUS
   ========================================================= */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(130, 213, 231, 0.78);
  outline-offset: 3px;
}

/* =========================================================
   FINAL HOMEPAGE POLISH
   ========================================================= */


/* Slightly calmer Method heading */
.method .center .section-title {
  font-size: clamp(1.9rem, 3.35vw, 2.9rem);
}


/* ---------------------------------------------------------
   LEARNING + CAREER CARD INTERACTION
   --------------------------------------------------------- */

.home-learning-card,
.career-route-card {
  position: relative;
}

.home-learning-card::after,
.career-route-card::after {
  content: "→";

  position: absolute;
  right: 22px;
  bottom: 20px;

  color: var(--blue-600);

  font-size: 1rem;
  font-weight: 900;

  opacity: 0;
  transform: translateX(-5px);

  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.home-learning-card:hover::after,
.career-route-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.career-route-card:hover {
  border-color: rgba(24, 167, 201, 0.55);

  box-shadow:
    0 16px 36px rgba(7, 27, 51, 0.09);
}


/* ---------------------------------------------------------
   CAPABILITY PROFILE
   --------------------------------------------------------- */

.capability-profile {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.capability-profile:hover {
  transform: translateY(-2px);

  box-shadow:
    0 25px 65px rgba(7, 27, 51, 0.13);
}


/* ---------------------------------------------------------
   HERO WORKSPACE REFINEMENT
   --------------------------------------------------------- */

.hero-product-wrap::before {
  content: "";

  position: absolute;
  z-index: 0;

  width: 76%;
  height: 72%;

  top: 14%;
  left: 15%;

  background:
    radial-gradient(
      circle,
      rgba(60, 194, 221, 0.19),
      rgba(60, 194, 221, 0.05) 48%,
      transparent 72%
    );

  filter: blur(18px);

  pointer-events: none;
}

.hero-float-data {
  right: -34px;
}

.hero-float-evidence {
  right: 4px;
  bottom: -7px;
}


/* Make trust indicators slightly clearer */
.hero-trust-row span {
  color: rgba(255, 255, 255, 0.75);
}

.hero-trust-row span::before {
  width: 7px;
  height: 7px;

  box-shadow:
    0 0 0 3px rgba(130, 213, 231, 0.08);
}


/* ---------------------------------------------------------
   FLOATING WHATSAPP CONTACT
   --------------------------------------------------------- */

.medx-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 950;

  display: flex;
  align-items: center;
  gap: 10px;

  min-height: 54px;
  padding: 8px 15px 8px 8px;

  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--navy-900),
      #0b416e
    );

  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;

  box-shadow:
    0 14px 38px rgba(4, 17, 31, 0.23);

  text-decoration: none;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.medx-whatsapp:hover {
  transform: translateY(-3px);

  background:
    linear-gradient(
      135deg,
      #092643,
      #0d5a82
    );

  box-shadow:
    0 19px 44px rgba(4, 17, 31, 0.29);
}

.medx-whatsapp-icon {
  display: grid;
  place-items: center;

  width: 38px;
  height: 38px;

  flex: 0 0 auto;

  background: #25d366;

  border-radius: 50%;
}

.medx-whatsapp-icon svg {
  width: 22px;
  height: 22px;

  fill: var(--white);
}

.medx-whatsapp-text {
  display: flex;
  flex-direction: column;

  line-height: 1.1;
}

.medx-whatsapp-text small {
  margin-bottom: 3px;

  color: var(--cyan-300);

  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.medx-whatsapp-text strong {
  color: var(--white);

  font-size: 0.78rem;
  font-weight: 800;
}


/* ---------------------------------------------------------
   MOBILE POLISH
   --------------------------------------------------------- */

@media (max-width: 720px) {

  .hero-float-data,
  .hero-float-evidence {
    right: auto;
    bottom: auto;
  }

  .hero-product-wrap::before {
    width: 90%;
    left: 5%;
  }

  .home-learning-card::after,
  .career-route-card::after {
    opacity: 1;
    transform: none;
  }

  .medx-whatsapp {
    right: 14px;
    bottom: 14px;

    width: 52px;
    height: 52px;
    min-height: 52px;

    padding: 7px;

    justify-content: center;
  }

  .medx-whatsapp-icon {
    width: 38px;
    height: 38px;
  }

  .medx-whatsapp-text {
    display: none;
  }

}


/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .medx-whatsapp,
  .capability-profile,
  .career-route-card,
  .home-learning-card {
    transform: none !important;
  }

}

/* =========================================================
   37. MEDX INNOVATION-LED COLOUR REFINEMENT
   Existing components and responsive layout intentionally retained.
   ========================================================= */

.analytics-topbar,
.capability-profile-head,
.cohort-head {
  background: linear-gradient(115deg, #061b50 0%, #073c91 100%);
}

.info-layer.insight,
.architecture-root {
  background: linear-gradient(125deg, #061b50 0%, #073c91 100%);
}

.practice-card::before,
.cohort-progress-list i,
.analytics-bar,
.practice-bars span {
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
}

.hero-product-wrap::before {
  background: radial-gradient(circle, rgba(0, 184, 220, 0.20), rgba(7, 91, 180, 0.06) 50%, transparent 73%);
}

.btn-primary:hover,
.nav-cta-main:hover {
  box-shadow: 0 12px 28px rgba(255, 191, 36, 0.23);
}

/* =========================================================
   38. HOMEPAGE HERO — PROFESSIONAL SPACING REFINEMENT
   Scoped to homepage hero; shared page layouts stay unchanged.
   ========================================================= */
@media (min-width: 981px) {
  .hero {
    padding-block: clamp(100px, 7vw, 136px) clamp(94px, 6vw, 120px);
  }

  .hero > .container {
    width: min(1380px, 92%);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: clamp(56px, 5vw, 90px);
  }

  .hero-copy,
  .hero-product-wrap {
    min-width: 0;
  }

  .hero h1 {
    max-width: 720px;
    font-size: clamp(3.15rem, 3.6vw, 4.35rem);
    line-height: 1.075;
    letter-spacing: -0.052em;
    text-wrap: balance;
  }

  .hero p {
    max-width: 570px;
    margin: 26px 0 32px;
    font-size: clamp(1rem, 1.12vw, 1.125rem);
    line-height: 1.75;
  }

  .hero-trust-row {
    margin-top: 32px;
    row-gap: 12px;
  }

  .hero-product-wrap {
    max-width: 650px;
    padding-inline: 18px;
  }
}

@media (min-width: 981px) and (max-width: 1199px) {
  .hero > .container { width: 94%; }
  .hero-grid { gap: 44px; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2.85rem, 4.15vw, 3.6rem); }
  .hero-product-wrap { padding-inline: 10px; }
  .hero-float-data { right: -12px; }
}

@media (max-width: 980px) {
  .hero h1 { line-height: 1.09; text-wrap: balance; }
  .hero p { line-height: 1.7; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(2.35rem, 10vw, 3.15rem); }
  .hero p { font-size: 1rem; }
}


/* =========================================================
   39. MOBILE EXPERIENCE REFINEMENT — OCTOBER 2026
   Desktop layout remains unchanged.
   ========================================================= */
@media (max-width: 980px) {
  .mobile-nav.open {
    display: grid;
    gap: 2px;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    padding: 12px max(5%, env(safe-area-inset-right)) 22px;
    box-shadow: 0 20px 32px rgba(3, 12, 31, .24);
  }
  .mobile-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 11px 14px;
    border-radius: 9px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: .93rem;
    font-weight: 650;
  }
  .mobile-nav a:hover, .mobile-nav a:focus-visible {
    background: rgba(255,255,255,.08);
    color: #fff;
  }
  .mobile-nav a.mobile-nav-cta {
    justify-content: center;
    margin-top: 12px;
    min-height: 48px;
    color: var(--navy-900);
    background: var(--gold-500);
    border: 1px solid var(--gold-500);
    font-weight: 850;
  }
  .mobile-nav a.mobile-nav-cta:hover { background: #f8c65e; color: var(--navy-900); }
}
@media (max-width: 720px) {
  .hero { padding: 54px 0 55px; }
  .hero-grid { gap: 30px; }
  .hero .eyebrow { font-size: .68rem; line-height: 1.55; }
  .hero h1 { line-height: 1.12; }
  .hero p { margin: 19px 0 24px; font-size: .99rem; line-height: 1.65; }
  .hero-trust-row { margin-top: 22px; }
  .hero-product-wrap { padding-top: 16px; }
  .hero-float { max-width: 100%; }
  .medx-technology-section .medx-technology-grid { gap: 14px; margin-top: 28px; }
  .medx-technology-section .medx-technology-card { padding: 23px 21px; border-radius: 15px; }
  .medx-technology-section .medx-technology-card h3 { font-size: 1.23rem; line-height: 1.3; margin-bottom: 10px; }
  .medx-technology-section .medx-technology-card p { font-size: .91rem; line-height: 1.6; margin-bottom: 16px; }
  .medx-technology-section .medx-technology-index { margin-bottom: 13px; }
  .medx-whatsapp { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .footer { padding-bottom: 92px; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: clamp(2.2rem, 9.6vw, 3.05rem); }
  .hero-workspace { padding: 12px; }
  .workspace-body { padding: 14px; }
  .workspace-heading { gap: 8px; }
  .workspace-heading strong { font-size: 1rem; }
  .workspace-pathway { padding: 12px; }
  .workspace-metric { min-height: 74px; padding: 11px; }
  .workspace-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .workspace-progression { flex-direction: row; align-items: center; gap: 5px; }
  .workspace-progression b { transform: none; margin-left: 0; }
  .medx-technology-section .medx-technology-card { overflow-wrap: anywhere; }
}

/* =========================================================
   40. TECHNOLOGY ARCHITECTURE — WIDER DESKTOP COMPOSITION
   Only the homepage technology section is adjusted.
   ========================================================= */
@media (min-width: 981px) {
  .medx-technology-section {
    padding-block: 104px 100px;
  }
  .medx-technology-section > .container {
    width: min(1360px, 92%);
    max-width: none;
  }
  .medx-technology-section .section-title {
    max-width: 1080px;
    font-size: clamp(2.35rem, 3.3vw, 3.45rem);
    line-height: 1.13;
    text-wrap: balance;
  }
  .medx-technology-section .section-copy {
    max-width: 860px;
    line-height: 1.8;
  }
  .medx-technology-section .medx-technology-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 60px;
    align-items: stretch;
  }
  .medx-technology-section .medx-technology-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 38px 36px;
  }
  .medx-technology-section .medx-technology-card h3 {
    font-size: clamp(1.3rem, 1.45vw, 1.55rem);
    line-height: 1.3;
  }
  .medx-technology-section .medx-technology-card p {
    line-height: 1.8;
  }
  .medx-technology-section .medx-technology-card a {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
  }
  .medx-technology-section .medx-technology-note {
    margin-top: 28px;
  }
}
@media (min-width: 851px) and (max-width: 980px) {
  .medx-technology-section > .container { width: 92%; }
  .medx-technology-section .medx-technology-grid { gap: 18px; }
  .medx-technology-section .medx-technology-card { padding: 26px 22px; }
}


/* MedX pathway refinements: technology-led, evidence-conscious presentation */
.medx-course-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr);gap:clamp(28px,4vw,65px);align-items:center}
.medx-course-hero-grid h1{font-size:clamp(2.4rem,4vw,3.8rem);line-height:1.08}
.medx-course-hero-grid .pathway-mini{gap:6px}
.medx-course-hero-grid .pathway-mini span,.medx-course-hero-grid .pathway-mini a{font-size:.72rem;padding:7px 9px}
.medx-hero-visual{border:1px solid rgba(170,225,246,.28);border-radius:22px;padding:26px;background:linear-gradient(155deg,rgba(255,255,255,.14),rgba(3,25,67,.56));box-shadow:0 28px 60px rgba(1,16,47,.26);color:#fff;min-width:0}
.medx-hero-visual h3{font-size:1.35rem;line-height:1.3;margin:9px 0 22px;color:#fff}
.medx-visual-label,.medx-context-kicker{font-size:.72rem;letter-spacing:.12em;font-weight:800;color:#86e0f0}
.medx-stat-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}
.medx-stat-row>div{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:15px}
.medx-stat-row small{display:block;font-size:.72rem;color:#c7dce9}.medx-stat-row strong{display:block;font-size:1.7rem;margin-top:4px}
.medx-chart-label{font-size:.8rem;color:#c7dce9;margin-bottom:8px}.medx-bars{display:flex;align-items:flex-end;gap:9px;height:110px;padding:10px 12px 0;border-bottom:1px solid rgba(255,255,255,.25);margin-bottom:18px}
.medx-bars i{display:block;flex:1;background:linear-gradient(0deg,#1fa7d8,#81e5ef);border-radius:5px 5px 0 0}
.medx-data-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.15);font-size:.83rem}.medx-data-row em{font-style:normal;color:#a5e9ee;font-size:.75rem;text-align:right}
.medx-hero-visual .medx-visual-disclaimer{font-size:.72rem;color:#b9d4e3;margin:18px 0 0;line-height:1.5}
.medx-flow{display:flex;gap:7px;align-items:center;justify-content:space-between;margin:18px 0}.medx-flow span{font-size:.73rem;padding:10px 7px;border-radius:9px;background:rgba(255,255,255,.12);text-align:center}.medx-flow b{color:#86e0f0}
.medx-vertical-flow{display:grid;gap:9px}.medx-vertical-flow>div{display:grid;grid-template-columns:32px 1fr;gap:0 10px;padding:12px;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:rgba(255,255,255,.08)}.medx-vertical-flow span{grid-row:span 2;color:#86e0f0;font-weight:800}.medx-vertical-flow strong{font-size:.88rem}.medx-vertical-flow small{color:#c7dce9;font-size:.75rem}
.medx-platform-context{padding:60px 0;background:#f0f6fb;border-top:1px solid #e0eaf2}.medx-context-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:36px;align-items:center}.medx-platform-context .medx-context-kicker{color:#087ea1}.medx-platform-context h2{color:#092957;font-size:clamp(1.65rem,3vw,2.3rem);margin:10px 0 15px}.medx-platform-context p{color:#36526a;line-height:1.7}.medx-context-note{padding:24px;border:1px solid #d7e6ef;border-left:4px solid #0b9fbd;border-radius:12px;background:#fff}.medx-context-note strong{color:#092957}.medx-context-note p{margin:10px 0 0;font-size:.91rem}
@media(max-width:900px){.medx-course-hero-grid,.medx-context-grid{grid-template-columns:1fr}.medx-hero-visual{max-width:630px}.medx-course-hero-grid h1{font-size:clamp(2.5rem,6vw,4rem)}}
@media(max-width:520px){.medx-hero-visual{padding:18px}.medx-flow{flex-wrap:wrap}.medx-course-hero-grid .pathway-mini{gap:5px}.medx-course-hero-grid .pathway-mini span,.medx-course-hero-grid .pathway-mini a{font-size:.67rem}}

/* Technology-first positioning: additive styles, preserving approved layouts */
.medx-proof-section{padding:clamp(58px,7vw,105px) 0;background:#f5f9fd;color:#132a45}.medx-proof-heading{max-width:870px;margin:0 auto 35px;text-align:center}.medx-proof-eyebrow{display:inline-block;font-size:.74rem;font-weight:800;letter-spacing:.15em;color:#146c9b;margin-bottom:14px}.medx-proof-heading h2{font-family:var(--mx-font-head);font-size:clamp(1.85rem,3.2vw,2.85rem);line-height:1.18;color:#102b4c;margin:0 0 17px}.medx-proof-heading p{font-size:1.04rem;line-height:1.8;color:#53687f;margin:0}.medx-proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.medx-proof-card{background:#fff;border:1px solid #dce7f0;border-radius:20px;padding:29px;box-shadow:0 14px 32px rgba(18,52,89,.055)}.medx-proof-card h3{font-size:1.22rem;color:#102b4c;margin:17px 0 11px}.medx-proof-card p{line-height:1.75;color:#50657c}.medx-proof-card a{display:inline-block;margin-top:13px;color:#006d9c;font-weight:800;text-decoration:none}.medx-proof-tag{display:inline-block;border-radius:999px;padding:7px 12px;font-size:.68rem;letter-spacing:.08em;font-weight:800}.medx-proof-tag.live{color:#0c7159;background:#e4f7ef}.medx-proof-tag.planned{color:#866119;background:#fff4d7}.medx-workflow-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.medx-workflow-step{border:1px solid #dce7f0;background:white;border-radius:15px;padding:21px 16px;display:flex;flex-direction:column;gap:9px}.medx-workflow-step span{color:#1673a0;font-weight:800;font-size:.8rem}.medx-workflow-step strong{color:#102b4c;font-size:1.05rem}.medx-workflow-step small{line-height:1.5;color:#5c6f82}.medx-proof-footnote{text-align:center;color:#607489;font-size:.85rem;margin-top:24px}.medx-tech-strip{background:#0d2440;color:#e8f4ff;padding:19px 0}.medx-tech-strip .container{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.medx-tech-strip strong{font-size:.96rem}.medx-tech-strip span{font-size:.9rem;line-height:1.65;max-width:720px}.medx-tech-strip a{color:#80e5ff;font-weight:800;text-decoration:underline}@media(max-width:850px){.medx-proof-grid{grid-template-columns:1fr}.medx-workflow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.medx-workflow-grid{grid-template-columns:1fr}.medx-proof-card{padding:23px}}

/* Launch refinement: accessibility and simulator product demonstration */
.skip-to-content{position:absolute;top:-80px;left:12px;z-index:9999;background:#fff;color:#071d37;padding:12px 18px;border-radius:8px;font-weight:700}.skip-to-content:focus{top:12px}a:focus-visible,button:focus-visible{outline:3px solid #12b9cf;outline-offset:3px}.medx-tour-section{padding:88px 0;background:#f3f8fb}.medx-tour-heading{max-width:850px;margin-bottom:32px}.medx-tour-heading h2{font-size:clamp(1.9rem,3.3vw,3rem);line-height:1.16;color:#092744;margin:12px 0 14px}.medx-tour-heading p{color:#415a6d;line-height:1.8}.medx-tour-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.8fr);gap:28px;align-items:center}.medx-tour-window{overflow:hidden;border-radius:18px;border:1px solid #d3e2ea;background:#fff;box-shadow:0 24px 55px rgba(7,29,55,.12)}.medx-tour-top{display:flex;align-items:center;gap:10px;background:#0a2744;color:#fff;padding:16px 20px}.medx-tour-dot{width:11px;height:11px;border-radius:50%;background:#16c4d6}.medx-tour-badge{margin-left:auto;font-size:.66rem;letter-spacing:.09em;color:#9de9f0}.medx-tour-body{display:grid;grid-template-columns:175px 1fr;min-height:290px}.medx-tour-sidebar{background:#eaf3f8;padding:18px 10px;display:flex;flex-direction:column;gap:8px}.medx-tour-sidebar span{padding:10px 11px;border-radius:7px;font-size:.76rem;color:#36536a}.medx-tour-sidebar .selected{background:#fff;color:#073451;font-weight:700}.medx-tour-main{padding:25px}.medx-tour-main small{color:#087f9a;font-weight:800;letter-spacing:.1em}.medx-tour-main h3{font-size:1.22rem;color:#102f4b;margin:10px 0 18px}.medx-tour-steps{display:grid;gap:10px}.medx-tour-steps div{display:flex;gap:12px;align-items:center;padding:10px 12px;border:1px solid #e2edf3;border-radius:8px;font-size:.85rem;color:#24445b}.medx-tour-steps b{color:#008ba3}.medx-tour-note{font-size:.73rem;color:#587285;margin-top:16px}.medx-tour-aside h3{font-size:1.5rem;color:#092744}.medx-tour-aside p{color:#415a6d;line-height:1.8}.medx-tour-aside .btn{display:inline-flex;margin:12px 0 16px}.medx-tour-link{display:block;font-weight:700;color:#086c8a}.medx-tour-home-link{display:inline-block;margin:14px 0 0 5%;padding:12px 18px;border-radius:9px;background:#e5f6fa;color:#064864;font-weight:800;text-decoration:none}@media(max-width:820px){.medx-tour-layout{grid-template-columns:1fr}.medx-tour-section{padding:55px 0}}@media(max-width:480px){.medx-tour-body{grid-template-columns:1fr}.medx-tour-sidebar{display:grid;grid-template-columns:1fr 1fr}.medx-tour-main{padding:18px}.medx-tour-badge{font-size:.52rem}}

/* Final corporate homepage hero refinement */
.medx-home-hero .hero-copy h1 { font-size: clamp(2.75rem, 3.55vw, 4.1rem); line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: normal; }
@media (min-width: 981px) and (max-width: 1250px) { .medx-home-hero .hero-copy h1 { font-size: clamp(2.45rem, 3.4vw, 3.5rem); } }
@media (max-width: 980px) { .medx-home-hero .hero-copy h1 { font-size: clamp(2.6rem, 6.5vw, 4rem); } }
@media (max-width: 520px) { .medx-home-hero .hero-copy h1 { font-size: clamp(2.25rem, 9vw, 3.05rem); } }

/* Final product and organisational clarity */
.medx-status-strip{padding:48px 0;background:#edf6fc;color:#0b294c}
.medx-status-strip-inner{display:flex;align-items:center;justify-content:space-between;gap:32px}
.medx-status-strip h2,.medx-org-discovery h2{font-size:clamp(1.6rem,2.5vw,2.4rem);margin:10px 0}
.medx-status-strip p,.medx-org-discovery p{max-width:740px;line-height:1.75}
.medx-status-strip .btn{white-space:nowrap}
.medx-org-discovery{padding:65px 0;background:#edf6fc;color:#0b294c}
.medx-org-discovery .btn{margin-top:15px}
@media(max-width:780px){.medx-status-strip-inner{flex-direction:column;align-items:flex-start}.medx-status-strip .btn{white-space:normal}}


/* Photo-backed homepage hero: visible healthcare workspace with readable copy. */
.medx-home-hero {
  background-color: #092653;
  background-image:
    linear-gradient(90deg, rgba(2, 13, 39, .78) 0%, rgba(3, 19, 48, .62) 31%, rgba(5, 30, 68, .38) 62%, rgba(5, 38, 86, .30) 100%),
    url('../assets/medx-art-hero.svg');
  background-position: center, center;
  background-size: cover;
  background-repeat: no-repeat;
}
.medx-home-hero::before { opacity: .12; }
.medx-home-hero .hero-copy { text-shadow: 0 2px 18px rgba(0, 9, 28, .22); }
@media (min-width: 1200px) {
  .medx-home-hero { padding-block: clamp(88px, 6.3vw, 126px) clamp(82px, 5.7vw, 114px); }
  .medx-home-hero > .container { width: min(1800px, 92%); max-width: none; }
  .medx-home-hero .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(55px, 5vw, 108px); }
  .medx-home-hero .hero-copy { justify-self: start; }
  .medx-home-hero .hero-product-wrap { justify-self: end; max-width: 760px; width: 100%; margin-right: 0; }
  .medx-home-hero .hero-copy h1 { max-width: 780px; }
}
@media (min-width: 1600px) {
  .medx-home-hero > .container { width: 92%; }
  .medx-home-hero .hero-copy h1 { font-size: clamp(3.35rem, 3.4vw, 4.5rem); }
}
@media (max-width: 1199px) {
  .medx-home-hero { background-position: center, 56% center; }
}
@media (max-width: 980px) {
  .medx-home-hero { background-image: linear-gradient(120deg,rgba(2,16,46,.84),rgba(3,31,76,.48)),url('../assets/medx-art-hero.svg'); }
  .medx-home-hero .hero-product-wrap { margin-inline: auto; }
}


/* CONSISTENT PHOTOGRAPHIC PAGE HEROES — 2026-10-13
   A single locally hosted image is used across all public-facing pages.
   Hero text and product illustrations stay in the HTML and remain accessible. */
:root { --medx-photo: url('../assets/medx-art-hero.svg'); }
.medx-home-hero {
  background: linear-gradient(90deg, rgba(2,14,39,.70) 0%, rgba(3,24,58,.53) 44%, rgba(5,36,79,.26) 100%), var(--medx-photo) center / cover no-repeat #061b42;
}
.page-hero {
  isolation:isolate;
  background: linear-gradient(95deg,rgba(2,15,44,.79) 0%,rgba(4,30,72,.60) 56%,rgba(6,48,96,.30) 100%), var(--medx-photo) center 45% / cover no-repeat #061b42;
}
.page-hero::after { pointer-events:none; }
@media (max-width: 720px) {
  .medx-home-hero, .page-hero { background-position:center, 54% center; }
  .medx-home-hero { background-image: linear-gradient(110deg,rgba(2,14,39,.83),rgba(3,24,58,.63)), var(--medx-photo); }
  .page-hero { background-image: linear-gradient(110deg,rgba(2,14,39,.87),rgba(3,24,58,.68)), var(--medx-photo); }
}

/* MEDX SITEWIDE PHOTOGRAPHIC SYSTEM — local photo-based conceptual imagery.
   All major content sections have visible photographic backgrounds, while
   cards and content surfaces retain their contrast and legibility. */
:root { --medx-photo-1:url('../assets/medx-art-hero.svg'); --medx-photo-2:url('../assets/medx-art-hero.svg'); --medx-photo-3:url('../assets/medx-art-hero.svg'); }
.medx-home-hero, .page-hero {
  background-image:linear-gradient(95deg,rgba(2,13,40,.75) 0%,rgba(3,24,59,.47) 53%,rgba(5,38,83,.27) 100%),var(--medx-photo-1) !important;
  background-position:center,center !important;background-size:cover,cover !important;
}
/* Bright content sections use translucent white to keep dark text accessible. */
main:not(.mx-home) > section:not(.hero):not(.medx-home-hero):not(.page-hero):not(.medx-technology-section),
main:not(.mx-home) > .section:not(.hero):not(.page-hero):not(.medx-technology-section) {
  background-image:linear-gradient(110deg,rgba(248,251,255,.91),rgba(239,247,255,.86)),var(--medx-photo-2) !important;
  background-position:center,center !important;background-size:cover,cover !important;
}
/* Dark feature sections preserve white copy and their original card treatments. */
.medx-technology-section, .section.method, .section.capability-section {
  background-image:linear-gradient(110deg,rgba(3,19,57,.83),rgba(5,52,110,.67)),var(--medx-photo-3) !important;
  background-position:center,center !important;background-size:cover,cover !important;
}
.medx-technology-section .container,.section.method .container,.section.capability-section .container {position:relative;z-index:1;}
@media(max-width:720px){.medx-home-hero,.page-hero{background-image:linear-gradient(110deg,rgba(2,13,40,.85),rgba(3,24,59,.70)),var(--medx-photo-1) !important;}}

/* Final photographic treatment: cleanly separated, softly blurred backgrounds.
   No background tiling; foreground cards and text are unaffected. */
:root {
 --medx-photo-1:url('../assets/medx-art-hero.svg');
 --medx-photo-2:url('../assets/medx-art-hero.svg');
 --medx-photo-3:url('../assets/medx-art-hero.svg');
 --medx-photo:url('../assets/medx-art-hero.svg');
}
.medx-home-hero,.page-hero { background-repeat:no-repeat,no-repeat !important; }
.medx-technology-section,.section.method,.section.capability-section,
main:not(.mx-home) > section:not(.hero):not(.medx-home-hero):not(.page-hero):not(.medx-technology-section),
main:not(.mx-home) > .section:not(.hero):not(.page-hero):not(.medx-technology-section) {
 background-repeat:no-repeat,no-repeat !important;
}


/* ===== Endorsement-readiness additions (October 2026) ===== */
.medx-voices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:1080px;margin:40px auto 0}
.medx-voice{margin:0;background:#fff;border:1px solid #dbe5f1;border-radius:18px;padding:28px 26px;box-shadow:0 14px 35px rgba(9,38,84,.06);display:flex;flex-direction:column;justify-content:space-between;gap:20px}
.medx-voice blockquote{margin:0;color:#173358;font-size:16px;line-height:1.65}
.medx-voice figcaption strong{display:block;color:#0b2248;font-size:15px}
.medx-voice figcaption span{display:block;color:#536983;font-size:14px;margin-top:2px}
@media(max-width:900px){.medx-voices{grid-template-columns:1fr;max-width:620px}}

.medx-diff{background:#fff;color:#0b2248}
.medx-diff .eyebrow{color:#1764ad}
.medx-diff .section-title{color:#0b2248;max-width:860px;margin-left:auto;margin-right:auto}
.medx-diff .section-copy{color:#52657e;max-width:760px;margin-left:auto;margin-right:auto}
.medx-diff-now{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:40px 0 0}
.medx-diff-now article{border:1px solid #dbe5f1;border-radius:16px;padding:24px;background:#f7faff}
.medx-diff-now h3{margin:0 0 8px;font-size:17px;color:#0b2248}
.medx-diff-now p{margin:0;color:#52657e;font-size:15px;line-height:1.6}
.medx-diff-now .gap{display:block;margin-top:12px;color:#a63a3a;font-size:13px;font-weight:700;letter-spacing:.02em}
.medx-diff-panel{margin-top:22px;border-radius:22px;padding:36px;background:linear-gradient(135deg,#061b50,#0b3a7a);color:#fff}
.medx-diff-panel>h3{margin:0 0 22px;font-size:22px;color:#fff}
.medx-diff-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.medx-diff-grid h4{margin:0 0 8px;font-size:17px;color:#85e0ef}
.medx-diff-grid p{margin:0;color:rgba(255,255,255,.86);font-size:15px;line-height:1.65}
.medx-tag{display:inline-block;margin-left:8px;padding:2px 9px;border-radius:999px;background:#fff5df;color:#9a6410;font-size:11px;font-weight:800;letter-spacing:.04em;vertical-align:middle}
@media(max-width:900px){.medx-diff-now,.medx-diff-grid{grid-template-columns:1fr}.medx-diff-panel{padding:26px 22px}}

.medx-fees{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:38px}
.medx-fee{background:#fff;border:1px solid #dbe5f1;border-radius:18px;padding:28px 26px;box-shadow:0 14px 35px rgba(9,38,84,.06)}
.medx-fee .kicker{color:#1764ad;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.medx-fee .amount{display:block;margin:12px 0 4px;color:#0b2248;font-size:34px;font-weight:800;line-height:1.1}
.medx-fee .unit{display:block;color:#536983;font-size:14px;font-weight:700}
.medx-fee p{margin:14px 0 0;color:#52657e;font-size:15px;line-height:1.6}
.medx-fees-note{max-width:720px;margin:24px auto 0;text-align:center;color:#536983;font-size:14px;line-height:1.7}
@media(max-width:900px){.medx-fees{grid-template-columns:1fr;max-width:560px;margin-left:auto;margin-right:auto}}

.medx-contact{background:#f4f8fd;color:#0b2248}
.medx-contact-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:40px;align-items:start}
.medx-contact .eyebrow{color:#1764ad}
.medx-contact .section-title{color:#0b2248}
.medx-contact-copy p{color:#52657e;line-height:1.7}
.medx-contact-direct{display:flex;flex-direction:column;gap:12px;margin-top:24px}
.medx-contact-direct a{display:flex;align-items:center;gap:12px;padding:14px 18px;border:1px solid #dbe5f1;border-radius:14px;background:#fff;color:#0b2248;font-weight:700;text-decoration:none}
.medx-contact-direct a:hover{border-color:#2585d9}
.medx-contact-direct small{display:block;color:#536983;font-weight:500}
.medx-form{background:#fff;border:1px solid #dbe5f1;border-radius:20px;padding:30px;box-shadow:0 14px 35px rgba(9,38,84,.06)}
.medx-form .row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.medx-form label{display:block;margin:0 0 16px;color:#173358;font-size:14px;font-weight:700}
.medx-form input,.medx-form select,.medx-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:12px 14px;border:1px solid #c9d6e6;border-radius:10px;font:inherit;font-weight:400;color:#142033;background:#fff}
.medx-form textarea{min-height:120px;resize:vertical}
.medx-form input:focus,.medx-form select:focus,.medx-form textarea:focus{outline:3px solid rgba(37,133,217,.35);border-color:#2585d9}
.medx-form .consent{display:flex;gap:10px;align-items:flex-start;font-weight:500;color:#52657e;line-height:1.55}
.medx-form .consent input{width:auto;margin-top:4px}
.medx-form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.medx-form button{width:100%;border:0;cursor:pointer}
.medx-form-status{margin:14px 0 0;font-size:14px;font-weight:700;min-height:1.4em}
.medx-form-status.ok{color:#0f6b49}
.medx-form-status.err{color:#a63a3a}
@media(max-width:900px){.medx-contact-grid{grid-template-columns:1fr}.medx-form{padding:22px}}
@media(max-width:560px){.medx-form .row{grid-template-columns:1fr;gap:0}}
.medx-diff .section-title{font-size:clamp(28px,3.4vw,44px);line-height:1.15}
.medx-contact .section-title{margin-bottom:14px}

/* ===== MedX brand artwork system (October 2026) =====
   Replaces all earlier stock-photo backgrounds. This block is final and authoritative:
   heroes = pathway artwork, dark feature sections = sparse network, light sections = dot grid. */
.medx-home-hero,.page-hero,.service-hero{
  background:linear-gradient(90deg,rgba(4,19,52,.94) 0%,rgba(4,19,52,.72) 42%,rgba(4,19,52,.18) 100%),url('../assets/medx-art-hero.svg') center/cover no-repeat,#061b50 !important;
}
@media(max-width:980px){
  .medx-home-hero,.page-hero,.service-hero{
    background:linear-gradient(180deg,rgba(4,19,52,.90),rgba(4,19,52,.80)),url('../assets/medx-art-hero.svg') 70% center/cover no-repeat,#061b50 !important;
  }
}
.medx-technology-section,.section.method,.section.capability-section{
  background:url('../assets/medx-art-dark.svg') center/cover no-repeat,#061b50 !important;
}
main:not(.mx-home) > section:not(.hero):not(.medx-home-hero):not(.page-hero):not(.service-hero):not(.medx-technology-section):not(.method):not(.capability-section),
main:not(.mx-home) > .section:not(.hero):not(.page-hero):not(.service-hero):not(.medx-technology-section):not(.method):not(.capability-section){
  background:url('../assets/medx-art-light.svg') repeat,#f6f9fd !important;
}
main:not(.mx-home) > section.medx-diff,main:not(.mx-home) > section.medx-contact{background:url('../assets/medx-art-light.svg') repeat,#ffffff !important;}

/* Accessibility fixes from axe-core audit (October 2026) */
.workspace-note,.synthetic-note,.legal-meta{color:#56677c !important}
main p a:not(.btn),main:not(.mx-home) li a:not(.btn){text-decoration:underline;text-underline-offset:2px}


/* ===== Trust pages and articles (October 2026) ===== */
.prose{max-width:760px;margin:0 auto;color:#334155;font-size:17px;line-height:1.75}
.prose h2{font-family:var(--mx-font-head);color:#0b2248;font-size:clamp(24px,2.6vw,30px);line-height:1.25;margin:48px 0 14px}
.prose h3{color:#0b2248;font-size:19px;margin:30px 0 8px}
.prose p,.prose ul,.prose ol{margin:0 0 18px}
.prose li{margin:0 0 8px}
.prose strong{color:#142033}
.prose .callout{border-left:4px solid var(--mx-teal);background:#e9f8fb;border-radius:0 12px 12px 0;padding:18px 22px;margin:26px 0}
.prose .callout p:last-child{margin:0}
.prose table{width:100%;border-collapse:collapse;margin:8px 0 24px;font-size:15px;line-height:1.55}
.prose th,.prose td{text-align:left;vertical-align:top;padding:12px 14px;border-bottom:1px solid #dbe5f1}
.prose th{color:#0b2248;background:#f1f6fc;font-weight:700}
.prose .meta{color:#56677c;font-size:14px;margin:0 0 28px}
.prose .sources{border-top:1px solid #dbe5f1;margin-top:44px;padding-top:20px;font-size:15px}
.prose .sources h2{font-size:18px;margin:0 0 10px}
.table-scroll{overflow-x:auto}
.trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:1080px;margin:0 auto 10px}
.trust-card{background:#fff;border:1px solid #dbe5f1;border-radius:16px;padding:22px}
.trust-card strong{display:block;color:#0b2248;font-size:16px;margin-bottom:6px}
.trust-card span{color:#56677c;font-size:14px;line-height:1.55}
.article-cover{display:block;width:100%;max-width:960px;aspect-ratio:1200/630;object-fit:cover;border-radius:20px;margin:0 auto 40px;box-shadow:0 18px 40px rgba(6,27,80,.18)}
.article-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:36px}
.article-card{display:flex;flex-direction:column;background:#fff;border:1px solid #dbe5f1;border-radius:18px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 14px 35px rgba(9,38,84,.06);transition:transform .2s,box-shadow .2s}
.article-card:hover{transform:translateY(-3px);box-shadow:0 20px 44px rgba(9,38,84,.12)}
.article-card img{display:block;width:100%;aspect-ratio:1200/630;object-fit:cover}
.article-card div{padding:22px 22px 26px}
.article-card small{display:block;color:#1764ad;font-weight:800;font-size:12px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px}
.article-card h3{margin:0 0 10px;color:#0b2248;font-size:19px;line-height:1.35}
.article-card p{margin:0;color:#56677c;font-size:15px;line-height:1.6}
.article-card .read{display:inline-block;margin-top:14px;color:#0867bd;font-weight:800;font-size:14px}
@media(max-width:980px){.trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-list{grid-template-columns:1fr;max-width:620px;margin-left:auto;margin-right:auto}}
@media(max-width:520px){.trust-grid{grid-template-columns:1fr}.prose{font-size:16px}}
@media(prefers-reduced-motion:reduce){.article-card{transition:none}.article-card:hover{transform:none}}
.legal-meta a{text-decoration:underline;text-underline-offset:2px}
.medx-tour-steps b{color:#007489}
.legal-meta a,main p a:not(.btn),main:not(.mx-home) li a:not(.btn){text-decoration:underline !important;text-underline-offset:2px}

/* Core 8-week programme (aligned with Business Plan v3.1, sections 4.1-4.2) */
.medx-prog-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:36px 0 0}
.medx-prog-fact{background:#fff;border:1px solid #dbe5f1;border-radius:16px;padding:20px 18px;text-align:center}
.medx-prog-fact strong{display:block;color:#0b2248;font-size:28px;font-weight:800;line-height:1.1}
.medx-prog-fact span{display:block;margin-top:6px;color:#536983;font-size:14px;font-weight:700}
.medx-prog-stages{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:12px}
.medx-prog-stage{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:start;background:#fff;border:1px solid #dbe5f1;border-radius:14px;padding:16px 20px}
.medx-prog-stage .when{color:#1764ad;font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding-top:2px}
.medx-prog-stage h3{margin:0;color:#0b2248;font-size:17px}
.medx-prog-stage p{margin:4px 0 0;color:#52657e;font-size:15px;line-height:1.6}
.medx-prog-stage.optional{border-style:dashed}
.medx-prog-cta{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:28px}
@media(max-width:900px){.medx-prog-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.medx-prog-stage{grid-template-columns:1fr;gap:4px}.medx-prog-fact strong{font-size:24px}}

/* Career support: link to the core programme */
.medx-prog-link{background:#eef5fc;border-bottom:1px solid #dbe5f1}
.medx-prog-link .container{display:flex;gap:14px;align-items:flex-start;padding-top:18px;padding-bottom:18px}
.medx-prog-link p{margin:0;color:#24405f;font-size:15px;line-height:1.65}
.medx-prog-link strong{color:#0b2248}
.medx-prog-link a{color:#0751a2;font-weight:700}

/* Accessibility: method step numbers meet WCAG AA contrast on light and tinted backgrounds */
.method-step .method-num{color:#0751a2 !important}

/* Footer about line */
.footer-about { margin-top: 14px; }

/* =========================================================
   Harmonisation layer: brings older inner pages into line with
   the redesign (tokens, calmer surfaces, sentence-case labels).
   ========================================================= */
.page-hero { background: var(--mx-navy) !important; }
.page-hero::before, .page-hero::after { display: none !important; }
main:not(.mx-home) > section:not(.hero):not(.medx-home-hero):not(.page-hero):not(.service-hero):not(.medx-technology-section):not(.method):not(.capability-section),
main:not(.mx-home) > .section:not(.hero):not(.page-hero):not(.service-hero):not(.medx-technology-section):not(.method):not(.capability-section) { background: var(--mx-white) !important; }
main:not(.mx-home) > section.section:nth-of-type(odd):not(.page-hero):not(.medx-technology-section):not(.method):not(.capability-section) { background: var(--mx-mist) !important; }
.eyebrow { text-transform: none !important; letter-spacing: 0 !important; font-weight: 700; }
.page-hero .eyebrow, .page-hero .kicker { color: var(--mx-teal) !important; }
.section-title, .page-hero h1, main h2, main h3 { font-family: var(--mx-font-head); }
.card, .medx-fee, .medx-prog-stage, .medx-prog-fact, .medx-proof-card, .medx-workflow-step, .method-step { border-radius: var(--mx-r) !important; box-shadow: none !important; border-color: var(--mx-line) !important; }
.btn { border-radius: var(--mx-r-sm); font-family: var(--mx-font-head); }
.btn-primary { background: var(--mx-gold); border-color: var(--mx-gold); color: var(--mx-navy); }
.btn-primary:hover { box-shadow: none; background: #ffc24f; }
.medx-contact .eyebrow { color: var(--mx-teal-ink); }

/* Breadcrumb links: underlined so they are distinguishable without colour */
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }

/* Pathway availability label (learning pathway pages) */
.medx-path-status { margin: 14px 0 0; }
.medx-path-status span { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .875rem; font-weight: 700; color: #7fe6dd; background: rgba(0, 179, 166, .15); border: 1px solid rgba(127, 230, 221, .35); }

/* Site-wide data-network background on light sections (matches the homepage).
   A softer version of the pattern is used here because these sections carry body text. */
.medx-contact,
.mx-section--mist,
main:not(.mx-home) > section.section:nth-of-type(odd):not(.page-hero):not(.medx-technology-section):not(.method):not(.capability-section),
main:not(.mx-home) > section.medx-diff,
main:not(.mx-home) > section.medx-contact {
  background: url("../assets/net-pattern-soft.svg") repeat, var(--mx-mist) !important;
  background-size: 520px 360px, auto !important;
}
html body main:not(.mx-home) > section.section.method.method.method.method,
html body main:not(.mx-home) > section.section.capability-section.capability-section.capability-section.capability-section {
  background: url("../assets/net-pattern-soft.svg") repeat, var(--mx-mist) !important;
  background-size: 520px 360px, auto !important;
}

/* ===== Page photography =====
   Hero: photo sits on the right, fading into navy under the text so headings keep full contrast.
   Photo band: one wide, rounded image between the opening sections. */
html body section.has-photo.has-photo {
  background:
    linear-gradient(90deg, var(--mx-navy) 0%, var(--mx-navy) 40%, rgba(10, 36, 99, .86) 56%, rgba(10, 36, 99, .45) 78%, rgba(10, 36, 99, .25) 100%),
    var(--hero-photo) right center / cover no-repeat,
    var(--mx-navy) !important;
}
@media (max-width: 900px) {
  html body section.has-photo.has-photo {
    background:
      linear-gradient(180deg, rgba(10, 36, 99, .92), rgba(10, 36, 99, .88)),
      var(--hero-photo) center / cover no-repeat,
      var(--mx-navy) !important;
  }
}
.mx-photoband { padding: clamp(24px, 4vw, 48px) 0; background: var(--mx-white); }
.mx-photoband .mx-wrap { width: min(1180px, 100% - 2rem); margin-inline: auto; }
.mx-photoband figure { margin: 0; }
.mx-photoband img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--mx-r-lg); box-shadow: 0 24px 50px -30px rgba(10, 36, 99, .45); }
@media (max-width: 700px) { .mx-photoband img { aspect-ratio: 16 / 10; } }

.hero-photo--admin { --hero-photo: url('../assets/photos/pages/admin-hero.webp'); }
.hero-photo--analytics { --hero-photo: url('../assets/photos/pages/analytics-hero.webp'); }
.hero-photo--informatics { --hero-photo: url('../assets/photos/pages/informatics-hero.webp'); }
.hero-photo--rtt { --hero-photo: url('../assets/photos/pages/rtt-hero.webp'); }
.hero-photo--programme { --hero-photo: url('../assets/photos/pages/programme-hero.webp'); }
.hero-photo--simulator { --hero-photo: url('../assets/photos/pages/simulator-hero.webp'); }
.hero-photo--organisations { --hero-photo: url('../assets/photos/pages/organisations-hero.webp'); }
.hero-photo--career { --hero-photo: url('../assets/photos/pages/career-hero.webp'); }
.hero-photo--about { --hero-photo: url('../assets/photos/pages/about-hero.webp'); }
.hero-photo--careers { --hero-photo: url('../assets/photos/pages/careers-hero.webp'); }

/* Navigation fit: seven items plus the button. Keep labels on one line,
   tighten between 1101 and 1280px, and switch to the menu button at 1180px and below. */
.desktop-nav > li > a, .nav-dropdown > button, .desktop-nav .nav-cta-main { white-space: nowrap; }
@media (max-width: 1280px) {
  .desktop-nav { gap: 18px !important; }
  .desktop-nav > li > a, .nav-dropdown > button { font-size: .84rem !important; }
}
@media (max-width: 1180px) {
  .desktop-nav { display: none !important; }
  .menu-btn { display: grid !important; place-items: center; }
}

/* Blurred hospital photo behind navy page heads that have no hero photo of their own.
   The image is pre-blurred (small file, no CSS filter cost) and sits under a navy layer so text keeps full contrast. */
html body section.page-hero:not(.has-photo),
html body section.mx-hero:not(.has-photo),
html body .mxb-hero__panel {
  background:
    linear-gradient(100deg, rgba(10, 36, 99, .90) 0%, rgba(10, 36, 99, .76) 55%, rgba(10, 36, 99, .62) 100%),
    url("../assets/photos/hospital-blur.webp") center / cover no-repeat,
    var(--mx-navy) !important;
}

/* Student login: quieter than the main links, with a separator so it reads as a utility link */
.desktop-nav .nav-login { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--mx-r-sm); color: #fff !important; font-size: .84rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.desktop-nav .nav-login:hover, .desktop-nav .nav-login:focus-visible { background: rgba(255, 255, 255, .12); }
@media (max-width: 1360px) { .desktop-nav { gap: 16px !important; } .desktop-nav > li > a, .nav-dropdown > button { font-size: .82rem !important; } }
@media (max-width: 1260px) { .desktop-nav { display: none !important; } .menu-btn { display: grid !important; place-items: center; } }
.hero-photo--insights { --hero-photo: url('../assets/photos/pages/insights-hero.webp'); }

/* Footer column headings are h2 for a correct heading order; styled as before */
.footer h2.footer-h { margin: 0 0 14px; color: #9eb5ca; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4; }
/* Illustrative card titles on pathway pages (not document headings) */
.medx-hero-visual .medx-visual-title { font-family: var(--mx-font-head); font-weight: 800; font-size: 1.35rem; line-height: 1.3; margin: 9px 0 22px; color: #fff; }
