/* direction: ledger — spec-sheet white field, mono-forward, hairline structure.
   Scoped entirely under :root[data-rx="ledger"]; additive only. */

/* ---- field: pure white, visible structure ---- */
:root[data-rx="ledger"],
:root[data-rx="ledger"] body {
  background-color: #ffffff !important;
}
:root[data-rx="ledger"] .hero-stage {
  background: #ffffff !important;
}
:root[data-rx="ledger"] .shapes-field {
  display: none !important;
}

/* hairline border on EVERY section block */
:root[data-rx="ledger"] #hero-canvas .hero-card {
  border: 1px solid #e5e5e0;
}
:root[data-rx="ledger"] section[aria-labelledby="feature-pillars-heading"],
:root[data-rx="ledger"] main section.bg-transparent {
  border: 1px solid #e5e5e0;
  border-radius: 4px;
}
:root[data-rx="ledger"] footer#footer {
  border-top: 1px solid #e5e5e0;
}
:root[data-rx="ledger"] article[style*="background"] {
  background: #ffffff !important;
  border: 1px solid #e5e5e0;
  border-radius: 4px !important;
}

/* ---- type: Newsreader 500 display; Geist Mono ALL-CAPS takes over every
        label, eyebrow, nav item, CTA; body stays Inter ---- */
:root[data-rx="ledger"] h1.hero-title-words {
  font-weight: 500 !important;
  font-size: clamp(38px, 4.9vw, 56px) !important;
  letter-spacing: -0.008em !important;
}
:root[data-rx="ledger"] h2,
:root[data-rx="ledger"] footer#footer p.font-editorial {
  font-weight: 500 !important;
}
:root[data-rx="ledger"] .site-island-link,
:root[data-rx="ledger"] .site-island-cta,
:root[data-rx="ledger"] .hero-cta-row button,
:root[data-rx="ledger"] .hero-cta-row a,
:root[data-rx="ledger"] footer#footer a[class*="hero-cta"],
:root[data-rx="ledger"] .badge-chip,
:root[data-rx="ledger"] span[class*="badge-chip"] {
  font-family: var(--font-family-code) !important;
  text-transform: uppercase !important;
  font-size: 11.5px !important;
  letter-spacing: 0.08em !important;
  font-weight: 500 !important;
}
:root[data-rx="ledger"] .hero-cta-row button,
:root[data-rx="ledger"] .hero-cta-row a,
:root[data-rx="ledger"] .site-island-shell,
:root[data-rx="ledger"] .site-island-cta {
  border-radius: 4px !important;
}

/* accent only in mono labels + ticks: keep prism blue on mono spans, mute it
   elsewhere is handled by leaving tokens alone (accent already only decorates
   labels/bars on this page) */

/* ---- density: compact ---- */
:root[data-rx="ledger"] section[aria-labelledby="feature-pillars-heading"] {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}
:root[data-rx="ledger"] article[style*="background"] {
  padding: 1.5rem !important;
}

/* ---- motion: fades only, 200ms, no translate; marquees stopped ---- */
:root[data-rx="ledger"] [style*="transition"] {
  transition-duration: 0.2s !important;
  transition-delay: 0s !important;
  transition-property: opacity, filter !important;
}
:root[data-rx="ledger"] .title-word {
  animation-duration: 0.2s !important;
  animation-delay: 0s !important;
}
:root[data-rx="ledger"] .badge-marquee-track,
:root[data-rx="ledger"] .badge-marquee-track-reverse {
  animation: none !important;
}
:root[data-rx="ledger"] .note-line {
  /* jump the typewriter to its end state (animation:none would lose the
     fill-forwards frame and hide the line) */
  animation-duration: 0.01s !important;
  animation-delay: 0s !important;
}

/* accent only in mono labels + ticks: blue text accents become mono spec labels */
:root[data-rx="ledger"] [style*="color:#4a7fc0"],
:root[data-rx="ledger"] [style*="color:var(--core-blue-10)"] {
  font-family: var(--font-family-code) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
