@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap');

/* One type family and role-based size scale for Cars and Real Estate. */
:root {
  --type-family: Manrope, Arial, sans-serif;
  --maximus-logo-gold: #e7c477;
  --type-display: clamp(32px, 4.2vw, 48px);
  --type-heading: clamp(24px, 2.5vw, 30px);
  --type-subheading: 21px;
  --type-body: 16px;
  --type-secondary: 14px;
  --type-label: 13px;
  --type-meta: 12px;
}

body { font-family: var(--type-family) !important; font-weight: 400; }

body :is(#app, #sales-app),
body :is(#app, #sales-app) * {
  font-family: var(--type-family) !important;
  font-weight: 400 !important;
}

body :is(#app, #sales-app) :is(h1, h2, h3, h4, strong, b, th, button, [role="button"], .overline, .eyebrow, .brand-name-text),
body :is(#app, #sales-app) :is(h1, h2, h3, h4) * {
  font-weight: 700 !important;
}

body :is(#app, #sales-app) h1 { font-size: var(--type-display) !important; line-height: 1.16 !important; }
body :is(#app, #sales-app) h2 { font-size: var(--type-heading) !important; line-height: 1.23 !important; }
body :is(#app, #sales-app) h3 { font-size: var(--type-subheading) !important; line-height: 1.3 !important; }
body :is(#app, #sales-app) h4 { font-size: 18px !important; line-height: 1.35 !important; }
body :is(#app, #sales-app) :is(p, li, dd, dt) { font-size: var(--type-body) !important; line-height: 1.6; }
body :is(#app, #sales-app) :is(.muted, .card-meta, .card-contact, .cars-auth-description, .cars-auth-form-copy) { font-size: var(--type-secondary) !important; }
body :is(#app, #sales-app) :is(button, [role="button"], .primary, .secondary, .action, .nav-item, .admin-nav a, .sales-nav button) { font-size: var(--type-secondary) !important; }
body :is(#app, #sales-app) :is(label, legend) { font-size: var(--type-label) !important; }
body :is(#app, #sales-app) :is(small, time, figcaption, .overline, .eyebrow, .admin-project-identity span, .brand-tagline, .brand-service-link, .brand-byline, .cars-auth-caption, .org-id) { font-size: var(--type-meta) !important; }
body :is(#app, #sales-app) :is(.cars-auth-chapters span, .cars-auth-footer span) { font-size: var(--type-meta) !important; }
body :is(#app, #sales-app) :is(input, select, textarea) { font-size: var(--type-body) !important; font-weight: 400 !important; }
body :is(#app, #sales-app) :is(.brand, .brand-lockup strong, .brand-name-text) { font-size: 18px !important; font-weight: 700 !important; }

body #app .auth-aside .brand-lockup strong,
body #app .auth-aside .brand-name-text { color: var(--maximus-logo-gold) !important; }
body #app :is(.topbar, .admin-topbar) .brand-lockup strong,
body #app :is(.topbar, .admin-topbar) .brand-name-text { color: var(--maximus-logo-gold) !important; }
body #app :is(.topbar, .admin-topbar) .brand {
  padding: 8px 12px;
  border-radius: 3px;
  background: #172a43 !important;
}
