/* Corporate and service pages: explicit content roles, loaded before the foundation. */
body.corporate-layout[data-design="enterprise"] main .corporate-hero-heading {
  max-width: 22ch;
  margin-bottom: 16px;
}

body.corporate-layout[data-design="enterprise"] main .hero-in {
  padding-top: 48px;
  padding-bottom: 48px;
}

body.corporate-layout[data-design="enterprise"] main .hero-grid {
  gap: 36px;
  align-items: start;
}

/* Keep all seven delivery stages readable without a sideways gesture. */
body.corporate-layout[data-design="enterprise"] main .delivery-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--layout-grid-gap);
  overflow: visible;
  padding-bottom: 0;
}
body.corporate-layout[data-design="enterprise"] main .delivery-steps .step {
  min-width: 0;
  min-height: 0;
  padding: 20px;
}
@media (max-width: 1000px) {
  body.corporate-layout[data-design="enterprise"] main .delivery-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  body.corporate-layout[data-design="enterprise"] main .delivery-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

body.corporate-layout[data-design="enterprise"] main .corporate-hero-shell {
  box-sizing: border-box;
  max-width: var(--layout-content-max, 1200px) !important;
  padding: 56px var(--layout-gutter, 24px) !important;
}

body.corporate-layout[data-design="enterprise"] main .corporate-hero-shell h1 {
  max-width: 22ch !important;
}

body.corporate-layout[data-design="enterprise"] main .corp-section {
  padding-block: var(--layout-section-space, 72px);
}

body.corporate-layout[data-design="enterprise"] main .sec-head {
  max-width: 72ch;
  margin-bottom: 28px;
}

body.corporate-layout[data-design="enterprise"] main .sec-head h2 {
  margin-top: 10px;
  margin-bottom: 12px;
}

body.corporate-layout[data-design="enterprise"] main .sec-head .body-copy {
  margin-top: 12px;
}

body.corporate-layout[data-design="enterprise"] main :is(.body-copy, .faq-copy) {
  font-size: var(--type-size-body, 16px) !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  max-inline-size: var(--layout-reading-max, 72ch);
}

body.corporate-layout[data-design="enterprise"] main :is(.card-copy, .news-card .summary, .news-card .subtitle) {
  font-size: var(--type-size-card-copy, 15px) !important;
  line-height: 1.6 !important;
}

body.corporate-layout[data-design="enterprise"] main .support-copy {
  font-size: var(--type-size-body-sm, 14px) !important;
  line-height: 1.6 !important;
}

body.corporate-layout[data-design="enterprise"] main .compact-heading {
  font-size: var(--type-h4, 18px) !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

body.corporate-layout[data-design="enterprise"] main .metric-label {
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

body.corporate-layout[data-design="enterprise"] main .metric-value {
  font-size: 30px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: -.02em;
}

body.corporate-layout[data-design="enterprise"] main .card--accent {
  background: var(--color-primary) !important;
}
body.corporate-layout[data-design="enterprise"] main .card--accent :is(h3, p) {
  color: #fff !important;
}
body.corporate-layout[data-design="enterprise"] main .cn {
  background: var(--color-primary) !important;
  color: #fff !important;
}
body.corporate-layout[data-design="enterprise"] main .hub .lab {
  color: #fff !important;
}

body.corporate-layout[data-design="enterprise"] main :is(.meta, .metric-label) + .card-copy {
  margin-top: 8px;
}

body.corporate-layout[data-design="enterprise"] main :is(.fact, .stat, .tool, .qcard, .tt-card, .ka-card) .meta {
  font-size: var(--type-size-meta, 13px) !important;
  line-height: 1.5 !important;
}

body.corporate-layout[data-design="enterprise"] main summary {
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

body.corporate-layout[data-design="enterprise"] main :is(.tt-summary, .answer) {
  padding: 24px;
}

body.corporate-layout[data-design="enterprise"] main :is(.tt-summary, .answer) p + p {
  margin-top: 12px;
}

body.corporate-layout[data-design="enterprise"] main :is(.news-hero, .detail-hero) {
  padding-block: 44px 32px;
}

body.corporate-layout[data-design="enterprise"] main .news-summary p {
  font-size: var(--type-size-meta, 13px) !important;
}

body.corporate-layout[data-design="enterprise"] main .news-empty h2 {
  font-size: var(--type-h3, 20px) !important;
}

@media (max-width: 768px) {
  body.corporate-layout[data-design="enterprise"] main .corporate-hero-shell {
    padding-block: 36px !important;
  }

  body.corporate-layout[data-design="enterprise"] main .hero-in {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  body.corporate-layout[data-design="enterprise"] main .hero-grid {
    gap: 28px;
  }

  body.corporate-layout[data-design="enterprise"] main .sec-head {
    margin-bottom: 24px;
  }

  body.corporate-layout[data-design="enterprise"] main :is(.news-hero, .detail-hero) {
    padding-block: 32px 28px;
  }

  body.corporate-layout[data-design="enterprise"] main :is(.tt-summary, .answer) {
    padding: 20px;
  }
}

/* Contact uses a dark hero; its highlighted text needs the light accent. */
body.corporate-layout main #top .corporate-hero-shell .corporate-hero-heading > span {
  color: var(--color-primary-on-dark) !important;
}
