/* Site-wide BrightLoop typography normalization */
.brightloop-seo-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html,
body {
  font-size: 16px;
  line-height: 1.6;
}

body,
p,
li,
label,
input,
textarea,
select,
button {
  letter-spacing: 0;
}

p {
  color: #536985;
  font-size: 16px;
  line-height: 1.68;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #071936;
  letter-spacing: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(38px, 3.7vw, 54px);
  font-weight: 900;
}

h2 {
  font-size: clamp(28px, 2.55vw, 40px);
  font-weight: 900;
}

h3 {
  font-size: clamp(19px, 1.55vw, 24px);
  font-weight: 850;
}

h4 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

h5 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

h6 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.te-section-title .title,
.brightloop-services-head h2,
.about-story-panel h2,
.about-section-head h2,
.about-values-panel h2,
.about-team-panel h2,
.service-detail-top h2,
.brightloop-service-intro .te-section-title .title,
.brightloop-delivery-panel h2,
.brightloop-cta-inner h2 {
  font-size: clamp(28px, 2.55vw, 40px);
  line-height: 1.12;
  font-weight: 900;
}

.slider-area.style-2 .te-slider-title,
.brightloop-hero-title,
.service-hero-copy h1,
.about-hero-copy h1 {
  font-size: clamp(38px, 3.7vw, 54px);
  line-height: 1.06;
  font-weight: 900;
}

.service-hero-copy h1 {
  max-width: 520px;
}

.brightloop-services-head p,
.service-hero-copy p,
.about-hero-copy p,
.about-story-panel p,
.about-team-panel p,
.service-detail-top p,
.brightloop-service-intro .te-section-desc p,
.brightloop-cta-inner p {
  font-size: 16px;
  line-height: 1.65;
}

.brightloop-service-card h2,
.about-capability-grid h3,
.about-values-grid h3,
.process-step h3,
.service-focus-card h3,
.te-info-card .title,
.te-process-step .title,
.te-post-card .title {
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.22;
  font-weight: 850;
}

.brightloop-service-card p,
.service-focus-card p,
.about-capability-grid p,
.about-values-grid p,
.process-step p,
.te-info-card .content p,
.te-post-card .content p {
  font-size: 14px;
  line-height: 1.58;
}

.te-theme-btn,
.hero-primary-btn,
.hero-secondary-btn,
.about-primary-btn,
.about-secondary-btn,
.service-catalog-cta a,
.about-cta-panel a,
.te-quote-btn {
  font-size: 15px;
  line-height: 1.2;
}

:where(
  .te-theme-btn,
  .te-quote-btn,
  .hero-primary-btn,
  .hero-secondary-btn,
  .about-primary-btn,
  .about-secondary-btn,
  .service-catalog-cta a,
  .about-cta-panel a,
  .brightloop-service-card,
  .service-focus-card,
  .about-capability-grid > *,
  .about-values-grid > *,
  .te-info-card,
  .te-post-card,
  input,
  textarea,
  select
) {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, outline-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

:where(
  .te-theme-btn,
  .te-quote-btn,
  .hero-primary-btn,
  .hero-secondary-btn,
  .about-primary-btn,
  .about-secondary-btn,
  .service-catalog-cta a,
  .about-cta-panel a,
  .brightloop-service-card,
  .service-focus-card,
  .about-capability-grid > *,
  .about-values-grid > *,
  .te-info-card,
  .te-post-card
):hover {
  border-color: #317EFE !important;
  box-shadow: 0 0 0 3px rgba(49, 126, 254, 0.14);
}

:where(input, textarea, select):hover,
:where(input, textarea, select):focus {
  border-color: #317EFE !important;
  box-shadow: 0 0 0 3px rgba(49, 126, 254, 0.14);
  outline: none;
}

/* Brand color normalization: clean logo-blue actions without flashy gradients. */
:where(
  .te-theme-btn,
  .te-quote-btn,
  .hero-primary-btn,
  .about-primary-btn,
  .service-catalog-cta a,
  .bright-project-btn--primary,
  .contact-submit-btn,
  .brightloop-hero-primary,
  .about-cta-panel a,
  .brightloop-cta-inner a
) {
  background: #317EFE !important;
  border-color: #317EFE !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(49, 126, 254, 0.16) !important;
}

:where(
  .te-theme-btn,
  .te-quote-btn,
  .hero-primary-btn,
  .about-primary-btn,
  .service-catalog-cta a,
  .bright-project-btn--primary,
  .contact-submit-btn,
  .brightloop-hero-primary,
  .about-cta-panel a,
  .brightloop-cta-inner a
):hover {
  background: #14203A !important;
  border-color: #14203A !important;
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(20, 32, 58, 0.18) !important;
}

:where(
  .hero-secondary-btn,
  .about-secondary-btn,
  .bright-project-btn--outline,
  .brightloop-hero-secondary
) {
  background: #ffffff !important;
  border-color: #dfe8f2 !important;
  color: #14203A !important;
  box-shadow: none !important;
}

:where(
  .hero-secondary-btn,
  .about-secondary-btn,
  .bright-project-btn--outline,
  .brightloop-hero-secondary
):hover {
  border-color: #317EFE !important;
  color: #317EFE !important;
  box-shadow: 0 0 0 3px rgba(49, 126, 254, 0.12) !important;
}

:where(.choice-grid input:checked + span, .chip-row input:checked + span, .bright-project-filter button.active) {
  background: #317EFE !important;
  border-color: #317EFE !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(49, 126, 254, 0.14) !important;
}

:where(.contact-method-card:hover > i) {
  background: #317EFE !important;
  color: #ffffff !important;
}

.service-eyebrow,
.about-eyebrow,
.brightloop-services-eyebrow,
.te-section-title .short-title {
  font-size: 12px;
  line-height: 1.25;
}

@media (max-width: 1199px) {
  .slider-area.style-2 .te-slider-title,
  .brightloop-hero-title,
  .service-hero-copy h1,
  .about-hero-copy h1 {
    font-size: clamp(36px, 4.8vw, 48px);
  }
}

@media (max-width: 767px) {
  html,
  body {
    font-size: 15px;
  }

  p {
    font-size: 15px;
    line-height: 1.62;
  }

  h1,
  .slider-area.style-2 .te-slider-title,
  .brightloop-hero-title,
  .service-hero-copy h1,
  .about-hero-copy h1 {
    font-size: clamp(30px, 8.2vw, 38px);
    line-height: 1.12;
  }

  h2,
  .te-section-title .title,
  .brightloop-services-head h2,
  .about-story-panel h2,
  .about-section-head h2,
  .about-values-panel h2,
  .about-team-panel h2,
  .service-detail-top h2 {
    font-size: clamp(24px, 6.6vw, 32px);
    line-height: 1.14;
  }

  h3,
  .brightloop-service-card h2,
  .about-capability-grid h3,
  .about-values-grid h3,
  .service-focus-card h3 {
    font-size: 18px;
    line-height: 1.25;
  }

  .te-theme-btn,
  .hero-primary-btn,
  .hero-secondary-btn,
  .about-primary-btn,
  .about-secondary-btn,
  .service-catalog-cta a,
  .about-cta-panel a,
  .te-quote-btn {
    font-size: 14px;
  }
}

/* Navbar readability polish */
.header-area.style-2 .te-main-menu ul li a {
  font-size: 17px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
}

.header-area.style-2 .te-main-menu ul li.dropdown > a:after {
  font-size: 12px !important;
}

.header-area.style-2 .te-main-menu ul ul li a {
  font-size: 16px !important;
  line-height: 1.35 !important;
}

.header-area.style-2 .te-header-btn .te-quote-btn {
  font-size: 16px !important;
  font-weight: 900 !important;
}

.mean-container .mean-nav ul li a {
  font-size: 16px !important;
  font-weight: 800 !important;
}
