/* ============================================================
   site-refine.css — phase-2 refinements
   Layered on top of site-styles.css. Touches:
   - Container width + section spacing scale
   - Trust band stats (bigger, grid)
   - Hero badges (no ragged wrap)
   - Sector marquee edge mask
   - ROI on dark surface
   - Scroll-reveal animations
   - Mobile nav drawer
   - Response platform module mock
   - Misc polish (line-height, dot match, light/dark rhythm)
   ============================================================ */

:root {
  /* Section spacing — three-tier scale (tightened for 13" laptops) */
  --sp-section-tight: clamp(44px, 4.5vw, 56px);
  --sp-section:       clamp(60px, 6vw, 80px);
  --sp-section-hero:  clamp(72px, 8vw, 104px);
}

/* ---------- Container: widen + fluid ---------- */
.container {
  max-width: 1320px;
  width: min(1320px, 92vw);
  padding: 0 24px;
}
.container--narrow { max-width: 1080px; }

/* ---------- Section vertical rhythm ---------- */
.challenges,
.consolidation,
.how,
.origin,
.assessment,
.contact { padding-top: var(--sp-section); padding-bottom: var(--sp-section); }
.r24-hero { padding: 56px 0 64px; }
.certs-strip { padding: var(--sp-section-tight) 0; }

#modules,
#response-modules { padding-top: var(--sp-section) !important; padding-bottom: var(--sp-section) !important; }

/* ---------- Hero: badge wrap fix + sub line-height ---------- */
.r24-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.r24-badge {
  white-space: nowrap;
  padding: 5px 12px;
  font-size: 11px;
  letter-spacing: 0.02em;
}
.r24-hero__sub { line-height: 1.6; }

/* ---------- Nav: cleanup + mobile hamburger ---------- */
.r24-nav__inner { gap: 24px; }
.r24-nav__hamburger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  align-items: center; justify-content: center;
  cursor: pointer;
  color: #fff;
  padding: 0;
}
.r24-nav__hamburger:hover { background: rgba(255,255,255,0.08); }
.r24-nav__hamburger svg { width: 18px; height: 18px; }

/* ---------- Trust band: grid + bigger numbers + stable dividers ---------- */
.trust-band__top { padding: 36px 0; }
.trust-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 0;
}
.trust-stat {
  position: relative;
  padding: 6px 0;
}
.trust-stat__num {
  font-size: clamp(28px, 3vw, 40px) !important;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.trust-stat__num .plus {
  font-size: 0.55em !important;
  vertical-align: super;
  margin-left: 1px;
}
.trust-stat__label {
  font-size: 11px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 6px;
}
.trust-divider { display: none; }
.trust-stat + .trust-stat::before {
  content: "";
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: var(--gray-200);
}
@media (max-width: 900px) {
  .trust-stats { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .trust-stat:nth-child(3n+1)::before { display: none; }
}
@media (max-width: 560px) {
  .trust-stats { grid-template-columns: repeat(2, 1fr); }
  .trust-stat::before { display: none !important; }
}

/* ---------- Sector marquee: edge fade-mask + nicer pills ---------- */
.trust-band__bottom { padding: 24px 0 30px; }
.sector-track {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  padding: 4px 0;
}
.sector-pill {
  white-space: nowrap;
  font-size: 12.5px;
}

/* ---------- Awards strip: keep on one line ---------- */
.awards-bar__inner {
  flex-wrap: wrap;
  gap: 18px 32px;
}
.award { white-space: nowrap; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.06s; }
.reveal[data-delay="2"] { transition-delay: 0.12s; }
.reveal[data-delay="3"] { transition-delay: 0.18s; }
.reveal[data-delay="4"] { transition-delay: 0.24s; }
.reveal[data-delay="5"] { transition-delay: 0.30s; }
.reveal[data-delay="6"] { transition-delay: 0.36s; }
.reveal[data-delay="7"] { transition-delay: 0.42s; }
.reveal[data-delay="8"] { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Deep-dive section: hidden until a deep-dive button is clicked ---------- */
.modules-deep.is-collapsed { display: none; }

/* ---------- Merged "Why R24" pain: thin gold rule between audience groups ---------- */
.parch-pain-split {
  height: 1px;
  max-width: 1100px;
  margin: 8px auto 64px;
  background: linear-gradient(90deg, transparent, rgba(201,173,97,0.38), transparent);
}

/* ---------- Eyebrow accent fix: base .eyebrow (site-styles.css) loads after
   styles.css and was overriding the red/coral variants with teal. Re-assert here
   (last-loaded sheet) so the red audience group reads red, not teal. ---------- */
.eyebrow--red,
.eyebrow--coral { color: var(--red-500); }

/* ---------- PULSE divider: use the PULSE teal accent, not gold/yellow.
   Scoped to --pulse so the Response divider keeps its own trim. ---------- */
.parch-divider--pulse .parch-divider__mark { color: var(--teal-400); }
.parch-divider--pulse .parch-divider__mark::after { background: var(--teal-400); }
.parch-divider--pulse .parch-divider__title em { color: var(--teal-400); }

/* ---------- Response divider: red-on-red has poor contrast on the red banner.
   Use a light coral (lighter than the background, mirrors how PULSE uses a light
   teal on its dark-teal banner) so the accent reads clearly. ---------- */
.parch-divider--response .parch-divider__mark { color: var(--r24-coral-200); }
.parch-divider--response .parch-divider__mark::after { background: var(--r24-coral-200); }
.parch-divider--response .parch-divider__title em { color: var(--r24-coral-200); }

/* ---------- Challenges grid: tighten + reveal stagger ---------- */
.ch-grid { gap: 16px; }
.ch-grid .ch-card { will-change: transform, opacity; }

/* ---------- Consolidation arrow: hover-pulse the link ---------- */
.consol-arrow__bubble { transition: transform 0.4s var(--ease); }
.consolidation:hover .consol-arrow__bubble { transform: scale(1.08); }
.consol-arrow__bubble::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  opacity: 0;
  animation: arrow-link-pulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes arrow-link-pulse {
  0%   { transform: scale(0.85); opacity: 0; }
  20%  { opacity: 0.65; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ---------- ROI: dark surface (matches challenges/consolidation rhythm) ---------- */
.roi {
  background:
    radial-gradient(900px 360px at 20% 0%, rgba(26,138,154,0.10), transparent 70%),
    radial-gradient(900px 360px at 80% 100%, rgba(200,35,51,0.08), transparent 70%),
    var(--surface-dark);
  color: #fff;
}
.roi .section-header .section-h2 { color: #fff; }
.roi .section-sub { color: rgba(255,255,255,0.62); }
.roi__bg-grid {
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px) !important;
  background-size: 48px 48px !important;
}
.roi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: none;
}
.roi-card__label { color: rgba(255,255,255,0.55); }
.roi-card label,
.roi-input__val,
.roi-input__scale,
.roi-input__assumption { color: rgba(255,255,255,0.78) !important; }
.roi-input__scale span { color: rgba(255,255,255,0.4) !important; }
.roi-input__val { color: var(--gold-500) !important; }
.roi-input input[type="range"] {
  background: rgba(255,255,255,0.08);
}
.roi-output {
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.55) 100%);
  border: 1px solid rgba(255,255,255,0.10);
}
.roi-disclaimer {
  color: rgba(255,255,255,0.45) !important;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  margin-top: 36px;
}

/* ---------- ROI count-up: numbers animate when in view ---------- */
.roi-output__hero-val,
.roi-metric__val { font-variant-numeric: tabular-nums; }

/* ---------- CTA banner: keep tight on narrow screens, promote weight ---------- */
.cta-banner { padding: var(--sp-section) 0; }
.cta-banner__card {
  background: linear-gradient(135deg, var(--navy-500) 0%, var(--navy-800) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  position: relative;
  overflow: hidden;
}
.cta-banner__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 240px at 100% 0%, rgba(200,35,51,0.22), transparent 70%),
    radial-gradient(360px 220px at 0% 100%, rgba(212,163,34,0.14), transparent 70%);
  pointer-events: none;
}
.cta-banner__card > * { position: relative; }

/* ---------- Certs strip: clean grid, no overlap risk ---------- */
.certs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 900px) {
  .certs { grid-template-columns: repeat(2, 1fr); }
}
.cert {
  flex-direction: row;
  justify-content: center;
  padding: 16px 18px;
}
.cert__name { font-size: 13px; }
.cert__sub { font-size: 11px; }

/* ---------- Response module mock canvas ---------- */
.canvas__body--resp { padding: 0 !important; }
.resp-mock {
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    radial-gradient(600px 280px at 110% -10%, rgba(200,35,51,0.10), transparent 60%),
    radial-gradient(700px 320px at -10% 110%, rgba(212,163,34,0.08), transparent 60%),
    linear-gradient(180deg, #1A1F3A 0%, #14172B 100%);
  color: #fff;
  height: 100%;
  min-height: 520px;
}
.resp-mock__head {
  padding: 32px 36px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.resp-mock__id {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.resp-mock__num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--red-400);
  background: rgba(200,35,51,0.12);
  border: 1px solid rgba(200,35,51,0.28);
  padding: 4px 10px;
  border-radius: 4px;
}
.resp-mock__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold-500);
  background: rgba(212,163,34,0.10);
  border: 1px solid rgba(212,163,34,0.25);
  padding: 4px 10px;
  border-radius: 4px;
}
.resp-mock__title {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.resp-mock__tagline {
  color: rgba(255,255,255,0.65);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
  max-width: 720px;
}

.resp-mock__body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px 36px 28px;
}
.resp-mock__metric {
  background: linear-gradient(180deg, rgba(200,35,51,0.16) 0%, rgba(200,35,51,0.04) 100%);
  border: 1px solid rgba(200,35,51,0.32);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
}
.resp-mock__metric-val {
  font-family: var(--font);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  color: var(--gold-500);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.resp-mock__metric-lab {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}
.resp-mock__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.resp-mock__bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  color: rgba(255,255,255,0.82);
  font-size: 13.5px;
  line-height: 1.5;
}
.resp-mock__check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(212,163,34,0.18);
  border: 1px solid rgba(212,163,34,0.4);
  color: var(--gold-500);
  display: grid; place-items: center;
  margin-top: 2px;
}
.resp-mock__foot {
  margin: 0 36px 28px;
  padding: 18px 20px;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
}
.resp-mock__foot-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 8px;
}
.resp-mock__foot p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}
@media (max-width: 720px) {
  .resp-mock__body { grid-template-columns: 1fr; }
  .resp-mock__head { padding: 24px; }
  .resp-mock__body { padding: 20px 24px; }
  .resp-mock__foot { margin: 0 24px 24px; }
}

/* ---------- Console hint + CTA row under console ---------- */
.console-hint {
  text-align: center;
  color: var(--gray-400);
  font-size: 13px;
  margin: 18px 0 64px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.canvas__cta-row {
  border-top: 1px solid var(--gray-200);
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  background: var(--gray-50);
}
/* Primary filled CTA — high visibility */
.canvas__cta-primary {
  border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--teal-600);
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(26,138,154,0.30);
  transition: background 0.16s ease, transform 0.12s ease, box-shadow 0.16s ease;
}
.canvas__cta-primary:hover { background: var(--teal-700, #0A5E54); box-shadow: 0 6px 18px rgba(26,138,154,0.36); }
.canvas__cta-primary:active { transform: scale(0.98); }
.canvas__cta-primary--red { background: var(--red-500); box-shadow: 0 4px 14px rgba(200,35,51,0.28); }
.canvas__cta-primary--red:hover { background: var(--red-600); box-shadow: 0 6px 18px rgba(200,35,51,0.34); }
/* Secondary — outline button (upgraded from a faint text link) */
.canvas__cta-link {
  background: var(--white);
  border: 1.5px solid var(--teal-600);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-600);
  padding: 9px 15px;
  border-radius: 8px;
  transition: background 0.16s ease, color 0.16s ease;
}
.canvas__cta-link:hover {
  background: var(--teal-600);
  color: #fff;
}
.canvas__cta-link--red { border-color: var(--red-500); color: var(--red-500); }
.canvas__cta-link--red:hover { background: var(--red-500); color: #fff; }

/* ---------- Modules section: same wider cap ---------- */
.console-wrap { max-width: 1320px !important; }

/* ---------- Deep-dive: tighter active focus + smoother open ---------- */
.deep-dive[open] {
  background: #fff;
  box-shadow: 0 16px 48px rgba(20,30,50,0.08);
}
.deep-dive[open] .deep-dive__chev {
  transform: rotate(180deg);
}
.deep-dive__chev { transition: transform 0.25s ease; }
.deep-dive { scroll-margin-top: 88px; }
.deep-dive__body { animation: dive-open 0.32s cubic-bezier(.22,1,.36,1); }
@keyframes dive-open {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Mobile nav drawer ---------- */
@media (max-width: 960px) {
  .r24-nav__hamburger { display: inline-flex; }
  .r24-nav__links {
    position: fixed;
    inset: 64px 0 auto 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px;
    transform: translateY(-110%);
    transition: transform 0.32s cubic-bezier(.22,1,.36,1);
    z-index: 50;
  }
  .r24-nav__links a {
    padding: 14px 4px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .r24-nav__links a:last-child { border-bottom: 0; }
  .r24-nav[data-mobile-open="1"] .r24-nav__links {
    transform: translateY(0);
  }
  .r24-nav__actions .btn-tour { display: none; }
}

/* ---------- Hero stack on small viewports ---------- */
@media (max-width: 1020px) {
  .r24-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-device-stack { justify-self: center; max-width: 320px; }
}

/* ---------- Section-header polish: tighter pretty wrap ---------- */
.section-h2,
.r24-hero__title { text-wrap: balance; }

/* ---------- Light/dark rhythm: subtle band under modules ---------- */
#modules { background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FC 100%); }
#response-modules { background: linear-gradient(180deg, #F8F9FC 0%, #FFFFFF 100%); }

/* ---------- Footer chev fix on deep-dive metric on narrow ---------- */
@media (max-width: 720px) {
  .deep-dive__summary { grid-template-columns: 56px 1fr auto; gap: 14px; }
  .deep-dive__metric { display: none; }
}

/* ---------- Compact button hover for ghost CTAs ---------- */
.btn-ghost-lg { transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease; }

/* ---------- Trust band: subtle band background to distinguish from awards ---------- */
.trust-band__top {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 100%);
  border-bottom: 1px solid var(--gray-200);
}
.trust-band__bottom {
  background: var(--gray-50);
}

/* =============================================================
   ARCHITECTURE — Option A
   Two anchored platform blocks with gateway dividers,
   colour spine, and per-platform CTA strips.
   ============================================================= */

/* Colour spine — subtle tint that runs behind a whole platform block */
.parch-block { position: relative; }
.parch-block--pulse {
  background: linear-gradient(180deg,
    rgba(26,138,154,0.06) 0%,
    rgba(26,138,154,0.025) 40%,
    rgba(26,138,154,0) 100%);
}
.parch-block--response {
  background: linear-gradient(180deg,
    rgba(200,35,51,0.06) 0%,
    rgba(200,35,51,0.025) 40%,
    rgba(200,35,51,0) 100%);
}

/* Gateway banner — the "you are entering platform X" moment */
.parch-divider {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  color: #fff;
  scroll-margin-top: 72px;
}
.parch-divider--pulse {
  background:
    radial-gradient(900px 360px at 12% 30%, rgba(39,170,187,0.4), transparent 70%),
    linear-gradient(135deg, #0A4651 0%, #0F5E6A 50%, #1A8A9A 100%);
}
.parch-divider--response {
  background:
    radial-gradient(900px 360px at 12% 30%, rgba(224,50,67,0.35), transparent 70%),
    linear-gradient(135deg, #6E1422 0%, #8E1B2E 50%, #C82333 100%);
}
.parch-divider::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.55;
  pointer-events: none;
}
.parch-divider::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212,163,34,0.5) 30%,
    rgba(212,163,34,0.85) 50%,
    rgba(212,163,34,0.5) 70%,
    transparent 100%);
}
.parch-divider__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
@media (max-width: 840px) {
  .parch-divider__inner { grid-template-columns: 1fr; gap: 28px; align-items: start; }
}
.parch-divider__mark {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.parch-divider__mark::after {
  content: "";
  flex: 0 0 80px;
  height: 1px;
  background: var(--gold-500);
  opacity: 0.55;
}
.parch-divider__title {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: #fff;
}
.parch-divider__title em {
  font-style: normal;
  color: var(--gold-500);
}
.parch-divider__sub {
  font-size: 17.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.84);
  max-width: 640px;
  margin: 0;
}
.parch-divider__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  text-align: right;
}
@media (max-width: 840px) {
  .parch-divider__meta { align-items: flex-start; text-align: left; }
}
.parch-divider__count {
  font-family: var(--font);
  font-weight: 800;
  font-size: 26px;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1;
}
.parch-divider__count small {
  display: block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}
.parch-divider__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 320px;
}
@media (max-width: 840px) {
  .parch-divider__chips { justify-content: flex-start; max-width: none; }
}
.parch-divider__chip {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
}

/* Per-platform CTA strip — closes each mini-arc */
.parch-cta-strip {
  padding: 48px 0 72px;
}
.parch-cta-strip__card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 30px 36px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: 0 12px 36px rgba(20,19,44,0.08);
  position: relative;
  overflow: hidden;
}
.parch-cta-strip__card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
}
.parch-cta-strip--pulse .parch-cta-strip__card::before {
  background: linear-gradient(180deg, var(--teal-400), var(--teal-600));
}
.parch-cta-strip--response .parch-cta-strip__card::before {
  background: linear-gradient(180deg, var(--red-400), var(--red-600));
}
@media (max-width: 760px) {
  .parch-cta-strip__card {
    grid-template-columns: 1fr;
    padding: 24px 24px 24px 30px;
  }
}
.parch-cta-strip__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.parch-cta-strip__label::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
}
.parch-cta-strip--pulse .parch-cta-strip__label { color: var(--teal-600); }
.parch-cta-strip--pulse .parch-cta-strip__label::before { background: var(--teal-500); }
.parch-cta-strip--response .parch-cta-strip__label { color: var(--red-600); }
.parch-cta-strip--response .parch-cta-strip__label::before { background: var(--red-500); }
.parch-cta-strip__headline {
  font-family: var(--font);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  color: var(--navy-800);
  margin: 0;
  letter-spacing: -0.01em;
}
.parch-cta-strip__sub {
  margin: 8px 0 0;
  color: var(--gray-600);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 640px;
}
.parch-cta-strip__btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  align-items: center;
}
@media (max-width: 760px) {
  .parch-cta-strip__btns { flex-wrap: wrap; }
}

/* Pain intro card — Response variant matches PULSE's existing card style */
.pain-intro--response .pain-intro__bar { border-left-color: var(--red-500); }
.pain-intro--response .pain-intro__quote { color: var(--red-500); }

/* =============================================================
   MODULE 02 — Real-Time Executive Dashboard live animations
   Snappy, NOC-style. Nothing bouncy.
   ============================================================= */

/* Geofence circle gently pulses opacity + scales 4% */
@keyframes m08-geofence-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(1.04); }
}
.m08__map-svg circle {
  transform-origin: 420px 320px;
  transform-box: fill-box;
  animation: m08-geofence-pulse 2.6s ease-in-out infinite;
}

/* Red alert markers pulse like radar pings */
@keyframes m08-mkr-ping {
  0%   { box-shadow: 0 0 0 0 rgba(217,34,67,0.55); }
  70%  { box-shadow: 0 0 0 11px rgba(217,34,67,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,34,67,0); }
}
.m08 .mkr--red { animation: m08-mkr-ping 1.8s ease-out infinite; }

/* Amber shield markers — softer halo */
@keyframes m08-mkr-soft {
  0%   { box-shadow: 0 0 0 0 rgba(212,163,34,0.45); }
  70%  { box-shadow: 0 0 0 9px rgba(212,163,34,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,163,34,0); }
}
.m08 .mkr--amber { animation: m08-mkr-soft 2.4s ease-out infinite; }

/* Incoming threat rows fade + slide in.
   Each fresh DOM node animates once on mount.
   Initial 5 stagger via inline animation-delay. */
@keyframes m08-threat-in {
  0%   { opacity: 0; transform: translateY(-10px); background: rgba(217,34,67,0.20); }
  55%  { opacity: 1; background: rgba(217,34,67,0.10); }
  100% { opacity: 1; transform: translateY(0); background: transparent; }
}
.m08__threat-row {
  animation: m08-threat-in 0.55s cubic-bezier(.22,1,.36,1) both;
}

/* User popup fade/slide when persona changes (key bump remounts) */
@keyframes m08-popup-in {
  0%   { opacity: 0; transform: translateY(6px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.m08 .user-popup {
  animation: m08-popup-in 0.4s cubic-bezier(.22,1,.36,1);
}

/* NOT OK pill in popup pulses */
@keyframes m08-pill-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217,34,67,0.55); }
  50%      { box-shadow: 0 0 0 6px rgba(217,34,67,0); }
}
.m08 .user-popup .pill--coral {
  animation: m08-pill-pulse 1.6s ease-in-out infinite;
}

/* Widget value bump on count change (key bump remounts) */
@keyframes m08-value-bump {
  0%   { transform: scale(1);    filter: none; }
  30%  { transform: scale(1.12); filter: drop-shadow(0 0 6px rgba(217,34,67,0.6)); }
  100% { transform: scale(1);    filter: none; }
}
.m08__widget-value--bump {
  display: inline-block;
  transform-origin: left center;
  animation: m08-value-bump 0.5s ease-out;
}

/* Threat counter flash on each rotation */
@keyframes m08-tick-flash {
  0%   { color: rgba(255,255,255,0.5); }
  25%  { color: var(--r24-coral); }
  100% { color: rgba(255,255,255,0.5); }
}
.m08__threat-count--tick {
  animation: m08-tick-flash 0.55s ease-out;
}

/* Top bar bell badge — soft attention pulse */
@keyframes m08-bell-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.18); }
}
.m08__topbar svg + span {
  /* leave as-is to avoid touching unrelated UI */
}

/* Search chip — subtle live-cursor caret feel */
@keyframes m08-cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.m08__search::after {
  content: "";
  display: inline-block;
  width: 1px; height: 11px;
  background: rgba(255,255,255,0.6);
  margin-left: 6px;
  vertical-align: -1px;
  animation: m08-cursor-blink 1.1s steps(1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .m08__map-svg circle,
  .m08 .mkr--red,
  .m08 .mkr--amber,
  .m08__threat-row,
  .m08 .user-popup,
  .m08 .user-popup .pill--coral,
  .m08__widget-value--bump,
  .m08__threat-count--tick,
  .m08__search::after,
  .vro-toast,
  .m08__bell--ring,
  .m08__sidebar-item--vro,
  .m08__sidebar-vro-dot,
  .vro-toast__spark { animation: none !important; }
}

/* =============================================================
   VRO — Virtual Risk Operator toast stack
   The differentiator: visible agent action, gold-accented, slides
   in from the bell, holds ~5.5s, fades out. Cycles every 5.5s.
   ============================================================= */

.vro-toasts {
  position: absolute;
  bottom: 64px;             /* clear the bottom action bar */
  left: 14px;
  z-index: 5;
  display: flex;
  flex-direction: column-reverse;  /* newest sits at the top of the stack */
  gap: 7px;
  width: 270px;
  pointer-events: none;
}
@media (max-width: 900px) {
  .vro-toasts { width: 230px; left: 10px; bottom: 56px; }
}

@keyframes vro-toast-in {
  0%   { opacity: 0; transform: translate(-14px, 4px) scale(0.96); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes vro-toast-out {
  0%   { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(-10px, 2px) scale(0.98); }
}

.vro-toast {
  position: relative;
  padding: 9px 11px 10px;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(20,19,44,0.94) 0%, rgba(14,13,32,0.94) 100%);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(212,163,34,0.45);
  box-shadow:
    0 8px 22px rgba(0,0,0,0.32),
    0 0 0 1px rgba(212,163,34,0.10),
    0 0 18px rgba(212,163,34,0.08);
  color: #fff;
  animation: vro-toast-in 0.42s cubic-bezier(.22,1,.36,1);
  pointer-events: auto;
}
.vro-toast::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2.5px;
  background: linear-gradient(180deg, var(--gold-500), rgba(212,163,34,0.4));
  border-radius: 9px 0 0 9px;
}
.vro-toast--out {
  animation: vro-toast-out 0.4s ease-in forwards;
}
.vro-toast__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px;
}
.vro-toast__chip {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  padding: 2px 7px 2px 6px;
  border-radius: 999px;
  background: rgba(212,163,34,0.12);
  border: 1px solid rgba(212,163,34,0.45);
  display: inline-flex; align-items: center; gap: 5px;
}
@keyframes vro-spark {
  0%, 100% { transform: scale(1) rotate(0deg);   opacity: 0.85; }
  50%      { transform: scale(1.18) rotate(20deg); opacity: 1; }
}
.vro-toast__spark {
  display: inline-block;
  font-size: 9px;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(212,163,34,0.7));
  animation: vro-spark 1.8s ease-in-out infinite;
}
.vro-toast__when {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.42);
}
.vro-toast__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  letter-spacing: -0.005em;
  margin-bottom: 1px;
}
.vro-toast__sub {
  font-family: var(--font);
  font-size: 10.5px;
  line-height: 1.4;
  color: rgba(255,255,255,0.72);
}

/* Bell badge bump on new toast — coral pulse */
@keyframes m08-bell-bump {
  0%   { transform: scale(1);    color: rgba(255,255,255,0.7); }
  30%  { transform: scale(1.2);  color: var(--r24-coral); }
  100% { transform: scale(1);    color: rgba(255,255,255,0.7); }
}
.m08__bell--ring {
  display: inline-block;
  transform-origin: center;
  animation: m08-bell-bump 0.6s ease-out;
}

/* Sidebar — VRO Agent icon at the bottom (always-on differentiator) */
.m08__sidebar-divider {
  height: 1px;
  margin: 10px 12px 6px;
  background: rgba(255,255,255,0.10);
}
.m08__sidebar-item--vro {
  position: relative;
  color: var(--gold-500) !important;
  animation: m08-vro-icon-bump 0.55s ease-out;
}
.m08__sidebar-item--vro::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(212,163,34,0.18), rgba(212,163,34,0.05));
  border: 1px solid rgba(212,163,34,0.45);
  pointer-events: none;
}
.m08__sidebar-item--vro > svg { position: relative; z-index: 1; }
.m08__sidebar-vro-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--r24-coral);
  z-index: 2;
  animation: m08-vro-dot-pulse 1.6s ease-in-out infinite;
}
@keyframes m08-vro-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(217,34,67,0.35); transform: scale(1); }
  50%      { box-shadow: 0 0 0 6px rgba(217,34,67,0);    transform: scale(1.05); }
}
@keyframes m08-vro-icon-bump {
  0%   { transform: scale(1);    filter: none; }
  35%  { transform: scale(1.16); filter: drop-shadow(0 0 8px rgba(212,163,34,0.75)); }
  100% { transform: scale(1);    filter: none; }
}

/* =============================================================
   MODULE 07 — Language Translation (image-slot variant)
   ============================================================= */
.m-lang--slot {
  position: relative;
  height: 100%;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: var(--gray-50);
}

/* =============================================================
   MODULE 07 — Language Translation v2
   One broadcast, three languages: French GSOC portal background
   with two end-user phones (English + Arabic) overlaid.
   ============================================================= */
.m-lang2 {
  position: relative;
  height: 100%;
  min-height: 540px;
  border-radius: 12px;
  overflow: hidden;
  background: #0E1426;
}
.m-lang2__bg {
  position: absolute; inset: 0;
}
.m-lang2__bg-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,19,44,0.18) 0%, rgba(20,19,44,0.0) 25%, rgba(20,19,44,0.0) 65%, rgba(20,19,44,0.18) 100%),
    linear-gradient(180deg, rgba(20,19,44,0.20) 0%, rgba(20,19,44,0.0) 30%, rgba(20,19,44,0.0) 70%, rgba(20,19,44,0.25) 100%);
  pointer-events: none;
}

/* Top banner — smaller, centered, no overlap with portal nav */
.m-lang2__banner {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 12px 7px 8px;
  background: rgba(20,19,44,0.92);
  border: 1px solid rgba(212,163,34,0.5);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,0.45);
  white-space: nowrap;
  max-width: calc(100% - 24px);
}
.m-lang2__banner-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(212,163,34,0.16);
  border: 1px solid rgba(212,163,34,0.45);
}
.m-lang2__banner-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212,163,34,0.30);
}
.m-lang2__banner-text {
  font-size: 12px;
  color: rgba(255,255,255,0.82);
  line-height: 1.3;
}
.m-lang2__banner-text strong { color: var(--gold-500); }
.m-lang2__banner-meta {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,0.15);
}
@media (max-width: 1100px) {
  .m-lang2__banner-text { display: none; }
  .m-lang2__banner-meta { padding-left: 0; border-left: 0; }
}

/* Operator caption — top-left, compact */
.m-lang2__op {
  position: absolute;
  top: 62px;
  left: 14px;
  z-index: 3;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  width: 280px;
  background: rgba(20,19,44,0.9);
  border: 1px solid rgba(255,255,255,0.10);
  border-left: 3px solid var(--gold-500);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff;
}
.m-lang2__op-avatar {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-500), var(--red-600));
  color: #fff;
  font-family: var(--font);
  font-weight: 800;
  font-size: 11.5px;
  display: grid; place-items: center;
  letter-spacing: 0.04em;
}
.m-lang2__op-body { flex: 1; min-width: 0; }
.m-lang2__op-lab {
  margin: 0 0 1px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.m-lang2__op-lab strong { color: var(--gold-500); }
.m-lang2__op-name {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}
.m-lang2__op-role {
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  font-size: 11px;
}
.m-lang2__op-quote {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.4;
  color: rgba(255,255,255,0.78);
  font-style: italic;
}

/* Phones — much smaller, anchored bottom-right of map */
.m-lang2__phone {
  position: absolute;
  z-index: 3;
  width: 158px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.m-lang2__phone--en { right: 196px; bottom: 22px; }
.m-lang2__phone--ar { right: 22px;  bottom: 22px; }
@media (max-width: 1100px) {
  .m-lang2__phone { width: 136px; }
  .m-lang2__phone--en { right: 168px; bottom: 16px; }
  .m-lang2__phone--ar { right: 16px;  bottom: 16px; }
}

/* Map layer toggles over the GSOC portal background — consistent with section 02.
   Anchored bottom-left so they clear the two phones (bottom-right). */
.m-lang2__layers {
  position: absolute;
  left: 18px;
  bottom: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 56%;
  z-index: 4;
}

/* Privacy redaction — anonymised PII + blurred pricing for demo/screenshot use */
.r24-blur {
  filter: blur(5px);
  -webkit-filter: blur(5px);
  user-select: none;
  pointer-events: none;
}
.m-lang2__phone-tag {
  display: flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(20,19,44,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.m-lang2__phone-lang {
  color: var(--gold-500);
  font-weight: 800;
  letter-spacing: 0.18em;
}
.m-lang2__phone-who { color: rgba(255,255,255,0.65); }

/* Device frame — smaller */
.m-lang2__device {
  width: 100%;
  aspect-ratio: 9 / 19;
  background: #0a0e1e;
  border-radius: 18px;
  padding: 4px;
  position: relative;
  box-shadow:
    0 16px 28px rgba(0,0,0,0.55),
    inset 0 0 0 1.2px rgba(255,255,255,0.06);
}
.m-lang2__device-notch {
  position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 13px;
  background: #06091a;
  border-radius: 8px;
  z-index: 2;
}
.m-lang2__device-screen {
  position: relative;
  inset: 0;
  height: 100%;
  background: linear-gradient(180deg, #0E1432 0%, #14132C 100%);
  border-radius: 14px;
  overflow: hidden;
  padding: 22px 4px 3px;
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: var(--font);
}

/* App bar — tighter */
.m-lang2__appbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 3px 4px 4px;
  margin: 0 -1px 3px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.m-lang2__bell {
  position: relative;
  width: 16px; height: 16px;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.75);
}
.m-lang2__bell svg { width: 12px; height: 12px; }
.m-lang2__badge {
  position: absolute;
  top: -3px; right: -5px;
  background: var(--red-500);
  color: #fff;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 800;
  padding: 0 3px;
  border-radius: 999px;
  letter-spacing: 0;
}
.m-lang2__logo img {
  width: 20px; height: 20px;
  object-fit: contain;
}
.m-lang2__hamburger {
  display: flex; flex-direction: column; gap: 2px;
}
.m-lang2__hamburger span {
  width: 11px; height: 1.2px;
  background: rgba(255,255,255,0.65);
  border-radius: 1px;
}

/* Feed */
.m-lang2__feed {
  flex: 1; overflow: hidden;
  display: flex; flex-direction: column; gap: 5px;
  padding: 3px 1px;
}
.m-lang2__bc {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 6px;
  padding: 6px;
  background: #182245;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.04);
}
.m-lang2__bc--amber { background: linear-gradient(180deg, #1a2754 0%, #14132C 100%); }
.m-lang2__bc--gray  { background: linear-gradient(180deg, #1c2546 0%, #131227 100%); }
.m-lang2__bc-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
}
.m-lang2__bc-icon svg { width: 11px; height: 11px; }
.m-lang2__bc-icon--amber { background: var(--gold-500); color: #1a1300; }
.m-lang2__bc-icon--gray  { background: rgba(255,255,255,0.18); }
.m-lang2__bc-body { min-width: 0; }
.m-lang2__bc-title {
  margin: 0 0 2px;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.22;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.m-lang2__bc-sub {
  margin: 0 0 4px;
  font-size: 7.5px;
  line-height: 1.28;
  color: rgba(255,255,255,0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[dir="rtl"] .m-lang2__bc-title,
[dir="rtl"] .m-lang2__bc-sub { text-align: right; }
.m-lang2__bc-foot {
  margin-top: 3px;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  gap: 5px;
}
.m-lang2__bc-ts {
  font-family: var(--mono);
  font-size: 7px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
}
.m-lang2__bc-reply {
  font-family: var(--font);
  font-size: 7.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.m-lang2__bc-reply--ok {
  background: #2EA770;
  color: #fff;
}
.m-lang2__bc-reply--no {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.75);
}
.m-lang2__bc-cta {
  margin-top: 4px;
  width: 100%;
  background: var(--red-500);
  color: #fff;
  border: 0;
  padding: 5px 6px;
  border-radius: 5px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 8px;
  letter-spacing: 0.02em;
}

/* Tab bar */
.m-lang2__tabbar {
  display: flex; justify-content: space-around;
  padding: 5px 8px;
  margin: 3px -4px -3px;
  background: #1A2454;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.m-lang2__tab {
  color: rgba(255,255,255,0.55);
  display: grid; place-items: center;
}
.m-lang2__tab svg { width: 12px; height: 12px; }
.m-lang2__tab--active { color: #fff; }

/* =============================================================
   Broadcast animation — packets fly from operator → both phones,
   plus a periodic outgoing ring on the operator avatar.
   ============================================================= */
.m-lang2__pulse {
  position: absolute;
  z-index: 4;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow:
    0 0 0 3px rgba(212,163,34,0.4),
    0 0 16px rgba(212,163,34,0.7);
  pointer-events: none;
  opacity: 0;
}
@keyframes m-lang2-fly-en {
  0%   { left: 6%;  top: 18%; opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  8%   { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
  20%  { transform: translate(-50%, -50%) scale(1); }
  55%  { left: 40%; top: 34%; opacity: 1; transform: translate(-50%, -50%) scale(0.95); }
  82%  { left: 68%; top: 65%; opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
  92%  { left: 68%; top: 65%; opacity: 0.55; transform: translate(-50%, -50%) scale(2.0); }
  100% { left: 68%; top: 65%; opacity: 0;    transform: translate(-50%, -50%) scale(2.4); }
}
@keyframes m-lang2-fly-ar {
  0%   { left: 6%;  top: 18%; opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  8%   { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
  20%  { transform: translate(-50%, -50%) scale(1); }
  55%  { left: 48%; top: 32%; opacity: 1; transform: translate(-50%, -50%) scale(0.95); }
  82%  { left: 88%; top: 65%; opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
  92%  { left: 88%; top: 65%; opacity: 0.55; transform: translate(-50%, -50%) scale(2.0); }
  100% { left: 88%; top: 65%; opacity: 0;    transform: translate(-50%, -50%) scale(2.4); }
}
.m-lang2__pulse--en { animation: m-lang2-fly-en 3.6s cubic-bezier(.4,0,.6,1) infinite; }
.m-lang2__pulse--ar { animation: m-lang2-fly-ar 3.6s cubic-bezier(.4,0,.6,1) infinite; }

/* Outgoing ring from the operator avatar — synced to packet birth */
.m-lang2__broadcast-ring {
  position: absolute;
  z-index: 3;
  left: 6%;
  top: 18%;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  animation: m-lang2-ring 3.6s ease-out infinite;
}
@keyframes m-lang2-ring {
  0%   { opacity: 0; width: 14px; height: 14px; border-width: 2px; }
  3%   { opacity: 0.9; }
  30%  { opacity: 0; width: 90px; height: 90px; border-width: 1px; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .m-lang2__pulse,
  .m-lang2__broadcast-ring { animation: none !important; display: none; }
}

/* =============================================================
   MODULE 08 — Virtual Risk Operator (VRO)
   Reuses .m08 frame; adds the Notifications · Escalations panel.
   ============================================================= */

/* Bell in the topbar — bigger, badge-driven, taps to "open the panel" */
.m08-vro__bell-btn {
  position: relative;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.8);
  cursor: default;
}
.m08-vro__bell-badge {
  position: absolute;
  top: -4px; right: -6px;
  background: var(--r24-coral);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
}

/* The featured panel — anchored top-left over the map, replacing the threat panel */
.m08--vro .m08__threat-panel,
.m08--vro .user-popup { display: none; }
.m08-vro__panel {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 440px;
  max-height: calc(100% - 80px);
  display: flex;
  flex-direction: column;
  background: #0F1431;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
  color: #fff;
  z-index: 5;
  overflow: hidden;
}
@media (max-width: 1100px) {
  .m08-vro__panel { width: 380px; }
}
.m08-vro__panel-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 16px 16px 10px;
  gap: 12px;
}
.m08-vro__panel-title {
  margin: 0 0 2px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
}
.m08-vro__panel-count {
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  font-size: 14px;
}
.m08-vro__panel-sub {
  margin: 0;
  font-family: var(--font);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}
.m08-vro__panel-tools {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.m08-vro__panel-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font);
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  cursor: default;
}
.m08-vro__panel-toggle input {
  width: 13px; height: 13px;
  accent-color: var(--gold-500);
}
.m08-vro__panel-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: transparent;
  border: 0;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.7);
  cursor: default;
}
.m08-vro__panel-icon:hover { background: rgba(255,255,255,0.06); }

/* Tab bar */
.m08-vro__tabs {
  display: flex;
  padding: 0 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 2px;
  overflow-x: auto;
}
.m08-vro__tab {
  background: transparent;
  border: 0;
  padding: 10px 12px 12px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  position: relative;
  cursor: default;
  white-space: nowrap;
  transition: color 0.18s;
}
.m08-vro__tab:hover { color: #fff; }
.m08-vro__tab--active {
  color: #fff;
}
.m08-vro__tab--active::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: -1px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

/* Feed */
.m08-vro__feed {
  flex: 1;
  overflow-y: auto;
  padding: 4px 8px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
  animation: m08-vro-feed-in 0.4s cubic-bezier(.22,1,.36,1);
}
.m08-vro__feed::-webkit-scrollbar { width: 6px; }
.m08-vro__feed::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
@keyframes m08-vro-feed-in {
  0%   { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}
.m08-vro__group { padding: 8px 4px 0; }
.m08-vro__group-date {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  padding: 2px 6px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 8px;
}
.m08-vro__noti {
  display: grid;
  grid-template-columns: 36px 1fr 56px;
  gap: 10px;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.m08-vro__noti:last-child { border-bottom: 0; }
.m08-vro__noti-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  align-self: start;
  margin-top: 2px;
}
.m08-vro__noti-icon--amber { background: var(--gold-500); color: #1a1300; }
.m08-vro__noti-icon--coral { background: var(--r24-coral); color: #fff; }
.m08-vro__noti-icon--teal  { background: var(--teal-500); color: #fff; }
.m08-vro__noti-icon--navy  { background: rgba(255,255,255,0.16); color: #fff; }
.m08-vro__noti-body { min-width: 0; }
.m08-vro__noti-title {
  margin: 0 0 2px;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.m08-vro__noti-desc {
  margin: 0 0 6px;
  font-family: var(--font);
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255,255,255,0.65);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.m08-vro__noti-tags {
  display: flex; gap: 5px; flex-wrap: wrap;
}
.m08-vro__noti-tag {
  font-family: var(--font);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  color: #fff;
}
.m08-vro__noti-tag--amber { background: var(--gold-500); color: #1a1300; }
.m08-vro__noti-tag--coral { background: var(--r24-coral); }
.m08-vro__noti-tag--teal  { background: var(--teal-500); }
.m08-vro__noti-meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  padding-top: 4px;
}
.m08-vro__noti-ts {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.m08-vro__noti-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.m08-vro__noti-dot--empty {
  border: 1.5px solid rgba(255,255,255,0.4);
}
.m08-vro__noti-dot--filled { border: 1.5px solid transparent; }
.m08-vro__noti-dot--filled.m08-vro__noti-dot--amber { background: var(--gold-500); }
.m08-vro__noti-dot--filled.m08-vro__noti-dot--coral { background: var(--r24-coral); }
.m08-vro__noti-dot--filled.m08-vro__noti-dot--teal  { background: var(--teal-500); }

/* Panel footer */
.m08-vro__panel-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 10px;
}
.m08-vro__panel-foot-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase;
}
.m08-vro__live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212,163,34,0.3);
  animation: gov-blink 1.4s ease-in-out infinite;
}
.m08-vro__panel-mark {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 600;
  cursor: default;
}
.m08-vro__panel-mark:hover { background: rgba(255,255,255,0.06); }

/* Widgets variant — VRO context */
.m08__widgets--vro .m08__widget-badge {
  background: linear-gradient(135deg, var(--gold-500), #b48f3a);
  color: #1a1300;
}

@media (prefers-reduced-motion: reduce) {
  .m08-vro__feed,
  .m08-vro__live-dot { animation: none !important; }
}

/* =============================================================
   MODULE 01 (section 03) — "Real-Time Risk Match" map
   Zoomed-out feel: larger geofence + larger pins so the
   matched-users-inside-geofence story reads at a glance.
   ============================================================= */
.m01__map .geofence { width: 24%; }
.m01__map .geofence__core { width: 11px; height: 11px; box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(26,119,255,0.30); }
.m01__map .upin { width: 26px; height: 26px; border-width: 2.5px; }
.m01__map .upin svg { width: 12px; height: 12px; }
.m01__map .threat-pin { width: 32px; height: 32px; }
.m01__map .threat-pin svg { width: 15px; height: 15px; }

/* =============================================================
   GLOBAL OVERSIGHT — looped scene: world map + synced phone
   ============================================================= */
.gov {
  background:
    radial-gradient(900px 360px at 12% 0%, rgba(26,138,154,0.10), transparent 70%),
    linear-gradient(180deg, #0E0D24 0%, #14132C 100%);
  color: #fff;
  padding: var(--sp-section) 0;
  overflow: hidden;
  position: relative;
}
.gov::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5; pointer-events: none;
}
.gov .container { position: relative; z-index: 1; }

.gov__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}
.gov__head .section-h2 { color: #fff; }
.gov__head .section-sub { color: rgba(255,255,255,0.65); }
.gov__live-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--r24-coral);
  box-shadow: 0 0 0 4px rgba(217,34,67,0.22);
  margin-right: 10px;
  vertical-align: middle;
  animation: gov-blink 1.6s ease-in-out infinite;
}
@keyframes gov-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* === Stage layout: map + phone bay === */
.gov__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 1080px) {
  .gov__stage { grid-template-columns: 1fr; }
}

/* === Map === */
.gov__map {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0F2138;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  aspect-ratio: 1280 / 720;
}
.gov__map-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.95);
}
.gov__map-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, transparent 0%, rgba(14,13,32,0.35) 100%),
    linear-gradient(180deg, rgba(14,13,32,0.1) 0%, rgba(14,13,32,0.45) 100%);
  pointer-events: none;
}
.gov__map-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
}

/* City dots — small ambient pulse */
.gov__dot {
  position: absolute;
  width: 10px; height: 10px;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.gov__dot-core {
  position: absolute;
  left: 50%; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-400);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 2px rgba(39,170,187,0.30),
    0 0 8px rgba(39,170,187,0.5);
  animation: gov-dot-pulse 2.6s ease-in-out infinite;
}
@keyframes gov-dot-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.85; }
  50%      { transform: translate(-50%, -50%) scale(1.25); opacity: 1; }
}

/* Active city — stronger core + ripples + label */
.gov__dot--active .gov__dot-core {
  width: 11px; height: 11px;
  background: var(--r24-coral);
  box-shadow:
    0 0 0 3px rgba(217,34,67,0.4),
    0 0 12px rgba(217,34,67,0.7);
  animation: none;
}
.gov__ripple {
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--r24-coral);
  transform: translate(-50%, -50%);
  animation: gov-ripple 2.4s ease-out infinite;
  pointer-events: none;
}
.gov__ripple--delay { animation-delay: 1.2s; }
@keyframes gov-ripple {
  0%   { width: 14px; height: 14px; opacity: 0.85; }
  100% { width: 96px; height: 96px; opacity: 0; }
}
.gov__label {
  position: absolute;
  left: 16px;
  top: 0;
  transform: translateY(-50%);
  background: rgba(20,19,44,0.88);
  border: 1px solid rgba(217,34,67,0.5);
  padding: 5px 9px 6px;
  border-radius: 8px;
  white-space: nowrap;
  font-family: var(--font);
  display: flex; flex-direction: column;
  z-index: 4;
  animation: gov-label-in 0.4s ease-out;
}
@keyframes gov-label-in {
  0%   { opacity: 0; transform: translate(8px, -50%) scale(0.94); }
  100% { opacity: 1; transform: translate(0, -50%)   scale(1); }
}
.gov__label-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
}
.gov__label-meta {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--r24-coral);
  margin-top: 2px;
}

/* Corner overlays */
.gov__corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  background: rgba(20,19,44,0.7);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 6px 11px;
  border-radius: 6px;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.gov__corner--tl { top: 14px; left: 14px; }
.gov__corner--tr { top: 14px; right: 14px; }
.gov__corner--bl { bottom: 14px; left: 14px; }
.gov__corner--br { bottom: 14px; right: 14px; color: var(--gold-500); }
.gov__corner--br strong { color: #fff; margin-left: 4px; }
.gov__corner-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--r24-coral);
  box-shadow: 0 0 0 3px rgba(217,34,67,0.25);
  animation: gov-blink 1.6s ease-in-out infinite;
}

/* Event banner — large floating tag for the active event */
.gov__event-banner {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px 10px 12px;
  background: rgba(20,19,44,0.94);
  border: 1px solid rgba(212,163,34,0.45);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  z-index: 4;
  animation: gov-banner-in 0.5s cubic-bezier(.22,1,.36,1);
  max-width: 540px;
}
@keyframes gov-banner-in {
  0%   { opacity: 0; transform: translate(-50%, 8px); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}
.gov__event-pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.gov__event-pill--coral { background: rgba(217,34,67,0.18); color: #FFB8C2; border: 1px solid rgba(217,34,67,0.45); }
.gov__event-pill--amber { background: rgba(212,163,34,0.18); color: var(--gold-500); border: 1px solid rgba(212,163,34,0.45); }
.gov__event-pill--gold  { background: rgba(212,163,34,0.22); color: var(--gold-500); border: 1px solid rgba(212,163,34,0.55); }
.gov__event-pill--teal  { background: rgba(39,170,187,0.18); color: var(--teal-400); border: 1px solid rgba(39,170,187,0.45); }
.gov__event-text {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
}
.gov__event-text strong { color: #fff; margin-right: 4px; }

/* image-slot map background — fill the m08__main area, sit behind overlays */
image-slot.m08__map {
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  z-index: 0;
}
.m08__main .m08__map-svg { z-index: 1; pointer-events: none; }
.m08__main > .mkr,
.m08__main > .user-popup,
.m08__main > .m08__threat-panel,
.m08__main > .m08__widgets,
.m08__main > .m08__bottom { z-index: 2; }

/* === GLOBAL OVERSIGHT — Phone bay + Stats === */

.gov__phone-bay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 0;
}
.gov__phone-cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.gov__phone-cap-lab {
  font-size: 9.5px;
  color: rgba(255,255,255,0.45);
}
.gov__phone-cap-name {
  font-size: 12px;
  color: var(--gold-500);
}

.gov-phone {
  width: 248px;
  height: 504px;
  background: linear-gradient(170deg, #2a2540 0%, #0f0e22 100%);
  border-radius: 38px;
  position: relative;
  padding: 8px;
  box-shadow:
    0 30px 70px rgba(0,0,0,0.55),
    inset 0 0 0 1.5px rgba(255,255,255,0.06);
}
.gov-phone__notch {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 26px;
  background: #08071a;
  border-radius: 14px;
  z-index: 3;
}
.gov-phone__screen {
  position: absolute;
  inset: 8px;
  border-radius: 32px;
  background: linear-gradient(175deg, #14132C 0%, #1E1B45 65%, #14132C 100%);
  overflow: hidden;
  padding: 44px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
  font-family: var(--font);
}
.gov-phone__status {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.05em;
  margin-top: -2px;
}
.gov-phone__appbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 0 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.gov-phone__bell {
  position: relative;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.75);
}
.gov-phone__bell-badge {
  position: absolute;
  top: -2px; right: -4px;
  background: var(--r24-coral);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.gov-phone__brand img {
  width: 32px; height: 32px;
  object-fit: contain;
}
.gov-phone__menu {
  display: flex; flex-direction: column; gap: 3px;
}
.gov-phone__menu span {
  width: 18px; height: 2px;
  background: rgba(255,255,255,0.6);
  border-radius: 1px;
}

.gov-phone__card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 14px 16px;
  display: flex; flex-direction: column;
  gap: 8px;
  flex: 1;
  animation: gov-phone-card-in 0.4s cubic-bezier(.22,1,.36,1);
}
@keyframes gov-phone-card-in {
  0%   { opacity: 0; transform: translateY(8px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.gov-phone__pill {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid currentColor;
}
.gov-phone__pill-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: gov-blink 1.4s ease-in-out infinite;
}
.gov-phone__pill--coral { color: #FF8E9C; border-color: rgba(255,142,156,0.5); background: rgba(217,34,67,0.10); }
.gov-phone__pill--amber { color: var(--gold-500); border-color: rgba(212,163,34,0.5); background: rgba(212,163,34,0.10); }
.gov-phone__pill--gold  { color: var(--gold-500); border-color: rgba(212,163,34,0.6); background: rgba(212,163,34,0.16); }
.gov-phone__pill--teal  { color: var(--teal-400); border-color: rgba(39,170,187,0.5); background: rgba(39,170,187,0.10); }

.gov-phone__cat {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.gov-phone__title {
  margin: 0;
  font-family: var(--font);
  font-weight: 800;
  font-size: 14.5px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: #fff;
}
.gov-phone__line {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.78);
}

.gov-phone__actions {
  display: flex; gap: 8px;
  margin-top: auto;
}
.gov-phone__btn {
  flex: 1;
  border: 0;
  border-radius: 10px;
  padding: 9px 0;
  font-family: var(--font);
  font-weight: 700;
  font-size: 12px;
  cursor: default;
}
.gov-phone__btn--ok {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
}
.gov-phone__btn--no {
  background: var(--r24-coral);
  color: #fff;
  animation: gov-phone-bnt-pulse 1.4s ease-in-out infinite;
}
@keyframes gov-phone-bnt-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217,34,67,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(217,34,67,0); }
}

.gov-phone__progress {
  margin-top: auto;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
  position: relative;
}
.gov-phone__progress-bar {
  height: 100%;
  width: 0;
  background: var(--r24-coral);
  border-radius: 999px;
  animation: gov-phone-progress 1.6s ease-out forwards;
}
@keyframes gov-phone-progress {
  0%   { width: 0; }
  100% { width: 100%; }
}
.gov-phone__progress-lab {
  position: absolute;
  left: 0; right: 0; top: -16px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

.gov-phone__eta {
  margin-top: auto;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 8px 6px;
}
.gov-phone__eta-line {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 4px;
  font-size: 16px;
}
.gov-phone__eta-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(39,170,187,0.3);
}
.gov-phone__eta-dash {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  background-size: 16px 100%;
  animation: gov-phone-eta-dash 1.4s linear infinite;
}
@keyframes gov-phone-eta-dash {
  0%   { background-position: 0 0; }
  100% { background-position: 16px 0; }
}
.gov-phone__eta-van {
  animation: gov-phone-van 1.6s ease-in-out infinite alternate;
}
@keyframes gov-phone-van {
  0%   { transform: translateX(-3px); }
  100% { transform: translateX(3px); }
}
.gov-phone__eta-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.gov-phone__resolved {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(39,170,187,0.15);
  color: var(--teal-400);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gov-phone__tabbar {
  display: flex; justify-content: center; gap: 6px;
  padding-top: 8px;
}
.gov-phone__tab {
  width: 32px; height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
}
.gov-phone__tab--active { background: var(--gold-500); }

/* === GLOBAL OVERSIGHT — Bottom stats === */
.gov__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
@media (max-width: 760px) {
  .gov__stats { grid-template-columns: repeat(2, 1fr); }
}
.gov__stat {
  display: flex; flex-direction: column; gap: 4px;
  text-align: center;
}
.gov__stat-val {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.gov__stat-val small {
  font-size: 0.55em;
  color: var(--gold-500);
  margin-left: 2px;
  font-weight: 700;
}
.gov__stat-lab {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

@media (prefers-reduced-motion: reduce) {
  .gov__dot-core,
  .gov__ripple,
  .gov__live-dot,
  .gov__corner-dot,
  .gov-phone__btn--no,
  .gov-phone__progress-bar,
  .gov-phone__eta-dash,
  .gov-phone__eta-van,
  .gov-phone__pill-dot,
  .gov-phone__card,
  .gov__event-banner,
  .gov__label { animation: none !important; }
}

/* =============================================================
   COMPACT GLOBAL STAGE — for the PULSE hero right column
   ============================================================= */
.hero-device-stack--global {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.gov-compact {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gov-compact__caption {
  text-align: left;
}
.gov-compact__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin: 0 0 6px;
  display: inline-flex;
  align-items: center;
}
.gov-compact__title {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}
.gov-compact__map {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #0F2138;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    0 0 0 1px rgba(212,163,34,0.08);
  aspect-ratio: 5 / 4;
}
.gov-compact .gov__map-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.08) brightness(1.1) contrast(1.02);
}
.gov-compact .gov__map-veil {
  background:
    radial-gradient(ellipse 70% 90% at 50% 50%, transparent 0%, rgba(14,13,32,0.12) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(14,13,32,0.18) 100%);
}
.gov-compact .gov__corner {
  font-size: 9.5px;
  padding: 5px 9px;
}
.gov-compact__corner-stat {
  color: var(--gold-500) !important;
}
.gov-compact__event {
  left: 14px;
  right: 14px;
  bottom: 48px;
  transform: none;
  max-width: none;
  width: auto;
}
@keyframes gov-compact-banner-in {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.gov-compact__event {
  animation: gov-compact-banner-in 0.5s cubic-bezier(.22,1,.36,1);
}

/* Phone overlay on the compact map — synced GovPhone, scaled down */
.gov-compact__phone-overlay {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) scale(0.58);
  transform-origin: right center;
  z-index: 6;
  pointer-events: none;
  filter:
    drop-shadow(0 18px 28px rgba(0,0,0,0.45))
    drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}
/* Make sure the inner phone box renders crisply at small scale */
.gov-compact__phone-overlay .gov-phone {
  box-shadow: none;
}
.gov-compact__phone-overlay .gov-phone__screen {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
@media (max-width: 900px) {
  .gov-compact { max-width: 100%; }
  .gov-compact__map { aspect-ratio: 16 / 11; }
  .gov-compact__phone-overlay { transform: translateY(-50%) scale(0.48); }
}

/* =============================================================
   MOBILE SHOWCASE — the original HeroPhoneLoop's new home
   ============================================================= */
.mob-showcase {
  background:
    radial-gradient(700px 320px at 90% 10%, rgba(26,138,154,0.06), transparent 70%),
    var(--gray-50);
  padding: var(--sp-section) 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.mob-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .mob-showcase__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
.mob-showcase__copy { max-width: 620px; }
.mob-showcase__copy .section-h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  margin: 0 0 16px;
}
.mob-showcase__copy .section-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-600);
  margin: 0 0 24px;
  max-width: 580px;
}
.mob-showcase__pills {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.mob-showcase__pills li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--gray-800);
  font-weight: 500;
}
.mob-showcase__pill-dot {
  flex-shrink: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  margin-top: 7px;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}
.mob-showcase__pill-dot--coral { background: var(--r24-coral); }
.mob-showcase__pill-dot--gold  { background: var(--gold-500); }
.mob-showcase__pill-dot--teal  { background: var(--teal-500); }
.mob-showcase__ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.mob-showcase__device {
  display: flex;
  justify-content: center;
  align-items: center;
}
