/* Cardinal Relay landing: the live board, the escalation slider, and feature hover art.
   Teal (--c) means movement and the product; amber and red only ever mean a wait. */
.mark-logo{flex-shrink:0;filter:drop-shadow(0 0 10px rgba(91,198,217,.35))}

/* ---------- hero: copy beside the live board ---------- */
.hero-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(28px,5vw,64px);align-items:center}
.hero-split .hero-copy h1{margin-bottom:22px}
.board{margin:0;background:linear-gradient(180deg,var(--deck),#0d1017);border:1px solid var(--rule);border-radius:18px;padding:16px 16px 14px;position:relative;box-shadow:0 30px 80px -40px rgba(91,198,217,.25)}
.board-head{display:flex;justify-content:space-between;align-items:center;padding:2px 4px 12px;font-size:13px;color:var(--ink-2)}
.board-live{display:inline-flex;align-items:center;gap:8px;color:var(--ink);font-weight:600}
.board-live i{width:8px;height:8px;border-radius:50%;background:var(--c);box-shadow:0 0 0 0 rgba(91,198,217,.6);animation:livePulse 2.4s ease-out infinite}
@keyframes livePulse{0%{box-shadow:0 0 0 0 rgba(91,198,217,.55)}70%{box-shadow:0 0 0 9px rgba(91,198,217,0)}100%{box-shadow:0 0 0 0 rgba(91,198,217,0)}}
.board-count{font-family:var(--mono);font-size:12.5px;color:var(--dim)}
.lanes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.lane{background:rgba(255,255,255,.015);border:1px solid var(--rule-soft);border-radius:12px;padding:8px 6px 6px;min-height:236px;display:flex;flex-direction:column;gap:6px}
.lane-name{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--dim);padding:0 4px 4px}
.lane-name b{font-weight:600;color:var(--ink-2)}
.lane-name span{font-family:var(--mono)}
.chip{position:relative;background:var(--void);border:1px solid var(--rule);border-radius:9px;padding:7px 8px 8px 11px;overflow:hidden;transition:border-color .35s,background-color .35s}
.chip::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--c);transition:background-color .35s}
.chip b{display:block;font-size:13px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chip small{display:flex;justify-content:space-between;gap:6px;font-family:var(--mono);font-size:11px;color:var(--dim);margin-top:2px}
.chip .stk{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chip .clk{color:var(--ink-2);white-space:nowrap;flex-shrink:0}
.chip.amber{border-color:rgba(233,185,73,.55)} .chip.amber::before{background:#E9B949} .chip.amber .clk{color:#E9B949}
.chip.red{border-color:rgba(242,85,90,.65);background:rgba(242,85,90,.07)} .chip.red::before{background:#F2555A} .chip.red .clk{color:#F2555A}
.chip.red{animation:redBeat 1.6s ease-in-out infinite}
@keyframes redBeat{50%{box-shadow:0 0 0 3px rgba(242,85,90,.12)}}
.toasts{display:grid;gap:6px;margin-top:10px;min-height:72px;align-content:end}
.toast{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.4;color:var(--ink-2);background:var(--void);border:1px solid var(--rule);border-radius:10px;padding:8px 11px;animation:toastIn .45s cubic-bezier(.22,1,.36,1)}
.toast i{flex-shrink:0;width:7px;height:7px;border-radius:50%;margin-top:6px;background:var(--c)}
.toast.amber i{background:#E9B949} .toast.red i{background:#F2555A}
.toast b{color:var(--ink);font-weight:600}
.toast.out{opacity:0;transform:translateY(-4px);transition:opacity .4s,transform .4s}
@keyframes toastIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ---------- how: the escalation slider lights the stages below it ---------- */
.esc{background:var(--deck);border:1px solid var(--rule);border-radius:16px;padding:clamp(18px,3vw,26px);margin-bottom:clamp(24px,4vh,36px)}
.esc-deal{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--ink-2);margin-bottom:18px;flex-wrap:wrap}
.esc-deal b{color:var(--ink)}
.esc-dot{width:10px;height:10px;border-radius:50%;background:var(--c);transition:background-color .3s,box-shadow .3s}
.esc-clock{margin-left:auto;font-family:var(--mono);font-size:22px;color:var(--ink);transition:color .3s}
.esc.amber .esc-dot{background:#E9B949} .esc.amber .esc-clock{color:#E9B949}
.esc.red .esc-dot,.esc.unanswered .esc-dot{background:#F2555A;box-shadow:0 0 0 5px rgba(242,85,90,.15)} .esc.red .esc-clock,.esc.unanswered .esc-clock{color:#F2555A}
.esc-label{display:block;font-size:13.5px;color:var(--ink-2);margin-bottom:8px}
#escRange{width:100%;accent-color:var(--c)}
.esc-scale{position:relative;height:16px;font-family:var(--mono);font-size:11.5px;color:var(--dim);margin:4px 8px 0}
.esc-scale span{position:absolute;transform:translateX(-50%);white-space:nowrap}
.esc-scale span:first-child{transform:none}
.esc-now{margin:14px 0 0;font-size:15px;color:var(--ink)}
#how .stage{transition:opacity .35s}
#how .stage h3{transition:color .35s}
#how.armed .stage{opacity:.38}
#how.armed .stage.on{opacity:1}
#how.armed .stage:not(.on) h3{color:var(--ink-2)}
#how .stage[data-at="10"].on h3{color:#E9B949}
#how .stage[data-at="20"].on h3,#how .stage[data-at="30"].on h3{color:#F2555A}

/* ---------- feature hover art: still until hovered or focused ---------- */
.feat{position:relative}
.fx{display:block;width:120px;height:64px;margin-bottom:16px;overflow:visible}
.fx rect,.fx line,.fx circle{transition:transform .7s cubic-bezier(.22,1,.36,1),fill .4s,opacity .4s}
.fx-lanes rect,.fx-panel{fill:none;stroke:var(--rule);stroke-width:1.5}
.fx-chip{fill:var(--c);opacity:.85}
.fx-chip.warn{fill:#E9B949}
.feat:hover .fx-board .c1{transform:translateX(30px)} .feat:hover .fx-board .c2{transform:translateX(30px)} .feat:hover .fx-board .c3{transform:translateX(30px);fill:var(--c)}
.fx-row{fill:var(--rule)}
.fx-btn{fill:none;stroke:var(--c);stroke-width:1.5}
.feat:hover .fx-console .fx-btn{fill:rgba(91,198,217,.25)} .feat:hover .fx-console .b2{fill:var(--c)}
.fx-alert rect{fill:var(--void);stroke:#F2555A;stroke-width:1.5} .fx-alert circle{fill:#F2555A}
.fx-alert{transform:translateY(-14px);opacity:0;transition:transform .6s cubic-bezier(.22,1,.36,1),opacity .4s}
.feat:hover .fx-alert{transform:none;opacity:1}
.fx-bars line{stroke:var(--rule);stroke-width:1.5}
.fx-bars rect{fill:var(--c);opacity:.8;transform-box:fill-box;transform-origin:bottom;transform:scaleY(.55)}
.feat:hover .fx-bars rect{transform:scaleY(1)} .feat:hover .fx-bars .b2{transition-delay:.06s} .feat:hover .fx-bars .b3{transition-delay:.12s} .feat:hover .fx-bars .b4{transition-delay:.18s}

@media(max-width:980px){.hero-split{grid-template-columns:1fr}.lane{min-height:200px}}
@media(max-width:560px){.lanes{grid-template-columns:repeat(2,minmax(0,1fr))}.lane{min-height:0}.esc-clock{font-size:18px}}
@media(prefers-reduced-motion:reduce){.board-live i,.chip.red{animation:none}.toast{animation:none}.fx rect,.fx-alert{transition:none}}
.hero-split .hero-copy h1{font-size:clamp(46px,6vw,84px)}
