/* Page-family colors for the public marketing and legal pages.
   Keep product screenshots, client-label masks and form behavior unchanged. */
html[data-theme="light"] :is(.signal span:last-child,.program strong,.bubble.a,
  .hero-headline,.story-lede,.story-p strong,.cta-headline,.legal-doc h2,.legal-doc h3,.legal-doc strong,
  .legal-doc p.legal-note strong,.form-success-headline,.question-list summary) {color:var(--white)}
html[data-theme="light"] :is(.hero-sub,.story-p,.stat-label,.founder-tag-text,.cta-sub,.meta-strip,
  .legal-effective,.legal-effective strong,.legal-doc p,.legal-doc li,.legal-doc p.legal-note,
  .form-success p,.field-group label,.form-note,.btn-secondary,footer .foot-meta,
  .proof-stat p,.flow-step p,.access-card p,.future-copy,.final-side p,.status.next,.status.later,
  .rail-item,.emerging,.message-proof::before,.metric-note p,.connected-line p,
  .free-offer p,.integration-row p,.feed-label,.connection-note,.setup-steps p,
  .question-list details>p,.feature-copy p,.product-shot figcaption,.product-shot figcaption span,
  .metric-hero-card>p,.product-cards p,.prose-block p,.review-copy,.customer-quotes figcaption span,
  .execution-steps li,.cap p,.program p,.stage p,.workstream p,.challenge p,.fit p,.term p,
  .partner-link p,.hero-card-top,.signal span:first-child,.proof-num span,.stage .idx) {color:var(--soft)}
html[data-theme="light"] :is(.hero-eyebrow,.hero-headline em,.story-lede em,.stat-num,
  .cta-headline em,.hero-sub a,.legal-doc a,.legal-doc h2 .sec-num,.legal-doc h3 .sec-num,
  .form-success-headline em,.rail-item.active,.program .tag) {color:var(--green)}
html[data-theme="light"] :is(.hero-eyebrow::before,.meta-strip .dot,.founder-tag-line) {background:var(--green);box-shadow:none}
html[data-theme="light"] :is(.story-photo,.stat-cell,.hero-card,.access-card,.system-window,
  .report-caption,.product-shot,.screenshot-dialog,.nav-panel-card) {background:var(--panel)!important;border-color:var(--line);box-shadow:none}
html[data-theme="light"] :is(.stat-row,.about-cta,.story-photo,.legal-doc h2,.rail-item,
  .report-caption,.product-shot,.btn-secondary,.screenshot-dialog,.contact-field input,
  .contact-field select,.contact-field textarea) {border-color:var(--line)}
html[data-theme="light"] .stat-row {background:var(--line)}
html[data-theme="light"] .divider {background:linear-gradient(to right,var(--line),transparent)}
html[data-theme="light"] .bubble.q {background:#e3ebdc;color:var(--white)}
html[data-theme="light"] .bubble.a {background:#f1f5ec}
html[data-theme="light"] :is(.btn-primary,.btn-submit,.screenshot-dialog button) {background:var(--green);color:#fff}
html[data-theme="light"] .btn-secondary:hover {border-color:var(--green);color:var(--green)}
html[data-theme="light"] .screenshot-dialog {color:var(--white)}
html[data-theme="light"] .screenshot-dialog::backdrop {background:rgba(17,29,20,.65)}
html[data-theme="light"] .contact-field input::placeholder,
html[data-theme="light"] .contact-field textarea::placeholder {color:#64735f}
html[data-theme="light"] .field-group :is(input,textarea,select) {background:#fff!important;color:var(--white)!important;border-color:var(--line)}
html[data-theme="light"] .field-group select option {background:#fff;color:var(--white)}
html[data-theme="light"] .field-group :is(input,textarea)::placeholder {color:var(--soft)}
html[data-theme="light"] footer :is(a,span)[style*="color:"] {color:var(--soft)!important}
html[data-theme="light"] .meta-strip span[style*="background:"] {background:var(--line)!important}
html[data-theme="light"] .free-offer {background:linear-gradient(120deg,#edf3e4,#f6f9f1);border-color:#bcccae}
html[data-theme="light"] .report-showcase {background:radial-gradient(circle at 55% 42%,#e4edd8,transparent 70%)}
html[data-theme="light"] .execution {background:linear-gradient(180deg,transparent,#f1f6e9 45%,transparent)}
/* About/legal use a small fixed editorial navigation rather than the product layout. */
@media(max-width:600px){
  .nav-actions {gap:8px}
  .nav-actions .nav-cta {display:none}
}
@media(prefers-reduced-motion:reduce){
  .meta-strip,.about-hero,.story-section,.about-cta,.legal-hero,.legal-wrap {animation:none;opacity:1;transform:none}
  .meta-strip .dot {animation:none}
}
html[data-theme="light"] .legal-related {border-color:var(--line)}
html[data-theme="light"] .legal-related :is(.rel-label,a) {color:var(--soft)}
html[data-theme="light"] .legal-related a:is(:hover,[aria-current="page"]) {color:var(--green)}
html[data-theme="light"] .legal-doc li::before {background:var(--green)}
