/**
 * Meridian homepage — pulsebusiness.ai portal home only.
 * Tokens: public/css/brand.css --pulse-m-* (source of truth: pulse-business-ai/brand/brand.css).
 * Scoped entirely under body.pulse-meridian-home so it never touches interior
 * portal pages or the other six Pulse properties.
 */

body.pulse-meridian-home {
  --mh-paper: var(--pulse-m-paper, #FCFCFD);
  --mh-ink: var(--pulse-m-ink, #0E0F12);
  --mh-cobalt: var(--pulse-m-cobalt-500, #2E5CFF);
  --mh-cobalt-dark: var(--pulse-m-cobalt-600, #1F46D1);
  --mh-hairline: var(--pulse-m-hairline, #E5E7EB);
  --mh-slate: var(--pulse-m-slate, #5B616E);
  --mh-font-display: var(--pulse-m-font-display, "Gabarito", system-ui, sans-serif);
  --mh-font-body: var(--pulse-m-font-body, "Instrument Sans", system-ui, sans-serif);
  --mh-font-mono: var(--pulse-m-font-mono, "Geist Mono", ui-monospace, monospace);
  --mh-surface-alt: #F7F8FA;   /* .alt module background, replaces --site-panel dark tint */
  --mh-ink-support: #9CA3AF;   /* body/support text ON an --mh-ink dark surface — already used ad hoc as a literal hex in .mh-cta__lede; formalized here as a token so module CSS can reference it by name */
  --mh-link-on-ink: #8FA3FF;   /* link/label accent ON an --mh-ink dark surface — plain --mh-cobalt fails AA at 3.73:1 on ink, see module-stack section below */
  background: var(--mh-paper);
}

.mh-main {
  font-family: var(--mh-font-body);
  background: var(--mh-paper);
  color: var(--mh-ink);
}

.mh-main a {
  color: var(--mh-cobalt);
}

.mh-main a:hover {
  color: var(--mh-cobalt-dark);
}

.mh-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Hero */
.mh-hero {
  padding: clamp(56px, 9vw, 96px) 0 32px;
  text-align: center;
}

.mh-hero__eyebrow {
  font-family: var(--mh-font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--mh-slate);
}

.mh-hero__headline {
  font-family: var(--mh-font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 5.75rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 22px auto 0;
  max-width: 20ch;
  text-wrap: balance;
}

.mh-hero__headline em {
  font-style: normal;
  color: var(--mh-cobalt);
}

.mh-hero__lede {
  font-size: 1.19rem;
  line-height: 1.55;
  color: var(--mh-slate);
  max-width: 620px;
  margin: 24px auto 0;
}

.mh-hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.mh-btn {
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mh-btn:focus-visible,
.mh-split__link:focus-visible {
  outline: 2px solid var(--mh-cobalt);
  outline-offset: 2px;
}

.mh-btn--primary {
  background: var(--mh-cobalt);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(46, 92, 255, 0.25);
}

.mh-btn--primary:hover {
  background: var(--mh-cobalt-dark);
  color: #FFFFFF;
}

/* Border uses --mh-slate, not --mh-hairline: the hairline (#E5E7EB on
   #FCFCFD) measures 1.21:1, well under the 3:1 WCAG 1.4.11 non-text
   contrast minimum for an interactive component boundary. Slate clears it
   with room to spare (independently verified during design review). */
.mh-btn--ghost {
  border: 1px solid var(--mh-slate);
  color: var(--mh-ink);
}

.mh-btn--ghost:hover {
  border-color: var(--mh-cobalt);
  color: var(--mh-cobalt);
}

/* Film viewport */
.mh-film-wrap {
  padding: 28px 0 0;
}

.mh-film {
  position: relative;
  border: 1px solid var(--mh-hairline);
  border-radius: 16px;
  overflow: hidden;
  background: var(--mh-ink);
  aspect-ratio: 16 / 9;
}

.mh-film__topline {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--mh-cobalt);
  z-index: 2;
}

.mh-film video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Single flex column: chips stack by actual rendered height, so wrapped
   text or longer copy can never overlap (fixed bottom-offsets could). */
.mh-film__chips {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 84px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  z-index: 1;
}

.mh-film__chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(252, 252, 253, 0.95);
  border-radius: 8px;
  padding: 9px 14px;
  font-family: var(--mh-font-mono);
  font-size: 12px;
  color: var(--mh-ink);
  max-width: 100%;
}

.mh-film__chip svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke: #16A34A;
}

.mh-film__toggle {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  background: rgba(252, 252, 253, 0.95);
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--mh-font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--mh-ink);
  cursor: pointer;
}

@media (max-width: 640px) {
  .mh-film__chip { font-size: 11px; padding: 7px 11px; }
  .mh-film__chips { right: 72px; }
  .mh-film__toggle { padding: 8px 14px; font-size: 12px; }
}

.mh-film__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mh-cobalt);
  display: inline-block;
  animation: mh-live-dot 2.6s ease-in-out infinite;
}

.mh-film__states {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 44px);
  padding: 18px 0 0;
  font-family: var(--mh-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mh-slate);
  flex-wrap: wrap;
  text-align: center;
}

.mh-film__states span[data-active] {
  color: var(--mh-cobalt);
}

/* Two-column feature */
.mh-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
  padding: clamp(56px, 8vw, 96px) 0;
}

.mh-split__eyebrow {
  font-family: var(--mh-font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mh-slate);
}

.mh-split__title {
  font-family: var(--mh-font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 14px 0 0;
}

.mh-split__rule {
  height: 2px;
  width: 88px;
  background: var(--mh-cobalt);
  margin: 18px 0;
  border: 0;
}

.mh-split__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--mh-slate);
  max-width: 460px;
}

.mh-split__link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 16px;
}

.mh-brief {
  border: 1px solid var(--mh-hairline);
  border-radius: 16px;
  padding: 24px;
  background: #FFFFFF;
  box-shadow: 0 20px 50px rgba(14, 15, 18, 0.06);
}

.mh-brief__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}

.mh-brief__title {
  font-family: var(--mh-font-display);
  font-weight: 600;
  font-size: 18px;
}

/* #16A34A on #EAF2EA measured 2.89:1 (needs 4.5:1, WCAG 1.4.3) — #166534
   on the same background clears AA with margin. */
.mh-brief__status {
  background: #EAF2EA;
  color: #166534;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.mh-brief__row {
  border: 1px solid var(--mh-hairline);
  border-radius: 10px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 14px;
}

.mh-brief__note {
  border: 1px solid var(--mh-hairline);
  border-radius: 10px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FAFBFF;
  font-size: 14px;
  color: var(--mh-slate);
}

.mh-brief__note svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: #16A34A;
}

/* Media wall */
.mh-wall-section {
  padding: 0 0 clamp(56px, 8vw, 96px);
}

.mh-wall-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
  flex-wrap: wrap;
}

.mh-wall-head__title {
  font-family: var(--mh-font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.025em;
}

.mh-wall-head__hint {
  font-family: var(--mh-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mh-slate);
}

.mh-wall {
  position: relative;
  border: 1px solid var(--mh-hairline);
  border-radius: 16px;
  overflow: hidden;
  padding: 18px 0;
  background: #FFFFFF;
}

.mh-wall__rail {
  display: flex;
  gap: 14px;
  padding: 0 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.mh-wall__card {
  position: relative;
  flex: 0 0 min(400px, 82vw);
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
}

.mh-wall__card-note {
  position: absolute;
  background: rgba(14, 15, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  padding: 10px 12px;
  color: #E5E7EB;
  font-size: 12px;
  max-width: calc(100% - 40px);
}

.mh-wall__card-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-family: var(--mh-font-display);
  font-weight: 600;
  font-size: 16px;
}

.mh-wall__card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mh-wall-caption {
  font-size: 13px;
  color: var(--mh-slate);
  margin-top: 12px;
}

/* Services index */
.mh-services-list {
  display: flex;
  flex-direction: column;
}

.mh-services-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--mh-hairline);
}

.mh-services-row:last-child {
  border-bottom: 0;
}

.mh-services-row__num {
  font-family: var(--mh-font-mono);
  font-size: 13px;
  color: var(--mh-cobalt);
}

.mh-services-row__title {
  font-family: var(--mh-font-display);
  font-weight: 600;
  font-size: 19px;
}

.mh-services-row__detail {
  margin-left: auto;
  font-size: 14px;
  color: var(--mh-slate);
  text-align: right;
}

/* Trust triptych */
.mh-trust {
  border-top: 1px solid var(--mh-hairline);
  padding: clamp(48px, 7vw, 80px) 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.mh-trust__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mh-trust__title {
  font-family: var(--mh-font-display);
  font-weight: 600;
  font-size: 19px;
}

.mh-trust__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mh-slate);
}

/* State chips row */
.mh-chips {
  padding: 0 0 clamp(56px, 8vw, 80px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mh-font-mono);
  font-size: 12px;
  color: var(--mh-slate);
  flex-wrap: wrap;
}

.mh-chips__label {
  letter-spacing: 0.1em;
}

.mh-chip {
  border: 1px solid var(--mh-hairline);
  border-radius: 6px;
  padding: 6px 12px;
}

/* Final CTA */
.mh-cta {
  margin: 0 0 40px;
  background: var(--mh-ink);
  border-radius: 16px;
  padding: clamp(40px, 7vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mh-cta__topline {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--mh-cobalt);
}

.mh-cta__title {
  font-family: var(--mh-font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-wrap: balance;
}

.mh-cta__lede {
  font-size: 17px;
  color: #9CA3AF;
  margin-top: 14px;
}

.mh-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.mh-cta .mh-btn--ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.mh-cta .mh-btn--ghost:hover {
  border-color: #FFFFFF;
}

/* Motion */
@keyframes mh-fade-up {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.mh-fu-1 { animation: mh-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.mh-fu-2 { animation: mh-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both; }
.mh-fu-3 { animation: mh-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both; }
.mh-fu-4 { animation: mh-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both; }

@keyframes mh-live-dot {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* The rail is natively scrollable (overflow-x: auto above) — drag, swipe,
   and keyboard arrow keys (when focused via tabindex) all work by default.
   An earlier CSS-only auto-pan animation set width: max-content on this
   element, which broke that native scrolling entirely (scrollWidth==
   clientWidth, nothing to scroll) — the wall was reachable only by waiting
   through the animation. Approved Main.dc.html itself says "← DRAG · 5
   WORKFLOWS →", so real drag/scroll is the intended interaction, not an
   unattended pan. */
.mh-wall__rail:focus-visible {
  outline: 2px solid var(--mh-cobalt);
  outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
  .mh-fu-1, .mh-fu-2, .mh-fu-3, .mh-fu-4 {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .mh-film__dot { animation: none; opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
  .mh-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mh-trust {
    grid-template-columns: 1fr;
  }
  .mh-hero__actions .mh-btn,
  .mh-cta__actions .mh-btn {
    flex: 1 1 auto;
  }
  .mh-film__states {
    gap: 12px;
    font-size: 11px;
  }
  .mh-services-row {
    flex-wrap: wrap;
  }
  .mh-services-row__detail {
    margin-left: 0;
    text-align: left;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .mh-hero { text-align: center; }
  .mh-hero__actions { flex-direction: column; }
  .mh-hero__actions .mh-btn { width: 100%; }
  .mh-cta__actions { flex-direction: column; }
  .mh-cta__actions .mh-btn { width: 100%; }
}

/* ==========================================================================
 * Module stack (below the hero) — Meridian retheme
 * Source: design/homepage-concept/module-stack-meridian-handoff.md
 * Scope: 9 named data-home-module sections only. Pure CSS retheme — no
 * markup or data-home-module value changes. See handoff doc for full
 * cascade-tracing rationale, contrast verification table, and open
 * decisions (both resolved below): approval-status uses the ink-dark
 * .mh-cta-style treatment; artifact-preview status pill uses the neutral
 * variant because the live copy ("Prepared for review") is a pending
 * state, not an approved one.
 * ========================================================================== */

body.pulse-meridian-home :is(
  [data-home-module="workflow-video"],
  [data-home-module="service-gateway"],
  [data-home-module="benefit-pillars"],
  [data-home-module="daily-pulse"],
  [data-home-module="before-after-handoff"],
  [data-home-module="artifact-preview"],
  [data-home-module="governance-cues"],
  [data-home-module="operator-proof"],
  [data-home-module="approval-status"],
  [data-home-module="intent-ctas"]
) {
  background: var(--mh-paper);
  color: var(--mh-ink);
}

/* approval-status is deliberately excluded from this list: it carries its
   own explicit ink-dark section background below, and including it here
   created a real cascade bug during implementation — the extra ".alt"
   class selector gives this rule higher specificity than the
   [data-home-module="approval-status"] background rule regardless of
   source order, so approval-status silently rendered as light
   --mh-surface-alt instead of --mh-ink. Confirmed via computed-style
   check against the built page before this fix. */
body.pulse-meridian-home :is(
  [data-home-module="workflow-video"],
  [data-home-module="daily-pulse"],
  [data-home-module="governance-cues"],
  [data-home-module="intent-ctas"]
).alt {
  background: var(--mh-surface-alt);
}

body.pulse-meridian-home [data-home-module] .site-kicker {
  font-family: var(--mh-font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mh-slate);
}

body.pulse-meridian-home [data-home-module] .site-section-head h2 {
  font-family: var(--mh-font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--mh-ink);
}

body.pulse-meridian-home [data-home-module] .site-section-head p {
  font-family: var(--mh-font-body);
  color: var(--mh-slate);
}

body.pulse-meridian-home [data-home-module] a:focus-visible {
  outline: 2px solid var(--mh-cobalt);
  outline-offset: 2px;
}

/* workflow-video */
body.pulse-meridian-home [data-home-module="workflow-video"] .video-shell {
  border: 1px solid var(--mh-hairline);
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 20px 50px rgba(14, 15, 18, 0.06);
}

body.pulse-meridian-home [data-home-module="workflow-video"] .site-list li {
  border: 1px solid var(--mh-hairline);
  border-radius: 10px;
  background: transparent;
  color: var(--mh-ink);
}

body.pulse-meridian-home [data-home-module="workflow-video"] .step-example summary,
body.pulse-meridian-home [data-home-module="workflow-video"] .video-transcript summary {
  color: var(--mh-cobalt);
  font-weight: 600;
}

body.pulse-meridian-home [data-home-module="workflow-video"] .step-example summary:hover,
body.pulse-meridian-home [data-home-module="workflow-video"] .step-example summary:focus-visible,
body.pulse-meridian-home [data-home-module="workflow-video"] .video-transcript summary:hover,
body.pulse-meridian-home [data-home-module="workflow-video"] .video-transcript summary:focus-visible {
  color: var(--mh-cobalt-dark);
}

/* service-gateway */
body.pulse-meridian-home [data-home-module="service-gateway"] .gateway-modes span,
body.pulse-meridian-home [data-home-module="service-gateway"] .gateway-card__mode {
  font-family: var(--mh-font-mono);
  color: var(--mh-cobalt-dark);
  background: color-mix(in srgb, var(--mh-cobalt) 8%, var(--mh-paper));
  border: 1px solid transparent;
}

body.pulse-meridian-home [data-home-module="service-gateway"] .gateway-card {
  border: 1px solid var(--mh-hairline);
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: none;
}

body.pulse-meridian-home [data-home-module="service-gateway"] .gateway-card h3 {
  font-family: var(--mh-font-display);
  font-weight: 600;
  color: var(--mh-ink);
}

body.pulse-meridian-home [data-home-module="service-gateway"] .gateway-card p,
body.pulse-meridian-home [data-home-module="service-gateway"] .gateway-card__summary,
body.pulse-meridian-home [data-home-module="service-gateway"] .gateway-card__artifact {
  color: var(--mh-slate);
}

body.pulse-meridian-home [data-home-module="service-gateway"] .gateway-card strong {
  color: var(--mh-ink);
}

body.pulse-meridian-home [data-home-module="service-gateway"] .gateway-card a {
  color: var(--mh-cobalt-dark);
  font-weight: 600;
}

body.pulse-meridian-home [data-home-module="service-gateway"] .gateway-card a:hover {
  color: var(--mh-cobalt);
  text-decoration: underline;
}

body.pulse-meridian-home [data-home-module="service-gateway"] .gateway-card--image .gateway-card__image {
  background: var(--mh-surface-alt);
}

/* benefit-pillars */
body.pulse-meridian-home [data-home-module="benefit-pillars"] .benefit-pillar {
  border: 1px solid var(--mh-hairline);
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: none;
}

body.pulse-meridian-home [data-home-module="benefit-pillars"] .benefit-pillar span {
  font-family: var(--mh-font-mono);
  color: var(--mh-cobalt);
  font-weight: 400;
}

body.pulse-meridian-home [data-home-module="benefit-pillars"] .benefit-pillar h3 {
  font-family: var(--mh-font-display);
  font-weight: 600;
  color: var(--mh-ink);
}

body.pulse-meridian-home [data-home-module="benefit-pillars"] .benefit-pillar p,
body.pulse-meridian-home [data-home-module="benefit-pillars"] .benefit-pillar li {
  color: var(--mh-slate);
}

/* daily-pulse */
body.pulse-meridian-home [data-home-module="daily-pulse"] .daily-pulse-card {
  border: 1px solid var(--mh-hairline);
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: none;
}

body.pulse-meridian-home [data-home-module="daily-pulse"] .daily-pulse-card > span {
  font-family: var(--mh-font-mono);
  color: var(--mh-slate);
  font-weight: 400;
  letter-spacing: 0.1em;
}

body.pulse-meridian-home [data-home-module="daily-pulse"] .daily-pulse-card h3 {
  font-family: var(--mh-font-display);
  font-weight: 600;
  color: var(--mh-ink);
}

body.pulse-meridian-home [data-home-module="daily-pulse"] .daily-pulse-card p,
body.pulse-meridian-home [data-home-module="daily-pulse"] .daily-pulse-card li {
  color: var(--mh-slate);
}

/* before-after-handoff */
body.pulse-meridian-home [data-home-module="before-after-handoff"] {
  background: var(--mh-paper);
}

body.pulse-meridian-home [data-home-module="before-after-handoff"] .handoff-panel {
  border: 1px solid var(--mh-hairline);
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 20px 50px rgba(14, 15, 18, 0.06);
}

body.pulse-meridian-home [data-home-module="before-after-handoff"] .handoff-panel .site-section-head h2 {
  color: var(--mh-ink);
}

body.pulse-meridian-home [data-home-module="before-after-handoff"] .handoff-panel .site-section-head p {
  color: var(--mh-slate);
}

body.pulse-meridian-home [data-home-module="before-after-handoff"] .handoff-state,
body.pulse-meridian-home [data-home-module="before-after-handoff"] .handoff-detail-card {
  border: 1px solid var(--mh-hairline);
  background: var(--mh-surface-alt);
}

body.pulse-meridian-home [data-home-module="before-after-handoff"] .handoff-after {
  border-color: color-mix(in srgb, var(--mh-cobalt) 35%, transparent);
  background: color-mix(in srgb, var(--mh-cobalt) 6%, var(--mh-paper));
}

body.pulse-meridian-home [data-home-module="before-after-handoff"] .handoff-state-label,
body.pulse-meridian-home [data-home-module="before-after-handoff"] .handoff-detail-label {
  font-family: var(--mh-font-mono);
  color: var(--mh-cobalt-dark);
}

body.pulse-meridian-home [data-home-module="before-after-handoff"] .handoff-state h3 {
  font-family: var(--mh-font-display);
  font-weight: 600;
  color: var(--mh-ink);
}

body.pulse-meridian-home [data-home-module="before-after-handoff"] .handoff-state p,
body.pulse-meridian-home [data-home-module="before-after-handoff"] .handoff-detail-card p {
  color: var(--mh-slate);
}

/* artifact-preview */
body.pulse-meridian-home [data-home-module="artifact-preview"] .artifact-preview__copy {
  background: var(--mh-surface-alt);
  color: var(--mh-ink);
}

body.pulse-meridian-home [data-home-module="artifact-preview"] .artifact-preview__copy h2 {
  font-family: var(--mh-font-display);
  font-weight: 800;
  color: var(--mh-ink);
}

body.pulse-meridian-home [data-home-module="artifact-preview"] .artifact-preview__copy p,
body.pulse-meridian-home [data-home-module="artifact-preview"] .artifact-preview__copy dd {
  color: var(--mh-slate);
}

body.pulse-meridian-home [data-home-module="artifact-preview"] .artifact-preview__copy dl div {
  border-left: 3px solid var(--mh-cobalt);
}

body.pulse-meridian-home [data-home-module="artifact-preview"] .artifact-preview__copy dt {
  color: var(--mh-ink);
  font-weight: 700;
}

body.pulse-meridian-home [data-home-module="artifact-preview"] .artifact-preview__panel {
  border: 1px solid var(--mh-hairline);
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 20px 50px rgba(14, 15, 18, 0.06);
}

body.pulse-meridian-home [data-home-module="artifact-preview"] .artifact-preview__header {
  border-bottom: 1px solid var(--mh-hairline);
}

body.pulse-meridian-home [data-home-module="artifact-preview"] .artifact-preview__header strong {
  font-family: var(--mh-font-display);
  font-weight: 600;
  color: var(--mh-ink);
}

/* Status pill — neutral variant. Live copy (homepage.artifactPreview.status,
   src/site-data/properties/portal.js) reads "Prepared for review" — a
   pending/awaiting-action state, not an approved one, so the green
   .mh-brief__status recipe would misrepresent state. 18.04:1 verified,
   handoff doc contrast table. */
body.pulse-meridian-home [data-home-module="artifact-preview"] .artifact-preview__header span {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--mh-surface-alt);
  color: var(--mh-ink);
}

body.pulse-meridian-home [data-home-module="artifact-preview"] .artifact-row {
  border-bottom: 1px solid var(--mh-hairline);
}

body.pulse-meridian-home [data-home-module="artifact-preview"] .artifact-row span {
  font-family: var(--mh-font-mono);
  color: var(--mh-cobalt-dark);
}

body.pulse-meridian-home [data-home-module="artifact-preview"] .artifact-row p {
  color: var(--mh-ink);
}

/* governance-cues */
body.pulse-meridian-home [data-home-module="governance-cues"] .governance-cue {
  border: 1px solid var(--mh-hairline);
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: none;
}

body.pulse-meridian-home [data-home-module="governance-cues"] .governance-cue h3 {
  font-family: var(--mh-font-display);
  font-weight: 600;
  color: var(--mh-ink);
}

body.pulse-meridian-home [data-home-module="governance-cues"] .governance-cue p {
  color: var(--mh-slate);
}

/* operator-proof */
body.pulse-meridian-home [data-home-module="operator-proof"] .proof-card {
  border: 1px solid var(--mh-hairline);
  border-radius: 12px;
  background: #FFFFFF;
  overflow: hidden;
}

body.pulse-meridian-home [data-home-module="operator-proof"] .proof-card-image {
  background: var(--mh-surface-alt);
}

body.pulse-meridian-home [data-home-module="operator-proof"] .proof-card-label {
  font-family: var(--mh-font-mono);
  color: var(--mh-cobalt-dark);
  background: color-mix(in srgb, var(--mh-cobalt) 8%, var(--mh-paper));
}

body.pulse-meridian-home [data-home-module="operator-proof"] .proof-card-copy p {
  color: var(--mh-slate);
}

/* approval-status — deliberate ink-dark treatment (mirrors .mh-cta),
   per plan decision resolved ahead of this implementation. The one
   module with an overlaid background image + scrim. */
body.pulse-meridian-home [data-home-module="approval-status"] {
  background: var(--mh-ink);
  color: #FFFFFF;
  position: relative;
}

body.pulse-meridian-home [data-home-module="approval-status"]::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--mh-cobalt);
  z-index: 2;
}

body.pulse-meridian-home [data-home-module="approval-status"] .section-bg-image::after {
  background:
    linear-gradient(180deg, rgba(14, 15, 18, 0.96) 0%, rgba(14, 15, 18, 0.86) 60%, rgba(14, 15, 18, 0.94) 100%),
    radial-gradient(ellipse 60% 50% at 20% 25%, rgba(46, 92, 255, 0.18), transparent 65%);
}

body.pulse-meridian-home [data-home-module="approval-status"] .site-section-head h2 {
  font-family: var(--mh-font-display);
  font-weight: 800;
  color: #FFFFFF;
}

body.pulse-meridian-home [data-home-module="approval-status"] .site-section-head p {
  color: var(--mh-ink-support);
}

body.pulse-meridian-home [data-home-module="approval-status"] [data-approval-item] {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 16px;
}

body.pulse-meridian-home [data-home-module="approval-status"] [data-approval-item] span {
  font-family: var(--mh-font-mono);
  color: var(--mh-link-on-ink);
}

body.pulse-meridian-home [data-home-module="approval-status"] [data-approval-item] p {
  color: var(--mh-ink-support);
}

/* intent-ctas */
body.pulse-meridian-home [data-home-module="intent-ctas"] .intent-row {
  border: 1px solid var(--mh-hairline);
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: none;
  transition: border-color 0.2s ease;
}

body.pulse-meridian-home [data-home-module="intent-ctas"] .intent-row:focus-within,
body.pulse-meridian-home [data-home-module="intent-ctas"] .intent-row:hover {
  border-color: var(--mh-cobalt);
}

body.pulse-meridian-home [data-home-module="intent-ctas"] .intent-row-image {
  background: var(--mh-surface-alt);
}

body.pulse-meridian-home [data-home-module="intent-ctas"] .intent-row strong {
  color: var(--mh-ink);
  font-family: var(--mh-font-display);
  font-weight: 600;
}

body.pulse-meridian-home [data-home-module="intent-ctas"] .intent-row small {
  color: var(--mh-slate);
}

body.pulse-meridian-home [data-home-module="intent-ctas"] .intent-row-action {
  color: var(--mh-cobalt-dark);
  font-weight: 600;
}

body.pulse-meridian-home [data-home-module="intent-ctas"] .intent-row-action:hover {
  color: var(--mh-cobalt);
  text-decoration: underline;
}

body.pulse-meridian-home [data-home-module="intent-ctas"] .intent-row-action:focus-visible {
  outline: 2px solid var(--mh-cobalt);
  outline-offset: 2px;
}
