/* Shared sector, guide and feature heroes: natural height and readable illustrations. */
:is(.ge2-sector-page, .guide-page, .seo-landing-feature) .seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  height: auto;
  min-height: 0;
  padding-top: clamp(44px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 88px);
}
:is(.ge2-sector-page, .guide-page, .seo-landing-feature) .seo-hero-copy {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
:is(.ge2-sector-page, .guide-page, .seo-landing-feature) .seo-hero h1 {
  max-width: 100%;
  font-size: clamp(44px, 5vw, 78px);
  line-height: 1.03;
}
:is(.ge2-sector-page, .guide-page, .seo-landing-feature) .seo-hero-actions { flex-wrap: wrap; }
:is(.ge2-sector-page, .guide-page, .seo-landing-feature) .seo-hero-instrument {
  position: relative;
  inset: auto;
  width: 100%;
  min-width: 0;
}
:is(.ge2-sector-page, .guide-page, .seo-landing-feature) .seo-hero-instrument > header {
  flex-wrap: wrap;
  gap: 8px 20px;
  letter-spacing: .03em;
  font-size: 12px;
}
:is(.ge2-sector-page, .guide-page, .seo-landing-feature) .seo-hero-instrument > header small {
  color: #d8d3cb;
  font-size: 12px;
}
.ge2-sector-page .seo-hero-instrument .ge2-sector-smart-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ge2-sector-page .ge2-sector-smart-steps li { min-height: 0; }
.ge2-sector-page .ge2-sector-smart-steps li:last-child { grid-column: 1 / -1; }
.ge2-sector-page .ge2-sector-smart-steps li > span { font-size: 12px; }
.ge2-sector-page .ge2-sector-smart-steps li small {
  color: #d8d3cb;
  font-size: 12px;
}
.ge2-sector-page .ge2-sector-smart-steps li b {
  font-size: 14px;
  line-height: 1.5;
}
.ge2-sector-page .ge2-sector-follow-up {
  color: #d8d3cb;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

/* Guides and feature pages share four readable reference cards.
   The five-step Manager illustration keeps its separate semantics. */
:is(.guide-page, .seo-landing-feature) .seo-hero-instrument ol {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
:is(.guide-page, .seo-landing-feature) .seo-hero-instrument li { min-height: 0; }
:is(.guide-page, .seo-landing-feature) .seo-hero-instrument li > span { font-size: 14px; }
:is(.guide-page, .seo-landing-feature) .seo-hero-instrument li small {
  color: #d8d3cb;
  font-size: 14px;
  line-height: 1.5;
}
:is(.guide-page, .seo-landing-feature) .seo-hero-instrument li b {
  font-size: 16px;
  line-height: 1.5;
}
:is(.guide-page, .seo-landing-feature) .seo-hero-instrument-question small { font-size: 14px; }
:is(.guide-page, .seo-landing-feature) .seo-hero-instrument-question strong {
  font-size: 20px;
  line-height: 1.4;
}
:is(.guide-page, .seo-landing-feature) .seo-hero-instrument-question p {
  color: #d8d3cb;
  font-size: 16px;
  line-height: 1.6;
}

/* Number columns must not shrink into separate digits when labels wrap. */
:is(.ge2-sector-page, .guide-page, .seo-landing-feature) .seo-hero-instrument li > span {
  flex: 0 0 2ch;
  white-space: nowrap;
}
.seo-landing-feature .seo-hero-instrument > header,
.seo-landing-feature .seo-hero-instrument > header small {
  font-size: 14px;
  line-height: 1.5;
}
.seo-landing-feature .seo-hero-proof {
  color: #d8d3cb;
  font-size: 14px;
  line-height: 1.6;
}

/* Feature FAQs use their own natural background and content width. */
.seo-landing-feature .seo-faq {
  width: 100%;
  max-width: none;
  margin: 0;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 4vw, 56px);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
  background: #151719;
}
.seo-landing-feature .seo-faq::before { content: none; }
.seo-landing-feature .seo-faq > header,
.seo-landing-feature .seo-faq > div { min-width: 0; }
.seo-landing-feature .seo-faq h2 {
  max-width: 100%;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.12;
}
.seo-landing-feature .seo-faq header > span {
  font-size: 14px;
  line-height: 1.5;
}
.seo-landing-feature .seo-faq details { padding-inline: 6px; }
.seo-landing-feature .seo-faq summary {
  min-height: 72px;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 16px;
  padding: 16px 4px;
  font-size: 17px;
  line-height: 1.5;
}
.seo-landing-feature .seo-faq summary i {
  width: 44px;
  height: 44px;
}
.seo-landing-feature .seo-faq summary:focus-visible {
  outline: 3px solid #f08b5b;
  outline-offset: 4px;
}
.seo-landing-feature .seo-faq details p {
  color: #ddd7cf;
  margin: 12px 4px 24px;
  font-size: 16px;
  line-height: 1.65;
}
@media (max-width: 900px) {
  .seo-landing-feature .seo-faq { grid-template-columns: minmax(0, 1fr); }
}

/* The worksheet follows the causality note in both guides. Remove the
   accumulated 120px note margin + 112px workflow inset, and give the natural
   section its own background instead of the parent's offset pseudo-element. */
.guide-page .methodology-causality {
  margin-bottom: clamp(32px, 4vw, 56px);
}
.guide-page .seo-workflow[aria-labelledby$="-worksheet-title"] {
  height: auto;
  min-height: 0;
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
  background: #151719;
}
.guide-page .seo-workflow[aria-labelledby$="-worksheet-title"]::before { content: none; }

@media (max-width: 1100px) {
  :is(.ge2-sector-page, .guide-page, .seo-landing-feature) .seo-hero { grid-template-columns: minmax(0, 1fr); }
  :is(.ge2-sector-page, .guide-page, .seo-landing-feature) .seo-hero h1 { font-size: clamp(44px, 7vw, 78px); }
  :is(.ge2-sector-page, .guide-page, .seo-landing-feature) .seo-hero-instrument { max-width: 720px; }
}
@media (max-width: 480px) {
  :is(.guide-page, .seo-landing-feature) .seo-hero-instrument ol { grid-template-columns: minmax(0, 1fr); }
  .ge2-sector-page .seo-hero-instrument .ge2-sector-smart-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Reformer photo: preserve desktop's existing fill geometry in the source
   stylesheet. On phones, the photo gets a bounded line of its own instead of
   being enlarged behind the full copy + decision illustration. */
.seo-landing-reformer .seo-hero > .seo-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 600px) {
  .seo-landing-reformer .seo-hero {
    grid-template-areas: "copy" "photo" "instrument";
  }
  .seo-landing-reformer .seo-hero > .seo-hero-copy { grid-area: copy; }
  .seo-landing-reformer .seo-hero > .seo-hero-image {
    grid-area: photo;
    position: static;
    inset: auto;
    z-index: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: 85% center;
    border-radius: 16px;
  }
  .seo-landing-reformer .seo-hero > .seo-hero-shade { display: none; }
  .seo-landing-reformer .seo-hero > .seo-hero-instrument { grid-area: instrument; }
}
