/* ==========================================================================
   Component styles — ported from the React component tree. Class names use
   a "te-" prefix (block__element--modifier, loosely BEM) instead of Tailwind
   utility strings, but every visual value (color, spacing, radius, shadow,
   breakpoint) is carried over unchanged from the original component.
   ========================================================================== */

/* ---------- Animations (Header.jsx dropdown / MobileMenu.jsx / FAQAccordion.jsx) --- */

@keyframes te-dropdown-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes te-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes te-accordion-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.te-animate-dropdown { animation: te-dropdown-in 160ms ease-out; }
.te-animate-slide-down { animation: te-slide-down 200ms ease-out; }
.te-animate-accordion { animation: te-accordion-in 180ms ease-out; }

/* ---------- Button (components/common/Button.jsx) ---------------------------- */

.te-btn {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--te-btn-radius);
  font-family: var(--te-font-body);
  font-weight: var(--te-fw-button);
  border: 1px solid transparent;
  transition: all 200ms ease;
  text-align: center;
}
.te-btn:disabled { opacity: 0.5; pointer-events: none; }
.te-btn:active { transform: translateY(0); box-shadow: none; }

.te-btn--sm { padding: 0.625rem 1rem; font-size: 0.875rem; }
.te-btn--md { padding: 0.75rem 1.25rem; font-size: 0.9375rem; }
.te-btn--lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
@media (min-width: 640px) {
  .te-btn--md { font-size: 1rem; }
  .te-btn--lg { font-size: 1.125rem; }
}

.te-btn--primary { background: var(--te-brand-600); color: #fff; box-shadow: var(--te-shadow-card); }
.te-btn--primary:hover { background: var(--te-brand-700); box-shadow: var(--te-shadow-card-hover); transform: translateY(-2px); }

.te-btn--secondary { background: #fff; color: var(--te-navy-900); border-color: var(--te-navy-200); }
.te-btn--secondary:hover { border-color: var(--te-brand-400); color: var(--te-brand-700); transform: translateY(-2px); }

.te-btn--outline { background: transparent; color: var(--te-navy-700); border-color: var(--te-navy-500); }
.te-btn--outline:hover { border-color: var(--te-brand-500); color: var(--te-brand-700); background: rgba(238, 246, 255, 0.6); }

.te-btn--light,
.te-btn--outline-on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.te-btn--light:hover,
.te-btn--outline-on-dark:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }

.te-btn--dark { background: var(--te-navy-950); color: #fff; box-shadow: var(--te-shadow-card); }
.te-btn--dark:hover { background: var(--te-navy-900); box-shadow: var(--te-shadow-card-hover); transform: translateY(-2px); }

.te-btn--ghost { background: transparent; color: var(--te-brand-600); padding-inline: 0; }
.te-btn--ghost:hover { color: var(--te-brand-700); }

/* ---------- Card (components/common/Card.jsx) --------------------------------- */

.te-card {
  position: relative;
  border-radius: var(--te-card-radius);
  background: var(--te-card-bg);
  padding: 1.5rem;
  box-shadow: var(--te-card-shadow);
  border: 1px solid var(--te-card-border);
}
.te-card--dashed { border-style: dashed; border-color: var(--te-navy-200); }
.te-card--interactive { transition: all 300ms ease; }
.te-card--interactive:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--te-ds-bar-teal) 30%, var(--te-card-border));
  box-shadow: var(--te-card-shadow-hover);
}

/* ---------- Icon base sizing -----------------------------------------------
   techndata_icon() outputs class="te-icon" by default on every inline SVG
   in the theme. Without an explicit size, an unsized inline SVG falls back
   to browser-default dimensions (e.g. 300x150) instead of matching its
   24x24 viewBox — this is the base safety net so every icon call is
   correctly sized even when not wrapped in a fixed-size container. -------- */

.te-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}
.te-icon--sm { width: 1.25rem; height: 1.25rem; }

/* ==========================================================================
   HEADER / NAVBAR / MEGA-MENU / MOBILE MENU
   (components/layout/Header.jsx, Navbar.jsx, MobileMenu.jsx)
   ========================================================================== */

/* Compact white bar from the "Frame 118" reference: 72px tall at 1920,
   logo left, nav + pill CTA grouped on the right, full-width gutters. */
.te-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #e9edf3;
  background: #fff;
}

.te-header__bar {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.5rem;
}
@media (min-width: 1024px) {
  .te-header .te-header__bar {
    max-width: none;
    min-height: clamp(4rem, calc(72 * var(--te-u)), 4.5rem);
    padding-inline: clamp(1.5rem, calc(100 * var(--te-u)), 6.25rem);
  }
}

.te-header__logo img { height: 2.125rem; width: auto; }
@media (min-width: 640px) { .te-header__logo img { height: clamp(2.25rem, calc(42 * var(--te-u)), 2.625rem); } }

.te-header__cta { display: none; }
@media (min-width: 1280px) { .te-header__cta { display: block; margin-left: clamp(1.5rem, calc(57 * var(--te-u)), 3.5625rem); } }
.te-header__cta .te-btn { font-size: clamp(0.8125rem, calc(14 * var(--te-u)), 0.875rem); padding-inline: 1.0625rem; }

.te-header__menu-toggle {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--te-radius-lg);
  color: var(--te-navy-800);
  background: none;
  border: none;
}
.te-header__menu-toggle:hover { background: var(--te-navy-50); }
@media (min-width: 1024px) { .te-header__menu-toggle { display: none; } }
.te-header__menu-toggle svg { height: 1.5rem; width: 1.5rem; }

/* Desktop nav */
.te-nav { display: none; }
@media (min-width: 1024px) { .te-nav { display: block; margin-left: auto; } }

.te-nav__list { display: flex; align-items: center; gap: clamp(0.25rem, calc(16 * var(--te-u)), 1rem); }
.te-nav__item { position: relative; }

.te-nav__link,
.te-nav__trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: var(--te-radius-lg);
  padding: 0.5rem clamp(0.375rem, calc(8 * var(--te-u)), 0.5rem);
  font-size: clamp(0.875rem, calc(15 * var(--te-u)), 0.9375rem);
  font-weight: var(--te-fw-semibold);
  color: var(--te-navy-700);
  background: none;
  border: none;
  transition: color 150ms ease;
}
.te-nav__link:hover,
.te-nav__trigger:hover { color: var(--te-brand-600); }
.te-nav__link.is-active { color: var(--te-brand-600); }

.te-nav__chevron { height: 0.875rem; width: 0.875rem; transition: transform 150ms ease; }
.te-nav__trigger[aria-expanded="true"] .te-nav__chevron { transform: rotate(180deg); }

.te-mega-menu {
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 40;
  width: min(92vw, 44rem);
  transform: translateX(-50%);
  padding-top: 0.75rem;
}

.te-mega-menu__panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem 2rem;
  border-radius: var(--te-radius-2xl);
  border: 1px solid var(--te-navy-100);
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--te-shadow-card-hover);
}
@media (min-width: 640px) { .te-mega-menu__panel { grid-template-columns: repeat(3, 1fr); } }

.te-mega-menu__all {
  grid-column: 1 / -1;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: var(--te-fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--te-brand-600);
}
.te-mega-menu__all:hover { color: var(--te-brand-700); }

.te-mega-menu__link {
  border-radius: var(--te-radius-lg);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: var(--te-fw-medium);
  color: var(--te-navy-700);
  transition: all 150ms ease;
}
.te-mega-menu__link:hover { background: var(--te-brand-50); color: var(--te-brand-700); }

/* Mobile menu */
.te-mobile-menu {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  max-height: calc(100vh - 4.5rem);
  overflow-y: auto;
  border-top: 1px solid var(--te-navy-100);
  background: #fff;
  box-shadow: var(--te-shadow-card-hover);
}
@media (min-width: 1024px) { .te-mobile-menu { display: none; } }

.te-mobile-menu__nav { display: flex; flex-direction: column; padding: 0.75rem 1rem; }

.te-mobile-menu__link {
  border-radius: var(--te-radius-lg);
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: var(--te-fw-medium);
  color: var(--te-navy-800);
}
.te-mobile-menu__link:hover { background: var(--te-navy-50); }
.te-mobile-menu__link.is-active { background: var(--te-brand-50); color: var(--te-brand-700); }

.te-mobile-menu__group { border-bottom: 1px solid var(--te-navy-50); }
.te-mobile-menu__group:last-child { border-bottom: none; }

.te-mobile-menu__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--te-radius-lg);
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: var(--te-fw-medium);
  color: var(--te-navy-800);
  background: none;
  border: none;
}
.te-mobile-menu__trigger:hover { background: var(--te-navy-50); }
.te-mobile-menu__trigger svg { height: 1rem; width: 1rem; transition: transform 150ms ease; }
.te-mobile-menu__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.te-mobile-menu__submenu { display: flex; flex-direction: column; gap: 0.125rem; padding-bottom: 0.5rem; padding-left: 1rem; }
.te-mobile-menu__submenu .te-mobile-menu__all-link {
  border-radius: var(--te-radius-lg);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: var(--te-fw-semibold);
  color: var(--te-brand-600);
}
.te-mobile-menu__submenu .te-mobile-menu__all-link:hover { background: var(--te-brand-50); }
.te-mobile-menu__submenu .te-mobile-menu__link { font-size: 0.875rem; font-weight: var(--te-fw-regular); color: var(--te-text-body); padding: 0.5rem 0.75rem; }
.te-mobile-menu__submenu .te-mobile-menu__link.is-active { background: var(--te-brand-50); color: var(--te-brand-700); }

/* ==========================================================================
   PAGE HERO (interior pages) + BREADCRUMB
   ========================================================================== */

.te-page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(38% 60% at 82% 18%, rgba(205, 238, 238, 0.55), transparent 70%),
    radial-gradient(30% 50% at 45% 100%, rgba(213, 238, 245, 0.7), transparent 70%),
    linear-gradient(180deg, #fdfefe, var(--te-ds-page-bg));
  color: var(--te-text-heading);
  padding-block: 3.5rem;
}
@media (min-width: 768px) { .te-page-hero { padding-block: 4.5rem; } }
@media (min-width: 1024px) { .te-page-hero { padding-block: clamp(4.5rem, calc(120 * var(--te-u)), 7.5rem); } }

.te-page-hero__watermark {
  position: absolute; right: 2rem; bottom: 1rem;
  height: 14rem; width: 14rem;
  color: color-mix(in srgb, var(--te-ds-bar-teal) 10%, transparent);
  display: none; pointer-events: none;
}
@media (min-width: 640px) { .te-page-hero__watermark { display: block; } }
@media (min-width: 1024px) { .te-page-hero__watermark { height: 18rem; width: 18rem; } }

.te-page-hero__inner { position: relative; }
.te-page-hero__content { position: relative; }

/* Split variant: copy left, framed photo right (About Us reference). */
.te-page-hero--split .te-page-hero__inner { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) {
  .te-page-hero--split .te-page-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, calc(80 * var(--te-u)), 5rem); }
}
.te-page-hero--split .te-page-hero__desc { max-width: 34rem; }

.te-page-hero__media { position: relative; padding: 3.8% 6.6% 4.75% 7.2%; }
.te-page-hero__media img {
  position: relative; z-index: 1;
  width: 100%;
  aspect-ratio: 762 / 480;
  object-fit: cover;
  border-radius: clamp(1rem, calc(26 * var(--te-u)), 1.625rem);
  border: 4px solid #fff;
  box-shadow: 0 28px 60px -30px rgba(8, 40, 60, 0.55);
}
/* Offset colour blocks behind the photo: pale teal top-left, teal bottom-right. */
.te-page-hero__block { position: absolute; border-radius: clamp(1rem, calc(24 * var(--te-u)), 1.5rem); pointer-events: none; }
.te-page-hero__block--a { left: 0; top: 0; width: 35%; height: 38%; background: #dcf3f3; }
.te-page-hero__block--b { right: 0; bottom: 0; width: 41%; height: 52%; background: linear-gradient(160deg, #2b9a9e, #1b7f83); }
.te-page-hero__media-icon {
  position: absolute; z-index: 2; left: -0.75rem; bottom: 1.5rem;
  display: inline-flex; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--te-ds-eyebrow); color: #fff;
  box-shadow: 0 0 0 6px rgba(245, 154, 10, 0.18), var(--te-shadow-card-hover);
}
.te-page-hero__media-icon svg { height: 1.5rem; width: 1.5rem; }

.te-page-hero .te-ds-bar { margin-bottom: clamp(1.25rem, calc(40 * var(--te-u)), 2.5rem); }
.te-page-hero .te-ds-eyebrow { margin-bottom: clamp(1rem, calc(28 * var(--te-u)), 1.75rem); }
.te-page-hero h1 {
  max-width: 56rem;
  font-family: var(--te-font-heading);
  font-size: 2rem;
  font-weight: var(--te-fw-display);
  line-height: 1.12;
  letter-spacing: var(--te-ls-display);
  color: var(--te-text-heading);
}
@media (min-width: 640px) { .te-page-hero h1 { font-size: 2.5rem; } }
@media (min-width: 1024px) { .te-page-hero h1 { font-size: clamp(2.75rem, calc(64 * var(--te-u)), 4rem); letter-spacing: -0.02em; text-wrap: pretty; } }

.te-page-hero__desc {
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: clamp(1.0625rem, calc(22 * var(--te-u)), 1.375rem);
  font-weight: var(--te-fw-body-lg);
  line-height: 1.6;
  color: var(--te-text-body);
}


/* ==========================================================================
   CTA SECTION (shared — Home closing CTA, Solution/Service/Industry/About CTA)
   ========================================================================== */

.te-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fbfdfe, #f4f9fd);
  color: var(--te-text-heading);
}
/* Brand photo on the right, fading into the light band. */
.te-cta__photo {
  position: absolute; top: 0; right: 0; height: 100%; width: 66%;
  object-fit: cover; object-position: 78% center; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 46%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 46%);
}
.te-cta__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(26rem, calc(658 * var(--te-u)), 41.125rem);
  padding-block: 4rem;
}
.te-cta h2 {
  max-width: max(20rem, calc(860 * var(--te-u)));
  font-family: var(--te-font-heading);
  font-size: clamp(2rem, calc(66 * var(--te-u)), 4.125rem);
  font-weight: var(--te-fw-display); line-height: 1.12; letter-spacing: var(--te-ls-display);
  color: var(--te-text-heading);
}
.te-cta p {
  margin-top: clamp(1rem, calc(22 * var(--te-u)), 1.375rem);
  max-width: max(20rem, calc(820 * var(--te-u)));
  font-size: clamp(1.0625rem, calc(25 * var(--te-u)), 1.5625rem);
  font-weight: var(--te-fw-body-lg); line-height: 1.55;
  color: var(--te-text-body);
}
.te-cta__action { margin-top: clamp(1.75rem, calc(46 * var(--te-u)), 2.875rem); }
.te-cta__btn {
  min-height: clamp(3.5rem, calc(90 * var(--te-u)), 5.625rem);
  padding-inline: clamp(1.75rem, calc(46 * var(--te-u)), 2.875rem);
  gap: 1.5rem;
  font-size: clamp(1.0625rem, calc(25 * var(--te-u)), 1.5625rem);
  background: linear-gradient(90deg, #0a6af2 0%, #129dea 100%);
  border: none;
  box-shadow: 0 18px 36px -16px rgba(10, 106, 242, 0.7);
}
.te-cta__btn:hover { background: linear-gradient(90deg, #0758d0 0%, #0f8bd0 100%); }
/* Below desktop the photo moves under the copy instead of behind it. */
@media (max-width: 1023px) {
  .te-cta { display: flex; flex-direction: column-reverse; }
  .te-cta__content { min-height: 0; padding-block: 3.5rem 2rem; }
  .te-cta__photo {
    position: relative; width: 100%; height: clamp(14rem, 48vw, 24rem);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%); mask-image: linear-gradient(180deg, transparent 0%, #000 28%);
  }
}

/* Contact Us — form/details 2-col layout. Ported from pages/Contact/
   Contact.jsx (`grid grid-cols-1 gap-12 lg:grid-cols-12`, form
   `lg:col-span-7`, details `lg:col-span-5`). */
.te-contact-grid { display: grid; gap: clamp(1.5rem, calc(40 * var(--te-u)), 2.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) {
  .te-contact-grid { grid-template-columns: repeat(12, 1fr); }
  .te-contact-grid > *:first-child { grid-column: span 7; }
  .te-contact-grid > *:last-child { grid-column: span 5; }
}



/* ==========================================================================
   SOLUTION / SERVICE / INDUSTRY detail pages (features, FAQ, challenges)
   ========================================================================== */

/* ==========================================================================
   FORMS (Contact / Career / Newsletter)
   ========================================================================== */

.te-form { display: flex; flex-direction: column; gap: 1.25rem; }
.te-form__row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .te-form__row--2col { grid-template-columns: repeat(2, 1fr); } }

.te-field label { display: block; margin-bottom: 0.375rem; font-size: 0.875rem; font-weight: var(--te-fw-medium); color: var(--te-navy-700); }
.te-field label .te-required { margin-left: 0.125rem; color: var(--te-brand-600); }
.te-field label .te-optional { margin-left: 0.25rem; color: var(--te-navy-400, #8592ad); }

.te-input, .te-textarea, .te-file {
  width: 100%; border-radius: var(--te-radius-lg); border: 1px solid var(--te-navy-200);
  padding: 0.75rem 1rem; font: inherit; color: var(--te-navy-900); background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.te-input:focus, .te-textarea:focus {
  outline: none; border-color: var(--te-brand-500); box-shadow: 0 0 0 3px var(--te-brand-100);
}
.te-field.has-error .te-input, .te-field.has-error .te-textarea {
  border-color: #f87171;
}
.te-field.has-error .te-input:focus, .te-field.has-error .te-textarea:focus { box-shadow: 0 0 0 3px #fee2e2; }

.te-field__error { margin-top: 0.375rem; font-size: 0.75rem; font-weight: var(--te-fw-medium); color: #dc2626; }
.te-field__hint { margin-top: 0.375rem; font-size: 0.75rem; color: #8592ad; }

.te-file {
  padding: 0;
  border: none;
}
.te-file::file-selector-button {
  margin-right: 1rem; border-radius: var(--te-radius-lg); border: none; background: var(--te-brand-50);
  padding: 0.625rem 1rem; font-size: 0.875rem; font-weight: var(--te-fw-semibold); color: var(--te-brand-700); cursor: pointer;
}
.te-file::file-selector-button:hover { background: var(--te-brand-100); }

.te-form__success {
  border-radius: var(--te-radius-2xl); border: 1px solid rgba(23, 201, 174, 0.3); background: rgba(23, 201, 174, 0.05);
  padding: 2rem; text-align: center;
}
.te-form__success-icon {
  margin-inline: auto; display: inline-flex; height: 3rem; width: 3rem; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(23, 201, 174, 0.15); color: var(--te-accent-600);
}
.te-form__success h2, .te-form__success h3 { margin-top: 1rem; font-size: 1.25rem; font-weight: var(--te-fw-semibold); color: var(--te-text-heading); }
.te-form__success p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--te-text-body); }

.te-form__error-banner { font-size: 0.875rem; font-weight: var(--te-fw-medium); color: #dc2626; }

/* ==========================================================================
   BLOG (Featured, Category filter, Grid, Cards)
   ========================================================================== */

.te-newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .te-newsletter-form .te-newsletter-form__row { flex-direction: row; } }
.te-newsletter-form__row { display: flex; flex-direction: column; gap: 0.75rem; }
.te-newsletter-form input[type="email"] { max-width: 24rem; }

/* ==========================================================================
   404
   ========================================================================== */


/* ==========================================================================
   FOOTER — "Frame 118" reference: gradient pre-footer band, light footer
   with brand + four link columns split by hairlines, contact bar, and the
   copyright line. Sizes are reference px scaled with --te-u (see
   variables.css) above a readable floor.
   ========================================================================== */

.te-footer__wrap {
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, calc(75 * var(--te-u)), 4.6875rem);
}

/* Pre-footer band */
.te-footer-cta {
  position: relative;
  overflow: hidden;
  border-radius: clamp(1rem, calc(28 * var(--te-u)), 1.75rem);
  background:
    radial-gradient(120% 160% at 100% 100%, rgba(253, 207, 120, 0.85) 0%, rgba(250, 238, 200, 0.6) 30%, transparent 55%),
    linear-gradient(90deg, #dcf5f6 0%, #e8f8f8 45%, #f4f7ea 70%, #fbefc8 100%);
  box-shadow: 0 10px 30px -18px rgba(16, 40, 80, 0.25);
}
.te-footer-cta::before {
  /* faint sweeping lines */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: repeating-radial-gradient(140% 120% at 60% 140%, transparent 0 46px, rgba(120, 190, 200, 0.25) 47px 48px);
}
.te-footer-cta .te-footer__wrap {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: clamp(9rem, calc(200 * var(--te-u)), 12.5rem);
  padding-block: 2rem;
  text-align: center;
}
@media (min-width: 768px) { .te-footer-cta .te-footer__wrap { flex-direction: row; text-align: left; padding-block: 1.5rem; } }
.te-footer-cta h2 {
  font-size: clamp(1.625rem, calc(48 * var(--te-u)), 3rem);
  font-weight: var(--te-fw-display); line-height: 1.15; letter-spacing: -0.01em; color: var(--te-text-heading);
}
.te-footer-cta__accent { color: var(--te-brand-bright); }
.te-footer-cta__btn {
  display: inline-flex; align-items: center; gap: 0.875rem;
  min-height: clamp(3.5rem, calc(82 * var(--te-u)), 5.125rem);
  padding-inline: clamp(1.75rem, calc(40 * var(--te-u)), 2.5rem);
  border-radius: 9999px; background: #fff;
  font-size: clamp(1.0625rem, calc(27 * var(--te-u)), 1.6875rem); font-weight: var(--te-fw-button); color: var(--te-text-title);
  box-shadow: 0 12px 30px -12px rgba(15, 40, 80, 0.35);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.te-footer-cta__btn .te-icon { width: 1.15em; height: 1.15em; }
.te-footer-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(15, 40, 80, 0.4); }

/* Main footer */
.te-footer { background: #fcfdff; color: var(--te-text-body); }
.te-footer__main {
  position: relative; overflow: hidden;
  background:
    radial-gradient(70% 90% at 0% 100%, #e3f0fd 0%, rgba(227, 240, 253, 0) 70%),
    radial-gradient(50% 70% at 100% 100%, #eef5fe 0%, rgba(238, 245, 254, 0) 70%),
    linear-gradient(180deg, #fcfdff, #f6f9fe);
}
.te-footer__main::before {
  /* soft wave lines, bottom-left */
  content: ""; position: absolute; left: -10%; bottom: -55%; width: 70%; aspect-ratio: 2 / 1; pointer-events: none;
  border-radius: 50%; opacity: 0.55;
  background: repeating-radial-gradient(closest-side, transparent 0 22px, rgba(150, 190, 235, 0.35) 23px 24px);
}

.te-footer__grid {
  position: relative;
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  padding-block: 3rem 2.5rem;
}
@media (min-width: 1024px) {
  .te-footer__grid {
    grid-template-columns: minmax(0, 465fr) minmax(0, 1435fr);
    gap: 0;
    padding-block: clamp(3rem, calc(78 * var(--te-u)), 4.875rem) clamp(2.5rem, calc(56 * var(--te-u)), 3.5rem);
  }
}

.te-footer__brand { border-bottom: 1px solid #e2e7ed; padding-bottom: 2rem; }
@media (min-width: 1024px) { .te-footer__brand { border-bottom: none; padding: 0 clamp(1rem, calc(58 * var(--te-u)), 3.625rem) 0 0; } }
.te-footer__brand-logo { display: inline-block; }
.te-footer__brand-logo img { width: clamp(13.75rem, calc(407 * var(--te-u)), 25.4375rem); height: auto; }
.te-footer__brand p.te-footer__desc {
  margin-top: clamp(1.25rem, calc(40 * var(--te-u)), 2.5rem);
  max-width: 25rem;
  font-size: clamp(0.9375rem, calc(25 * var(--te-u)), 1.5625rem); font-weight: var(--te-fw-body-lg); line-height: 1.45; color: var(--te-text-body);
}
.te-footer__social { margin-top: clamp(1.25rem, calc(40 * var(--te-u)), 2.5rem); display: flex; gap: clamp(0.75rem, calc(19 * var(--te-u)), 1.1875rem); }
.te-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: clamp(2.75rem, calc(58 * var(--te-u)), 3.625rem); height: clamp(2.75rem, calc(58 * var(--te-u)), 3.625rem);
  border-radius: 50%; background: #e7edf5; color: var(--te-text-title); font-weight: var(--te-fw-bold);
  box-shadow: 0 6px 14px -8px rgba(15, 40, 80, 0.35); transition: background 150ms ease, color 150ms ease;
}
.te-footer__social a:hover { background: var(--te-brand-600); color: #fff; }
.te-footer__social svg { width: 45%; height: 45%; }
.te-footer__brand p.te-footer__legal {
  margin-top: clamp(1.5rem, calc(40 * var(--te-u)), 2.5rem);
  padding-top: clamp(1.25rem, calc(35 * var(--te-u)), 2.1875rem);
  border-top: 1px solid #e2e7ed;
  font-size: clamp(0.75rem, calc(18 * var(--te-u)), 1.125rem); font-weight: var(--te-fw-medium);
  text-transform: uppercase; letter-spacing: 0.13em; color: #6d7383;
}
@media (min-width: 1024px) { .te-footer__brand p.te-footer__legal { white-space: nowrap; } }

@media (min-width: 1024px) {
  .te-footer__columns { display: grid; grid-template-columns: 309fr 361fr 358fr 407fr; }
}

.te-footer-group { border-bottom: 1px solid #e2e7ed; padding-block: 1rem; }
@media (min-width: 1024px) {
  .te-footer-group {
    border-bottom: none; border-left: 1px solid #e6ebf1;
    padding: 0 0 0 clamp(1rem, calc(26 * var(--te-u)), 1.625rem);
  }
  .te-footer-group + .te-footer-group { padding-left: clamp(1rem, calc(42 * var(--te-u)), 2.625rem); }
}
.te-footer-group > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  cursor: pointer; list-style: none;
}
.te-footer-group > summary::-webkit-details-marker { display: none; }
@media (min-width: 1024px) { .te-footer-group > summary { margin-bottom: clamp(1.25rem, calc(30 * var(--te-u)), 1.875rem); } }
.te-footer-group__label {
  display: flex; align-items: center; gap: clamp(0.75rem, calc(20 * var(--te-u)), 1.25rem);
  font-size: clamp(0.875rem, calc(20 * var(--te-u)), 1.25rem); font-weight: var(--te-fw-bold);
  text-transform: uppercase; letter-spacing: 0.15em; color: var(--te-text-title);
}
.te-footer-group__icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: clamp(2.5rem, calc(56 * var(--te-u)), 3.5rem); height: clamp(2.5rem, calc(56 * var(--te-u)), 3.5rem);
  border-radius: clamp(0.625rem, calc(14 * var(--te-u)), 0.875rem);
  background: #eef3fd; color: var(--te-brand-bright);
  box-shadow: 0 6px 14px -10px rgba(15, 40, 80, 0.4);
}
.te-footer-group__icon svg { width: 50%; height: 50%; }
.te-footer-group--solutions .te-footer-group__icon { background: #e6f6f1; color: #01a781; }
.te-footer-group--services .te-footer-group__icon { background: #fff3e3; color: #ff8800; }
.te-footer-chevron { height: 1rem; width: 1rem; color: #6d7383; transition: transform 160ms ease; }
.te-footer-group[open] .te-footer-chevron { transform: rotate(180deg); }
.te-footer-group__body { padding-top: 0.75rem; }
@media (min-width: 1024px) { .te-footer-group__body { padding-top: 0; } }
.te-footer-group ul { display: flex; flex-direction: column; gap: clamp(0.625rem, calc(20 * var(--te-u)), 1.25rem); }
.te-footer-group--industries ul { gap: clamp(0.5rem, calc(12 * var(--te-u)), 0.75rem); }
.te-footer-group a {
  display: inline-flex; align-items: center; gap: clamp(0.5rem, calc(16 * var(--te-u)), 1rem);
  font-size: clamp(0.9375rem, calc(21 * var(--te-u)), 1.3125rem); font-weight: var(--te-fw-body-lg); line-height: 1.35; color: var(--te-text-body);
  transition: color 150ms ease;
}
.te-footer-group a:hover { color: var(--te-brand-600); }
.te-footer-group__chev { width: 1em; height: 1em; flex-shrink: 0; color: #4694f1; transition: transform 150ms ease; }
.te-footer-group a:hover .te-footer-group__chev { transform: translateX(2px); }

@media (min-width: 1024px) {
  .te-footer-group > summary { pointer-events: none; }
  .te-footer-group .te-footer-chevron { display: none; }
}

/* Contact bar */
.te-footer__contact { background: #f7faff; border-top: 1px solid #e8eef6; }
.te-footer__contact .te-footer__wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem clamp(1.5rem, calc(64 * var(--te-u)), 4rem);
  min-height: clamp(6rem, calc(130 * var(--te-u)), 8.125rem);
  padding-block: 1.25rem;
}
.te-footer__contact-label {
  font-size: clamp(0.875rem, calc(20 * var(--te-u)), 1.25rem); font-weight: var(--te-fw-bold);
  text-transform: uppercase; letter-spacing: 0.15em; color: var(--te-text-title);
}
.te-footer__contact-list { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem clamp(1.5rem, calc(48 * var(--te-u)), 3rem); }
.te-footer__contact-list li {
  display: flex; align-items: center; gap: clamp(0.75rem, calc(26 * var(--te-u)), 1.625rem);
  font-size: clamp(0.9375rem, calc(23 * var(--te-u)), 1.4375rem); font-weight: var(--te-fw-body-lg); color: var(--te-text-title);
}
.te-footer__contact-list a:hover { color: var(--te-brand-600); }
.te-footer__contact-icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: clamp(2.5rem, calc(58 * var(--te-u)), 3.625rem); height: clamp(2.5rem, calc(58 * var(--te-u)), 3.625rem);
  border-radius: 50%; background: #e5ebff; color: var(--te-brand-bright);
}
.te-footer__contact-icon svg { width: 45%; height: 45%; }
.te-footer__dots {
  display: none; margin-left: auto; width: 13rem; height: 3.25rem;
  background-image: radial-gradient(circle, rgba(70, 148, 241, 0.35) 1.5px, transparent 2px);
  background-size: 22px 22px;
}
@media (min-width: 1024px) { .te-footer__dots { display: block; } }

.te-footer__bottom { background: #f7faff; border-top: 1px solid #e8eef6; }
.te-footer__bottom .te-footer__wrap {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding-block: 1rem; font-size: 0.8125rem; color: #6d7383;
}
@media (min-width: 640px) { .te-footer__bottom .te-footer__wrap { flex-direction: row; } }


/* ==========================================================================
   LIGHT DESIGN SYSTEM — reusable primitives (About Us reference): heading
   highlight, eyebrow, two-tone bar, design-system section heading,
   decorative arcs/dots, icon badge. Used by About Us, every inner-page
   banner, CTA band and section heading.
   ========================================================================== */

.te-hl {
  background: linear-gradient(90deg, var(--te-ds-hl-from), var(--te-ds-hl-to));
  -webkit-background-clip: text; background-clip: text;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  color: transparent;
}
.te-hl--blue { background-image: linear-gradient(90deg, #0a62f2 0%, #1a8fff 70%, #10a8c8 100%); }
.te-hl--on-dark { background-image: linear-gradient(90deg, var(--te-ds-hl-on-dark), #3ec9e6); }

.te-ds-eyebrow {
  font-family: var(--te-font-body);
  font-size: clamp(0.8125rem, calc(22 * var(--te-u)), 1.375rem);
  font-weight: var(--te-fw-semibold);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--te-ds-eyebrow);
}

.te-ds-bar {
  display: block;
  width: clamp(4.5rem, calc(132 * var(--te-u)), 8.25rem); height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--te-ds-bar-teal) 0 50%, var(--te-ds-bar-orange) 50% 100%);
}
.te-ds-bar--sm { width: clamp(3.5rem, calc(84 * var(--te-u)), 5.25rem); }

/* Section heading, design-system variant (inner pages). */
.te-section-heading--ds { max-width: 62rem; }
.te-section-heading--ds .te-eyebrow {
  margin-bottom: 0;
  font-size: clamp(0.8125rem, calc(21 * var(--te-u)), 1.3125rem);
  font-weight: var(--te-fw-semibold);
  letter-spacing: 0.26em;
  color: var(--te-ds-eyebrow);
}
.te-section-heading--ds .te-ds-bar { margin-top: clamp(0.875rem, calc(18 * var(--te-u)), 1.125rem); width: clamp(4rem, calc(110 * var(--te-u)), 6.875rem); }
.te-section-heading--center.te-section-heading--ds .te-ds-bar { margin-inline: auto; }
.te-section-heading--ds h2 {
  margin-top: clamp(0.875rem, calc(22 * var(--te-u)), 1.375rem);
  font-size: clamp(2rem, calc(60 * var(--te-u)), 3.75rem);
  font-weight: var(--te-fw-display);
  line-height: 1.12;
  letter-spacing: var(--te-ls-display);
  color: var(--te-text-heading);
}
.te-section-heading--ds > p:not(.te-eyebrow) {
  margin-top: clamp(1rem, calc(22 * var(--te-u)), 1.375rem);
  font-size: clamp(1.0625rem, calc(23 * var(--te-u)), 1.4375rem);
  font-weight: var(--te-fw-body-lg); line-height: 1.5; color: var(--te-text-body);
}
.te-section--navy .te-section-heading--ds h2,
.te-ds-dark .te-section-heading--ds h2 { color: #fff; }

/* Decorative arcs + dot grids. Positioned per preset; container must be
   position:relative and overflow:hidden. */
.te-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.te-deco__arc {
  position: absolute; border-radius: 50%;
  border: 1.5px solid var(--te-ds-deco);
  background: radial-gradient(closest-side, rgba(214, 240, 242, 0.55), rgba(214, 240, 242, 0) 100%);
}
.te-deco__arc::after {
  content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%;
  background: #12a693; box-shadow: 0 0 0 4px rgba(18, 166, 147, 0.12);
}
.te-deco__dots {
  position: absolute;
  background-image: radial-gradient(circle, rgba(18, 150, 150, 0.55) 1.7px, transparent 2.3px);
  background-size: 26px 26px;
}
/* Presets use reference px (×--te-u), not % of the section, so arcs and
   their dots sit in the same place whatever the section's height. */
/* preset: hero */
.te-deco--hero .te-deco__arc--1 { left: calc(-269 * var(--te-u)); top: calc(-470 * var(--te-u)); width: calc(768 * var(--te-u)); aspect-ratio: 1; }
.te-deco--hero .te-deco__arc--1::after { right: 12%; bottom: 13%; }
.te-deco--hero .te-deco__arc--2 { left: calc(614 * var(--te-u)); bottom: calc(-599 * var(--te-u)); width: calc(730 * var(--te-u)); aspect-ratio: 1; border-color: rgba(18, 161, 161, 0.3); }
.te-deco--hero .te-deco__arc--2::after { left: 12%; top: 16%; }
.te-deco--hero .te-deco__dots--1 { left: 4%; bottom: calc(110 * var(--te-u)); width: 140px; height: 110px; }
.te-deco--hero .te-deco__dots--2 { right: 2.5%; top: calc(48 * var(--te-u)); width: 150px; height: 100px; }
/* Text-only banners: keep the copy column clear — arcs move to the right. */
.te-page-hero:not(.te-page-hero--split) .te-deco__arc--1 { left: auto; right: calc(-300 * var(--te-u)); }
.te-page-hero:not(.te-page-hero--split) .te-deco__arc--1::after { right: auto; left: 12%; }
.te-page-hero:not(.te-page-hero--split) .te-deco__arc--2 { left: auto; right: calc(80 * var(--te-u)); }
.te-page-hero:not(.te-page-hero--split) .te-deco__dots--1 { display: none; }
/* preset: section (top-left arc, bottom-right arc, dot grids) */
.te-deco--section .te-deco__arc--1 { left: calc(-230 * var(--te-u)); top: calc(-440 * var(--te-u)); width: calc(653 * var(--te-u)); aspect-ratio: 1; }
.te-deco--section .te-deco__arc--1::after { right: 12%; bottom: 10%; }
.te-deco--section .te-deco__arc--2 { right: calc(-269 * var(--te-u)); bottom: calc(-440 * var(--te-u)); width: calc(576 * var(--te-u)); aspect-ratio: 1; border-color: rgba(18, 161, 161, 0.25); }
.te-deco--section .te-deco__arc--2::after { left: 10%; top: 12%; }
.te-deco--section .te-deco__dots--1 { right: 4%; top: calc(60 * var(--te-u)); width: 150px; height: 100px; }
.te-deco--section .te-deco__dots--2 { left: 2%; bottom: calc(40 * var(--te-u)); width: 130px; height: 80px; }
/* preset: cta */
.te-deco--cta .te-deco__arc--1 { left: calc(-192 * var(--te-u)); top: calc(-316 * var(--te-u)); width: calc(499 * var(--te-u)); aspect-ratio: 1; }
.te-deco--cta .te-deco__arc--1::after { right: 14%; bottom: 8%; }
.te-deco--cta .te-deco__arc--2, .te-deco--cta .te-deco__dots--2 { display: none; }
.te-deco--cta .te-deco__dots--1 { left: 0; top: 60%; width: 26px; height: 160px; }
@media (max-width: 767px) { .te-deco__dots { display: none; } }

/* Icon badge: soft circle, teal icon, small orange status dot. */
.te-ds-icon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: var(--ic, 4.5rem); height: var(--ic, 4.5rem); border-radius: 50%;
  background: var(--te-ds-teal-soft); color: var(--te-ds-teal);
}
.te-ds-icon svg { width: 46%; height: 46%; }
.te-ds-icon::after {
  content: ""; position: absolute; top: 6%; right: 4%;
  width: 14%; height: 14%; min-width: 9px; min-height: 9px; border-radius: 50%;
  background: var(--te-ds-dot); box-shadow: 0 0 0 3px #fff;
}
.te-ds-icon--ring { box-shadow: 0 0 0 6px #fff, 0 0 0 7px #d6ecec; }
.te-ds-icon--orange { background: var(--te-ds-orange-soft); color: #e88a00; }
.te-ds-icon--square { border-radius: 26%; }

/* Card corner decoration (quarter circle, top-right). */
.te-ds-corner { overflow: hidden; }
.te-ds-corner::before {
  content: ""; position: absolute; top: -18%; right: -10%; width: 34%; aspect-ratio: 1; border-radius: 50%;
  background: color-mix(in srgb, var(--te-ds-teal-soft) 70%, transparent); pointer-events: none;
}
.te-ds-corner--orange::before { background: color-mix(in srgb, var(--te-ds-orange-soft) 85%, transparent); }


/* ==========================================================================
   DESIGN SYSTEM — INNER PAGES (layout rhythm + shared components)
   One source for every page that isn't the Home page: the About Us
   reference's wide container, section rhythm and card family. Home keeps
   its own reference layout (home.css) but shares the same tokens.
   ========================================================================== */

/* ---------- Layout rhythm --------------------------------------------- */

body:not(.home) main .te-container {
  max-width: var(--te-container-wide);
  padding-inline: var(--te-gutter);
}
body:not(.home) main .te-section { position: relative; overflow: hidden; padding-block: var(--te-section-pad); }
body:not(.home) .te-section--light { background: var(--te-ds-page-bg); }
body:not(.home) .te-section--subtle { background: linear-gradient(180deg, var(--te-ds-page-bg-2), #f6fbfc); }
/* The reference's dot grid, top-right of alternate bands. */
body:not(.home) .te-section--subtle::before {
  content: ""; position: absolute; right: 4%; top: calc(60 * var(--te-u)); width: 150px; height: 100px; pointer-events: none;
  background-image: radial-gradient(circle, rgba(18, 150, 150, 0.45) 1.7px, transparent 2.3px); background-size: 26px 26px;
}
@media (max-width: 767px) { body:not(.home) .te-section--subtle::before { display: none; } }
body:not(.home) main .te-section > .te-container { position: relative; z-index: 1; }

/* Gap between a section heading and the grid/list under it. */
.te-section-body { margin-top: clamp(2rem, calc(48 * var(--te-u)), 3rem); }
.te-section-body--narrow { margin-inline: auto; max-width: 56rem; }

/* Long-form copy (blog posts, legal pages). */
.te-prose { max-width: 48rem; font-size: clamp(1rem, calc(21 * var(--te-u)), 1.3125rem); font-weight: var(--te-fw-body-lg); line-height: 1.75; color: var(--te-text-body); }
.te-prose > * + * { margin-top: 1.25em; }
.te-prose h2, .te-prose h3 { margin-top: 1.75em; font-weight: var(--te-fw-title); line-height: 1.25; color: var(--te-text-title); }
.te-prose h2 { font-size: 1.6em; }
.te-prose h3 { font-size: 1.3em; }
.te-prose a { color: var(--te-ds-teal); text-decoration: underline; text-underline-offset: 3px; }
.te-prose ul, .te-prose ol { padding-left: 1.25em; list-style: revert; }
.te-prose img { border-radius: var(--te-card-radius); }
.te-meta { font-size: 0.9375rem; color: var(--te-text-muted); }
.te-media-frame { overflow: hidden; border-radius: var(--te-card-radius); box-shadow: var(--te-card-shadow); }
.te-media-frame img { width: 100%; height: auto; }

/* ---------- Grids -------------------------------------------------------- */

.te-feature-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, calc(25 * var(--te-u)), 1.5625rem); }
@media (min-width: 640px) { .te-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .te-feature-grid--3col { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .te-feature-grid--4col { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Tile card: icon badge, title, text, optional link ----------- */

.te-tile { display: flex; flex-direction: column; gap: 0; padding: clamp(1.5rem, calc(32 * var(--te-u)), 2rem); }
.te-tile > .te-ds-icon { --ic: clamp(3.75rem, calc(84 * var(--te-u)), 5.25rem); position: relative; z-index: 1; }
.te-tile__title { position: relative; margin-top: clamp(1rem, calc(22 * var(--te-u)), 1.375rem); font-size: clamp(1.0625rem, calc(24 * var(--te-u)), 1.5rem); font-weight: var(--te-fw-title); line-height: 1.25; color: var(--te-text-title); }
.te-tile__text { position: relative; margin-top: clamp(0.5rem, calc(12 * var(--te-u)), 0.75rem); flex: 1; font-size: clamp(0.9375rem, calc(20 * var(--te-u)), 1.25rem); font-weight: var(--te-fw-body-lg); line-height: 1.5; color: var(--te-text-body); }
.te-tile__link {
  position: relative; margin-top: clamp(1rem, calc(22 * var(--te-u)), 1.375rem);
  display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start;
  font-size: clamp(0.9375rem, calc(18 * var(--te-u)), 1.125rem); font-weight: var(--te-fw-semibold); color: var(--te-ds-teal);
}
.te-tile__link .te-icon { width: 1.1em; height: 1.1em; transition: transform 200ms ease; }
.te-tile:hover .te-tile__link .te-icon { transform: translateX(3px); }
.te-tile--center { align-items: center; text-align: center; }
.te-tile--center .te-tile__link { align-self: center; }

/* ---------- Check card (What's Included, challenges, benefits) ---------- */

.te-feature-card { display: flex; gap: clamp(1rem, calc(24 * var(--te-u)), 1.5rem); align-items: flex-start; padding: clamp(1.25rem, calc(28 * var(--te-u)), 1.75rem); }
.te-feature-card__icon { --ic: clamp(2.75rem, calc(56 * var(--te-u)), 3.5rem); }
.te-feature-card__icon::after { display: none; }
.te-feature-card h3 { font-size: clamp(1.0625rem, calc(22 * var(--te-u)), 1.375rem); font-weight: var(--te-fw-title); line-height: 1.3; color: var(--te-text-title); }
.te-feature-card p { margin-top: 0.5rem; font-size: clamp(0.9375rem, calc(19 * var(--te-u)), 1.1875rem); font-weight: var(--te-fw-body-lg); line-height: 1.55; color: var(--te-text-body); }
.te-feature-card > p:only-of-type { margin-top: 0.375rem; }

/* ---------- Industry card (Home "Industries We Serve" + related) -------- */

.te-ind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; align-content: start; }
@media (min-width: 640px) { .te-ind-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem clamp(0.75rem, calc(24 * var(--te-u)), 1.5rem); } }
@media (min-width: 1024px) { .te-ind-grid--4col { grid-template-columns: repeat(4, 1fr); } }
.te-h-ind-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(0.5rem, calc(10 * var(--te-u)), 0.625rem);
  padding: clamp(0.875rem, calc(16 * var(--te-u)), 1rem) clamp(0.875rem, calc(24 * var(--te-u)), 1.5rem) clamp(0.875rem, calc(16 * var(--te-u)), 1rem) clamp(0.875rem, calc(25 * var(--te-u)), 1.5625rem);
  border: 1px solid var(--te-card-border); border-radius: clamp(0.875rem, calc(16 * var(--te-u)), 1rem); background: var(--te-card-bg);
  box-shadow: var(--te-card-shadow);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.te-h-ind-card:hover { transform: translateY(-2px); border-color: var(--te-brand-200); box-shadow: var(--te-card-shadow-hover); }
.te-h-ind-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.te-h-ind-card__thumb {
  display: block; overflow: hidden; flex-shrink: 0;
  width: clamp(3rem, calc(66 * var(--te-u)), 4.125rem); height: clamp(3rem, calc(64 * var(--te-u)), 4rem);
  border-radius: clamp(0.5rem, calc(9 * var(--te-u)), 0.5625rem);
}
.te-h-ind-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.te-h-ind-card__thumb--icon { display: inline-flex; align-items: center; justify-content: center; background: var(--te-brand-50); color: var(--te-brand-600); }
.te-h-ind-card__thumb--icon svg { width: 50%; height: 50%; }
.te-h-ind-card__go {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: clamp(2rem, calc(40 * var(--te-u)), 2.5rem); height: clamp(2rem, calc(40 * var(--te-u)), 2.5rem);
  border-radius: 50%; background: #eef5fe; color: #1a5fd0; transition: background 150ms ease, color 150ms ease;
}
.te-h-ind-card__go svg { width: 45%; height: 45%; }
.te-h-ind-card:hover .te-h-ind-card__go { background: var(--te-brand-600); color: #fff; }
.te-h-ind-card__label { font-size: clamp(0.875rem, calc(18 * var(--te-u)), 1.125rem); font-weight: var(--te-fw-label); line-height: 1.3; color: var(--te-text-title); }

/* ---------- FAQ ----------------------------------------------------------- */

.te-faq { max-width: 56rem; border-radius: var(--te-card-radius); border: 1px solid var(--te-card-border); background: var(--te-card-bg); box-shadow: var(--te-card-shadow); overflow: hidden; }
.te-faq__item + .te-faq__item { border-top: 1px solid var(--te-card-border); }
.te-faq__question {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem;
  padding: clamp(1.125rem, calc(26 * var(--te-u)), 1.625rem) clamp(1.25rem, calc(32 * var(--te-u)), 2rem); text-align: left; background: none; border: none; transition: background 150ms ease;
}
.te-faq__question:hover { background: color-mix(in srgb, var(--te-ds-teal-soft) 45%, transparent); }
.te-faq__question span { font-size: clamp(1rem, calc(21 * var(--te-u)), 1.3125rem); font-weight: var(--te-fw-semibold); color: var(--te-text-title); }
.te-faq__question svg { height: 1.25rem; width: 1.25rem; flex-shrink: 0; color: var(--te-ds-teal); transition: transform 200ms ease; }
.te-faq__question[aria-expanded="true"] svg { transform: rotate(180deg); }
.te-faq__answer { padding: 0 clamp(1.25rem, calc(32 * var(--te-u)), 2rem) clamp(1.125rem, calc(26 * var(--te-u)), 1.625rem); font-size: clamp(0.9375rem, calc(19 * var(--te-u)), 1.1875rem); font-weight: var(--te-fw-body-lg); line-height: 1.6; color: var(--te-text-body); }

/* ---------- Info panel (Contact details, sidebars) ---------------------- */

.te-info-panel { padding: clamp(1.5rem, calc(36 * var(--te-u)), 2.25rem); }
.te-info-panel__title { font-size: clamp(1.125rem, calc(24 * var(--te-u)), 1.5rem); font-weight: var(--te-fw-title); color: var(--te-text-title); }
.te-info-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.te-info-list__item { display: flex; align-items: flex-start; gap: 1rem; }
.te-info-list__item .te-ds-icon { --ic: 3rem; }
.te-info-list__item .te-ds-icon::after { display: none; }
.te-info-list dt { font-size: 0.875rem; font-weight: var(--te-fw-semibold); text-transform: uppercase; letter-spacing: 0.1em; color: var(--te-text-muted); }
.te-info-list dd { margin: 0.25rem 0 0; font-size: 1.0625rem; color: var(--te-text-title); }
.te-info-list dd a { color: var(--te-ds-teal); }
.te-info-panel__legal { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--te-card-border); font-size: 0.8125rem; font-weight: var(--te-fw-medium); text-transform: uppercase; letter-spacing: 0.14em; color: var(--te-text-muted); }
.te-info-panel__links { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.te-info-panel__links a { font-size: 0.9375rem; font-weight: var(--te-fw-semibold); color: var(--te-ds-teal); }
.te-info-panel__action { margin-top: 1.5rem; }
.te-map-frame { margin-top: 1.5rem; overflow: hidden; border-radius: var(--te-card-radius); border: 1px solid var(--te-card-border); }
.te-map-frame iframe { display: block; height: 16rem; width: 100%; border: 0; }
.te-stack-gap { margin-top: 1.5rem; }

/* ---------- Forms ------------------------------------------------------- */

.te-form-card { padding: clamp(1.5rem, calc(40 * var(--te-u)), 2.5rem); }
.te-field label { color: var(--te-text-title); font-weight: var(--te-fw-semibold); }
.te-field label .te-required { color: var(--te-ds-eyebrow); }
.te-field label .te-optional { color: var(--te-text-muted); font-weight: var(--te-fw-regular); }
.te-input, .te-textarea {
  border-radius: 0.75rem; border: 1px solid #d7e2ea; background: #fff;
  padding: 0.875rem 1.125rem; color: var(--te-text-title);
}
.te-input::placeholder, .te-textarea::placeholder { color: #8a95ab; }
.te-input:focus, .te-textarea:focus { border-color: var(--te-ds-bar-teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--te-ds-bar-teal) 18%, transparent); }
.te-file::file-selector-button { background: var(--te-ds-teal-soft); color: var(--te-ds-teal); }
.te-file::file-selector-button:hover { background: color-mix(in srgb, var(--te-ds-teal-soft) 70%, var(--te-ds-teal)); color: #fff; }
.te-form__success { border-color: color-mix(in srgb, var(--te-ds-bar-teal) 30%, transparent); background: color-mix(in srgb, var(--te-ds-teal-soft) 50%, #fff); }
.te-form__success-icon { background: var(--te-ds-teal-soft); color: var(--te-ds-teal); }
.te-form-success-text { font-size: 0.9375rem; font-weight: var(--te-fw-semibold); color: var(--te-ds-teal); }
.te-newsletter { margin-inline: auto; max-width: 40rem; text-align: center; }
.te-newsletter h2 { font-size: clamp(1.5rem, calc(40 * var(--te-u)), 2.5rem); font-weight: var(--te-fw-display); letter-spacing: var(--te-ls-display); color: var(--te-text-heading); }
.te-newsletter > p { margin-top: 0.75rem; font-size: clamp(1rem, calc(20 * var(--te-u)), 1.25rem); font-weight: var(--te-fw-body-lg); color: var(--te-text-body); }
.te-newsletter__form { margin-top: 1.5rem; display: flex; justify-content: center; }
.te-newsletter-form .te-field { flex: 1; max-width: 24rem; }

/* ---------- Blog cards, featured post, filter --------------------------- */

.te-blog-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, calc(25 * var(--te-u)), 1.5625rem); }
@media (min-width: 640px) { .te-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .te-blog-grid { grid-template-columns: repeat(3, 1fr); } }
.te-blog-card { display: flex; height: 100%; flex-direction: column; padding: clamp(1.5rem, calc(30 * var(--te-u)), 1.875rem); }
.te-blog-card__icon { --ic: 3.5rem; }
.te-blog-card__icon::after { display: none; }
.te-blog-card__cat {
  margin-top: 1rem; display: inline-flex; align-items: center; width: fit-content;
  padding: 0.375rem 0.875rem; border-radius: 9999px; background: #e6f1fd;
  font-size: 0.875rem; font-weight: var(--te-fw-medium); color: var(--te-pill-text);
}
.te-blog-card > .te-blog-card__cat:first-child { margin-top: 0; }
.te-blog-card h3 { margin-top: 0.875rem; flex: 1; font-size: clamp(1.0625rem, calc(23 * var(--te-u)), 1.4375rem); font-weight: var(--te-fw-title); line-height: 1.35; color: var(--te-text-title); }
.te-blog-card__date { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--te-text-muted); }

.te-featured-post { position: relative; overflow: hidden; padding: clamp(1.75rem, calc(48 * var(--te-u)), 3rem); }
.te-featured-post__badges { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.te-featured-post__cat { position: relative; margin-top: 1.25rem; display: inline-flex; padding: 0.375rem 0.875rem; border-radius: 9999px; background: #e6f1fd; font-size: 0.875rem; font-weight: var(--te-fw-medium); color: var(--te-pill-text); }
.te-featured-post h2 { position: relative; margin-top: 1rem; max-width: 46rem; font-size: clamp(1.5rem, calc(38 * var(--te-u)), 2.375rem); font-weight: var(--te-fw-title); line-height: 1.25; color: var(--te-text-title); }

.te-category-filter { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.te-category-filter__btn {
  border-radius: 9999px; border: 1px solid var(--te-card-border); background: #fff; padding: 0.625rem 1.25rem;
  font-size: 0.9375rem; font-weight: var(--te-fw-medium); color: var(--te-text-title); box-shadow: var(--te-card-shadow); transition: all 150ms ease;
}
.te-category-filter__btn:hover { border-color: var(--te-ds-bar-teal); color: var(--te-ds-teal); }
.te-category-filter__btn.is-active { border-color: var(--te-ds-teal); background: var(--te-ds-teal); color: #fff; }
.te-blog-empty { border-radius: var(--te-card-radius); border: 1px dashed var(--te-card-border); background: #fff; padding: 2rem; text-align: center; font-size: 0.9375rem; color: var(--te-text-muted); }

/* ---------- 404 --------------------------------------------------------- */

.te-404 { position: relative; overflow: hidden; display: flex; min-height: 64vh; flex-direction: column; align-items: center; justify-content: center; padding-block: 6rem; text-align: center; background: linear-gradient(180deg, #fdfefe, var(--te-ds-page-bg)); }
.te-404 .te-404__code { position: relative; font-size: clamp(0.875rem, calc(22 * var(--te-u)), 1.375rem); font-weight: var(--te-fw-semibold); text-transform: uppercase; letter-spacing: 0.24em; color: var(--te-ds-eyebrow); }
.te-404 .te-ds-bar { position: relative; margin: 1rem auto 0; }
.te-404 h1 { position: relative; margin-top: 1.25rem; font-size: clamp(2rem, calc(60 * var(--te-u)), 3.75rem); font-weight: var(--te-fw-display); letter-spacing: var(--te-ls-display); color: var(--te-text-heading); }
.te-404 p:not(.te-404__code) { position: relative; margin-top: 1rem; max-width: 32rem; font-size: clamp(1rem, calc(21 * var(--te-u)), 1.3125rem); font-weight: var(--te-fw-body-lg); color: var(--te-text-body); }
.te-404 .te-btn { position: relative; margin-top: 2rem; }

/* Lead paragraph under a banner (Industry detail intro). */
body:not(.home) main .te-section--intro { padding-bottom: 0; }
.te-lead { max-width: 60rem; font-size: clamp(1.0625rem, calc(24 * var(--te-u)), 1.5rem); font-weight: var(--te-fw-body-lg); line-height: 1.6; color: var(--te-text-lead); }
.te-prose-wrap > * { max-width: 52rem; }
