/* CasePilot sales page: additions on top of academy.css (ink navy, oxblood red tape, brass and ivory; matches the CasePilot demo) */
.casepilot .cp-hero { transition: background .8s; background: radial-gradient(60% 70% at 85% 20%, rgba(140, 28, 19, .34), transparent 70%), #14213d; }
.casepilot .cp-hero[data-m="site"] { background: radial-gradient(60% 70% at 85% 20%, rgba(176, 141, 87, .30), transparent 70%), #121d36; }
.casepilot .cp-hero[data-m="portal"] { background: radial-gradient(60% 70% at 85% 20%, rgba(246, 241, 231, .16), transparent 70%), #111a30; }
.casepilot .cp-hero::before { background: radial-gradient(45% 60% at 12% 18%, rgba(176, 141, 87, .18), transparent 70%), radial-gradient(40% 55% at 92% 30%, rgba(140, 28, 19, .26), transparent 70%); }
.casepilot .apx-eyebrow { border-color: rgba(176, 141, 87, .45); }
.casepilot .apx-eyebrow i { color: #d9bf8f; }
.casepilot .cp-hero .grad { background: linear-gradient(90deg, #d9bf8f, #f6f1e7); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.casepilot .apx-kicker:not(.light) { color: #8c1c13; }
.casepilot .apx-kicker:not(.light)::before { background: #b08d57; }
.casepilot .apx-kicker.light { color: #d9bf8f; }
.casepilot .apx-sec.dark { background: radial-gradient(60% 80% at 100% 0%, rgba(140, 28, 19, .26), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(176, 141, 87, .18), transparent 60%), #14213d; }
.cp-stage { position: relative; }
.cp-dial, .cp-side { display: inline-flex; gap: 4px; border-radius: 999px; padding: 4px; }
.cp-dial { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); margin-bottom: 14px; flex-wrap: wrap; }
.cp-dial button, .cp-side button { border: 0; background: none; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .84rem; display: inline-flex; gap: 7px; align-items: center; cursor: pointer; transition: background .3s, color .3s; }
.cp-dial button { color: #e8e2d4; }
.cp-dial button.on { background: #8c1c13; color: #fff; }
.cp-dial button[data-m="site"].on { background: #b08d57; color: #14213d; }
.cp-dial button[data-m="portal"].on { background: #f6f1e7; color: #14213d; }
.cp-stage .apx-shot img { transition: opacity .25s; }
.cp-stage .apx-shot img.swap { opacity: .2; }
.cp-cap { color: #cfd4de; font-size: .9rem; margin: 12px 0 0; min-height: 1.4em; }
.cp-side { background: #f6f1e7; border: 1px solid #e6dcc6; margin: 0 auto 18px; display: flex; flex-wrap: wrap; justify-content: center; width: max-content; max-width: 100%; }
.cp-side button { color: #3a4458; }
.cp-side button.on { background: #14213d; color: #fff; }
.cp-loop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 14px; counter-reset: s; }
.cp-loop li { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 22px 18px 18px; color: #e8e2d4; counter-increment: s; }
.cp-loop li::before { content: counter(s); position: absolute; top: 14px; right: 16px; font: 700 .8rem/1 'Plus Jakarta Sans', sans-serif; color: #d9bf8f; opacity: .8; }
.cp-loop i { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(176, 141, 87, .22); color: #e3c792; font-size: 1.1rem; margin-bottom: 12px; }
.cp-loop b { display: block; color: #fff; margin-bottom: 4px; }
.cp-loop span { font-size: .88rem; color: #cfd4de; line-height: 1.5; }
.cp-mods-h { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin: 26px 0 14px; color: #14213d; }
.cp-mods-h i { color: #8c1c13; }
.cp-more { text-align: center; margin: 22px 0 0; }
.cp-more a { color: #8c1c13; font-weight: 700; }
@media (max-width: 991.98px) { .cp-stage { margin-top: 30px; } }
/* "Built around Rule 36" trio */
.cs-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.cs-trio div { background: #fff; border: 1px solid rgba(20, 33, 61, .1); border-top: 3px solid #8c1c13; border-radius: 18px; padding: 20px; }
.cs-trio i { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #f6f1e7; color: #8c1c13; font-size: 1.1rem; margin-bottom: 10px; }
.cs-trio b { display: block; margin-bottom: 4px; }
.cs-trio span { color: var(--mut); font-size: .92rem; line-height: 1.55; }
.casepilot .cs-note { max-width: 760px; margin: 22px auto 0; text-align: center; color: var(--mut); font-size: .86rem; line-height: 1.55; }
@media (max-width: 767.98px) { .cs-trio { grid-template-columns: 1fr; } }
/* oxblood and brass accents for the shared academy components */
.casepilot .apx-prob .pi { background: #f6f1e7; color: #8c1c13; }
.casepilot .apx-prob .fix { background: linear-gradient(135deg, #fbf8f2, #f3ead8); color: #7a1810; }
.casepilot .apx-tabs button.on { background: #14213d; border-color: #14213d; }
.casepilot .apx-tabs button.on i { color: #d9bf8f; }
.casepilot .apx-cmp-toggle.after .pill { background: linear-gradient(135deg, #14213d, #8c1c13); }
