
/* AWP Portal v1 – final contrast and readability layer
   Loaded last to override legacy small-font and low-contrast declarations. */
:root {
  --awp-readable-muted: #496477;
  --awp-dark-copy: #d4e2e9;
}
body { font-size: 16px; line-height: 1.65; }

/* Dark sections: maintain clear contrast for all explanatory copy. */
.dark-section p,
.dark-section li,
.dark-section small,
.dark-section .section-intro,
.dark-section .note,
.dark-section .control-grid small {
  color: var(--awp-dark-copy) !important;
  opacity: 1 !important;
}
.dark-section .control-grid b { color: #fff !important; font-size: 16px !important; }
.dark-section .control-grid small { font-size: 14px !important; line-height: 1.7 !important; }
.dark-section .control-grid > div { background: #173b55 !important; border-color: #3b5c72 !important; }

/* Industry pages: domain, data, governance and workflow cells. */
.industry-page .domain-card p,
.industry-page .data-grid p,
.industry-page .industry-flow small,
.industry-page .maturity-panel p,
.industry-page .note {
  color: #40596a !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  opacity: 1 !important;
}
.industry-page .domain-card h3 { font-size: 18px !important; line-height: 1.4 !important; }
.industry-page .domain-card > b { font-size: 13px !important; line-height: 1.55 !important; }
.industry-page .data-grid b,
.industry-page .control-grid b { font-size: 16px !important; line-height: 1.45 !important; }
.industry-page .control-grid small { color: #d4e2e9 !important; font-size: 14px !important; line-height: 1.7 !important; }
.industry-page .industry-flow strong { font-size: 16px !important; line-height: 1.5 !important; }
.industry-page .maturity-panel .note { color: #526b7b !important; font-size: 13px !important; }

/* Industry overview cards: the first (navy) card needs light supporting copy. */
.industry-card.oil p,
.industry-card.oil small { color: #d4e2e9 !important; opacity: 1 !important; }
.industry-card.oil h3 { color: #fff !important; }
.industry-card:not(.oil) p { color: #496477 !important; opacity: 1 !important; }
.industry-card p { font-size: 14px !important; line-height: 1.75 !important; }
.industry-card small { font-size: 12px !important; line-height: 1.5 !important; }
.industry-card h3 { font-size: 21px !important; line-height: 1.35 !important; }
.industry-card b { font-size: 13px !important; }

/* Improve low-contrast muted copy in common dark panels and footers. */
.hero p, .page-hero p, .section-intro { opacity: 1; }
footer .foot-muted { color: #c7d7df !important; }
@media (max-width: 575px) {
  .industry-page .domain-card p,
  .industry-page .data-grid p,
  .industry-page .control-grid small,
  .industry-page .industry-flow small { font-size: 14px !important; }
}
