/* GE2studio 1.12.10 — cumulative corrections from the hosted audits.
 * This sheet follows the parent, public-quality and route-specific styles.
 * It changes presentation only; legal text and product content are retained.
 */

/* V03 / EDI-01 / EDAUX-FOOTER-OVERLAP: reserve room below the legal links
 * for both fixed launchers, including the device safe area. */
body.ge2studio-editorial-clarity .site-footer {
  padding-bottom: calc(8.5rem + env(safe-area-inset-bottom, 0px));
}
body.ge2studio-editorial-clarity .footer-bottom > div {
  flex-wrap: wrap;
}

/* V01: this band is inside the charcoal decision scene, not on paper. */
body.ge2studio-editorial-clarity .decision-journey-after p {
  color: #e2ddd4;
}
body.ge2studio-editorial-clarity .decision-journey-after strong {
  color: #f4f0e8;
}

/* EDI-04 / PROD-07 / EDAUX-CONTRAST-SECURITY / OTH-01: override the parent's late
 * generic light-background paragraph rule only in confirmed dark panels. */
body.ge2studio-editorial-clarity .premium-page.migration-page .split-section > .dark-panel > p,
body.ge2studio-editorial-clarity .premium-page.security-page .split-section > .dark-panel > p,
body.ge2studio-editorial-clarity .premium-page.security-page .security-requirements .role-panels > article > p,
body.ge2studio-editorial-clarity .premium-page:is(.platform-page, .migration-page, .security-page, .studios-page) .final-cta > p {
  color: #e2ddd4;
}

/* CALC-02: the breakdown follows the other results on the paper panel. */
body.ge2studio-editorial-clarity .profitability-demo .profitability-detail {
  color: #232520;
  border-color: #c6bbae;
}
body.ge2studio-editorial-clarity .profitability-demo .profitability-detail summary,
body.ge2studio-editorial-clarity .profitability-demo .profitability-detail dd {
  color: #232520;
}
body.ge2studio-editorial-clarity .profitability-demo .profitability-detail summary {
  font-size: .9375rem;
  gap: 1rem;
  min-height: 48px;
}
body.ge2studio-editorial-clarity .profitability-demo .profitability-detail summary::after {
  flex: 0 0 28px;
  color: #232520;
  border-color: #766a5e;
}
body.ge2studio-editorial-clarity .profitability-demo .profitability-detail dl > div {
  color: #57534d;
  border-color: #c6bbae;
  font-size: .875rem;
}
body.ge2studio-editorial-clarity .profitability-demo .profitability-detail p {
  color: #57534d;
  font-size: .875rem;
}

/* PROD-08: preserve the dark-section outline buttons elsewhere. */
body.ge2studio-editorial-clarity .offer-page a.pill-outline[href="#statuts"] {
  color: #232520;
  border-color: #766a5e;
  min-height: 48px;
}
body.ge2studio-editorial-clarity .offer-page a.pill-outline[href="#statuts"]:hover {
  color: #f4f0e8;
  background: #232520;
}

/* STU-01/02/03, EDI-03, CALC-04: these titles belong to narrow editorial
 * columns. Scale with the column rather than with the whole viewport.
 * A conventional font-size remains available without container units. */
body.ge2studio-editorial-clarity :is(.seo-faq > header, .seo-decision-copy, .tool-interpretation > div) {
  min-width: 0;
  container-type: inline-size;
}
body.ge2studio-editorial-clarity :is(.seo-faq > header, .seo-decision-copy, .tool-interpretation > div) > h2 {
  max-width: 100%;
  font-size: clamp(1.75rem, 2.65vw, 2.625rem);
  line-height: 1.12;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}
@supports (font-size: 1cqi) {
  body.ge2studio-editorial-clarity :is(.seo-faq > header, .seo-decision-copy, .tool-interpretation > div) > h2 {
    font-size: clamp(1.75rem, 10cqi, 3rem);
  }
}

/* PROD-06: three children were auto-placed into a two-column heading.
 * Give the index its own row, then place the title beside the explanation. */
body.ge2studio-editorial-clarity .platform-page :is(.v14-platform-trajectories, .operation-grid-section) > .section-heading {
  align-items: start;
  row-gap: 1rem;
}
body.ge2studio-editorial-clarity .platform-page :is(.v14-platform-trajectories, .operation-grid-section) > .section-heading > .section-index {
  grid-column: 1 / -1;
}
body.ge2studio-editorial-clarity .platform-page :is(.v14-platform-trajectories, .operation-grid-section) > .section-heading > h2 {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0;
  overflow-wrap: normal;
  hyphens: auto;
}
body.ge2studio-editorial-clarity .platform-page :is(.v14-platform-trajectories, .operation-grid-section) > .section-heading > p {
  grid-column: 2;
  grid-row: 2;
}
@media (max-width: 1100px) {
  body.ge2studio-editorial-clarity .platform-page :is(.v14-platform-trajectories, .operation-grid-section) > .section-heading {
    grid-template-columns: minmax(0, 1fr);
  }
  body.ge2studio-editorial-clarity .platform-page :is(.v14-platform-trajectories, .operation-grid-section) > .section-heading > p {
    grid-column: 1;
    grid-row: 3;
    padding-left: 0;
    border-left: 0;
  }
}

/* V02: the badges must wrap instead of squeezing the eyebrow to a few
 * letters. Time values inside the Smart summary are indivisible. */
body.ge2studio-editorial-clarity .member-story-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: .75rem 1rem;
}
body.ge2studio-editorial-clarity .member-story-topline > .section-number {
  flex: 0 0 auto;
  margin-right: 0;
}
body.ge2studio-editorial-clarity .member-story-topline > .eyebrow {
  flex: 1 1 12rem;
  min-width: min(100%, 12rem);
  max-width: 100%;
}
body.ge2studio-editorial-clarity .member-story-topline > .eyebrow > span {
  overflow-wrap: normal;
  word-break: normal;
}
body.ge2studio-editorial-clarity .member-story-topline > :is(.demo-badge, .product-status) {
  flex: 0 1 auto;
  max-width: 100%;
}
body.ge2studio-editorial-clarity .ge2-ai-summary {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
}
body.ge2studio-editorial-clarity .ge2-ai-summary > span {
  min-width: 0;
  flex-wrap: wrap;
}
body.ge2studio-editorial-clarity .ge2-ai-summary > span > b {
  flex: 0 0 auto;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}
body.ge2studio-editorial-clarity .ge2-ai-summary > small {
  grid-column: 1 / -1;
  white-space: normal;
}

/* 1.12.9: trust-card captions stay legible on both paper and charcoal.
 * Keep the brand accent, with an opaque lighter shade on dark gradients. */
body.ge2studio-editorial-clarity .home-page .trust-section-v1109 .trust-card-copy > small {
  font-size: .75rem;
  line-height: 1.4;
  letter-spacing: .1em;
}
body.ge2studio-editorial-clarity .home-page .trust-section-v1109 .trust-card:is(.trust-card-data, .trust-card-decisions) .trust-card-copy > small {
  color: #f08b5c;
}

/* 1.12.10: the first Studios article is charcoal without .dark-panel.
 * Match its status text to the existing dark-panel variant. */
body.ge2studio-editorial-clarity .studios-page .studio-editorial > article:first-child .product-status-preparation {
  color: #f4f0e8;
}
body.ge2studio-editorial-clarity .studios-page .studio-editorial > article:first-child > span:first-child,
body.ge2studio-editorial-clarity .studios-page .studio-editorial > article:first-child > div:first-of-type > p {
  color: #f08b5c;
}
