#cooperation {width:min(90%,1200px);margin:auto;padding-block:clamp(40px,5.3vw,76px);color:var(--ink);scroll-margin-top:16px}
#cooperation h2 {margin:0}
#cooperation .intro {margin:12px 0 24px;max-width:80ch;color:#485f76}
#cooperation .switch {display:inline-flex;background:#e4ecf6;border-radius:7px;padding:4px;margin-bottom:18px}
#cooperation .switch button {border:0;border-radius:5px;background:transparent;color:#36516d;padding:9px clamp(15px,3vw,36px);font-weight:650}
#cooperation .switch [aria-pressed="true"] {background:var(--action);color:white}
#cooperation .panel {background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}
#cooperation .content {display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr)}
#cooperation .example {margin:0;position:relative;isolation:isolate;display:flex;align-items:end;min-height:265px;background:#0e2948;color:white}
#cooperation .example img,#cooperation .example::after {position:absolute;inset:0;width:100%;height:100%;z-index:-1}
#cooperation .example img {object-fit:cover}
#cooperation .example::after {content:"";background:linear-gradient(0deg,rgba(4,22,44,.98),rgba(4,22,44,.86) 33%,rgba(4,22,44,.08) 85%)}
#cooperation figcaption,#cooperation .options,#cooperation .flow,#cooperation .handoff {padding:clamp(20px,2.6vw,36px)}
#cooperation figcaption small {color:#c1eaff;font-size:14px}
#cooperation figcaption h2 {color:white;font-size:clamp(22px,2.2vw,30px);margin:7px 0}
#cooperation figcaption p {color:white;margin:0;font-size:15px}
#cooperation .options h2,#cooperation .flow h2 {font-size:21px}
#cooperation dl {margin:10px 0 0}
#cooperation .option {padding:11px 0;border-bottom:1px solid var(--line)}
#cooperation .option:last-child {padding-bottom:0;border:0}
#cooperation dt {font-weight:700}
#cooperation dd {margin:2px 0 0;color:#485f76;font-size:15px}
#cooperation .flow {border-top:1px solid var(--line)}
#cooperation .steps {padding:0;margin:18px 0 0;display:grid;grid-template-columns:repeat(var(--count),minmax(0,1fr));gap:13px;list-style:none}
#cooperation .steps li {padding-top:10px;border-top:2px solid #b8cdf0}
#cooperation .num {color:var(--action);font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
#cooperation .steps h3 {font-size:16px;margin:3px 0}
#cooperation .steps p {color:#485f76;font-size:14px;margin:0}
#cooperation .handoff {background:var(--tint);display:flex;gap:18px;align-items:center;justify-content:space-between;padding-block:21px}
#cooperation .handoff h3 {font-size:17px;margin:0}
#cooperation .handoff p {margin:4px 0 0;color:#485f76;font-size:15px}
#cooperation .links {display:flex;align-items:center;gap:14px;flex-wrap:wrap;flex-shrink:0}
#cooperation .links a {font-weight:650}
#cooperation .links a:first-child {background:var(--action);color:white;padding:9px 17px;border-radius:5px}
@media(max-width:950px) {
  #cooperation .steps {grid-template-columns:repeat(2,minmax(0,1fr))}
  #cooperation .handoff {align-items:start;flex-direction:column}
}
@media(max-width:650px) {
  #cooperation .content {grid-template-columns:1fr}
  #cooperation .example {min-height:240px}
  #cooperation .switch {display:flex}
  #cooperation .switch button {flex:1}
}

/* Layer the blue folds behind the copy so the two actions stay still and legible. */
#cooperation .handoff {
  position:relative;isolation:isolate;overflow:hidden;color:white;
  background:linear-gradient(105deg,#12388e 0%,#1553bd 52%,#246ee2 100%);
}
#cooperation .handoff h3,#cooperation .handoff p {color:white}
#cooperation .handoff::before,#cooperation .handoff::after {
  content:"";position:absolute;z-index:-1;pointer-events:none;
  border-radius:50%;border-top:2px solid #9edfff99;
}
#cooperation .handoff::before {
  inset:-170% -9% 13% 23%;
  background:linear-gradient(155deg,#105dcc00 51%,#216ddd 68%,#52abea 88%,#72d9ff 98%);
  box-shadow:inset 0 -3px 10px #8acfff85,0 9px 21px #082b944f;
  transform:rotate(9deg);
}
#cooperation .handoff::after {
  inset:44% -22% -198% 34%;
  background:linear-gradient(185deg,#66c3ffbf 0%,#246dda 24%,#1945ac 65%);
  box-shadow:0 -3px 17px #81c6ff54;
  transform:rotate(-9deg);
}
#cooperation .links a:first-child {background:white;color:#174bb1}
#cooperation .links a:not(:first-child) {color:white;background:#123f97;padding:8px 13px;border:1px solid #a8ceff;border-radius:5px}
@media(prefers-reduced-motion:no-preference) {
  #cooperation .handoff::before {animation:handoff-fold 6.8s ease-in-out infinite alternate;animation-play-state:paused}
  #cooperation .handoff::after {animation:handoff-crest 5.6s -2s ease-in-out infinite alternate;animation-play-state:paused}
  #cooperation.in-view .handoff::before,#cooperation.in-view .handoff::after {animation-play-state:running}
  @keyframes handoff-fold {to{transform:translate(-8%,11%) rotate(-3deg)}}
  @keyframes handoff-crest {to{transform:translate(-8%,-12%) rotate(4deg)}}
}
