/*
 * Reusable agency-branding compatibility layer.
 *
 * Generic --vnre-* variables are emitted from Agency Configuration. Existing
 * NIKO-prefixed selectors/variables remain transitional compatibility contracts
 * until their dedicated migration phase.
 */

body.niko-app {
  background: var(--vnre-brand-secondary);
  color: var(--vnre-text);
  font-family: var(--vnre-font-body);
}

body.niko-app .niko-site-header,
body.niko-home-surface .niko-site-header,
body.niko-app .niko-site-footer,
body.niko-owner-intake-surface .niko-owner-intake__hero,
body.niko-portal-surface .niko-portal-sidebar {
  background-color: var(--vnre-brand-primary);
}

body.niko-home-surface .niko-home-hero {
  background-color: var(--vnre-brand-primary);
}

body.niko-home-surface .niko-home-hero__title,
body.niko-home-surface .niko-home-section__header h2,
body.niko-owner-intake-surface .niko-owner-intake__hero h1,
body.niko-property-surface .niko-property-single__header h1 {
  font-family: var(--vnre-font-heading);
}

body.niko-app .niko-portal-link,
body.niko-home-surface .niko-home-hero__proof-icon,
body.niko-home-surface .niko-eyebrow--light,
body.niko-home-surface .niko-text-link:hover,
body.niko-home-surface .niko-text-link:focus-visible {
  color: var(--vnre-brand-accent);
}

body.niko-app .niko-portal-link,
body.niko-home-surface .niko-button--premium {
  border-color: var(--vnre-brand-accent);
}

body.niko-home-surface .niko-button--premium,
body.niko-owner-intake-surface button[type="submit"],
body.niko-portal-surface .niko-portal-button:not(.niko-portal-button--ghost) {
  background: var(--vnre-brand-accent);
}

body.niko-home-surface .niko-button--dark,
body.niko-property-surface .niko-property-contact-card .button-primary {
  border-color: var(--vnre-brand-primary);
  background: var(--vnre-brand-primary);
}

body.niko-app .niko-home-taxonomy__card,
body.niko-app .niko-home-location,
body.niko-app .niko-property-card,
body.niko-app .niko-owner-intake__form-card,
body.niko-app .niko-property-contact-card {
  border-radius: var(--vnre-radius-md);
}

@media (prefers-reduced-motion: reduce) {
  body.niko-app * {
    scroll-behavior: auto;
  }
}
