/* =========================================================
   PXN UI v1.9.5 — Global System Tokens
   ========================================================= */
:root {
  /* institutional palette */
  --pxn-ink-strong: rgba(255, 255, 255, .92);
  --pxn-ink-body: rgba(255, 255, 255, .78);
  --pxn-ink-muted: rgba(255, 255, 255, .66);
  --pxn-surface: rgba(0, 0, 0, .30);
  --pxn-surface2: rgba(255, 255, 255, .04);
  --pxn-edge: rgba(255, 255, 255, .10);
  --pxn-edge2: rgba(255, 255, 255, .08);

  /* rhythm */
  --pxn-gap-section: clamp(44px, 6vw, 92px);
  --pxn-gap-stack: 14px;
}

[data-pxn-section] {
  padding-top: var(--pxn-gap-section) !important;
  padding-bottom: var(--pxn-gap-section) !important;
}

.pxn-home-hero {
  position: relative;
  padding: clamp(48px, 6vw, 96px) 0;
}

.pxn-home-hero-inner {
  width: min(1200px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

@media(max-width:900px) {
  .pxn-home-hero-inner {
    grid-template-columns: 1fr;
  }
}

.pxn-home-hero-left {
  max-width: 68ch
}

.pxn-home-hero-actions {
  margin-top: 16px
}

.pxn-micro {
  margin-top: 10px;
  font-size: 12px;
  color: var(--pxn-muted)
}

.pxn-dashboard-frame {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.pxn-dashboard-media {
  position: absolute;
  inset: 0;
  background-image: url("https://praxionsystems.org/assets/pxn/v9/console_proof_v9.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.05);
}

html[data-pxn-motion="on"] .pxn-dashboard-media {
  animation: pxnDrift 12s ease-in-out infinite;
}

@keyframes pxnDrift {
  0% {
    transform: scale(1.04) translateY(0)
  }

  50% {
    transform: scale(1.06) translateY(-8px)
  }

  100% {
    transform: scale(1.04) translateY(0)
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-pxn-motion="on"] .pxn-dashboard-media {
    animation: none
  }
}

.pxn-dashboard-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(34, 230, 255, .18), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .55));
  pointer-events: none;
}

.pxn-dashboard-meta {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px);
}

.pxn-dashboard-title {
  font-size: 12px;
  font-weight: 700
}

.pxn-dashboard-sub {
  font-size: 11px;
  color: var(--pxn-muted)
}

.pxn-book-panel {
  width: min(1040px, 94vw);
  margin: 0 auto;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}

@media(max-width:760px) {
  .pxn-book-panel {
    grid-template-columns: 1fr
  }
}

/* Shell */
.pxn-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 8px 0;
}


.pxn-shell-inner {
  width: min(1200px, 94vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pxn-shell-nav {
  display: flex;
  gap: 8px;
}

@media(max-width:760px) {
  .pxn-shell-nav {
    display: none;
  }
}

.pxn-shell-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 6px 10px;
  font-size: 12px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.pxn-shell-pill[data-active="1"] {
  border-color: rgba(34, 230, 255, .25);
  box-shadow: 0 0 0 1px rgba(34, 230, 255, .15) inset;
}

/* Lead Form */
.pxn-lead-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin-top: 24px;
}

.pxn-lead-form input {
  flex: 1;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  transition: border-color .18s;
}

.pxn-lead-form input:focus {
  border-color: #2563EB;
  outline: none;
}

@media(max-width: 768px) {
  .pxn-lead-form {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
  }

  .pxn-lead-form input,
  .pxn-lead-form .pxn-btn {
    width: 100%;
  }
}

/* Button System v9 — High Specificity Overrides */
.pxn-btn,
.pxn-shell .pxn-btn,
.pxn-lead-capture .pxn-btn {
  appearance: none !important;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .15) !important;
  border-radius: 12px;
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  transition: all .14s ease;
  white-space: nowrap;
  box-shadow: none !important;
}

.pxn-btn:hover,
.pxn-shell .pxn-btn:hover,
.pxn-lead-capture .pxn-btn:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .25) !important;
  color: #fff;
  transform: translateY(-1px);
}

.pxn-btn-primary,
.pxn-shell .pxn-btn-primary,
.pxn-lead-capture .pxn-btn-primary {
  background: #2563EB !important;
  border-color: rgba(37, 99, 235, .5) !important;
  color: #fff !important;
}

.pxn-btn-primary:hover,
.pxn-shell .pxn-btn-primary:hover,
.pxn-lead-capture .pxn-btn-primary:hover {
  background: #3B82F6 !important;
  border-color: #60A5FA !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .3) !important;
}

/* Explicit Lead Form Overrides */
.pxn-lead-form .pxn-btn {
  margin: 0;
  outline: none !important;
}

.pxn-lead-form .pxn-btn:focus {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .4);
}

/* Visibility Utilities */
.pxn-mobile-only {
  display: none !important;
}

@media (max-width: 760px) {
  .pxn-desktop-only {
    display: none !important;
  }

  .pxn-mobile-only {
    display: inline-block !important;
  }

  .pxn-shell-inner {
    justify-content: space-between;
    width: 92vw;
  }
}

/* =========================================================
   PXN UI v1.9.5 — Highest-Fidelity Visual Completion
   - Vertical rhythm
   - Calm confidence contrast tuning
   - CTA emphasis balance
   -## Re-assessment & Finalization Phase (v1.9.5-rev1)

We are re-checking the Canary environment at `https://praxionsystems.org/foundational-canary/` to verify reported regressions and ensure all structural (DNA) and visual (CSS/JS) changes are correctly applied.

### Target Fix List:
1. **Backdrop Filter**: Ensure `blur(14px)` is active on `.pxn-shell`.
2. **Nav Tracking**: Stabilize `IntersectionObserver` in `pxn-runtime.v9.js`.
3. **Structural Wrappers**: Confirm `.pxn-steps` and `.pxn-install-note` through `apply_v1_9.py`.
4. **Instrument Panel**: Fix segmented track CSS variable painting and spill logic in `<pxn-sim>`.
5. **MIME Integrity**: Resolve `deploy.sh` preflight failures properly.

## Proposed Changes
 tracks (instrument panel)
   ========================================================= */

/* ---------- A) Calm confidence contrast tuning ---------- */
:root {
  /* softer ink for calmer confidence, maintain readability */
  --pxn-ink-strong: rgba(255, 255, 255, .92);
  --pxn-ink-body: rgba(255, 255, 255, .78);
  --pxn-ink-muted: rgba(255, 255, 255, .66);
  --pxn-surface: rgba(0, 0, 0, .30);
  --pxn-surface2: rgba(255, 255, 255, .04);
  --pxn-edge: rgba(255, 255, 255, .10);
  --pxn-edge2: rgba(255, 255, 255, .08);
}

.pxn-content {
  color: var(--pxn-ink-strong);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.pxn-content p {
  color: var(--pxn-ink-body);
  line-height: 1.72;
}

.pxn-mini {
  color: var(--pxn-ink-muted);
}

/* Reduce “neon” feel: make cyan/blue more controlled on non-CTA surfaces */
.pxn-card {
  border-color: var(--pxn-edge);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .03));
}

/* ---------- B) Consistent vertical rhythm between sections ---------- */
:root {
  --pxn-gap-section: clamp(44px, 6vw, 92px);
  --pxn-gap-stack: 14px;
}

[data-pxn-section] {
  padding-top: var(--pxn-gap-section);
  padding-bottom: var(--pxn-gap-section);
}

[data-pxn-divider="top"] {
  margin-top: calc(var(--pxn-gap-section) * .35);
}

/* prevent accidental tight stacking in Elementor */
.pxn-content .elementor-section+.elementor-section {
  margin-top: 0 !important;
}

/* ---------- C) CTA emphasis balance (primary vs secondary) ---------- */
.pxn-btn {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .28);
  color: rgba(255, 255, 255, .90);
}

.pxn-btn:hover {
  filter: brightness(1.10);
}

.pxn-btn-primary {
  border-color: rgba(34, 230, 255, .22);
  box-shadow: 0 14px 44px rgba(42, 107, 255, .18);
}

/* Secondary CTA should look “quiet but crisp”, not equal to primary */
.pxn-btn:not(.pxn-btn-primary) {
  box-shadow: none;
}

.pxn-estimator-actions .pxn-btn:not(.pxn-btn-primary) {
  background: rgba(255, 255, 255, .03);
  border-color: rgba(255, 255, 255, .12);
}

/* ---------- D) After-book: frame the 3-step story ---------- */
.pxn-afterbook {
  width: min(1040px, 94vw);
  margin: 0 auto;
}

.pxn-steps {
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--pxn-edge);
  background: rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
}

.pxn-steps h3 {
  font-weight: 820;
  font-size: 14px;
}

.pxn-steps p {
  color: var(--pxn-ink-body);
}

.pxn-install-note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--pxn-edge2);
  font-size: 12px;
  color: var(--pxn-ink-muted);
}

/* ---------- E) Estimator: instrument panel finish ---------- */
.pxn-estimator {
  width: min(1040px, 94vw);
  margin: 18px auto 0;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--pxn-edge);
  background: rgba(0, 0, 0, .30);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.pxn-estimator:before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(circle at 18% 18%, rgba(34, 230, 255, .08), transparent 58%),
    radial-gradient(circle at 82% 42%, rgba(42, 107, 255, .08), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0));
  opacity: 1;
  pointer-events: none;
}

.pxn-estimator>* {
  position: relative;
  z-index: 1;
}

.pxn-estimator-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.pxn-h3 {
  font-size: 16px;
  font-weight: 820;
  margin-top: 6px;
}

.pxn-estimator-result {
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(34, 230, 255, .14);
  background: rgba(0, 0, 0, .22);
  min-width: 230px;
}

.pxn-days {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}

.pxn-days span {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.pxn-days em {
  font-style: normal;
  font-size: 12px;
  color: var(--pxn-ink-muted);
}

.pxn-estimator-sliders {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

/* ---------- F) Segmented track appearance (highest fidelity) ---------- */
.pxn-range {
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--pxn-edge2);
  background: rgba(0, 0, 0, .20);
  position: relative;
  overflow: hidden;
}

.pxn-range:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0));
  pointer-events: none;
  opacity: .9;
}

.pxn-range label {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, .78);
}

.pxn-range [data-pxn-val] {
  font-weight: 900;
  color: rgba(255, 255, 255, .92);
}

.pxn-range input[type="range"] {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 10px;
  appearance: none;
  height: 24px;
  background: transparent;
  outline: none;
}

/* WebKit track */
.pxn-range input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .10);
  background:
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, .08) 0px,
      rgba(255, 255, 255, .08) 1px,
      transparent 1px,
      transparent 18px),
    linear-gradient(90deg,
      rgba(34, 230, 255, .75) 0%,
      rgba(42, 107, 255, .75) calc(var(--pxn-pct, 50) * 1%),
      rgba(255, 255, 255, .03) calc(var(--pxn-pct, 50) * 1%),
      rgba(255, 255, 255, .03) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  box-shadow: 0 10px 34px rgba(0, 0, 0, .35);
}

/* WebKit thumb */
.pxn-range input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 55%),
    #0C0F14;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .55);
}

/* Firefox */
.pxn-range input[type="range"]::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .10);
  background:
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, .08) 0px,
      rgba(255, 255, 255, .08) 1px,
      transparent 1px,
      transparent 18px),
    linear-gradient(90deg,
      rgba(34, 230, 255, .75) 0%,
      rgba(42, 107, 255, .75) calc(var(--pxn-pct, 50) * 1%),
      rgba(255, 255, 255, .03) calc(var(--pxn-pct, 50) * 1%),
      rgba(255, 255, 255, .03) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
}

.pxn-range input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: #0C0F14;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .55);
}


/* Estimator footer */
.pxn-estimator-foot {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.pxn-estimator-status {
  font-size: 13px;
  font-weight: 500;
  color: var(--pxn-ink-body);
  flex: 1 1 200px;
}

.pxn-estimator-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* spill styling */
.pxn-estimator[data-spill="1"] .pxn-estimator-result {
  border-color: rgba(34, 230, 255, .35);
  background: rgba(34, 230, 255, .04);
  box-shadow: 0 18px 70px rgba(34, 230, 255, .10);
}

.pxn-estimator[data-spill="1"] .pxn-estimator-status {
  color: rgba(34, 230, 255, .92);
}

.pxn-estimator[data-spill="1"] [data-pxn-ttl] {
  color: rgba(255, 255, 255, 1);
}


/* ---------- G) Friction: turn bullet list into Risk Register ---------- */
.pxn-friction {
  padding: var(--pxn-gap-section) 0;
}

.pxn-friction-inner {
  width: min(1040px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(18px, 3vw, 48px);
  align-items: flex-start;
}

@media(max-width:900px) {
  .pxn-friction-inner {
    grid-template-columns: 1fr;
  }
}

.pxn-friction-left h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 950;
  letter-spacing: -.02em;
}

.pxn-friction-right {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--pxn-edge);
  background: rgba(0, 0, 0, .30);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.pxn-friction-right:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(34, 230, 255, .06), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.pxn-friction-right>* {
  position: relative;
  z-index: 1;
}

.pxn-friction-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 10px;
  display: grid;
  gap: 10px;
}

.pxn-friction-list li {
  position: relative;
  padding: 12px 14px 12px 34px;
  border-radius: 14px;
  border: 1px solid var(--pxn-edge);
  background: rgba(255, 255, 255, .02);
  color: var(--pxn-ink-body);
  line-height: 1.62;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all .18s ease;
}

.pxn-friction-list li:hover {
  background: rgba(255, 255, 255, .05);
  border-color: var(--pxn-edge2);
}

.pxn-friction-list li:before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: #22E6FF;
  box-shadow: 0 0 10px rgba(34, 230, 255, .65);
}


/* =========================
   v1.9.4 — Shell polish
   ========================= */
.pxn-shell {
  backdrop-filter: blur(14px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 18px 70px rgba(0, 0, 0, .55);
}

.pxn-shell-inner {
  padding: 8px 10px;
}

.pxn-shell-logo {
  font-weight: 850;
  letter-spacing: .02em;
  font-size: 12px;
  opacity: .92;
}

/* pills & chips: less neon, more institutional */
.pxn-shell-pill,
.pxn-rail-pill,
.pxn-chip {
  appearance: none !important;
  background: rgba(255, 255, 255, .035) !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, .78) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 5px 12px !important;
  transition: all .15s ease !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

.pxn-shell-pill:hover,
.pxn-rail-pill:hover,
.pxn-chip:hover {
  filter: brightness(1.12) !important;
  border-color: rgba(34, 230, 255, .22) !important;
  background: rgba(255, 255, 255, .06) !important;
}

.pxn-shell-pill[data-active="1"],
.pxn-shell-pill.active,
.pxn-rail-pill[data-active="1"],
.pxn-rail-pill.active,
.pxn-chip[data-on="1"],
.pxn-chip.is-active {
  border-color: rgba(34, 230, 255, .28) !important;
  color: rgba(255, 255, 255, .92) !important;
  background: rgba(34, 230, 255, .05) !important;
  box-shadow: 0 12px 40px rgba(34, 230, 255, .08) !important;
}

/* CTA: slightly denser and more “capital-grade” */
.pxn-shell .pxn-btn {
  padding: 9px 12px;
  border-radius: 12px;
}

/* =========================
   Final Anti-Pink Overrides
   ========================= */
button.pxn-chip,
button.pxn-rail-pill,
button.pxn-shell-pill,
.pxn-chip,
.pxn-rail-pill,
.pxn-shell-pill {
  color: rgba(255, 255, 255, .8) !important;
  background: rgba(255, 255, 255, .05) !important;
  border: 1px solid rgba(255, 255, 255, .15) !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

button.pxn-chip:hover,
button.pxn-rail-pill:hover,
button.pxn-shell-pill:hover {
  background: rgba(255, 255, 255, .12) !important;
  border-color: rgba(34, 230, 255, .3) !important;
  color: #fff !important;
}

button.pxn-chip[data-on="1"],
button.pxn-rail-pill[data-active="1"],
button.pxn-shell-pill[data-active="1"] {
  background: rgba(34, 230, 255, .08) !important;
  border-color: rgba(34, 230, 255, .4) !important;
  color: #fff !important;
}

/* Hero Mobile Polish */
@media (max-width: 600px) {
  .pxn-home-hero {
    padding-top: 100px;
  }

  .elementor-heading-title {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
}

/* =========================
   Scorched Earth Overrides
   ========================= */
[class*="pxn-"] button:not(.pxn-btn-primary),
[class*="pxn-"] .pxn-btn:not(.pxn-btn-primary),
[class*="pxn-"] .pxn-chip,
[class*="pxn-"] .pxn-rail-pill,
[class*="pxn-"] .pxn-shell-pill {
  color: rgba(255, 255, 255, 0.85) !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  text-decoration: none !important;
  font-family: inherit !important;
  outline: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

[class*="pxn-"] button:hover,
[class*="pxn-"] .pxn-btn:hover,
[class*="pxn-"] .pxn-chip:hover,
[class*="pxn-"] .pxn-rail-pill:hover,
[class*="pxn-"] .pxn-shell-pill:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(34, 230, 255, 0.35) !important;
  color: #fff !important;
}

/* Primary CTA Override */
.pxn-btn-primary,
button.pxn-btn-primary {
  background-color: #2563EB !important;
  border-color: rgba(37, 99, 235, 0.5) !important;
  color: #fff !important;
}

.pxn-btn-primary:hover {
  background-color: #3B82F6 !important;
}

/* Active State Reset */
[class*="pxn-"] button[data-on="1"],
[class*="pxn-"] button[data-active="1"] {
  background-color: rgba(34, 230, 255, 0.1) !important;
  border-color: rgba(34, 230, 255, 0.4) !important;
  color: #fff !important;
}

/* Primary CTA Styles managed at bottom of file for maximum specificity */

/* Structural Robustness: Steps Section */
#after-book .elementor-element-bg9ngjk,
.pxn-steps {
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding-top: 3rem !important;
  margin-top: 2rem !important;
}

/* Visibility Fix: Dashboard/Proof Meta Text */
#proof .pxn-kicker {
  color: rgba(255, 255, 255, 0.6) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  font-weight: 600 !important;
}

#proof .pxn-h2 {
  color: #FFFFFF !important;
  font-size: 2.6rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 0.8rem !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#proof .pxn-sub {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 1.15rem !important;
  max-width: 600px;
}

/* Footer Background Fix */
body,
section.elementor-element-ef2e5ee {
  background-color: #07090C !important;
}

/* Ensure the SVG atmosphere glow in the footer is visible */
.pxn-hero-atmosphere {
  z-index: 1;
}

/* ==========================================================
   v1.9.6 — Visual Upgrade Directive (Investor Grade)
   ========================================================== */

/* 1. Installation Timeline */
.pxn-install-timeline {
  width: min(1100px, 94vw);
  margin: 0 auto;
  padding: 42px 24px 34px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0)) !important;
}

.pxn-install-timeline h2 {
  font-size: clamp(28px, 3.2vw, 40px) !important;
  font-weight: 900 !important;
  letter-spacing: -.02em !important;
  margin-bottom: 18px !important;
}

.pxn-install-steps {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 18px !important;
  margin-top: 22px !important;
}

@media(max-width:900px) {
  .pxn-install-steps {
    grid-template-columns: 1fr !important;
  }
}

.pxn-install-steps>.elementor-column>.elementor-widget-wrap {
  padding: 18px 18px 16px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  background: rgba(0, 0, 0, .28) !important;
  height: 100%;
}

.pxn-install-steps h3 {
  font-weight: 800 !important;
  font-size: 14px !important;
  margin-bottom: 6px !important;
}

.pxn-install-steps p {
  font-size: 13px !important;
  color: rgba(255, 255, 255, .72) !important;
  line-height: 1.55 !important;
}

/* Estimator Rebalance */
.pxn-estimator {
  margin-top: 26px !important;
  border-radius: 20px !important;
  background: rgba(0, 0, 0, .30) !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
}

/* 2. Operational Delta (Before/After) */
.pxn-installed-delta {
  width: min(1040px, 94vw);
  margin: 26px auto 0 !important;
  padding: 20px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0)) !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
}

@media(max-width:800px) {
  .pxn-installed-delta {
    grid-template-columns: 1fr !important;
  }
}

.pxn-installed-delta .before {
  opacity: .72 !important;
}

.pxn-installed-delta .after {
  border-left: 1px solid rgba(34, 230, 255, .18) !important;
  padding-left: 18px !important;
}

.pxn-installed-delta h3 {
  font-size: 13px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, .65) !important;
}

.pxn-installed-delta p {
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* 3. Owner Ghost Panel */
.pxn-owner-ghost {
  position: relative !important;
  padding: 22px 20px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0)) !important;
  backdrop-filter: blur(10px) !important;
  max-width: 280px !important;
}

.pxn-owner-ghost:before {
  content: "" !important;
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg,
      rgba(255, 255, 255, .03),
      rgba(255, 255, 255, .03) 1px,
      transparent 1px,
      transparent 4px) !important;
  opacity: .25 !important;
  pointer-events: none !important;
}

.pxn-owner-ghost .label,
.pxn-owner-ghost h6 {
  font-size: 12px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  opacity: .7 !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.pxn-owner-ghost .metric,
.pxn-owner-ghost .v-rev,
.pxn-owner-ghost .v-inv {
  font-size: 20px !important;
  font-weight: 800 !important;
  margin: 6px 0 2px !important;
  color: #FFF !important;
}

/* 4. Rhythm & Calm */
section.pxn-section {
  margin-bottom: 64px !important;
}

@media(max-width:800px) {
  section.pxn-section {
    margin-bottom: 48px !important;
  }
}

body {
  color: rgba(255, 255, 255, .88) !important;
}

/* .pxn-btn-primary {
  box-shadow: 0 14px 44px rgba(42, 107, 255, .18) !important;
} */

/* ==========================================================
   v1.9.6 — LeadOps Unification Patch
   Unifies /leadops with the Foundational "Home OS" shell.
   ========================================================== */

/* 1. Global Scale & Rhythm */
html[data-pxn-variant="leadops"] section.pxn-section,
body.pxn-leadops section.pxn-section {
  margin-bottom: 64px !important;
}

@media(max-width:800px) {

  html[data-pxn-variant="leadops"] section.pxn-section,
  body.pxn-leadops section.pxn-section {
    margin-bottom: 48px !important;
  }
}

/* Force identical containment width */
html[data-pxn-variant="leadops"] .elementor-container,
body.pxn-leadops .elementor-container {
  max-width: 1100px !important;
}

/* 2. LeadOps Surface Branding (Product Integrity) */
html[data-pxn-variant="leadops"] .pxn-card,
body.pxn-leadops .pxn-card {
  border: 1px solid rgba(255, 255, 255, .10) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03)) !important;
  box-shadow: 0 26px 90px rgba(0, 0, 0, .62) !important;
}

/* Instrument Panel Logic for Calculators */
html[data-pxn-variant="leadops"] .pxn-estimator,
body.pxn-leadops .pxn-estimator {
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  background: rgba(0, 0, 0, .30) !important;
  backdrop-filter: blur(14px) !important;
}

/* 3. LeadOps Typography (Deterministic Weight) */
html[data-pxn-variant="leadops"] h1,
html[data-pxn-variant="leadops"] h2,
body.pxn-leadops h1,
body.pxn-leadops h2 {
  letter-spacing: -.02em !important;
}

html[data-pxn-variant="leadops"] p,
body.pxn-leadops p {
  color: rgba(255, 255, 255, .78) !important;
  line-height: 1.65 !important;
  max-width: 68ch !important;
}

/* Ensure the LeadOps Shell matches the Foundational Shell exactly */
html[data-pxn-variant="leadops"] .pxn-shell {
  backdrop-filter: blur(14px) !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
}

/* ==========================================================
   PRIMARY CTA ENFORCEMENT (Praxi\u00f3n Blue)
   Overriding "Scorched Earth" and Elementor Defaults
   ========================================================== */
html body .pxn-btn.pxn-btn-primary,
html body .elementor-button.pxn-btn-primary,
html body button.pxn-btn-primary,
html body .pxn-shell-cta.pxn-btn-primary,
html.pxn-leadops body .elementor-button,
html body .elementor-widget-button .elementor-button.pxn-btn-primary,
html body [data-pxn*="cta"] .elementor-button {
  background-color: #2563EB !important;
  border: 1px solid rgba(37, 99, 235, 0.45) !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35) !important;
  transition: transform .14s ease, filter .14s ease !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html body .pxn-btn.pxn-btn-primary:hover,
html body .elementor-button.pxn-btn-primary:hover,
html body button.pxn-btn-primary:hover,
html body .pxn-shell-cta.pxn-btn-primary:hover,
html.pxn-leadops body .elementor-button:hover,
html body [data-pxn*="cta"] .elementor-button:hover {
  background-color: #3B82F6 !important;
  transform: translateY(-1px) !important;
  filter: brightness(1.05) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45) !important;
}