/* Solution-specific paths, deliverables and existing editorial content. */
.cxy-plan-detail,
.cxy-deliverables,
.cxy-solution-reading {
  padding: clamp(70px, 7vw, 112px) 0;
}
.cxy-plan-detail { background: #fff; }
.cxy-plan-head,
.cxy-deliverables-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px 48px;
}
.cxy-plan-head h2,
.cxy-deliverables-head h2,
.cxy-solution-reading h2 {
  max-width: 750px;
  margin: 0;
  color: #10203c;
  font-size: clamp(30px, 3.1vw, 47px);
  font-weight: 500;
  line-height: 1.3;
}
.cxy-plan-head p,
.cxy-deliverables-intro,
.cxy-solution-reading-intro {
  max-width: 600px;
  margin: 0;
  color: #52647a;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.8;
}
.cxy-plan-switch {
  overflow: hidden;
  margin-top: clamp(36px, 4.5vw, 68px);
  border: 1px solid #dae5f2;
  border-radius: 14px;
  background: #fff;
}
.cxy-plan-tabs[hidden],
.cxy-plan-panel[hidden],
.cxy-deliverables-controls[hidden] { display: none; }
.cxy-plan-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid #dbe6f3;
  background: #f5f9ff;
}
.cxy-plan-tabs button {
  position: relative;
  min-width: 0;
  min-height: 82px;
  padding: 17px 12px;
  border: 0;
  background: transparent;
  color: #52647a;
  font: inherit;
  font-size: clamp(16px, 1.45vw, 21px);
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.cxy-plan-tabs button + button { border-left: 1px solid #e0e9f4; }
.cxy-plan-tabs button::after {
  content: '';
  position: absolute;
  right: 24%;
  bottom: -1px;
  left: 24%;
  height: 3px;
  background: #1558e9;
  transform: scaleX(0);
  transition: transform .35s ease;
}
.cxy-plan-tabs button[aria-selected='true'] { color: #0751df; background: #fff; }
.cxy-plan-tabs button[aria-selected='true']::after { transform: scaleX(1); }
.cxy-plan-tabs button:hover { color: #0751df; }
.cxy-plan-tabs button:focus-visible { outline-offset: -4px; }
.cxy-plan-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  min-height: 360px;
}
.cxy-plan-panel + .cxy-plan-panel:not([hidden]) { border-top: 1px solid #e0e9f4; }
.cxy-plan-panel-copy {
  align-self: center;
  padding: clamp(30px, 4vw, 66px);
}
.cxy-plan-panel h3 {
  margin: 0;
  color: #142744;
  font-size: clamp(24px, 2.35vw, 35px);
  font-weight: 500;
  line-height: 1.35;
}
.cxy-plan-panel p {
  max-width: 600px;
  margin: 18px 0 0;
  color: #52647a;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.85;
}
.cxy-plan-points { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 0; padding: 0; list-style: none; }
.cxy-plan-points li { padding: 7px 13px; border: 1px solid #dce7f5; border-radius: 24px; color: #38567c; font-size: 14px; line-height: 1.4; }
.cxy-plan-picture { position: relative; min-width: 0; min-height: 320px; overflow: hidden; background: #e8f2ff; }
.cxy-plan-picture img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
[data-solution-steps].is-ready .cxy-plan-panel:not([hidden]) .cxy-plan-panel-copy { animation: cxy-plan-copy-in .6s cubic-bezier(.22,1,.36,1) both; }
[data-solution-steps].is-ready .cxy-plan-panel:not([hidden]) .cxy-plan-picture img { animation: cxy-plan-picture-in .8s cubic-bezier(.22,1,.36,1) both; }
@keyframes cxy-plan-copy-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cxy-plan-picture-in { from { opacity: .75; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }

.cxy-deliverables { background: #f4f8fd; }
.cxy-deliverables-head > div:first-child { max-width: 780px; }
.cxy-deliverables-intro { margin-top: 18px; }
.cxy-deliverables-controls { display: flex; flex: 0 0 auto; gap: 10px; }
.cxy-deliverables-controls button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #cadbf0;
  border-radius: 50%;
  background: #fff;
  color: #1558e9;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: color .3s ease, background .3s ease, border-color .3s ease;
}
.cxy-deliverables-controls button:hover,
.cxy-deliverables-controls button:focus-visible { border-color: #1558e9; background: #1558e9; color: #fff; }
.cxy-deliverables-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  margin-top: clamp(34px, 4vw, 58px);
  padding: 8px 0 18px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.cxy-deliverables-track::-webkit-scrollbar { display: none; }
.cxy-deliverable {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  min-height: 230px;
  padding: clamp(26px, 2.6vw, 40px);
  scroll-snap-align: start;
  border: 1px solid #e0eaf5;
  border-radius: 12px;
  background: #fff;
  transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
@media (hover: hover) {
  .cxy-deliverable:hover { transform: translateY(-4px); border-color: #aacaff; box-shadow: 0 15px 35px rgba(29, 79, 150, .08); }
}
.cxy-deliverable-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #eaf3ff; color: #1558e9; }
.cxy-deliverable-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cxy-deliverable h3 { margin: 22px 0 0; color: #142744; font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; line-height: 1.4; }
.cxy-deliverable p { margin: 12px 0 0; color: #52647a; font-size: 15px; line-height: 1.75; }
.cxy-extra-case { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; color: #52647a; font-size: 15px; }
.cxy-extra-case a { color: #1558e9; transition: color .25s ease; }
.cxy-extra-case a:hover { color: #073aaf; }

.cxy-solution-reading { background: #fff; }
.cxy-solution-proof .cxy-ai-reading-more { padding: clamp(36px, 4.5vw, 70px) 0 0; }
.cxy-ai-reading-more .cxy-reading-heading h3 { margin: 0; color: #10203c; font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; line-height: 1.3; }
.cxy-reading-layout { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); gap: clamp(35px, 7vw, 110px); align-items: start; }
.cxy-reading-heading { position: sticky; top: 120px; }
.cxy-solution-reading-intro { margin-top: 20px; }
.cxy-reading-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #dae4f0; }
.cxy-reading-list a { display: grid; grid-template-columns: minmax(100px, 168px) minmax(0, 1fr) 30px; gap: clamp(16px, 2vw, 30px); align-items: center; padding: 22px 0; border-bottom: 1px solid #dae4f0; }
.cxy-reading-image { overflow: hidden; aspect-ratio: 16 / 10; border-radius: 6px; background: #eaf2fb; }
.cxy-reading-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.cxy-reading-list h3 { margin: 0; color: #182943; font-size: clamp(17px, 1.45vw, 22px); font-weight: 500; line-height: 1.55; transition: color .3s ease; }
.cxy-reading-arrow { color: #91a4be; font-size: 26px; transition: color .3s ease, transform .3s ease; }
.cxy-reading-list a:hover h3, .cxy-reading-list a:focus-visible h3 { color: #1558e9; }
.cxy-reading-list a:hover .cxy-reading-arrow, .cxy-reading-list a:focus-visible .cxy-reading-arrow { color: #1558e9; transform: translate(4px, -4px); }
.cxy-reading-list a:hover img, .cxy-reading-list a:focus-visible img { transform: scale(1.05); }
.cxy-solution-detail .cxy-more-faq details[open] > p { animation: cxy-solution-answer-in .35s ease both; }
@keyframes cxy-solution-answer-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* Give each scenario its own rhythm while keeping the shared brand system. */
.cxy-solution-detail--global .cxy-plan-picture,
.cxy-solution-detail--interactive .cxy-plan-picture { order: -1; }
.cxy-solution-detail--workflow .cxy-plan-detail { background: linear-gradient(180deg, #f0f7ff, #fff); }
.cxy-solution-detail--ai .cxy-plan-detail { background: linear-gradient(120deg, #062a73, #0751be 62%, #0687be); }
.cxy-solution-detail--ai .cxy-plan-head h2 { color: #fff; }
.cxy-solution-detail--ai .cxy-plan-head p { color: #dbeaff; }
.cxy-solution-detail--interactive .cxy-plan-detail { background: #f2f8ff; }
.cxy-solution-detail--interactive .cxy-reading-layout { grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr); }
.cxy-solution-detail--interactive .cxy-reading-heading { grid-column: 2; grid-row: 1; }
.cxy-solution-detail--interactive .cxy-reading-list { grid-column: 1; grid-row: 1; }

@media (max-width: 991px) {
  .cxy-plan-head { display: block; }
  .cxy-plan-head p { margin-top: 18px; }
  .cxy-reading-layout { grid-template-columns: minmax(0, 1fr); }
  .cxy-reading-heading { position: static; }
  .cxy-solution-detail--interactive .cxy-reading-layout { grid-template-columns: minmax(0, 1fr); }
  .cxy-solution-detail--interactive .cxy-reading-heading,
  .cxy-solution-detail--interactive .cxy-reading-list { grid-column: auto; grid-row: auto; }
  .cxy-deliverable { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 767px) {
  .cxy-plan-tabs button { min-height: 66px; padding: 12px 5px; font-size: 14px; }
  .cxy-plan-panel { grid-template-columns: minmax(0, 1fr); }
  .cxy-solution-detail--global .cxy-plan-picture,
  .cxy-solution-detail--interactive .cxy-plan-picture { order: 0; }
  .cxy-plan-picture, .cxy-plan-picture img { min-height: 220px; max-height: 300px; }
  .cxy-plan-picture img { aspect-ratio: 16 / 9; }
  .cxy-deliverables-head { align-items: end; }
  .cxy-deliverables-controls button { width: 42px; height: 42px; }
  .cxy-deliverable { flex-basis: 86%; min-height: 210px; }
  .cxy-reading-list a { grid-template-columns: 86px minmax(0, 1fr) 22px; gap: 13px; }
  .cxy-reading-list h3 { font-size: 16px; }
}
@media (max-width: 380px) {
  .cxy-deliverables-head { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .cxy-plan-detail *, .cxy-deliverables *, .cxy-solution-reading *, .cxy-solution-detail .cxy-more-faq details[open] > p { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .cxy-deliverable:hover, .cxy-reading-list a:hover img, .cxy-reading-list a:focus-visible img,
  .cxy-reading-list a:hover .cxy-reading-arrow, .cxy-reading-list a:focus-visible .cxy-reading-arrow { transform: none; }
}
html[data-motion='paused'] .cxy-plan-detail *,
html[data-motion='paused'] .cxy-deliverables *,
html[data-motion='paused'] .cxy-solution-reading *,
html[data-motion='paused'] .cxy-solution-detail .cxy-more-faq details[open] > p { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-motion='paused'] .cxy-deliverable:hover,
html[data-motion='paused'] .cxy-reading-list a:hover img,
html[data-motion='paused'] .cxy-reading-list a:focus-visible img,
html[data-motion='paused'] .cxy-reading-list a:hover .cxy-reading-arrow,
html[data-motion='paused'] .cxy-reading-list a:focus-visible .cxy-reading-arrow { transform: none; }
