/* Sequence's connected process, with Phantom-inspired material depth. */
.financial-control-loop { position:relative;isolation:isolate;overflow:hidden;scroll-margin-top:78px;padding:85px 0 64px;background:radial-gradient(ellipse at 50% 57%,rgba(143,196,208,.2),transparent 52%),linear-gradient(180deg,#F4F7FA,#FBFCFD 72%,#FFF);color:#1A355E;font-family:Inter,system-ui,sans-serif; }
.financial-control-loop * { box-sizing:border-box; }
.cl-anchor { position:absolute;top:0;scroll-margin-top:78px; }
.cl-shell { width:min(1180px,calc(100% - 96px));margin:auto; }
.cl-heading { text-align:center; }
.cl-heading>p:first-child { display:flex;justify-content:center;align-items:center;gap:9px;margin:0 0 18px;font-size:13px;line-height:1.5;color:#536A83; }
.cl-heading>p:first-child>span { padding:2px 6px;font-size:11px;line-height:1.5;border:1px solid #BDC9D5;border-radius:4px; }
.cl-heading h2 { font:500 48px/1.12 'Space Grotesk',sans-serif;letter-spacing:-1.8px;text-wrap:balance;color:#1A355E;margin:0; }
.cl-intro { font-size:16px;line-height:1.75;color:#536A83;margin:20px auto 0;max-width:600px;text-wrap:pretty; }
.cl-workflow { margin:56px 0 0;position:relative; }
.cl-stages { list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr 1.25fr 1fr 1fr;gap:22px;position:relative; }
.cl-stages::before { content:'';position:absolute;left:9%;right:9%;top:236px;height:1px;background:linear-gradient(90deg,#BACDD9,#77ABAF 50%,#BACDD9);z-index:-1; }
.cl-stage { min-width:0;position:relative; }
.cl-artifact { height:210px;position:relative;display:flex;justify-content:center;align-items:center; }
.cl-artifact svg { stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round; }
.cl-invoice { position:relative;width:174px;min-height:177px;padding:18px 20px;background:linear-gradient(125deg,#FFF,#F9FCFE);border:1px solid #D1DFE9;border-radius:6px;transform:rotate(-5deg);box-shadow:0 15px 24px -14px #819CB25C,0 2px 3px #526F8710; }
.cl-record-stack { position:absolute;width:167px;height:169px;border:1px solid #BFCFD9;border-radius:6px;transform:translate(8px,5px) rotate(4deg);background:linear-gradient(160deg,#DFEBF2,#EDF3F7);box-shadow:0 22px 20px -22px #819CB275; }
.cl-invoice-top { display:flex;align-items:center;gap:8px;color:#57718A;font-size:12px; }
.cl-invoice-top svg { width:19px;height:19px; }
.cl-amount { margin:14px 0 8px;font:500 31px/1.1 'Space Grotesk',sans-serif;letter-spacing:-1px; }
.cl-overdue { display:flex;align-items:center;gap:6px;margin:0;color:#965062;font-size:12px; }
.cl-overdue i { width:5px;height:5px;border-radius:50%;background:#B36B7D; }
.cl-paper-lines { display:grid;gap:7px;margin-top:19px; }.cl-paper-lines i { height:3px;border-radius:2px;background:#DCE6EC; }.cl-paper-lines i:last-child { width:68%; }
.cl-recommendation { width:190px;position:relative;padding:18px 19px 17px;border:1px solid #C4D9DE;border-top-color:#FFF;border-radius:12px;background:linear-gradient(125deg,#FFFFFFED,#E7F1F4BA);box-shadow:inset 0 1px 0 #FFFFFF,0 15px 25px -20px #567E9170;transform:rotate(2deg); }
.cl-recommendation::before { content:'';position:absolute;z-index:-1;inset:7px -5px -7px 5px;border:1px solid #CADBE4;border-radius:12px;background:transparent; }
.cl-move-icon { width:30px;height:30px;border-radius:8px;border:1px solid #B9D7D3;background:#E3F1ED;display:grid;place-items:center;color:#15806D;margin-bottom:12px; }.cl-move-icon svg { width:19px;height:19px; }
.cl-artifact-label { font:400 11px/1.5 Inter,sans-serif;color:#57718A;margin:0; }
.cl-move { font:500 20px/1.2 'Space Grotesk',sans-serif;letter-spacing:-.55px;margin:7px 0 14px; }
.cl-ready { display:inline-block;color:#316C61;font-size:11px;line-height:1.4; }
.cl-approval { position:relative;transform:translateY(-7px);width:100%;max-width:260px;min-height:230px;padding:19px 22px 17px;border:1px solid #476C82;border-top-color:#849FAC;border-radius:14px;color:#EFF7FA;background:radial-gradient(ellipse at 0 0,#35637A80,transparent 65%),linear-gradient(135deg,#1A3B54,#0F283E);box-shadow:inset 0 1px 0 #CFEFF522,0 22px 30px -20px #28495D91,0 2px 5px #29475C18; }
.cl-approval::before { content:'';position:absolute;z-index:-1;inset:-8px 8px 8px -8px;border:1px solid #B6D4D9;border-radius:14px;background:transparent; }
.cl-approval::after { content:'';position:absolute;pointer-events:none;inset:0;border-radius:inherit;background:linear-gradient(120deg,#D5F8FF0C,transparent 45%); }
.cl-approval-icon { width:26px;height:26px;color:#A7E6D7; }
.cl-approval-title { text-wrap:balance;margin:12px 0 13px;font:500 21px/1.18 'Space Grotesk',sans-serif;letter-spacing:-.55px;color:#F5FAFB; }
.cl-review-items { list-style:none;margin:0;padding:0;display:grid;gap:6px; }.cl-review-items li { display:flex;align-items:center;gap:7px;color:#CBDEE8;font-size:12px;line-height:1.5; }.cl-review-items li::before { content:'';width:4px;height:4px;background:#88BFB5;border-radius:50%; }
.cl-approval-seal { display:flex;justify-content:center;align-items:center;gap:7px;padding:9px 5px;margin:17px 0 0;border:1px solid #5DAB9866;border-radius:6px;background:linear-gradient(110deg,#A7E6D720,#7CBDAD12);font-size:11px;line-height:1.5;color:#C0F0E3; }.cl-approval-seal svg { width:17px;height:17px;flex:none; }
.cl-delivery-back { position:absolute;width:163px;height:156px;border-radius:14px;border:1px solid #CBDCE4;background:linear-gradient(135deg,#DDECF27A,#E9F2F56B);transform:translate(-7px,1px) rotate(-6deg); }
.cl-delivery { position:relative;width:179px;min-height:178px;padding:19px 16px 17px;border-radius:12px;border:1px solid #D0DEE6;border-top-color:#FFF;background:linear-gradient(135deg,#FFFFFFF2,#EDF5F7DB);transform:rotate(4deg);box-shadow:0 17px 25px -20px #53788C68,inset 0 1px 0 #FFF; }
.cl-sent-icon { width:39px;height:39px;color:#37778A;display:grid;place-items:center;margin-bottom:14px;border-radius:50%;background:#DCEEF180;border:1px solid #C2DDE3; }.cl-sent-icon svg { width:22px;height:22px; }
.cl-delivery-title { font:500 19px/1.2 'Space Grotesk',sans-serif;letter-spacing:-.55px;margin:6px 0 15px; }
.cl-delivery-status { display:flex;align-items:center;gap:5px;font-size:11px;line-height:1.4;color:#326D60;margin:0; }.cl-delivery-status svg { width:14px;height:14px; }
.cl-ledger { width:195px;position:relative;border-radius:9px;border:1px solid #CCDCE6;background:linear-gradient(140deg,#FFF,#F2F7FA);padding:18px 15px 14px;box-shadow:0 14px 25px -18px #59799166;transform:rotate(-3deg); }
.cl-ledger::before { content:'';position:absolute;z-index:-1;inset:8px -6px -7px 6px;border-radius:9px;border:1px solid #D2E0E9;background:transparent; }
.cl-ledger-title { font:500 15px/1.3 'Space Grotesk',sans-serif;margin:0 0 15px; }
.cl-ledger-row { display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;font-size:11px;line-height:1.4;border-top:1px solid #DAE5EB; }.cl-sent-state { color:#287662; }.cl-pending-state { display:flex;align-items:center;gap:4px;color:#566D84; }.cl-pending-state i { border:1px solid #8198AA;width:6px;height:6px;border-radius:50%; }
.cl-ledger-end { display:flex;gap:3px;margin:12px 0 0; }.cl-ledger-end i { width:4px;height:4px;border-radius:50%;background:#B3C5D2; }
.cl-step-label { display:flex;flex-direction:column;align-items:center;gap:13px;margin-top:13px; }
.cl-number { position:relative;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:1px solid #B7CAD7;background:#F5F9FB;font:500 11px/1 'Space Grotesk',sans-serif;color:#57718A;box-shadow:0 0 0 6px #F4F8FA; }
.cl-stage--approve .cl-number { background:#15806D;border-color:#15806D;color:#FFF;box-shadow:0 0 0 6px #EAF4F2; }
.cl-step-label h3 { font:500 17px/1.3 'Space Grotesk',sans-serif;letter-spacing:-.4px;color:#1A355E;margin:0; }
.cl-step-copy { margin:10px auto 0;text-align:center;font-size:14px;line-height:1.65;color:#536A83;max-width:190px;text-wrap:pretty; }
.cl-return { position:relative;margin:25px 9% 0;height:39px;border:1px solid #B8CED780;border-top:0;border-radius:0 0 18px 18px;display:flex;align-items:flex-end;justify-content:center;gap:6px;color:#687F92; }
.cl-return::before,.cl-return::after { content:'';position:absolute;width:4px;height:4px;border:1px solid #A6C1CC;border-radius:50%;top:-2px;background:#F6F9FB; }.cl-return::before { left:-2px; }.cl-return::after { right:-2px; }
.cl-return span { position:relative;bottom:-8px;background:#FAFCFD;padding:0 5px 0 12px;font-size:11px;line-height:1.5; }.cl-return svg { position:relative;bottom:-8px;box-sizing:content-box;background:#FAFCFD;padding:0 12px 0 0;width:15px;height:15px;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round; }
.cl-workflow figcaption { text-align:center;font-size:12px;line-height:1.7;color:#62788E;margin:28px 0 0; }
@media (max-width:1100px) and (min-width:901px) {
  .cl-shell { width:calc(100% - 64px); }.cl-stages { gap:14px;grid-template-columns:1fr 1fr 1.2fr 1fr 1fr; }.cl-invoice { width:145px;padding:16px; }.cl-record-stack { width:139px; }.cl-recommendation { width:155px;padding:15px; }.cl-move { font-size:18px; }.cl-approval { padding:17px 15px; }.cl-approval-title { font-size:19px; }.cl-approval-seal { font-size:10px;gap:3px; }.cl-delivery { width:149px;padding:18px 13px; }.cl-delivery-back { width:140px; }.cl-delivery-title { font-size:17px; }.cl-ledger { width:159px;padding:16px 12px; }.cl-ledger-title { font-size:14px; }.cl-ledger-row { font-size:10px;gap:4px; }.cl-step-copy { font-size:13px; }.cl-step-label h3 { font-size:16px; }
}
@media (max-width:900px) {
  .financial-control-loop { padding:64px 0 48px;background:radial-gradient(ellipse at 40% 48%,#DDEFF253,transparent 60%),linear-gradient(#F4F7FA,#FFF); }
  .cl-shell { width:min(570px,calc(100% - 40px)); }.cl-heading h2 { font-size:38px;letter-spacing:-1.4px; }.cl-intro { max-width:420px;font-size:15px; }.cl-workflow { margin-top:35px; }
  .cl-stages { display:flex;flex-direction:column;gap:23px;padding-left:36px; }.cl-stages::before { left:13px;top:27px;bottom:87px;right:auto;width:1px;height:auto;background:linear-gradient(#BACDD9,#77ABAF 50%,#BACDD9); }
  .cl-stage { min-height:172px;display:grid;grid-template-columns:minmax(0,1fr) 190px;grid-template-rows:auto 1fr;column-gap:15px;align-items:start; }
  .cl-artifact { grid-column:2;grid-row:1/3;height:174px; }.cl-step-label { grid-column:1;grid-row:1;align-items:flex-start;margin:23px 0 0;gap:0; }.cl-number { position:absolute;left:-36px;top:19px;width:26px;height:26px; }.cl-step-label h3 { font-size:20px; }.cl-step-copy { grid-column:1;grid-row:2;text-align:left;font-size:14px;margin:10px 0 0;max-width:170px; }
  .cl-invoice { width:151px;min-height:155px;padding:14px 16px; }.cl-record-stack { width:145px;height:149px; }.cl-paper-lines { margin-top:13px; }.cl-recommendation { width:163px;padding:14px 16px; }.cl-move-icon { margin-bottom:9px; }.cl-move { font-size:19px;margin-bottom:10px; }.cl-artifact-label { font-size:11px; }
  .cl-stage--approve { min-height:235px;margin:4px 0; }.cl-stage--approve .cl-artifact { height:235px; }.cl-approval { width:190px;min-height:230px;padding:18px 15px;transform:none; }.cl-approval-title { font-size:20px; }.cl-approval-seal { font-size:10px;gap:4px; }.cl-stage--approve .cl-step-label { margin-top:49px; }.cl-stage--approve .cl-number { top:45px; }
  .cl-delivery { width:161px;min-height:166px;padding:16px; }.cl-delivery-back { width:149px;height:152px; }.cl-sent-icon { margin-bottom:11px; }.cl-delivery-title { font-size:18px; }.cl-ledger { width:174px;padding:15px 13px; }.cl-ledger-title { font-size:14px; }
  .cl-return { margin:0 0 0 13px;height:35px;width:calc(100% - 90px);border-radius:0 0 0 16px;border-right:0;justify-content:flex-start; }.cl-return::before { display:none; }.cl-return::after { left:auto;right:0;top:auto;bottom:-2px; }.cl-return span { margin-left:16px; }.cl-return span,.cl-return svg { background:#FCFDFE; }
  .cl-workflow figcaption { max-width:340px;margin:25px auto 0;font-size:12px;text-wrap:pretty; }
}
@media (max-width:420px) {
  .cl-shell { width:calc(100% - 36px); }.cl-heading h2 { font-size:33px;letter-spacing:-1.2px; }.cl-heading>p:first-child { font-size:12px; }.cl-intro { font-size:14px;max-width:300px; }
  .cl-stages { padding-left:31px;gap:25px; }.cl-stages::before { left:11px; }.cl-stage { grid-template-columns:minmax(0,1fr) 154px;column-gap:10px; }.cl-artifact { width:154px;margin:0;transform:none; }.cl-step-label h3 { font-size:17px; }.cl-step-copy { font-size:13px;line-height:1.65; }.cl-number { left:-31px;top:19px;width:24px;height:24px; }
  .cl-invoice { width:141px;padding:14px; }.cl-record-stack { width:135px; }.cl-recommendation { width:145px;padding:13px; }.cl-move { font-size:18px; }.cl-artifact-label,.cl-ready { font-size:12px; }.cl-move-icon { width:27px;height:27px; }
  .cl-stage--approve { min-height:255px; }.cl-stage--approve .cl-artifact { height:255px;transform:none; }.cl-stage--approve .cl-number { top:45px; }.cl-approval { width:154px;max-width:154px;min-height:250px;padding:16px 12px; }.cl-approval-title { font-size:18px; }.cl-review-items li { font-size:12px; }.cl-approval-seal { font-size:11px;gap:4px;margin-top:14px;padding:8px 2px; }.cl-approval-seal svg { width:14px;height:14px; }
  .cl-delivery { width:145px;padding:15px 12px; }.cl-delivery-back { width:134px; }.cl-delivery-title { font-size:17px; }.cl-delivery-status { font-size:12px; }.cl-ledger { width:147px;padding:15px 11px; }.cl-ledger-row { font-size:12px;gap:5px; }.cl-ledger-title { font-size:14px; }.cl-ledger-row .cl-pending-state { gap:3px; }.cl-return { margin-left:11px;width:calc(100% - 65px); }
}
@media (max-width:350px) {
  .cl-shell { width:calc(100% - 36px); }.cl-heading h2 { font-size:31px; }.cl-stage { grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:0; }.cl-step-label { grid-column:1;grid-row:1;margin-top:0; }.cl-step-copy { grid-column:1;grid-row:2;max-width:none;margin:7px 0 14px;font-size:14px; }.cl-artifact { grid-column:1;grid-row:3;width:100%;height:180px;transform:none; }.cl-number { top:0; }.cl-stages::before { top:8px;bottom:230px; }.cl-step-label h3 { font-size:19px; }
  .cl-invoice { width:161px; }.cl-record-stack { width:155px; }.cl-recommendation { width:175px; }.cl-stage--approve .cl-step-label { margin-top:0; }.cl-stage--approve .cl-number { top:0; }.cl-stage--approve .cl-artifact { height:240px; }.cl-approval { width:190px;max-width:190px;padding:18px;min-height:230px; }.cl-approval-title { font-size:20px; }.cl-approval-seal { font-size:12px; }.cl-delivery { width:169px; }.cl-delivery-back { width:157px; }.cl-ledger { width:185px; }.cl-return span { padding-left:5px; }
}

/* Ambient illustration: continuity and a visible unresolved outcome. */
.financial-control-loop {
  --cl-drift-duration:7.6s;
  --cl-flow-duration:9s;
  --cl-wait-duration:1.9s;
  --cl-motion-ease:cubic-bezier(.45,0,.55,1);
}
.cl-artifact { animation:cl-layer-drift var(--cl-drift-duration) var(--cl-motion-ease) infinite;animation-play-state:paused; }
.cl-stage--diagnose .cl-artifact { animation-delay:-1.8s; }
.cl-stage--recommend .cl-artifact { animation-delay:-4.3s; }
.cl-stage--approve .cl-artifact { animation-duration:9.4s;animation-delay:-2.9s; }
.cl-stage--execute .cl-artifact { animation-delay:-5.8s; }
.cl-stage--measure .cl-artifact { animation-delay:-.6s; }
.cl-artifact.cl-motion-visible { animation-play-state:running; }
@keyframes cl-layer-drift {
  0%,100% { translate:0 2px; }
  50% { translate:0 -3px; }
}
.cl-stages::after {
  content:'';position:absolute;pointer-events:none;left:9%;right:9%;top:235px;height:3px;z-index:-1;
  background:linear-gradient(90deg,transparent 36%,rgba(21,128,109,.06) 42%,rgba(21,128,109,.55) 50%,rgba(21,128,109,.06) 58%,transparent 64%);
  background-size:230% 100%;background-repeat:no-repeat;
  animation:cl-rail-light var(--cl-flow-duration) var(--cl-motion-ease) infinite;animation-play-state:paused;
}
.cl-stages.cl-motion-visible::after { animation-play-state:running; }
@keyframes cl-rail-light {
  0%,8% { background-position:180% 0;opacity:0; }
  16%,78% { opacity:1; }
  90%,100% { background-position:-80% 0;opacity:0; }
}
.cl-approval::after { animation:cl-approval-light 6.8s var(--cl-motion-ease) infinite;animation-play-state:paused; }
.cl-artifact.cl-motion-visible .cl-approval::after { animation-play-state:running; }
@keyframes cl-approval-light { 0%,100% { opacity:.25; } 50% { opacity:1; } }
.cl-ledger-end { gap:5px;min-height:8px;align-items:center; }
.cl-ledger-end i { width:5px;height:5px;background:#4F938B;animation:cl-waiting-dot var(--cl-wait-duration) ease-in-out infinite;animation-play-state:paused; }
.cl-ledger-end i:nth-child(2) { animation-delay:.18s; }
.cl-ledger-end i:nth-child(3) { animation-delay:.36s; }
.cl-artifact.cl-motion-visible .cl-ledger-end i { animation-play-state:running; }
@keyframes cl-waiting-dot {
  0%,55%,100% { transform:translateY(0);opacity:.35; }
  25% { transform:translateY(-3px);opacity:1; }
}
@media (max-width:900px) {
  .cl-stages::after { left:12px;right:auto;top:27px;bottom:87px;width:3px;height:auto;background:linear-gradient(180deg,transparent 36%,rgba(21,128,109,.06) 42%,rgba(21,128,109,.45) 50%,rgba(21,128,109,.06) 58%,transparent 64%);background-size:100% 230%;background-repeat:no-repeat;animation-name:cl-rail-light-vertical; }
  @keyframes cl-rail-light-vertical {
    0%,8% { background-position:0 180%;opacity:0; }
    16%,78% { opacity:1; }
    90%,100% { background-position:0 -80%;opacity:0; }
  }
}
@media (max-width:420px) { .cl-stages::after { left:10px; } }
@media (max-width:350px) { .cl-stages::after { top:8px;bottom:230px; } }
@media (prefers-reduced-motion:reduce) {
  .financial-control-loop .cl-artifact,
  .financial-control-loop .cl-approval::after,
  .financial-control-loop .cl-ledger-end i { animation:none;translate:none;transform:none; }
  .financial-control-loop .cl-stages::after { display:none;animation:none; }
  .financial-control-loop .cl-ledger-end i { opacity:.65; }
}
