/* EvAtlas typography consistency · Beta 4.7
   Preserve the approved Bosphorus homepage. Apply these tokens only to
   secondary pages and their shared header/brand/navigation components. */
:root {
  --ev-brand-desktop: 26px;
  --ev-brand-mobile: 23px;
  --ev-topnav-desktop: 13px;
  --ev-topnav-mobile: 12px;
  --ev-inner-title-desktop: 38px;
  --ev-inner-title-mobile: 29px;
  --ev-font-ui: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.ev42Results,
.evStandalonePage,
.evAgentsPage,
.evProjectsPage {
  font-family: var(--ev-font-ui);
}

/* Logo-free wordmark: same as the current HOME EvAtlas text. */
.ev42Results .ev42Brand,
.evStandalonePage .evPageBrand,
.evAgentsPage .evAgentBrand,
.evProjectsPage .evProjectBrand,
body > .top .brand,
.evLanding .landingLogo {
  font-family: var(--ev-font-ui) !important;
  font-size: var(--ev-brand-desktop) !important;
  font-weight: 850 !important;
  letter-spacing: -1.1px !important;
  line-height: 1.15 !important;
}

/* Top navigation and top-header actions; preserve their styling and colors. */
.ev42Results .ev42Publish,
.evStandalonePage .evPageTop .evPageBack,
.evAgentsPage .evAgentExit,
.evProjectsPage .evProjectsBack,
body > .top .topNav button {
  font-family: var(--ev-font-ui);
  font-size: var(--ev-topnav-desktop) !important;
}

/* Inner-page headings share a scale, not the oversized HERO headline. */
.ev42Results .ev42Heading h1,
.evStandalonePage .evPageTitle h1,
.evAgentsPage .agentsIntro h1,
.evProjectsPage .evProjectsIntro h1 {
  font-family: var(--ev-font-ui);
  font-size: var(--ev-inner-title-desktop) !important;
  line-height: 1.15;
}

@media (max-width: 800px) {
  .ev42Results .ev42Brand,
  .evStandalonePage .evPageBrand,
  .evAgentsPage .evAgentBrand,
  .evProjectsPage .evProjectBrand,
  body > .top .brand,
  .evLanding .landingLogo {
    font-size: var(--ev-brand-mobile) !important;
  }
  .ev42Results .ev42Publish,
  .evStandalonePage .evPageTop .evPageBack,
  .evAgentsPage .evAgentExit,
  .evProjectsPage .evProjectsBack,
  body > .top .topNav button {
    font-size: var(--ev-topnav-mobile) !important;
  }
  .ev42Results .ev42Heading h1,
  .evStandalonePage .evPageTitle h1,
  .evAgentsPage .agentsIntro h1,
  .evProjectsPage .evProjectsIntro h1 {
    font-size: var(--ev-inner-title-mobile) !important;
  }
}
