/* ControlStack page (nist-cmmc.html): How it works, What's included, Technology ecosystem and Why it matters.
   Redesigned 2026-11-03. Loaded after compliance.css; the hero and overview diagram keep their own styles. */
.csx-section { --csx-card: #0a2038; --csx-line: #5b95c633; --csx-blue: #3aa0ff; --csx-green: #8cc63f; --csx-text: #b9cde0; padding: 80px 0; background: #031323; border-top: 1px solid #1d4a7366; }
.csx-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.csx-head h2 { margin-top: 10px; font: 700 clamp(26px, 2.4vw, 36px)/1.2 Exo, Arial, sans-serif; color: #fff; }
.csx-head > p:not(.eyebrow) { margin-top: 14px; font-size: 16.5px; line-height: 1.7; color: var(--csx-text); }
.csx-icon { display: inline-grid; flex: 0 0 auto; place-items: center; width: 48px; height: 48px; border: 1px solid #3aa0ff40; border-radius: 12px; background: linear-gradient(145deg, #15406b, #0c2846); box-shadow: inset 0 1px 0 #ffffff14; }
.csx-icon img { width: 24px; height: 24px; }

/* Check-mark lists */
.csx-checks { display: inline-grid; gap: 10px; margin: 0; padding: 0; list-style: none; text-align: left; }
.csx-checks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.5; color: #dce8f4; }
.csx-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #3aa0ff26; box-shadow: inset 0 0 0 1px #3aa0ff59; }
.csx-checks li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid #7cc4ff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* How it works: three connected steps */
.csx-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 24px 0 0; list-style: none; counter-reset: none; }
.csx-steps::before { content: ""; position: absolute; top: 24px; left: 16.6%; right: 16.6%; height: 2px; background: linear-gradient(90deg, #3aa0ff33, #3aa0ff, #8cc63f, #3aa0ff33); }
.csx-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 48px 28px 32px; border: 1px solid var(--csx-line); border-radius: 18px; background: linear-gradient(180deg, #0c2542, var(--csx-card)); text-align: center; }
.csx-step-num { position: absolute; top: -24px; left: 50%; display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid #031323; border-radius: 50%; background: linear-gradient(145deg, #3aa0ff, #1f6fd1); box-shadow: 0 0 0 1px #3aa0ff80, 0 0 24px #3aa0ff66; font: 700 19px/1 Exo, Arial, sans-serif; color: #fff; transform: translateX(-50%); }
.csx-step h3 { font: 700 21px/1.25 Exo, Arial, sans-serif; color: #fff; }
.csx-step h3 span { color: var(--csx-blue); }
.csx-step > p { font-size: 15px; line-height: 1.6; color: var(--csx-text); }
.csx-step-core { border: 1px solid transparent; background: linear-gradient(180deg, #0f3058, #0b2443) padding-box, linear-gradient(150deg, #3aa0ff, #8cc63f) border-box; box-shadow: 0 24px 60px #0076db33; }
.csx-step-core .csx-step-num { background: linear-gradient(145deg, #a6d75a, #5f9e2a); box-shadow: 0 0 0 1px #8cc63f99, 0 0 24px #8cc63f66; color: #04111f; }
.csx-step-core .csx-checks li::before { background: #8cc63f2b; box-shadow: inset 0 0 0 1px #8cc63f73; }
.csx-step-core .csx-checks li::after { border-color: #b9e57d; }
.csx-workspace { display: grid; justify-items: center; gap: 6px; width: min(100%, 240px); padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 12px 30px #0006; }
.csx-ms { width: 150px; height: auto; }
.csx-or { font-size: 12px; color: #6b7d90; }
.csx-google { display: inline-flex; align-items: center; gap: 6px; }
.csx-google-g { width: 18px; height: 18px; }
.csx-google-word { width: 132px; height: auto; }

/* What's included */
.csx-included { background: linear-gradient(180deg, #051d35, #031323); }
.csx-included-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.csx-included-grid li { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; border: 1px solid var(--csx-line); border-radius: 16px; background: var(--csx-card); overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.csx-included-grid li::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, #3aa0ff, #8cc63f); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.csx-included-grid li:hover { transform: translateY(-3px); border-color: #3aa0ff66; box-shadow: 0 18px 40px #0008; }
.csx-included-grid li:hover::before { transform: scaleX(1); }
.csx-included-grid .csx-icon { margin-bottom: 4px; }
.csx-included-grid h3 { font: 700 18px/1.3 Exo, Arial, sans-serif; color: #fff; }
.csx-included-grid p { font-size: 15px; line-height: 1.65; color: var(--csx-text); }

/* Technology ecosystem */
.csx-tech .csx-head h2 { font-size: clamp(22px, 2vw, 30px); }
.csx-tech-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 0; padding: 0; list-style: none; }
.csx-tech-card { display: flex; flex: 0 1 calc((100% - 48px) / 4); min-width: 0; flex-direction: column; gap: 16px; padding: 14px 14px 20px; border: 1px solid var(--csx-line); border-radius: 16px; background: var(--csx-card); text-align: center; transition: transform .25s ease, border-color .25s ease; }
.csx-tech-card:hover { transform: translateY(-3px); border-color: #3aa0ff66; }
.csx-logo { display: grid; place-items: center; height: 88px; padding: 14px 18px; border-radius: 12px; background: #fff; }
.csx-logo img { width: auto; max-width: 100%; height: auto; max-height: 52px; }
.csx-tech-horizon .csx-logo { padding-inline: 8px; }
.csx-tech-horizon .csx-logo img { width: 100%; max-width: 100%; }
.csx-tech-card p { padding: 0 6px; font-size: 14.5px; line-height: 1.55; color: var(--csx-text); }
.csx-tech-bgt { border-color: #8cc63f59; background: linear-gradient(180deg, #0d2a40, var(--csx-card)); }
.csx-tech-bgt .csx-logo img { max-height: 46px; }

/* Why it matters, CTO quote and the four pillars */
.csx-why { background: radial-gradient(ellipse 50% 70% at 85% 30%, #0b345599, transparent 70%), linear-gradient(180deg, #031323f0, #041a2ff0), url('../images/network.webp') center 60% / cover; }
.csx-why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.csx-why-copy h2 { margin-top: 10px; font: 700 clamp(24px, 2.2vw, 32px)/1.25 Exo, Arial, sans-serif; color: #fff; }
.csx-why-copy > p:not(.eyebrow) { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--csx-text); }
.csx-why-actions { margin-top: 28px; }
.csx-quote { position: relative; margin: 0; padding: 40px 38px 32px; border: 1px solid #3aa0ff40; border-radius: 20px; background: linear-gradient(160deg, #0f3058e6, #0a2038e6); box-shadow: 0 30px 70px #0009; }
.csx-quote-mark { width: 44px; height: auto; fill: #3aa0ff; opacity: .55; }
.csx-quote blockquote { margin: 18px 0 0; }
.csx-quote blockquote p { font-size: 18px; line-height: 1.7; color: #e6eef8; }
.csx-quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid #ffffff14; }
.csx-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(145deg, #3aa0ff, #8cc63f); font: 700 16px/1 Exo, Arial, sans-serif; color: #04111f; }
.csx-quote figcaption strong { display: block; font: 700 16px/1.3 Exo, Arial, sans-serif; color: #fff; }
.csx-quote figcaption strong + span { display: block; margin-top: 2px; font-size: 14px; color: #9db6d2; }
.csx-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 56px 0 0; padding: 0; list-style: none; }
.csx-pillars li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--csx-line); border-radius: 14px; background: #0a2038b3; }
.csx-pillars h3 { font: 700 18px/1.2 Exo, Arial, sans-serif; color: #fff; }
.csx-pillars p { margin-top: 3px; font-size: 14px; line-height: 1.4; color: #9db6d2; }

@media (max-width: 1100px) {
  .csx-tech-card { flex-basis: calc((100% - 32px) / 3); }
  .csx-included-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .csx-why-grid { grid-template-columns: minmax(0, 1fr); }
  .csx-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
}
@media (max-width: 800px) {
  .csx-section { padding: 56px 0; }
  .csx-head { margin-bottom: 36px; }
  .csx-steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .csx-steps::before { top: 24px; bottom: 24px; left: 50%; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, #3aa0ff, #8cc63f, #3aa0ff33); }
}
@media (max-width: 640px) {
  .csx-section { padding: 48px 0; }
  .csx-included-grid { grid-template-columns: minmax(0, 1fr); }
  .csx-tech-grid { gap: 12px; }
  .csx-tech-card { flex-basis: calc((100% - 12px) / 2); }
  .csx-tech-bgt { flex-basis: 100%; }
  .csx-logo { height: 72px; padding: 12px; }
  .csx-logo img { max-height: 42px; }
  .csx-quote { padding: 30px 24px 26px; }
  .csx-quote blockquote p { font-size: 16.5px; }
}
@media (max-width: 480px) {
  .csx-pillars { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .csx-included-grid li, .csx-included-grid li::before, .csx-tech-card { transition: none; }
}

/* Shared content width with the overview diagram, balanced headings and evenly weighted logos */
.csx-steps, .csx-included-grid, .csx-tech-grid, .csx-why-grid, .csx-pillars { max-width: 1200px; margin-inline: auto; }
.csx-head h2, .csx-why-copy h2 { text-wrap: balance; }
.csx-head > p:not(.eyebrow) { text-wrap: pretty; }
.csx-logo img { max-width: 80%; }
@media (max-width: 640px) { .csx-included-grid li { padding: 22px 20px; } }
