/* Pons Agent Factory production identity and runtime layer.
   Preserves the captured layout and motion system while replacing identity,
   copy, iconography, and operating surfaces. */

html.pons-booting {
  background: #020706;
}

html.pons-booting body {
  opacity: 0;
}

body.pons-rebrand {
  opacity: 1;
  transition: opacity .18s ease-out;
  --pons-lime: #c9ff35;
  --pons-mint: #62ffd5;
  --pons-silver: #e9eee9;
  --pons-ink: #02060a;
  --pons-panel: #080b17;
  --pons-line: rgba(233, 238, 233, 0.13);
  --token-06d0cfd2-47b1-4dd7-aadc-5df5e95fb586: var(--pons-lime) !important;
  --token-5c57e10b-bb59-4787-8e5b-993b835cdd81: #d9ff76 !important;
  --token-59f91741-c829-4331-8972-b68443a7cdef: rgba(201, 255, 53, 0.12) !important;
  --token-d2f62b50-b6e2-433c-844f-7cec3d6a9f56: var(--pons-ink) !important;
  --token-d49f3973-59f9-42d0-819d-66186874f1c5: #050813 !important;
  --token-eadd90a0-199c-45f5-b0b8-fd356796ad64: #090d18 !important;
  background: var(--pons-ink) !important;
}

body.pons-rebrand ::selection {
  color: #071000;
  background: var(--pons-lime);
}

/* Remove template-author chrome from the isolated concept. */
body.pons-rebrand #__framer-badge-container,
body.pons-rebrand a[href*="framergeeks.com"],
body.pons-rebrand a[href*="framer.com"] {
  display: none !important;
}

/* Brand lockup keeps the source nav dimensions but gives PONS a real identity. */
body.pons-rebrand a[data-framer-name="Logo"] {
  gap: 10px !important;
}

body.pons-rebrand a[data-framer-name="Logo"] [data-framer-name="Mark"] {
  border: 1px solid rgba(201, 255, 53, 0.24) !important;
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.14), rgba(5,8,13,.96) 58%) !important;
  box-shadow: 0 0 20px rgba(201, 255, 53, 0.20), inset 0 0 18px rgba(255,255,255,.04) !important;
}

body.pons-rebrand a[data-framer-name="Logo"] [data-framer-name="Frame@4x"] {
  width: 30px !important;
  height: 30px !important;
}

.paf-nav-logo {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  border-radius: inherit !important;
}

body.pons-rebrand a[data-framer-name="Logo"] [data-framer-name="Wordmark"] h3 {
  font-weight: 600 !important;
  letter-spacing: -0.045em !important;
}

body.pons-rebrand a[data-framer-name="Logo"] [data-framer-name="Wordmark"] h3::after {
  content: " / factory";
  color: rgba(237, 237, 248, 0.48);
  font-family: "Martian Mono", monospace;
  font-size: .38em;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 8px;
}

/* PONS lime is the decision/action layer; mint remains in the preserved particle field. */
body.pons-rebrand a[href="#agents"],
body.pons-rebrand a[data-pons-cta="true"] {
  border-color: rgba(201, 255, 53, .42) !important;
  box-shadow: inset 0 0 28px rgba(201, 255, 53, .06), 0 0 26px rgba(201, 255, 53, .06) !important;
}

body.pons-rebrand a[href="#agents"]:hover,
body.pons-rebrand a[data-pons-cta="true"]:hover {
  background: rgba(201, 255, 53, .10) !important;
}

/* Compact live-status label in the hero. */
.pons-truth-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin-top: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(201, 255, 53, .22);
  background: rgba(2, 10, 8, .72);
  color: rgba(225, 255, 235, .82);
  font: 500 10px/1.3 "Martian Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.pons-truth-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--pons-lime);
  box-shadow: 0 0 10px var(--pons-lime);
  animation: paf-live-pulse 1.8s ease-in-out infinite;
}

@keyframes paf-live-pulse {
  0%, 100% { opacity: .55; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Replaces the fake-client logo rail with source/primitive word chips while retaining its marquee motion. */
img[data-pons-primitive] {
  object-fit: contain !important;
  width: 100% !important;
  height: 100% !important;
  opacity: .76 !important;
  filter: none !important;
}

/* Port-cell icon replacements. The Framer grid, borders, rails and flow animations remain untouched. */
.pons-port-icon {
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  border: 1px solid rgba(201, 255, 53, .18) !important;
  border-radius: 10px !important;
  background: radial-gradient(circle at 35% 25%, rgba(201,255,53,.12), rgba(201,255,53,.025) 65%) !important;
  color: var(--pons-lime) !important;
  box-shadow: inset 0 0 16px rgba(201,255,53,.035), 0 0 14px rgba(201,255,53,.04) !important;
}

.pons-port-icon svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pons-port-icon img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain !important;
}

/* Keep the pricing slider's kinetic interaction, but visually frame it as an autonomy boundary. */
.pons-autonomy-section {
  position: relative;
}

.pons-autonomy-section::after {
  display: none;
}

.pons-autonomy-section input[type="range"]:focus-visible {
  outline: 2px solid var(--pons-lime) !important;
  outline-offset: 4px;
}

/* Expose the operating boundary as a quiet footer receipt. */
.paf-boundary-receipt {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(237, 237, 248, .11);
  background: rgba(7, 10, 18, .86);
  color: rgba(237, 237, 248, .55);
  font: 400 10px/1.65 "Martian Mono", monospace;
}

.paf-boundary-receipt strong {
  color: var(--pons-lime);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.paf-boundary-receipt a {
  color: rgba(237, 237, 248, .78) !important;
  text-decoration: none !important;
}

.paf-boundary-receipt a:hover,
.paf-boundary-receipt a:focus-visible {
  color: var(--pons-lime) !important;
  text-decoration: underline !important;
}

@media (min-width: 810px) {
  .paf-hero-actions {
    top: 108px !important;
    z-index: 4 !important;
    width: 330px !important;
    min-height: 224px !important;
  }

  .paf-hero-actions > div:first-child {
    display: block !important;
    visibility: hidden !important;
  }

  .paf-hero-actions > div:nth-child(2) {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
  }

  .paf-hero-actions > div {
    width: 330px !important;
  }
}

@media (max-width: 809px) {
  .paf-hero-eyebrow {
    font-size: 0 !important;
    white-space: nowrap !important;
  }

  .paf-hero-eyebrow::after {
    content: "PAF / RH CHAIN / LIVE";
    font-family: "DM Mono", monospace;
    font-size: 12px;
    letter-spacing: .07em;
  }

  body.pons-rebrand a[data-framer-name="Logo"] [data-framer-name="Wordmark"] h3::after {
    display: none;
  }

  .pons-truth-chip {
    max-width: 100%;
    white-space: normal;
  }

  .pons-autonomy-section::after {
    position: static;
    display: block;
    margin: 18px 20px 0;
    text-align: left;
  }

  .paf-boundary-receipt {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.pons-rebrand *,
  body.pons-rebrand *::before,
  body.pons-rebrand *::after {
    scroll-behavior: auto !important;
  }

  .pons-truth-chip::before {
    animation: none !important;
  }
}
