/*
  Qualgen + Equilibria landing — standalone stylesheet.
  Page styles for Qualgen + Equilibria. Navbar via site-shell (same as index); Elementor Theme Builder header prevails.
*/

@import url("../archive/fontes/area-font/area-hormodose.css");
@import url("../archive/fontes/ivy-mode/ivy-mode.css");

:root {
  --qe-font-sans: "Area", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --qe-font-heading: "ivymode", "IvyMode", Georgia, "Times New Roman", serif;
  --qe-design-w: 1920;
  --qe-content-max: 1300px;
  --qe-gutter: clamp(1.25rem, 10.4167vw, 200px);
  --qe-ink: #1c2433;
  --qe-ink-soft: #3d4a5f;
  --qe-muted: #5c6578;
  --qe-blue: #0073ff;
  --qe-blue-deep: #0058c8;
  --qe-blue-tint: #e8f1fc;
  --qe-blue-tint-2: #f2f6fc;
  --qe-hero-bg: #272b2e;
  --qe-stat-bg: #eef4fc;
  --qe-stat-border: #d4e4f7;
  --qe-radius-pill: 50px;
  --qe-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --qe-section-pad: 88px;
  --qe-section-pad-sm: clamp(3.5rem, 8vw, 5.5rem);
  --qe-section-pad-mobile: clamp(3rem, 10vw, 4rem);
  --qe-title-gap: 30px;
  --qe-title-gap-mobile: 24px;
  --qe-mobile-gutter: clamp(16px, 4vw, 24px);
  --qe-hero-nav-clear: calc(4.75rem + env(safe-area-inset-top, 0px));
  --qe-stat-icon: 48px;
  --qe-stat-gap: 14px;
  --qe-stat-item-pad: 1.5rem;
  --qe-feature-icon-gap: 10px;
  --qe-feature-title-gap: 8px;
  --qe-feature-item-pad: 1.25rem;

  --font-sans: var(--qe-font-sans);
  --layout-max: 1300px;
  --site-sticky-glass: 82 106 122;
  --renewal-blue-mid: #2b64f5;
  --renewal-blue: #0073ff;
  --nav-mega-surface: #ffffff;
  --nav-mega-ink: #0f172a;
  --nav-mega-muted: #64748b;
  --nav-mega-rule: #e2e8f0;
  --nav-mega-radius: 10px;
  --site-mobile-gutter: clamp(14px, 4vw, 20px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.qe-page {
  margin: 0;
  font-family: var(--qe-font-sans);
  font-size: 16px;
  color: var(--qe-ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.qe-page main {
  display: block;
}

[id] {
  scroll-margin-top: 6rem;
}

body.qe-page img,
body.qe-page svg {
  display: block;
  max-width: 100%;
}

body.qe-page button {
  font: inherit;
}


/* Navbar: shared site-shell (site-nav-sticky.css + rwl-navbar-ds2-light.css). Elementor header widget controls variant/logos/links. */

.qe-page h1,
.qe-page h2 {
  font-family: var(--qe-font-heading);
  font-weight: 300;
  margin: 0;
  letter-spacing: -0.02em;
}

.qe-page p {
  margin: 0;
}

.qe-page a {
  color: inherit;
}

/* ── CTAs (hero, ecosystem, final — 50px radius + texto branco) ── */
.qe-hero__cta,
.qe-ecosystem__cta,
.qe-btn.qe-btn--primary,
.qe-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  background: var(--qe-blue);
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-family: var(--qe-font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgb(0 115 255 / 0.45);
  transition: background 0.22s var(--qe-ease), transform 0.22s var(--qe-ease), box-shadow 0.22s var(--qe-ease),
    color 0.22s var(--qe-ease);
}

.qe-hero__cta:visited,
.qe-hero__cta:active,
.qe-ecosystem__cta:visited,
.qe-ecosystem__cta:active,
.qe-btn.qe-btn--primary:visited,
.qe-btn.qe-btn--primary:active,
.qe-cta__btn:visited,
.qe-cta__btn:active {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.qe-hero__cta:hover,
.qe-ecosystem__cta:hover,
.qe-btn.qe-btn--primary:hover,
.qe-cta__btn:hover {
  background: var(--qe-blue-deep);
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgb(0 115 255 / 0.55);
}

.qe-hero__cta:focus-visible,
.qe-ecosystem__cta:focus-visible,
.qe-btn.qe-btn--primary:focus-visible,
.qe-cta__btn:focus-visible {
  outline: 2px solid var(--qe-blue);
  outline-offset: 3px;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.qe-hero__cta-arrow,
.qe-ecosystem__cta-arrow,
.qe-cta__btn-arrow {
  font-size: 1.125rem;
  line-height: 1;
  font-weight: 400;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

/* ── Buttons (alias do CTA final) ── */
.qe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  font-family: var(--qe-font-sans);
  text-decoration: none;
  cursor: pointer;
}

/* ── Shell (conteúdo 1300px — fundos/imagens podem ser full-bleed) ── */
.qe-qualgen__inner,
.qe-ecosystem__inner,
.qe-equilibria__inner,
.qe-stats__wrap,
.qe-partnership__inner,
.qe-cta__inner {
  width: 100%;
  max-width: var(--qe-content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

@media (max-width: 1320px) {
  .qe-qualgen__inner,
  .qe-ecosystem__inner,
  .qe-equilibria__inner,
  .qe-stats__wrap,
  .qe-partnership__inner,
  .qe-cta__inner {
    padding-left: var(--qe-mobile-gutter);
    padding-right: var(--qe-mobile-gutter);
  }

  .qe-hero__content {
    padding-left: var(--qe-mobile-gutter);
    padding-right: var(--qe-mobile-gutter);
  }
}

/* ── Hero (imagem full-bleed 16:9) ── */
.qe-hero {
  background: #f5f8fb;
  position: relative;
  z-index: 0;
  width: 100%;
}

.qe-hero__frame {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: 16 / 9;
  min-height: clamp(420px, 50vw, 720px);
  max-height: min(90vh, 950px);
  overflow: hidden;
}

.qe-hero__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
}

.qe-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-top: clamp(6rem, 12vw, 8.5rem);
  padding-bottom: 2rem;
  padding-left: max(var(--qe-mobile-gutter), calc((100% - var(--qe-content-max)) / 2));
  padding-right: max(var(--qe-mobile-gutter), calc((100% - var(--qe-content-max)) / 2));
  pointer-events: none;
  box-sizing: border-box;
}

.qe-hero__copy {
  pointer-events: auto;
  width: min(100%, 620px);
}

.qe-hero__kicker {
  margin: 0 0 1.65rem;
  font-family: var(--qe-font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6e878c;
  line-height: 1.25;
}

.qe-hero__title {
  margin: 0;
  padding-bottom: 30px;
  font-family: var(--qe-font-heading);
  font-weight: 300;
  font-style: normal;
  letter-spacing: -0.02em;
}

.qe-hero__title-line {
  display: block;
  font-size: clamp(2.35rem, 4.0625vw, 78px);
  line-height: 1.08;
  color: #000;
  font-style: normal;
}

.qe-hero__title-line--accent {
  color: #0073ff;
  font-style: normal;
}

.qe-hero__lead {
  margin: 0 0 2.35rem;
  max-width: 540px;
  font-family: var(--qe-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #000;
  padding-bottom: 30px;
}

/* ── Brand band logos ── */
.qe-brand-logo {
  height: clamp(36px, 4vw, 56px);
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.qe-brand-logo--equilibria {
  height: clamp(40px, 4.5vw, 64px);
}

/* ── Qualgen (secção 2 — 1300px artboard, print ref) ── */
.qe-qualgen {
  background-color: #f7f8fa;
}

.qe-qualgen__inner {
  display: grid;
  grid-template-columns: minmax(0, 670fr) minmax(0, 560fr);
  column-gap: 70px;
  align-items: center;
  padding-block: var(--qe-section-pad);
}

.qe-qualgen__copy {
  min-width: 0;
}

.qe-qualgen__logo {
  display: block;
  width: auto;
  height: 52px;
  margin: 0 0 48px;
  object-fit: contain;
  object-position: left center;
}

.qe-qualgen__title {
  margin: 0;
  padding-bottom: 30px;
  max-width: 620px;
  font-family: var(--qe-font-heading);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #000;
  font-style: normal;
}

.qe-qualgen__body {
  margin: 0;
  max-width: 640px;
  font-family: var(--qe-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #000;
}

.qe-qualgen__body + .qe-qualgen__body {
  margin-top: 28px;
}

.qe-qualgen__body strong {
  font-weight: 600;
}

.qe-qualgen__features {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 20px;
  width: 100%;
  max-width: 670px;
}

.qe-qualgen__feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.qe-qualgen__feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin: 0 0 16px;
  border-radius: 12px;
  background: #e8f1fc;
}

.qe-qualgen__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--qe-blue);
}

.qe-qualgen__feature-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.qe-qualgen__feature-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.qe-qualgen__feature-title,
.qe-equilibria__feature-title,
.qe-partnership__feature-title {
  margin: 0 0 10px;
  font-family: var(--qe-font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: #000;
  padding-bottom: 10px;
}

.qe-qualgen__feature-copy,
.qe-equilibria__feature-copy {
  min-width: 0;
  width: 100%;
}

.qe-qualgen__feature-text {
  margin: 0;
  font-family: var(--qe-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: #000;
}

.qe-qualgen__media {
  margin: 0;
  padding: 0;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.qe-qualgen__photo {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  aspect-ratio: 906 / 1024;
  object-fit: cover;
  object-position: center top;
  border-radius: 40px;
  box-shadow: 0 20px 48px -16px rgb(15 35 70 / 0.14);
}

/* ── Ecosystem solutions (secção 3) ── */
.qe-ecosystem {
  background-color: #f7f8fa;
}

.qe-ecosystem__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: var(--qe-section-pad);
  text-align: center;
}

.qe-ecosystem__title {
  margin: 0;
  padding-bottom: 30px;
  max-width: 100%;
  width: 100%;
  align-self: stretch;
  text-align: left;
  font-family: var(--qe-font-heading);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #000;
  font-style: normal;
}

.qe-ecosystem__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  width: 100%;
  margin: 0 0 48px;
  text-align: left;
}

.qe-ecosystem__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 40px 36px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgb(15 35 70 / 0.06);
  box-shadow:
    0 2px 12px -2px rgb(15 35 70 / 0.06),
    0 12px 32px -8px rgb(15 35 70 / 0.08);
  transition: box-shadow 0.25s var(--qe-ease), transform 0.25s var(--qe-ease);
}

.qe-ecosystem__card:hover {
  box-shadow:
    0 4px 20px -4px rgb(15 35 70 / 0.1),
    0 16px 40px -10px rgb(15 35 70 / 0.12);
  transform: translateY(-2px);
}

.qe-ecosystem__card-title {
  margin: 0;
  padding-bottom: 30px;
  font-family: var(--qe-font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--qe-blue);
  font-style: normal;
}

.qe-ecosystem__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
}

.qe-ecosystem__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--qe-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: #000;
}

.qe-ecosystem__item span {
  flex: 1 1 auto;
  min-width: 0;
}

.qe-ecosystem__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--qe-blue);
}

/* ── Equilibria (secção 4 — print ref) ── */
.qe-equilibria {
  background-color: #fff;
}

.qe-equilibria__inner {
  display: grid;
  grid-template-columns: minmax(0, 670fr) minmax(0, 560fr);
  column-gap: 70px;
  align-items: center;
  padding-block: var(--qe-section-pad);
}

@media (min-width: 1101px) {
  .qe-equilibria__media {
    order: -1;
  }
}

.qe-equilibria__copy {
  min-width: 0;
}

.qe-equilibria__logo {
  display: block;
  width: auto;
  height: 52px;
  margin: 0 0 48px;
  object-fit: contain;
  object-position: left center;
}

.qe-equilibria__title {
  margin: 0;
  padding-bottom: 30px;
  max-width: 620px;
  font-family: var(--qe-font-heading);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #000;
  font-style: normal;
}

.qe-equilibria__body {
  margin: 0;
  max-width: 640px;
  font-family: var(--qe-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #000;
}

.qe-equilibria__features {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 0;
  width: 100%;
  max-width: 670px;
}

.qe-equilibria__feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 0 20px;
  border-left: 1px solid #e2e8f0;
}

.qe-equilibria__feature:first-child {
  padding-left: 0;
  border-left: none;
}

.qe-equilibria__feature:last-child {
  padding-right: 0;
}

.qe-equilibria__feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin: 0 0 16px;
  border-radius: 12px;
  background: #e8f1fc;
}

.qe-equilibria__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--qe-blue);
}

.qe-equilibria__feature-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.qe-equilibria__feature-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.qe-equilibria__feature-text {
  margin: 0;
  font-family: var(--qe-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: #000;
}

.qe-equilibria__media {
  margin: 0;
  padding: 0;
  min-width: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.qe-equilibria__photo {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  border-radius: 40px;
  box-shadow: 0 20px 48px -16px rgb(15 35 70 / 0.14);
}

/* ── Stats bar ── */
.qe-stats {
  background-color: #f7f8fa;
  padding-top: 70px;
}

.qe-stats__wrap {
  padding-top: 0;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.qe-stats__card {
  background: #fff;
  border-radius: 14px;
  box-shadow:
    0 4px 24px -4px rgb(15 35 70 / 0.08),
    0 18px 48px -12px rgb(15 35 70 / 0.06);
}

.qe-stats__inner {
  display: flex;
  align-items: stretch;
  padding: 20px;
  gap: 20px;
}

.qe-stat {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.1vw, 1rem);
  padding: 0;
  min-width: 0;
}

.qe-stat + .qe-stat {
  position: relative;
  padding-left: 20px;
}

.qe-stat + .qe-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e2e8f0;
}

.qe-stat__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8f2fc;
  color: var(--qe-blue);
}

.qe-stat__icon img,
.qe-stat__icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.qe-stat__icon img {
  object-fit: contain;
}

.qe-stat__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}

.qe-stat__label {
  margin: 0;
  font-family: var(--qe-font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: #000;
}

.qe-stat__desc {
  margin: 0;
  font-family: var(--qe-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: #4a5568;
  max-width: 220px;
}

.qe-stat__value {
  margin: 0.15rem 0 0;
  font-family: var(--qe-font-sans);
  font-size: clamp(1.25rem, 1.354vw, 26px);
  font-weight: 500;
  line-height: 1;
  color: #0073ff;
}

/* ── Partnership (secção — print ref) ── */
.qe-partnership {
  background-color: #f7f8fa;
}

.qe-partnership__inner {
  display: grid;
  grid-template-columns: minmax(0, 670fr) minmax(0, 560fr);
  column-gap: 70px;
  align-items: center;
  padding-block: var(--qe-section-pad);
}

.qe-partnership__copy {
  min-width: 0;
}

.qe-partnership__title {
  margin: 0;
  padding-bottom: 30px;
  max-width: 620px;
  font-family: var(--qe-font-heading);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #000;
  font-style: normal;
}

.qe-partnership__plus {
  color: var(--qe-blue);
  font-weight: 300;
}

.qe-partnership__subtitle {
  margin: 0;
  padding-bottom: 30px;
  max-width: 640px;
  font-family: var(--qe-font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: #000;
  font-style: normal;
}

.qe-partnership__body {
  margin: 0;
  max-width: 640px;
  font-family: var(--qe-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #000;
}

.qe-partnership__body + .qe-partnership__body {
  margin-top: 28px;
}

.qe-partnership__features {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 670px;
}

.qe-partnership__feature {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.qe-partnership__feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e8f1fc;
}

.qe-partnership__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--qe-blue);
}

.qe-partnership__feature-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.qe-partnership__feature-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.qe-partnership__feature-text {
  margin: 0;
  font-family: var(--qe-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: #4a5568;
}

.qe-partnership__feature-text strong {
  font-weight: 600;
  color: #000;
}

.qe-partnership__viz {
  margin: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qe-partnership__diagram {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
}

/* ── CTA final (card — print ref) ── */
.qe-cta {
  background-color: #f7f8fa;
  padding-bottom: 70px;
  padding-top: 30px;
}

.qe-cta__inner {
  padding: 0;
}

.qe-cta__card {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  aspect-ratio: 1024 / 576;
  min-height: 360px;
  border-radius: 40px;
  overflow: hidden;
  background: #eef4fa;
}

.qe-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.qe-cta__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgb(255 255 255 / 0.94) 0%,
    rgb(255 255 255 / 0.72) 38%,
    rgb(255 255 255 / 0.2) 58%,
    transparent 72%
  );
}

.qe-cta__content {
  position: relative;
  z-index: 2;
  padding: 64px 72px;
  max-width: 570px;
}

.qe-cta__title {
  margin: 0;
  padding-bottom: 30px;
  font-family: var(--qe-font-heading);
  font-weight: 300;
  font-size: 56px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #000;
  font-style: normal;
}

.qe-cta__title-accent {
  color: var(--qe-blue);
  font-style: normal;
}

.qe-cta__body {
  margin: 0 0 32px;
  max-width: 420px;
  font-family: var(--qe-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #4a5568;
  padding-bottom: 30px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  [id] {
    scroll-margin-top: 5.25rem;
  }

  .qe-hero__frame {
    position: relative;
    display: block;
    aspect-ratio: auto;
    min-height: max(560px, 92svh);
    height: max(560px, 92svh);
    max-height: none;
    overflow: hidden;
  }

  .qe-hero__photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: 68% 28%;
  }

  .qe-hero__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(
        180deg,
        rgb(255 255 255 / 0.9) 0%,
        rgb(255 255 255 / 0.45) 14%,
        transparent 38%
      ),
      linear-gradient(
        0deg,
        rgb(255 255 255 / 0.97) 0%,
        rgb(255 255 255 / 0.88) 28%,
        rgb(255 255 255 / 0.35) 52%,
        transparent 72%
      );
  }

  .qe-hero__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding-top: var(--qe-hero-nav-clear);
    padding-bottom: clamp(1.25rem, 4vw, 2rem);
  }

  .qe-hero__copy {
    width: 100%;
    max-width: none;
    margin-top: 0;
    padding-bottom: 0;
  }

  .qe-hero__kicker {
    margin-bottom: 0.875rem;
  }

  .qe-hero__title {
    padding-bottom: 1.25rem;
  }

  .qe-hero__lead {
    margin-bottom: 1rem;
    padding-bottom: 1.25rem;
  }

  .qe-qualgen__inner,
  .qe-equilibria__inner,
  .qe-partnership__inner {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: clamp(2.5rem, 6vw, 3rem);
    padding-block: var(--qe-section-pad-mobile);
  }

  .qe-qualgen__logo {
    height: 44px;
    margin-bottom: 36px;
  }

  .qe-qualgen__title {
    font-size: clamp(1.75rem, 5vw, 42px);
    padding-bottom: var(--qe-title-gap-mobile);
  }

  .qe-qualgen__body {
    font-size: clamp(1rem, 2.5vw, 18px);
  }

  .qe-qualgen__body + .qe-qualgen__body {
    margin-top: 22px;
  }

  .qe-qualgen__features,
  .qe-equilibria__features {
    grid-template-columns: 1fr;
    row-gap: 0;
    margin-top: clamp(2rem, 5vw, 2.5rem);
    max-width: none;
  }

  .qe-qualgen__feature,
  .qe-equilibria__feature {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 var(--qe-feature-item-pad);
    border-left: none;
    border-top: none;
  }

  .qe-qualgen__feature:last-child,
  .qe-equilibria__feature:last-child {
    padding-bottom: 0;
  }

  .qe-qualgen__feature + .qe-qualgen__feature,
  .qe-equilibria__feature + .qe-equilibria__feature {
    padding-top: var(--qe-feature-item-pad);
    border-top: 1px solid #e2e8f0;
  }

  .qe-qualgen__feature-icon-wrap,
  .qe-equilibria__feature-icon-wrap {
    margin: 0 0 var(--qe-feature-icon-gap);
  }

  .qe-qualgen__feature-title,
  .qe-equilibria__feature-title {
    margin: 0 0 var(--qe-feature-title-gap);
    padding-bottom: 0;
    font-weight: 600;
    line-height: 1.35;
  }

  .qe-qualgen__feature-text,
  .qe-equilibria__feature-text {
    margin: 0;
    line-height: 1.5;
  }

  .qe-qualgen__media {
    order: -1;
    justify-content: center;
  }

  .qe-qualgen__photo {
    max-width: 100%;
    max-height: 480px;
    border-radius: clamp(24px, 5vw, 40px);
  }

  .qe-ecosystem__inner {
    padding-block: var(--qe-section-pad-mobile);
  }

  .qe-ecosystem__title {
    font-size: clamp(1.75rem, 5vw, 42px);
    padding-bottom: var(--qe-title-gap-mobile);
  }

  .qe-ecosystem__cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: clamp(1.75rem, 4vw, 2.25rem);
  }

  .qe-ecosystem__card {
    padding: 28px 24px;
  }

  .qe-ecosystem__card-title {
    padding-bottom: 20px;
  }

  .qe-equilibria__logo {
    height: 44px;
    margin-bottom: 36px;
  }

  .qe-equilibria__title {
    font-size: clamp(1.75rem, 5vw, 42px);
    padding-bottom: var(--qe-title-gap-mobile);
  }

  .qe-equilibria__body {
    font-size: clamp(1rem, 2.5vw, 16px);
  }

  .qe-equilibria__media {
    order: -1;
    justify-content: center;
  }

  .qe-equilibria__photo {
    max-width: 100%;
    border-radius: clamp(24px, 5vw, 40px);
  }

  .qe-partnership__title {
    font-size: clamp(1.75rem, 5vw, 42px);
    padding-bottom: var(--qe-title-gap-mobile);
  }

  .qe-partnership__subtitle {
    font-size: clamp(1.125rem, 2.5vw, 20px);
    padding-bottom: var(--qe-title-gap-mobile);
  }

  .qe-partnership__body {
    font-size: clamp(1rem, 2.5vw, 16px);
  }

  .qe-partnership__body + .qe-partnership__body {
    margin-top: 22px;
  }

  .qe-partnership__viz {
    order: -1;
  }

  .qe-partnership__diagram {
    max-width: 100%;
  }

  .qe-stats {
    padding-top: clamp(2.5rem, 8vw, 3.5rem);
  }

  .qe-stats__wrap {
    padding-bottom: var(--qe-section-pad-mobile);
  }

  .qe-stats__card {
    border-radius: 16px;
  }

  .qe-stats__inner {
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 24px 20px;
    gap: 0;
  }

  .qe-stat {
    flex: none;
    width: 100%;
    align-items: flex-start;
    gap: var(--qe-stat-gap);
    border: none !important;
    padding: 0 0 var(--qe-stat-item-pad) !important;
    position: relative;
  }

  .qe-stat:last-child {
    padding-bottom: 0 !important;
  }

  .qe-stat + .qe-stat {
    padding-top: var(--qe-stat-item-pad) !important;
  }

  .qe-stat + .qe-stat::before {
    content: "";
    display: block;
    position: absolute;
    left: calc(var(--qe-stat-icon) + var(--qe-stat-gap));
    right: 0;
    top: 0;
    width: auto;
    height: 1px;
    background: #e2e8f0;
  }

  .qe-stat__icon {
    margin-top: 2px;
  }

  .qe-stat__copy {
    gap: 0;
    padding-top: 0;
  }

  .qe-stat__label {
    margin: 0 0 6px;
    font-weight: 600;
    line-height: 1.3;
  }

  .qe-stat__desc {
    max-width: none;
    margin: 0 0 10px;
    line-height: 1.5;
  }

  .qe-stat__value {
    margin: 0;
    font-size: clamp(1.5rem, 4.5vw, 1.75rem);
    line-height: 1.1;
  }

  .qe-cta {
    padding-top: 24px;
    padding-bottom: clamp(3rem, 10vw, 4.375rem);
  }

  .qe-cta__card {
    aspect-ratio: 16 / 9;
    min-height: 320px;
    border-radius: clamp(20px, 4.5vw, 32px);
  }

  .qe-cta__card::after {
    background: linear-gradient(
      105deg,
      rgb(255 255 255 / 0.96) 0%,
      rgb(255 255 255 / 0.82) 42%,
      rgb(255 255 255 / 0.45) 62%,
      transparent 78%
    );
  }

  .qe-cta__content {
    padding: clamp(2rem, 5.5vw, 3rem) clamp(1.5rem, 4.5vw, 2.25rem);
    max-width: min(100%, 92%);
  }

  .qe-cta__title {
    font-size: clamp(2rem, 6vw, 48px);
    padding-bottom: var(--qe-title-gap-mobile);
  }

  .qe-cta__body {
    margin-bottom: 1.5rem;
    max-width: 100%;
    padding-bottom: var(--qe-title-gap-mobile);
  }

  .qe-cta__bg {
    object-position: 80% center;
  }
}

@media (max-width: 900px) and (min-width: 641px) {
  .qe-ecosystem__cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --qe-hero-nav-clear: calc(4.5rem + env(safe-area-inset-top, 0px));
    --qe-mobile-gutter: 20px;
  }

  .qe-page .site-header-sticky {
    margin-bottom: -4.5rem;
  }


  .qe-hero__frame {
    min-height: max(580px, 94svh);
    height: max(580px, 94svh);
  }

  .qe-hero__photo {
    object-position: 72% 24%;
  }

  .qe-hero__frame::after {
    background:
      linear-gradient(
        180deg,
        rgb(255 255 255 / 0.92) 0%,
        rgb(255 255 255 / 0.5) 12%,
        transparent 34%
      ),
      linear-gradient(
        0deg,
        rgb(255 255 255 / 0.98) 0%,
        rgb(255 255 255 / 0.9) 32%,
        rgb(255 255 255 / 0.4) 55%,
        transparent 75%
      );
  }

  .qe-hero__content {
    padding-top: var(--qe-hero-nav-clear);
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    padding-left: max(var(--qe-mobile-gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--qe-mobile-gutter), env(safe-area-inset-right, 0px));
  }

  .qe-hero__kicker {
    margin-bottom: 0.625rem;
    font-size: 11px;
    letter-spacing: 0.12em;
    line-height: 1.35;
  }

  .qe-hero__title {
    padding-bottom: 1rem;
  }

  .qe-hero__title-line {
    font-size: clamp(1.375rem, 6.8vw, 1.875rem);
    line-height: 1.12;
  }

  .qe-hero__lead {
    margin-bottom: 0.75rem;
    padding-bottom: 1rem;
    font-size: 14px;
    line-height: 1.45;
    max-width: none;
  }

  .qe-hero__cta,
  .qe-ecosystem__cta,
  .qe-cta__btn {
    min-height: 48px;
    padding: 12px 24px;
    width: 100%;
    max-width: none;
  }

  .qe-ecosystem__cta {
    margin-left: auto;
    margin-right: auto;
  }

  .qe-qualgen__inner,
  .qe-equilibria__inner,
  .qe-partnership__inner {
    row-gap: 2rem;
    padding-block: var(--qe-section-pad-mobile);
  }

  .qe-qualgen__logo,
  .qe-equilibria__logo {
    height: 40px;
    margin-bottom: 1.5rem;
  }

  .qe-qualgen__title,
  .qe-equilibria__title,
  .qe-ecosystem__title,
  .qe-partnership__title {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
    padding-bottom: var(--qe-title-gap-mobile);
  }

  .qe-partnership__subtitle {
    font-size: 1.0625rem;
    padding-bottom: var(--qe-title-gap-mobile);
  }

  .qe-qualgen__body + .qe-qualgen__body,
  .qe-partnership__body + .qe-partnership__body {
    margin-top: 1rem;
  }

  .qe-qualgen__features,
  .qe-equilibria__features {
    margin-top: 1.5rem;
  }

  .qe-qualgen__feature-title,
  .qe-equilibria__feature-title {
    font-size: 16px;
  }

  .qe-qualgen__feature-text,
  .qe-equilibria__feature-text {
    font-size: 15px;
  }

  .qe-qualgen__photo,
  .qe-equilibria__photo {
    border-radius: clamp(18px, 4vw, 28px);
    max-height: 420px;
  }

  .qe-ecosystem__inner {
    padding-block: var(--qe-section-pad-mobile);
  }

  .qe-ecosystem__card {
    padding: 24px 20px;
  }

  .qe-ecosystem__card-title {
    font-size: 1.125rem;
    padding-bottom: 16px;
  }

  .qe-ecosystem__item {
    font-size: 15px;
  }

  .qe-partnership__features {
    margin-top: 1.5rem;
    gap: 1.25rem;
  }

  .qe-stats {
    padding-top: clamp(2rem, 7vw, 2.75rem);
  }

  .qe-stats__wrap {
    padding-bottom: var(--qe-section-pad-mobile);
  }

  .qe-stats__inner {
    padding: 20px 16px 24px;
  }

  .qe-stat {
    gap: 12px;
    padding-bottom: 1.375rem !important;
  }

  .qe-stat + .qe-stat {
    padding-top: 1.375rem !important;
  }

  .qe-stat__icon {
    width: var(--qe-stat-icon);
    height: var(--qe-stat-icon);
  }

  .qe-stat__icon img,
  .qe-stat__icon svg {
    width: 26px;
    height: 26px;
  }

  .qe-stat__label {
    margin-bottom: 5px;
    font-size: 16px;
  }

  .qe-stat__desc {
    margin-bottom: 8px;
    font-size: 15px;
  }

  .qe-stat__value {
    font-size: 1.625rem;
  }

  .qe-cta {
    padding-top: 20px;
    padding-bottom: clamp(2.75rem, 9vw, 3.5rem);
  }

  .qe-cta__card {
    aspect-ratio: auto;
    min-height: min(420px, 72vh);
    align-items: flex-end;
  }

  .qe-cta__card::after {
    background: linear-gradient(
      180deg,
      rgb(255 255 255 / 0.98) 0%,
      rgb(255 255 255 / 0.92) 38%,
      rgb(255 255 255 / 0.55) 68%,
      rgb(255 255 255 / 0.15) 100%
    );
  }

  .qe-cta__content {
    padding: 1.75rem 1.25rem 1.5rem;
    max-width: 100%;
  }

  .qe-cta__title {
    font-size: clamp(1.625rem, 7.5vw, 2rem);
    padding-bottom: var(--qe-title-gap-mobile);
  }

  .qe-cta__body {
    margin-bottom: 1.25rem;
    padding-bottom: var(--qe-title-gap-mobile);
    font-size: 15px;
  }

  .qe-cta__bg {
    object-position: 82% 40%;
  }

  .qe-cta__btn {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --qe-mobile-gutter: 16px;
    --qe-hero-nav-clear: calc(4.25rem + env(safe-area-inset-top, 0px));
  }

  .qe-hero__frame {
    min-height: max(540px, 96svh);
    height: max(540px, 96svh);
  }

  .qe-hero__photo {
    object-position: 74% 22%;
  }

  .qe-hero__title-line {
    font-size: clamp(1.3125rem, 6.5vw, 1.75rem);
  }

  .qe-hero__lead {
    font-size: 13px;
  }

  .qe-ecosystem__cards {
    margin-bottom: 1.5rem;
  }

  .qe-stats__inner {
    padding: 4px 16px 16px;
  }

  .qe-stat {
    padding-top: 20px !important;
  }
}
/* ── UI polish (footer via site-shell → renewal-sitemap.css) ── */
.qe-page em,
.qe-page i {
  font-style: normal;
}

.qe-hero__title,
.qe-qualgen__title,
.qe-equilibria__title,
.qe-partnership__title,
.qe-partnership__subtitle,
.qe-ecosystem__title,
.qe-ecosystem__card-title,
.qe-cta__title {
  text-wrap: balance;
}

.qe-stat__desc,
.qe-partnership__feature-text,
.qe-qualgen__feature-text,
.qe-equilibria__feature-text {
  text-wrap: pretty;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .qe-ecosystem__card:hover {
    transform: none;
  }

  .qe-hero__cta:hover,
  .qe-ecosystem__cta:hover,
  .qe-btn.qe-btn--primary:hover,
  .qe-cta__btn:hover {
    transform: none;
  }
}
