/* 1 Single Universal Typography: User Browser Default System Font Stack
   (0ms font latency, zero external downloads, ultra-crisp native rendering). */
:root {
  --fc-system-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fc-font-family: var(--fc-system-font);
  --fc-menu-font: var(--fc-system-font);
  --fc-font: var(--fc-system-font);
  --fc-font-body: var(--fc-system-font);
  --fc-font-title: var(--fc-system-font);
  --fc-font-title-ext: var(--fc-system-font);
  --fc-font-demi: var(--fc-system-font);
  --fc-section-font: var(--fc-system-font);
  --fc-section-title-font: var(--fc-system-font);
  --fc-section-title-ext-font: var(--fc-system-font);
  --fc-font-mono: var(--fc-system-font);
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--fc-system-font) !important;
}

/* The site template can set a local font in individual components. These
   scoped selectors deliberately win over those component declarations. */
html body,
html body *,
html body #wrapper,
html body #wrapper *,
html body #wrapper #header,
html body #wrapper #header *,
html body #wrapper #main,
html body #wrapper #main *,
html body #wrapper #footer,
html body #wrapper #footer *,
html body .form_footer,
html body .form_footer *,
html body #wrapper #main :is(#section-desc, #section-exterior, #section-interior, #section-tech, #section-performance, #section-specs, #section-gallery) *,
html body :is(.fc-gwm-single-content, .fc-single-related-section, .fc-single-sticky-bar) *,
html body :is(.fancybox-container, .fancybox__container, .mfp-wrap, .off-canvas, .fc-pricing-page-vip, .fc-megamenu-panel, .fc-pricing-table, .fc-pricing-m-card) * {
  font-family: var(--fc-system-font) !important;
}

html body,
html body #wrapper #main,
html body #wrapper #main *,
html body #wrapper #footer,
html body #wrapper #footer *,
html body .form_footer,
html body .form_footer * {
  font-weight: 500;
}

html body #wrapper #header :is(.nav > li > a, .nav-dropdown > li > a),
html body #wrapper #header .fc-gwm-site-nav > li > a {
  font-family: var(--fc-menu-font) !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

html body #wrapper :is(h1, h2, h3, h4, h5, h6, .heading-font, .page-title, .section-title),
html body .form_footer :is(h1, h2, h3, h4, h5, h6, .heading-font, .page-title, .section-title) {
  font-family: var(--fc-font-title) !important;
  font-weight: 700 !important;
}

/* One scalable type scale for every public template, including pages created
   after this change. Component CSS may define layout but must not shrink copy. */
html body {
  font-size: 16px;
  line-height: 1.65;
}

html body #wrapper #main,
html body #wrapper #footer,
html body .form_footer {
  font-size: clamp(0.9375rem, 0.22vw + 0.89rem, 1rem) !important;
  line-height: 1.65 !important;
}

html body #wrapper #main :is(h1, .page-title, .entry-title),
html body .form_footer h1 {
  font-size: clamp(2.2rem, 3.2vw, 3.25rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
}

html body #wrapper #main :is(h2, .section-title),
html body .form_footer h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.3rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
}

html body #wrapper #main h3,
html body .form_footer h3 {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem) !important;
  line-height: 1.35 !important;
}

html body #wrapper #main h4,
html body .form_footer h4 {
  font-size: clamp(1rem, 1.1vw, 1.15rem) !important;
  line-height: 1.4 !important;
}

html body #wrapper :is(.meta, .meta-item, .subtext, .breadcrumb, .breadcrumbs, small),
html body .form_footer :is(.meta, .meta-item, .subtext, .breadcrumb, .breadcrumbs, small) {
  font-size: clamp(0.72rem, 0.18vw + 0.68rem, 0.8125rem) !important;
  line-height: 1.5 !important;
}

html body #wrapper #header :is(.nav > li > a, .nav-dropdown > li > a, .fc-gwm-site-nav > li > a) {
  font-size: clamp(0.75rem, 0.2vw + 0.71rem, 0.875rem) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

/* Navigation contract: every WordPress/Flatsome .nav item uses the same
   upright, bold treatment, including menus rendered by newly created pages. */
html body #wrapper :is(.nav > li > a, .nav-dropdown > li > a),
html body .form_footer :is(.nav > li > a, .nav-dropdown > li > a) {
  font-weight: 700 !important;
  font-style: normal !important;
}

html body #wrapper #header :is(.button, .fc-btn, .fc-gwm-header-quote),
html body #wrapper #main :is(button, .button, .fc-btn, input[type="submit"]),
html body .form_footer :is(button, .button, .fc-btn, input[type="submit"]) {
  font-size: clamp(0.75rem, 0.16vw + 0.72rem, 0.8125rem) !important;
  line-height: 1.2 !important;
}

html body #wrapper #main :is(input, select, textarea),
html body .form_footer :is(input, select, textarea) {
  font-size: 0.9375rem !important;
  line-height: 1.45 !important;
}

html body #wrapper #footer,
html body .form_footer {
  font-size: 0.875rem !important;
  line-height: 1.65 !important;
}

html body #wrapper #footer :is(.footer_title, h1, h2, h3, h4),
html body .form_footer :is(.footer_title, h1, h2, h3, h4) {
  font-size: clamp(1rem, 1vw, 1.2rem) !important;
  line-height: 1.35 !important;
}

/* Preserve icon glyph fonts: they are not text typography. */
html body #wrapper :is(.icon, .icon::before, [class*=" icon-"], [class^="icon-"], .fc-ico:not(svg), .fc-header-ico:not(svg)),
html body .form_footer :is(.icon, .icon::before, [class*=" icon-"], [class^="icon-"], .fc-ico:not(svg), .fc-header-ico:not(svg)) {
  font-family: "fl-icons" !important;
}

html body #wrapper :is(.swiper-button-next, .swiper-button-prev)::after {
  font-family: swiper-icons !important;
}

/* Responsive Mobile Typography Overrides (≤849px) */
@media (max-width: 849px) {
  html body #wrapper #main :is(h1, .page-title, .entry-title, .fc-services-hero-title, .fc-prod-title, .fc-about-hero-title, .fc-pricing-hero-title, .fc-recruit-hero-title),
  html body .form_footer h1 {
    font-size: clamp(1.3rem, 5.2vw, 1.65rem) !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }

  html body #wrapper #main :is(h2, .section-title, .fc-services-sec-title, .fc-prod-sec-title, .fc-about-sec-title),
  html body .form_footer h2 {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem) !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }
}

