/* Enterprise AI Adoption Curve, coded. Mirrors the component on scottmastin.com
   (ai-adoption.html and ai-spend.html). Keep the two in step. */

.aec { --font: "DM Sans", system-ui, -apple-system, sans-serif; }

.aec { background: #0A1216; color: #F2F6F5; padding: 64px 0 56px; font-family: var(--font); }
.aec-in { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.aec h2, .aec h3, .aec .aec-sg { font-family: "Space Grotesk", var(--font); }
.aec a { color: #63D9BD; }
.aec a:hover { color: #8FE7D2; }
.aec-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.aec-head h2 { font-size: 40px; line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; margin: 0; color: #F2F6F5; }
.aec-sub { margin: 8px 0 0; font-size: 18px; color: #A4B5B8; }
.aec-tenet { margin: 12px 0 0; font-size: 22px; line-height: 1.3; font-weight: 600; color: #63D9BD; }
.aec-brand { text-align: right; font-size: 14px; line-height: 1.5; color: #A4B5B8; }
.aec-brand b { display: block; font-family: "Space Grotesk", var(--font); font-size: 18px; color: #F2F6F5; }
.aec-key { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: #D5E0E0; }
.aec-mk {
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  background: #63D9BD; border: 3px solid #0A1216;
  display: inline-flex; align-items: center; justify-content: center;
}
.aec-key .aec-mk { border: 0; width: 22px; height: 22px; }

.aec-stairs { position: relative; }
.aec-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px;
  align-items: end; height: 616px;
}
.aec-step { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.aec-card {
  height: var(--h); padding: 12px 14px; box-sizing: border-box;
  background: #11242A; border: 1px solid #2B4F4E; border-top: 3px solid #63D9BD;
  border-radius: 8px 8px 0 0; position: relative;
}
.aec-num { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: #63D9BD; }
.aec-card h3 { margin: 2px 0 0; font-size: 18px; line-height: 1.3; font-weight: 700; color: #F2F6F5; }
.aec-card p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: #A4B5B8; }
.aec-step.peak .aec-card { border-top-color: #F2B552; }
.aec-step.peak .aec-num { color: #F2B552; }
.aec-step.top .aec-card { background: #143038; border-color: #3B6E69; border-top-color: #63D9BD; }
.aec-step.top .aec-card p { color: #C3D1D2; }
.aec-pill {
  position: absolute; left: 12px; right: 12px; bottom: 16px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 30px; padding: 4px 6px; box-sizing: border-box; white-space: nowrap;
  background: #2A2110; border: 1px solid #F2B552; border-radius: 16px;
  font-size: 13px; font-weight: 600; color: #F2B552;
}
.aec-gate { position: absolute; left: 0; width: 100%; height: 0; bottom: calc(var(--h) - 24px); margin: 0; }
.aec-gate .aec-mk { position: absolute; left: -22px; top: -14px; z-index: 1; }
.aec-gate .aec-lb {
  position: absolute; right: calc(100% + 26px); width: calc(100% - 10px); top: 0;
  transform: translateY(-50%); text-align: right;
  font-size: 13px; line-height: 1.3; font-weight: 600; color: #F2F6F5;
}
.aec-gt { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: #63D9BD; }

.aec-proof {
  position: absolute; top: 0; left: 0; margin: 0;
  width: calc((100% - 96px) / 7 * 3 + 32px); max-height: 290px; box-sizing: border-box;
  padding: 20px 22px; background: #0F1B21; border: 1px solid #25403F; border-radius: 14px;
}
.aec-proof .aec-tag { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: #63D9BD; }
.aec-proof p { margin: 8px 0 0; font-size: 18px; line-height: 1.45; color: #F2F6F5; }
.aec-proof p b { color: #63D9BD; }
.aec-proof small { display: block; margin-top: 10px; font-size: 13px; line-height: 1.45; color: #A4B5B8; }

.aec-flow { display: flex; justify-content: center; align-items: center; gap: 8px; height: 48px; font-size: 13px; color: #A4B5B8; }
.aec-flow svg { flex: none; }
.aec-band {
  display: grid; grid-template-columns: 190px minmax(0, 3fr) 40px minmax(160px, 1fr) 118px;
  gap: 16px; align-items: center; padding: 22px 24px;
  background: #0F1B21; border: 1px solid #25403F; border-radius: 14px;
}
.aec-band h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 600; color: #F2F6F5; }
.aec-band > div > p { margin: 8px 0 0; font-size: 14px; color: #A4B5B8; }
.aec-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.aec-ways li {
  padding: 12px 16px; border-radius: 10px; background: #0A1216; border: 1px solid #2B4F4E;
  font-size: 14px; line-height: 1.4; color: #A4B5B8;
}
.aec-ways li b { display: block; font-family: "Space Grotesk", var(--font); font-size: 18px; color: #F2F6F5; }
.aec-ways li.on { background: #143038; border: 2px solid #63D9BD; color: #D5E0E0; }
.aec-arrow { display: flex; justify-content: center; }
.aec-sets {
  list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 8px;
  border: 1px dashed #3B6E69; border-radius: 10px; background: #0A1216;
}
.aec-sets li {
  padding: 6px 10px; text-align: center; font-size: 14px; font-weight: 600; color: #F2F6F5;
  background: #143038; border: 1px solid #3B6E69; border-radius: 8px;
}
.aec-feeds { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.35; font-weight: 600; color: #63D9BD; }
.aec-feeds svg { flex: none; }

.aec-after { margin-top: 28px; }
.aec-after p { max-width: 46rem; color: #C3D1D2; font-size: 16px; margin: 0 0 12px; }
.aec-after .aec-cta { font-weight: 700; }

@media (max-width: 1099px) {
  .aec { padding: 44px 0 40px; }
  .aec-in { padding: 0 20px; }
  .aec-head { margin-bottom: 24px; }
  .aec-head h2 { font-size: 30px; }
  .aec-tenet { font-size: 19px; }
  .aec-brand { text-align: left; }
  .aec-panel { display: flex; flex-direction: column; }
  .aec-stairs { display: contents; }
  .aec-steps {
    height: auto; display: flex; flex-direction: column; gap: 0;
    padding-left: 40px; position: relative; align-items: stretch;
  }
  .aec-steps::before {
    content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px;
    width: 2px; background: #25403F;
  }
  .aec-step { height: auto; display: block; margin-bottom: 10px; }
  .aec-card {
    height: auto; width: calc(62% + var(--i) * 6.3%); max-width: 100%;
    border-radius: 8px; border-top-width: 1px; border-left: 3px solid #63D9BD;
  }
  .aec-step.peak .aec-card { border-left-color: #F2B552; border-top-color: #2B4F4E; }
  .aec-step.top .aec-card { border-top-color: #3B6E69; }
  .aec-card h3 { font-size: 18px; }
  .aec-card p { font-size: 15px; }
  .aec-pill { position: static; display: inline-flex; margin-top: 10px; }
  .aec-gate {
    position: relative; bottom: auto; height: auto; width: auto;
    display: block; padding: 2px 0 12px;
  }
  .aec-gate .aec-mk { left: -41px; top: 50%; transform: translateY(-60%); }
  .aec-gate .aec-lb { position: static; width: auto; transform: none; text-align: left; font-size: 15px; }
  .aec-flow { justify-content: flex-start; padding-left: 4px; }
  .aec-band { grid-template-columns: 1fr; padding: 20px; }
  .aec-ways { grid-template-columns: 1fr; }
  .aec-arrow svg { transform: rotate(90deg); }
  .aec-proof { position: static; width: auto; max-height: none; order: 10; margin-top: 20px; }
  .aec-proof p { font-size: 17px; }
}

.aec-details { margin-top: 8px; border-top: 1px solid #25403F; padding-top: 16px; }
.aec-details summary { cursor: pointer; font-weight: 700; color: #63D9BD; font-size: 16px; }
.aec-details ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.aec-details li { padding: 16px 18px; background: #11242A; border: 1px solid #2B4F4E; border-radius: 10px; }
.aec-details h3 { margin: 0 0 6px; font-size: 17px; color: #F2F6F5; }
.aec-details p { margin: 0 0 8px; font-size: 15px; line-height: 1.55; color: #C3D1D2; max-width: none; }
.aec-details p:last-child { margin-bottom: 0; }
.aec-details .gate strong { color: #63D9BD; }
@media (max-width: 1099px) { .aec-details ol { grid-template-columns: 1fr; } }

/* aieval.org: on /adoption-curve/ the heading is the page h1. */
.aec h1 { font-family: "Space Grotesk", var(--font); }
.aec-head h1 { font-size: 40px; line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; margin: 0; color: #F2F6F5; }
.aec-after { max-width: none; }
.aec-after p { max-width: 820px; color: #C3D1D2; font-size: 17px; line-height: 1.6; margin: 0 0 14px; }
.aec-after .aec-cta { display: inline-block; margin: 4px 0 28px; font-weight: 700; }
.aec .aec-details { max-width: none; }
@media (max-width: 600px) { .aec-head h1 { font-size: 30px; } }
