/**
 * Shared public-site chrome (header + inner pages + marketing footer).
 * Mega-nav chrome aligns with docs/hipaaemail-master-good-one.html (light fixed header).
 */

/* ── Prototype-aligned fixed header + light page shell ── */
body.site-mega-chrome {
  --site-nav-h: 66px;
  --site-ann-h: 0px;
  padding-top: calc(var(--site-nav-h) + var(--site-ann-h));
  background: #ffffff;
  color: #334155;
  scroll-behavior: smooth;
}

.header-scroll-sentinel {
  position: absolute;
  top: 20px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
}

html.has-site-ann-bar {
  --site-ann-h: 42px;
}

.site-ann-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: linear-gradient(90deg, #2563eb, #0d9488);
  color: #fff;
  font-size: 0.79rem;
  font-weight: 500;
}

.site-ann-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 42px;
  padding: 0.45rem 0;
  text-align: center;
}

.site-ann-bar__text {
  margin: 0;
  line-height: 1.45;
}

.site-ann-bar__link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 0.35rem;
}

.site-ann-bar__link:hover {
  color: #e0f2fe;
}

.site-ann-bar__close {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0.25rem 0.35rem;
}

.site-ann-bar__close:hover {
  color: #fff;
}

html.has-site-ann-bar body.site-mega-chrome .site-header.site-header--mega {
  top: var(--site-ann-h);
}

html.has-site-ann-bar body.site-mega-chrome.mobile-nav-open .mobile-nav,
html.has-site-ann-bar body.site-mega-chrome .mobile-nav-backdrop {
  top: calc(var(--site-nav-h) + var(--site-ann-h));
}

body.site-mega-chrome.site-public-page {
  background: #ffffff;
  color: #334155;
}

body.site-mega-chrome.mobile-nav-open {
  overflow: hidden;
}

body.site-mega-chrome .site-header.site-header--mega {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid #f1f5f9;
  overflow: visible;
}

body.site-mega-chrome .site-header--mega.is-scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
}

body.site-mega-chrome .site-header__inner {
  flex-wrap: nowrap;
  align-items: center;
  min-height: var(--site-nav-h);
  width: min(1200px, calc(100% - 2rem));
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
  gap: 0.75rem 1rem;
}

body.site-mega-chrome .site-header__inner.shell {
  width: min(1200px, calc(100% - 2rem));
  max-width: 1200px;
}

body.site-mega-chrome .brand__name {
  color: #0f172a;
  font-weight: 800;
}

body.site-mega-chrome .brand__tag {
  color: #475569;
}

/* Prototype header is single-line brand — tagline caused truncation/overlap */
@media (min-width: 769px) {
  body.site-mega-chrome .brand__tag {
    display: none;
  }
}

/* Prototype has no theme picker in the header — keeps nav from crowding/overlapping */
body.site-mega-chrome .site-header__inner > .theme-select {
  display: none;
}

body.site-mega-chrome .site-header__inner > .brand {
  flex: 0 0 auto;
  min-width: auto;
  order: 1;
}

body.site-mega-chrome .site-header__inner > .nav-toggle {
  order: 4;
}

body.site-mega-chrome .site-nav.site-nav--mega {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
  order: 2;
  margin-left: 0;
  justify-content: center;
}

body.site-mega-chrome .site-header__inner > .site-header__actions {
  order: 3;
}

/* Neutralize legacy style.css flex rules that push nav + CTAs into one crowded group */
@media (min-width: 860px) {
  body.site-mega-chrome .site-header__inner > .site-nav.site-nav--mega {
    margin-left: 0;
    justify-content: center;
  }
}

body.site-mega-chrome .nav-toggle {
  background: #ffffff;
  border-color: #e2e8f0;
  flex-shrink: 0;
}

body.site-mega-chrome .nav-toggle__bar,
body.site-mega-chrome .nav-toggle__bar::before,
body.site-mega-chrome .nav-toggle__bar::after {
  background: #334155;
}

/* Legacy dark chrome (only if mega class missing) */
body.site-public-page:not(.site-mega-chrome) {
  background: #0a1628;
  color: rgba(255, 255, 255, 0.88);
  scroll-behavior: smooth;
}

body.site-public-page:not(.site-mega-chrome) .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 196, 180, 0.2);
}

body.site-public-page:not(.site-mega-chrome) .site-header__inner {
  padding-block: 0.85rem;
}

body.site-public-page:not(.site-mega-chrome) .brand__name,
body.site-public-page:not(.site-mega-chrome) .brand__tag {
  color: rgba(255, 255, 255, 0.85);
}

body.site-public-page:not(.site-mega-chrome) .brand__tag {
  color: rgba(255, 255, 255, 0.5);
}

body.site-public-page:not(.site-mega-chrome) .theme-select,
body.site-public-page:not(.site-mega-chrome) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* Desktop: legacy flat nav on dark header */
@media (min-width: 860px) {
  body.site-public-page:not(.site-mega-chrome) .site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
  }

  body.site-public-page:not(.site-mega-chrome) .site-nav a {
    color: rgba(255, 255, 255, 0.75);
  }

  body.site-public-page:not(.site-mega-chrome) .site-nav a:hover,
  body.site-public-page:not(.site-mega-chrome) .site-nav a.is-active {
    color: #00c4b4;
  }

  body.site-public-page:not(.site-mega-chrome) .site-nav__cta-secondary {
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    border-radius: 50px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.35);
  }
}

@media (max-width: 859px) {
  body.site-public-page:not(.site-mega-chrome) .site-nav:not(.is-open) {
    display: none;
  }

  body.site-public-page:not(.site-mega-chrome) .site-nav.is-open {
    flex: 0 0 auto;
    width: 100%;
    padding: 0.65rem 1rem 1rem;
    gap: 0.65rem;
    max-height: min(70vh, 28rem);
    overflow-y: auto;
  }

  body.site-public-page:not(.site-mega-chrome) .site-nav.is-open .site-nav__list {
    gap: 0.15rem;
  }

  body.site-public-page:not(.site-mega-chrome) .site-nav.is-open .site-nav__list a {
    color: var(--color-ink, #0f172a);
  }

  body.site-public-page:not(.site-mega-chrome) .site-nav.is-open .site-nav__list a:hover,
  body.site-public-page:not(.site-mega-chrome) .site-nav.is-open .site-nav__list a.is-active {
    color: var(--color-accent-deep, #0d9488);
    background: var(--color-nav-active-bg, rgba(13, 148, 136, 0.12));
  }

  body.site-public-page:not(.site-mega-chrome) .site-nav.is-open .site-nav__cta {
    width: 100%;
    margin-top: 0.25rem;
  }

  body.site-public-page:not(.site-mega-chrome) .site-nav.is-open .site-nav__cta-secondary {
    width: 100%;
    text-align: center;
    color: var(--color-ink, #0f172a);
    border-color: var(--color-border, #cbd5e1);
    background: transparent;
  }
}

body.home-marketing-page #main {
  padding: 0;
  margin: 0;
}

/* Inner pages (about, contact, map, forms) */
body.site-public-page:not(.home-marketing-page) #main {
  padding-bottom: 0;
}

body.site-mega-chrome .page-hero {
  background: linear-gradient(160deg, #eff6ff 0%, #fafeff 45%, #f0fdf9 100%);
}

body.site-mega-chrome .page-hero .eyebrow {
  color: #0d9488;
}

body.site-mega-chrome .page-hero__title {
  color: #0f172a;
}

body.site-mega-chrome .page-hero__lede {
  color: #64748b;
}

body.site-mega-chrome .prose h2 {
  color: #0f172a;
}

body.site-mega-chrome .prose p,
body.site-mega-chrome .prose li {
  color: #475569;
}

body.site-mega-chrome .prose a:not(.btn) {
  color: #2563eb;
}

body.site-mega-chrome .contact-card,
body.site-mega-chrome .map-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

body.site-mega-chrome .contact-card h1,
body.site-mega-chrome .map-card h1 {
  color: #0f172a;
}

body.site-mega-chrome .form__label {
  color: #334155;
}

body.site-mega-chrome .form__input,
body.site-mega-chrome .form__textarea,
body.site-mega-chrome select.form__input {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #0f172a;
}

body.site-public-page:not(.site-mega-chrome) .page-hero {
  background: linear-gradient(180deg, rgba(0, 196, 180, 0.08), transparent);
}

body.site-public-page:not(.site-mega-chrome) .page-hero .eyebrow {
  color: #00c4b4;
}

body.site-public-page:not(.site-mega-chrome) .page-hero__title {
  color: #fff;
}

body.site-public-page:not(.site-mega-chrome) .page-hero__lede {
  color: rgba(255, 255, 255, 0.65);
}

body.site-public-page .section {
  padding-bottom: 3rem;
}

body.site-public-page:not(.site-mega-chrome) .prose h2 {
  color: #fff;
}

body.site-public-page:not(.site-mega-chrome) .prose p,
body.site-public-page:not(.site-mega-chrome) .prose li {
  color: rgba(255, 255, 255, 0.72);
}

body.site-public-page:not(.site-mega-chrome) .prose a:not(.btn) {
  color: #00c4b4;
}

body.site-public-page:not(.site-mega-chrome) .contact-card,
body.site-public-page:not(.site-mega-chrome) .map-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
}

body.site-public-page:not(.site-mega-chrome) .contact-card h1,
body.site-public-page:not(.site-mega-chrome) .map-card h1 {
  color: #fff;
}

body.site-public-page:not(.site-mega-chrome) .form__label {
  color: rgba(255, 255, 255, 0.85);
}

body.site-public-page:not(.site-mega-chrome) .form__input,
body.site-public-page:not(.site-mega-chrome) .form__textarea,
body.site-public-page:not(.site-mega-chrome) select.form__input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Marketing-style site footer (all public pages) */
.site-footer.site-footer--marketing {
  background: #060e1c;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  margin-top: 0;
}

.site-footer--marketing .site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.site-footer--marketing .site-footer__brand .site-footer__logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  display: block;
  margin-bottom: 0.25rem;
}

.site-footer--marketing .site-footer__logo-accent {
  color: #00c4b4;
}

.site-footer--marketing .site-footer__brand p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.site-footer--marketing .site-footer__badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer--marketing .site-footer__badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #cbd5e1;
}

.site-footer--marketing .site-footer__heading {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: none;
  letter-spacing: 0;
}

.site-footer--marketing .site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.site-footer--marketing .site-footer__links li {
  margin: 0;
}

.site-footer--marketing a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.site-footer--marketing a:hover {
  color: #00c4b4;
  text-decoration: none;
}

.site-footer--marketing .site-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

@media (max-width: 1100px) {
  .site-footer--marketing .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .site-footer--marketing .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body.site-mega-chrome .site-header__inner {
    gap: 0.5rem;
  }

  .site-footer--marketing .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── Phase 1: Mega navigation (prototype-aligned) ── */
.site-nav--mega {
  align-items: center;
  min-width: 0;
}

.site-nav__mega {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}

.site-nav__link,
.site-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  font-size: 0.845rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  color: #64748b;
  white-space: nowrap;
  line-height: 1.2;
}

.site-nav__link:hover,
.site-nav__link.is-active,
.site-nav__trigger:hover,
.site-nav__trigger.is-active {
  color: #2563eb;
  background: #eff6ff;
}

.site-nav__chev {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.site-nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 230px;
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.13), 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 0.75rem;
  z-index: 1100;
}

.site-nav__dd-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.6rem 0.7rem;
  border-radius: 12px;
  text-decoration: none;
  color: #334155;
  transition: background 0.15s ease;
}

.site-nav__dd-item:hover,
.site-nav__dd-item.is-active {
  background: #f8fafc;
}

.site-nav__dd-item--soon {
  opacity: 0.72;
  cursor: default;
}

.site-nav__dd-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.site-nav__dd-icon--blue { background: #dbeafe; }
.site-nav__dd-icon--teal { background: #ccfbf1; }
.site-nav__dd-icon--green { background: #d1fae5; }
.site-nav__dd-icon--amber { background: #fef3c7; }
.site-nav__dd-icon--purple { background: #ede9fe; }

.site-nav__dd-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}

.site-nav__dd-sub {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
  line-height: 1.35;
  margin-top: 0.1rem;
}

.site-nav__badge {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: #f1f5f9;
  color: #64748b;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.site-nav__actions,
.site-header__actions {
  display: none;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.site-nav__signin {
  font-size: 0.845rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
  color: #64748b;
  white-space: nowrap;
  border-radius: 8px;
}

.site-nav__signin:hover {
  color: #2563eb;
  background: #eff6ff;
}

.site-nav__cta,
.site-nav__cta-secondary {
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  white-space: nowrap;
  border-radius: 12px;
}

.site-nav__cta-secondary {
  color: #334155;
  border-color: #e2e8f0;
  background: #ffffff;
}

.site-footer__soon {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Mobile slide-in drawer (prototype) */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 92vw);
  background: #ffffff;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 1.25rem 1rem 2rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.13);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-nav__brand {
  font-weight: 800;
  color: #0f172a;
  font-size: 1rem;
}

.mobile-nav__brand span {
  color: #0d9488;
}

.mobile-nav__close {
  border: none;
  background: transparent;
  font-size: 1.25rem;
  color: #64748b;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  line-height: 1;
}

.mobile-nav__section {
  margin-bottom: 1rem;
}

.mobile-nav__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 0 0.5rem 0.35rem;
}

.mobile-nav__link {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
}

.mobile-nav__link small {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: #94a3b8;
  margin-top: 0.15rem;
}

.mobile-nav__link:hover,
.mobile-nav__link:focus {
  background: #eff6ff;
  color: #2563eb;
}

.mobile-nav__link--soon {
  opacity: 0.75;
}

.mobile-nav__acts {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.mobile-nav__acts .btn {
  width: 100%;
  justify-content: center;
}

.mobile-nav__signin {
  text-align: center;
}

@media (min-width: 769px) {
  body.site-mega-chrome .site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 1rem;
  }

  body.site-mega-chrome .site-header__inner > .brand {
    grid-column: 1;
    grid-row: 1;
  }

  body.site-mega-chrome .site-header__inner > .site-nav--mega {
    grid-column: 2;
    grid-row: 1;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-height: none;
    overflow: visible;
  }

  body.site-mega-chrome .site-header__inner > .site-header__actions {
    grid-column: 3;
    grid-row: 1;
  }

  body.site-mega-chrome .site-nav__mega {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  body.site-mega-chrome .site-nav__item {
    position: relative;
    flex-shrink: 0;
  }

  body.site-mega-chrome .site-nav__item--dropdown:nth-last-child(-n+3) .site-nav__dropdown {
    left: auto;
    right: 0;
  }

  body.site-mega-chrome .site-nav__item--dropdown:hover .site-nav__dropdown,
  body.site-mega-chrome .site-nav__item--dropdown:focus-within .site-nav__dropdown,
  body.site-mega-chrome .site-nav__item--dropdown.is-open .site-nav__dropdown {
    display: block;
  }

  body.site-mega-chrome .site-nav__item--dropdown:hover .site-nav__chev,
  body.site-mega-chrome .site-nav__item--dropdown:focus-within .site-nav__chev,
  body.site-mega-chrome .site-nav__item--dropdown.is-open .site-nav__chev {
    transform: rotate(180deg);
  }

  body.site-mega-chrome .site-header__actions,
  body.site-mega-chrome .site-nav__actions {
    display: flex;
    flex-shrink: 0;
  }

  body.site-mega-chrome .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 1200px) and (min-width: 769px) {
  body.site-mega-chrome .site-nav__link,
  body.site-mega-chrome .site-nav__trigger {
    padding: 0.45rem 0.6rem;
    font-size: 0.82rem;
  }

  body.site-mega-chrome .site-nav__cta,
  body.site-mega-chrome .site-nav__cta-secondary {
    font-size: 0.78rem;
    padding: 0.42rem 0.85rem;
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  body.site-mega-chrome .site-nav__cta-secondary,
  body.site-mega-chrome .site-nav__signin {
    display: none;
  }

  body.site-mega-chrome .site-nav__link,
  body.site-mega-chrome .site-nav__trigger {
    padding: 0.45rem 0.5rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 920px) and (min-width: 769px) {
  body.site-mega-chrome .site-header__inner {
    column-gap: 0.65rem;
  }
}

@media (max-width: 768px) {
  body.site-mega-chrome .site-header__inner {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
  }

  body.site-mega-chrome .site-header__inner > .site-nav--mega {
    display: none !important;
  }

  body.site-mega-chrome .site-header__inner > .site-header__actions {
    display: none !important;
  }

  body.site-mega-chrome .nav-toggle {
    display: inline-flex !important;
    margin-left: auto;
  }
}

/* ── Phase 2: Security page (prototype page-security) ── */
body.page-security.site-mega-chrome .section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

body.page-security.site-mega-chrome .section-alt {
  background: #f8fafc;
}

/* Security hero */
body.page-security .page-hero--security {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, #0b1f3a 0%, #112b50 60%, #102040 100%);
  text-align: center;
}

body.page-security .page-hero--security::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.15), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(37, 99, 235, 0.2), transparent 45%);
  pointer-events: none;
}

body.page-security .page-hero--security__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

body.page-security .page-hero--security__eyebrow {
  justify-content: center;
  color: #2dd4bf;
}

body.page-security .page-hero--security__title {
  color: #ffffff;
  max-width: none;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

body.page-security .page-hero--security__lede {
  color: rgba(255, 255, 255, 0.65);
  max-width: 620px;
  margin: 0 auto 1.75rem;
  text-align: center;
}

body.page-security .page-hero--security__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.sec-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  flex-wrap: wrap;
}

.sec-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.7rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
}

.sec-chip--green { background: #d1fae5; color: #059669; }
.sec-chip--blue { background: #dbeafe; color: #1b4f8a; }
.sec-chip--teal { background: #ccfbf1; color: #0f766e; }
.sec-chip--amber { background: #fef3c7; color: #92400e; }

.btn--lg {
  padding: 0.85rem 1.65rem;
  font-size: 1rem;
}

.btn--white-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn--white-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

/* Section headers */
.sec-section-header {
  max-width: 700px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.sec-section-header__eyebrow {
  justify-content: center;
  color: #0d9488;
}

.sec-section-header__title {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.sec-section-header__lede {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #64748b;
}

/* Control cards */
.sec-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.sec-feat-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sec-feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: #ccfbf1;
}

.sec-feat-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
}

.sec-feat-ic--blue { background: #dbeafe; }
.sec-feat-ic--teal { background: #ccfbf1; }
.sec-feat-ic--green { background: #d1fae5; }

.sec-feat-card__title {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

.sec-feat-card__text {
  margin: 0;
  font-size: 0.835rem;
  line-height: 1.65;
  color: #64748b;
}

/* BAA focus block (security page) */
.sec-baa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.sec-baa-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1.65rem;
}

.sec-baa-card__title {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.sec-baa-card__text {
  margin: 0;
  font-size: 0.835rem;
  line-height: 1.65;
  color: #64748b;
}

.sec-baa-card__list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.835rem;
  line-height: 1.65;
  color: #64748b;
}

.sec-baa-card__list li + li {
  margin-top: 0.35rem;
}

.sec-baa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.sec-baa-note {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}

/* Infrastructure cards */
.sec-infra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.sec-infra-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 2rem;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.sec-infra-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
  border-color: #dbeafe;
}

.sec-infra-card__icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.sec-infra-card__title {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.35rem;
}

.sec-infra-card__text {
  margin: 0;
  font-size: 0.835rem;
  line-height: 1.65;
  color: #64748b;
}

/* Compliance pills */
.sec-compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.sec-comp-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sec-comp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
  border-color: #ccfbf1;
}

.sec-comp-card__icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.sec-comp-card__title {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.4rem;
}

.sec-comp-card__text {
  margin: 0;
  font-size: 0.835rem;
  line-height: 1.65;
  color: #64748b;
}

/* Documentation cards */
.sec-doc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.sec-doc-card {
  display: block;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sec-doc-card:hover {
  transform: translateY(-3px);
  border-color: #3b82f6;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
}

.sec-doc-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.sec-doc-card__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.35rem;
}

.sec-doc-card__desc {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #94a3b8;
}

.sec-doc-card__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
  padding: 0.35rem 0.75rem;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.sec-doc-card:hover .sec-doc-card__link {
  background: #eff6ff;
}

/* Verify scanners */
.sec-verify {
  max-width: 720px;
  text-align: center;
}

.sec-verify__title {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem;
}

.sec-verify__lede {
  margin: 0 0 1.25rem;
  color: #64748b;
  line-height: 1.7;
}

.sec-verify__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
}

.sec-verify__list a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.sec-verify__list a:hover {
  text-decoration: underline;
}

/* Bottom CTA */
.sec-cta-dark {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: linear-gradient(135deg, #112b50, #0b1f3a 50%, #060f1f);
  text-align: center;
}

.sec-cta-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 60%, rgba(20, 184, 166, 0.15), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.2), transparent 50%);
  pointer-events: none;
}

.sec-cta-dark__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.sec-cta-dark__eyebrow {
  justify-content: center;
  color: #2dd4bf;
}

.sec-cta-dark__title {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.sec-cta-dark__lede {
  margin: 0 auto 1.75rem;
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.sec-cta-dark__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.sec-cta-dark__note {
  margin: 0;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1100px) {
  .sec-feat-grid,
  .sec-compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sec-doc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sec-feat-grid,
  .sec-compliance-grid,
  .sec-infra-grid,
  .sec-doc-grid,
  .sec-baa-grid {
    grid-template-columns: 1fr;
  }

  body.page-security .page-hero--security__title br {
    display: none;
  }
}

body.page-secure-files .sec-files-workflow {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.page-secure-files .sec-files-workflow__num {
  font-weight: 800;
  font-size: 1.1rem;
  color: #0f766e;
  background: #ccfbf1;
  border-radius: 999px;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Phase 3: Resources hub + articles ── */
body.page-resources.site-mega-chrome .section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

body.page-resources.site-mega-chrome .section-sm {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4rem);
}

body.page-resources.site-mega-chrome .section-alt {
  background: #f8fafc;
}

/* Hub hero */
body.page-resources .page-hero--resources-hub {
  background: #f8fafc;
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: left;
}

body.page-resources .page-hero--resources-hub__inner {
  max-width: 720px;
}

body.page-resources .page-hero--resources-hub__eyebrow {
  color: #0d9488;
}

body.page-resources .page-hero--resources-hub__title {
  color: #0f172a;
  max-width: none;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

body.page-resources .page-hero--resources-hub__lede {
  color: #64748b;
  max-width: 640px;
}

/* Article hero */
body.page-resources .page-hero--resource-article {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 2.5rem);
}

body.page-resources .page-hero--resource-article__inner {
  max-width: 760px;
}

.res-breadcrumb {
  font-size: 0.82rem;
  margin-bottom: 1rem;
  color: #64748b;
}

.res-breadcrumb a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.res-breadcrumb a:hover {
  text-decoration: underline;
}

.res-breadcrumb span[aria-hidden="true"] {
  margin: 0 0.35rem;
  color: #94a3b8;
}

.res-cat-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}

.res-cat-tag--sm {
  font-size: 0.62rem;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.5rem;
}

.res-cat-tag--blue { background: #dbeafe; color: #1b4f8a; }
.res-cat-tag--teal { background: #ccfbf1; color: #0f766e; }
.res-cat-tag--green { background: #d1fae5; color: #059669; }
.res-cat-tag--amber { background: #fef3c7; color: #92400e; }
.res-cat-tag--red { background: #fee2e2; color: #dc2626; }

body.page-resources .page-hero--resource-article__title {
  color: #0f172a;
  max-width: none;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

body.page-resources .page-hero--resource-article__lede {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.res-article-date {
  display: block;
  font-size: 0.82rem;
  color: #94a3b8;
}

/* Featured block */
.res-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  margin-bottom: 2.5rem;
}

.res-featured__visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  min-height: 280px;
  text-decoration: none;
  color: inherit;
}

.res-featured__visual--blue {
  background: linear-gradient(135deg, #112b50, #1b4f8a);
}

.res-featured__visual--teal {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.res-featured__visual--green {
  background: linear-gradient(135deg, #047857, #10b981);
}

.res-featured__icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.res-featured__visual-title {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.res-featured__visual-meta {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.res-featured__body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.res-featured__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 4px;
  background: #fef3c7;
  color: #92400e;
  margin-bottom: 1rem;
}

.res-featured__title {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.res-featured__title a {
  color: #0f172a;
  text-decoration: none;
}

.res-featured__title a:hover {
  color: #2563eb;
}

.res-featured__desc {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #64748b;
}

/* Filters */
.res-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.res-filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.res-filter-btn:hover {
  border-color: #93c5fd;
  color: #2563eb;
}

.res-filter-btn.is-active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* Card grid */
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.res-grid--related {
  grid-template-columns: repeat(3, 1fr);
}

.res-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.res-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.res-card[hidden] {
  display: none;
}

.res-card__thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  line-height: 1;
}

.res-card__thumb--blue {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.res-card__thumb--teal {
  background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
}

.res-card__thumb--green {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}

.res-card__thumb--amber {
  background: linear-gradient(135deg, #fef3c7, #d1fae5);
}

.res-card__thumb--red {
  background: linear-gradient(135deg, #fee2e2, #fef3c7);
}

.res-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.res-card__title {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.res-card__excerpt {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #64748b;
  flex: 1;
}

.res-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #94a3b8;
}

.res-card__read {
  font-weight: 600;
  color: #2563eb;
}

.res-card:hover .res-card__read {
  text-decoration: underline;
}

/* Promo banner */
.res-promo {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #eff6ff, #f0fdfa);
  border: 1px solid #dbeafe;
  border-radius: 24px;
}

.res-promo__icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.res-promo__title {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.4rem;
}

.res-promo__text {
  margin: 0;
  font-size: 0.835rem;
  line-height: 1.65;
  color: #64748b;
  max-width: 520px;
}

.res-promo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.res-article__footer-links {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

.res-article__footer-links a {
  color: #2563eb;
}

body.page-resources .res-promo--baa {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

body.page-resources .res-promo--email {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

/* Article body */
body.page-resources .res-article__body {
  max-width: 720px;
}

body.page-resources .res-article__body h2 {
  color: #0f172a;
  font-family: var(--font-display, "Outfit", sans-serif);
}

body.page-resources .res-article__body p,
body.page-resources .res-article__body li {
  color: #475569;
}

body.page-resources .res-article__body a:not(.btn) {
  color: #2563eb;
}

/* Button CTAs inside prose / resource articles keep variant colors, not link blue */
body.site-mega-chrome a.btn,
body.page-resources a.btn {
  text-decoration: none;
}

body.site-mega-chrome a.btn--primary,
body.page-resources a.btn--primary,
body.site-mega-chrome a.btn--primary:hover,
body.page-resources a.btn--primary:hover {
  color: #fff;
}

body.site-mega-chrome a.btn--ghost,
body.page-resources a.btn--ghost {
  color: var(--color-navy);
}

body.site-mega-chrome a.btn--white-outline,
body.page-resources a.btn--white-outline,
body.site-mega-chrome a.btn--white-outline:hover,
body.page-resources a.btn--white-outline:hover {
  color: #fff;
}

body.site-mega-chrome a.btn--secondary,
body.page-resources a.btn--secondary {
  color: var(--color-navy);
}

body.page-resources .prose__note {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #475569;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

body.page-resources .compare-table-wrap {
  border-color: #e2e8f0;
}

body.page-resources .compare-table thead th {
  background: #f8fafc;
  color: #0f172a;
}

body.page-resources .compare-table th,
body.page-resources .compare-table td {
  color: #334155;
  border-color: #e2e8f0;
}

body.page-resources .compare-table tbody th[scope="row"] {
  color: #0f172a;
}

.res-related__back {
  margin: 2rem 0 0;
  text-align: center;
}

.res-related__back a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.res-related__back a:hover {
  text-decoration: underline;
}

.sec-cta-dark--compact {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

@media (max-width: 1100px) {
  .res-grid,
  .res-grid--related {
    grid-template-columns: repeat(2, 1fr);
  }

  .res-featured {
    grid-template-columns: 1fr;
  }

  .res-featured__visual {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .res-grid,
  .res-grid--related {
    grid-template-columns: 1fr;
  }

  .res-promo {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .res-promo__actions {
    justify-content: center;
  }

  body.page-resources .page-hero--resources-hub__title br {
    display: none;
  }
}

/* ── Phase 5: Industries, case studies, knowledge base, status ── */

body.page-phase5 .section-alt {
  background: #f8fafc;
}

body.page-phase5 .sec-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

body.page-phase5 .sec-section-header__title {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin: 0;
}

/* Hub heroes */
.page-hero--p5-hub,
.page-hero--kb {
  background: linear-gradient(160deg, #eff6ff 0%, #fafeff 45%, #f0fdf9 100%);
  padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.page-hero--cases {
  background: #0f172a;
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.page-hero--cases::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(20, 184, 166, 0.12), transparent 50%);
  pointer-events: none;
}

.page-hero--p5-hub__inner,
.page-hero--kb__inner,
.page-hero--cases__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.page-hero--p5-hub__eyebrow,
.page-hero--kb__eyebrow {
  color: #0d9488;
  justify-content: center;
}

.page-hero--cases__eyebrow {
  color: #2dd4bf;
  justify-content: center;
}

.page-hero--p5-hub__title,
.page-hero--kb__title {
  color: #0f172a;
}

.page-hero--cases__title {
  color: #fff;
}

.page-hero--p5-hub__lede,
.page-hero--kb__lede {
  color: #64748b;
  margin-inline: auto;
}

.page-hero--cases__lede {
  color: rgba(255, 255, 255, 0.65);
  margin-inline: auto;
}

/* Industry grid */
.p5-ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.p5-ind-grid--compact {
  margin-top: 0;
}

.p5-ind-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 130px;
  padding: 1.25rem 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none;
  color: #0f172a;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.p5-ind-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  border-color: #bfdbfe;
}

.p5-ind-card--current {
  background: #eff6ff;
  border-color: #93c5fd;
  cursor: default;
}

.p5-ind-card--contact .p5-ind-card__meta {
  font-size: 0.72rem;
  color: #2563eb;
  font-weight: 600;
}

.p5-ind-card__icon {
  font-size: 1.75rem;
  line-height: 1;
}

.p5-ind-card__name {
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
}

/* Industry detail hero */
.p5-ind-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.p5-ind-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #eff6ff, #fff 40%, #f0fdf9);
}

.p5-ind-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 60%, rgba(37, 99, 235, 0.07), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(20, 184, 166, 0.08), transparent 45%);
}

.p5-ind-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.p5-ind-hero__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.p5-ind-hero__title {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.12;
  margin: 0 0 1rem;
}

.p5-ind-hero__lede {
  color: #64748b;
  line-height: 1.65;
  margin: 0 0 1.75rem;
  max-width: 520px;
}

.p5-ind-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.p5-ind-lead-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.p5-ind-lead-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.65rem;
}

.p5-ind-lead-card__text {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.p5-ind-lead-card__list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: #475569;
}

.p5-ind-lead-card__list li::before {
  content: "✓ ";
  color: #10b981;
  font-weight: 700;
}

.p5-ind-lead-card__btn {
  width: 100%;
  justify-content: center;
}

.p5-ind-challenges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.p5-ind-challenge {
  background: #fff;
  border: 1px solid #fecaca;
  border-top: 3px solid #ef4444;
  border-radius: 14px;
  padding: 1.5rem;
}

.p5-ind-challenge__icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.p5-ind-challenge__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.45rem;
}

.p5-ind-challenge__text {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
}

.p5-ind-solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.p5-ind-solutions-lede {
  color: #64748b;
  line-height: 1.65;
  margin: 0.75rem 0 1.5rem;
}

.p5-ind-solution-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.p5-ind-sol {
  display: flex;
  gap: 0.85rem;
}

.p5-ind-sol__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p5-ind-sol__title {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.p5-ind-sol__text {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.55;
}

.p5-ind-integrations {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.p5-ind-integrations__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1rem;
}

.p5-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.p5-check-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #475569;
}

.p5-check-list__mark {
  color: #10b981;
  font-weight: 700;
}

.p5-testi-card {
  background: #fff;
  border: 1px solid #ccfbf1;
  border-radius: 14px;
  padding: 1.35rem;
  margin: 0;
}

.p5-testi-card__stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.p5-testi-card__quote {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
}

.p5-testi-card__author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.p5-testi-card__av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}

.p5-testi-card__av--blue { background: #3b82f6; }
.p5-testi-card__av--teal { background: #0d9488; }
.p5-testi-card__av--green { background: #10b981; }
.p5-testi-card__av--amber { background: #d97706; }
.p5-testi-card__av--purple { background: #7c3aed; }

.p5-testi-card__name {
  display: block;
  font-weight: 700;
  font-size: 0.82rem;
  color: #0f172a;
}

.p5-testi-card__role {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
}

.p5-back-link {
  margin-top: 1.75rem;
  text-align: center;
}

.p5-back-link a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.p5-back-link a:hover {
  text-decoration: underline;
}

/* Case studies */
.p5-disclaimer {
  margin-bottom: 2rem;
}

.p5-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.p5-case-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.p5-case-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 1.75rem 0;
}

.p5-case-card__av {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.p5-case-card__av--blue { background: #dbeafe; }
.p5-case-card__av--teal { background: #ccfbf1; }
.p5-case-card__av--green { background: #d1fae5; }
.p5-case-card__av--amber { background: #fef3c7; }
.p5-case-card__av--purple { background: #ede9fe; }

.p5-case-card__org {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.p5-case-card__type {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0.15rem 0 0;
}

.p5-case-card__body {
  padding: 1.25rem 1.75rem 1.75rem;
}

.p5-case-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ef4444;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.p5-case-card__problem {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

.p5-case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.p5-case-result {
  text-align: center;
  background: #f8fafc;
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
}

.p5-case-result__num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #3b82f6;
  line-height: 1;
}

.p5-case-result__lbl {
  font-size: 0.65rem;
  color: #94a3b8;
  margin-top: 0.25rem;
  line-height: 1.3;
}

.p5-case-quote {
  margin: 0;
  border-left: 3px solid #2dd4bf;
  padding: 0.75rem 1rem;
  background: #f0fdfa;
  border-radius: 0 10px 10px 0;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.6;
}

.p5-case-quote footer {
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.75rem;
  color: #94a3b8;
}

.p5-case-card__more {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.p5-story-layout {
  max-width: 46rem;
}

.p5-story-meta {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #64748b;
}

.p5-story-block {
  margin: 2rem 0;
}

.p5-story-block__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: #0f172a;
}

.p5-story-block__body {
  margin: 0;
  line-height: 1.65;
  color: #334155;
}

.p5-story-steps {
  display: grid;
  gap: 1rem;
}

.p5-story-step {
  padding: 1rem 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.p5-story-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.p5-story-step p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.p5-story-timeline {
  margin: 0;
  padding-left: 1.1rem;
  color: #334155;
}

.p5-story-timeline li {
  margin-bottom: 0.65rem;
  line-height: 1.5;
}

.p5-story-timeline strong {
  display: block;
  color: #0f172a;
}

.p5-story-outcomes {
  margin: 0;
  padding-left: 1.2rem;
  color: #334155;
  line-height: 1.6;
}

.p5-story-quote {
  margin-top: 2rem;
}

.p5-section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Knowledge base */
.page-hero--kb {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.page-hero--kb__eyebrow {
  color: #2dd4bf;
}

.page-hero--kb__title {
  color: #fff;
}

.p5-kb-search {
  position: relative;
  max-width: 580px;
  margin: 1.25rem auto 0;
}

.p5-kb-search__icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.p5-kb-search__input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  font-size: 1rem;
  color: #0f172a;
  background: #fff;
  outline: none;
}

.p5-kb-search__input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.p5-kb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 1rem;
}

.p5-kb-chip {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.p5-kb-chip.is-active {
  background: #fff;
  color: #1d4ed8;
  border-color: #fff;
}

.p5-kb-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.p5-kb-cat-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
}

.p5-kb-cat-card__icon {
  font-size: 1.5rem;
  margin-bottom: 0.65rem;
  display: block;
}

.p5-kb-cat-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.4rem;
}

.p5-kb-cat-card__desc {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.55;
}

.p5-kb-articles {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
}

.p5-kb-articles__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.p5-kb-articles__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.p5-kb-articles__count {
  font-size: 0.78rem;
  color: #94a3b8;
}

.p5-kb-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p5-kb-article-item {
  border-bottom: 1px solid #f1f5f9;
}

.p5-kb-article-item:last-child {
  border-bottom: none;
}

.p5-kb-article-item a {
  display: block;
  padding: 0.85rem 0;
  text-decoration: none;
  color: inherit;
}

.p5-kb-article-item a:hover .p5-kb-article-item__title {
  color: #2563eb;
}

.p5-kb-article-item__title {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: #0f172a;
}

.p5-kb-article-item__desc {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}

.p5-kb-empty {
  text-align: center;
  color: #94a3b8;
  padding: 1rem 0 0;
}

/* Status page */
.p5-status-page__inner {
  max-width: 820px;
}

.p5-status-head {
  text-align: center;
  margin-bottom: 2rem;
}

.p5-status-head__title {
  font-family: var(--font-display, "Outfit", sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.75rem;
}

.p5-status-head__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.p5-status-head__badge--ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
}

.p5-status-head__badge--warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #d97706;
}

.p5-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.p5-status-note {
  max-width: 620px;
  margin: 1rem auto 0;
  text-align: left;
}

.p5-status-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.p5-status-panel__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid #f1f5f9;
}

.p5-status-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid #f1f5f9;
}

.p5-status-services {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p5-status-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.35rem;
  border-bottom: 1px solid #f1f5f9;
}

.p5-status-service:last-child {
  border-bottom: none;
}

.p5-status-service__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
}

.p5-status-service__desc {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.1rem;
}

.p5-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  white-space: nowrap;
}

.p5-chip--green { background: #ecfdf5; color: #059669; }
.p5-chip--teal { background: #f0fdfa; color: #0d9488; }
.p5-chip--amber { background: #fffbeb; color: #d97706; }
.p5-chip--red { background: #fef2f2; color: #dc2626; }

.p5-status-empty {
  padding: 1rem 1.35rem 1.35rem;
  margin: 0;
  font-size: 0.875rem;
  color: #94a3b8;
  text-align: center;
}

.p5-status-empty a {
  color: #2563eb;
}

@media (max-width: 1100px) {
  .p5-ind-grid,
  .p5-ind-challenges,
  .p5-kb-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .p5-ind-hero__grid,
  .p5-ind-solutions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .p5-ind-grid,
  .p5-ind-challenges,
  .p5-case-grid,
  .p5-case-results,
  .p5-kb-cat-grid {
    grid-template-columns: 1fr;
  }

  .p5-status-service {
    flex-direction: column;
    align-items: flex-start;
  }
}

.contact-layout--with-demo {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .contact-layout--with-demo {
    grid-template-columns: 1.1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .contact-layout--with-demo {
    grid-template-columns: 1.15fr 1fr 0.85fr;
  }
}

.contact-demo {
  padding: 1.25rem;
  border-radius: var(--radius-lg, 12px);
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.contact-demo h2 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.contact-demo__lede,
.contact-demo__note {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.55;
}

.contact-demo__embed {
  margin: 1rem 0;
  min-height: 520px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.contact-demo__embed iframe {
  width: 100%;
  min-height: 520px;
  border: 0;
}

.onboarding-shell {
  max-width: 720px;
}

.onboarding-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.onboarding-track__item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
}

.onboarding-track__item.is-active {
  background: #dbeafe;
  color: #1d4ed8;
}

.onboarding-track__item.is-complete {
  background: #ecfdf5;
  color: #059669;
}

.onboarding-track__num {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
}

.onboarding-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.onboarding-step__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d9488;
  margin: 0 0 0.5rem;
}

.onboarding-step__title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.onboarding-step__body {
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

.onboarding-step__cta {
  margin-top: 1.25rem;
}

.onboarding-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.onboarding-nav__progress {
  font-size: 0.78rem;
  color: #94a3b8;
}
