/* ============================================
   RO forecasting deck: additions to deck.css
   ============================================ */

/* staggered entrance of blocks on the active slide */
.slide .rise { opacity: 0; transform: translateY(1.2rem); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.slide.active .rise { opacity: 1; transform: none; }
.slide.active .rise.s1 { transition-delay: .12s; } .slide.active .rise.s2 { transition-delay: .24s; }
.slide.active .rise.s3 { transition-delay: .36s; } .slide.active .rise.s4 { transition-delay: .48s; }
.slide.active .rise.s5 { transition-delay: .60s; } .slide.active .rise.s6 { transition-delay: .72s; }
html.flow .slide .rise { opacity: 1; transform: none; }

/* hero logo */
.hero-logo { height: 3.4rem; filter: invert(1) brightness(1.1); opacity: .92; align-self: flex-start; margin-bottom: 1.4rem; }
.slide.hero .kick { margin-top: 2.2rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* animated scheme */
.schemebox { background: #0A1324; border: 1px solid rgba(0, 212, 255, .2); border-radius: 1.1rem; padding: .4rem .6rem; box-shadow: var(--glow); min-height: 0; display: flex; align-items: center; justify-content: center; flex: 1 1 0; }
.schemebox svg { width: 100%; height: 100%; }
.schemebox text { font-family: 'Ubuntu', sans-serif; }
.legend-row { display: flex; flex-wrap: wrap; gap: 1.1rem; font-size: .68rem; color: var(--muted); }
.legend-row span { display: inline-flex; align-items: center; gap: .4rem; }
.legend-row i { width: 1.4rem; height: .2rem; border-radius: 2px; display: inline-block; }
.legend-row i.dash { background: repeating-linear-gradient(90deg, currentColor 0 .35rem, transparent .35rem .55rem) !important; height: .18rem; }

/* versus cards */
.vs { display: grid; grid-template-columns: 1fr 4rem 1fr; gap: 0; flex: 1; align-content: center; align-items: stretch; }
.vs .side { padding: 1.5rem 1.6rem; border-radius: 1.2rem; display: flex; flex-direction: column; gap: .8rem; }
.vs .ons { background: linear-gradient(135deg, rgba(0, 212, 255, .12), rgba(0, 102, 255, .12)), rgba(26, 26, 36, .85); border: 1px solid rgba(0, 212, 255, .45); box-shadow: 0 0 3.5rem rgba(0, 212, 255, .18); }
.vs .pro { background: rgba(26, 26, 36, .6); border: 1px solid rgba(249, 115, 22, .3); }
.vs .mid { display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--muted); letter-spacing: .1em; }
.vs h3 { font-size: 1.45rem; font-weight: 300; }
.vs .lab { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; }
.vs .ons .lab { color: var(--primary); } .vs .pro .lab { color: #fb923c; }
.vs ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.vs li { position: relative; padding-left: 1.3rem; font-size: .9rem; color: var(--soft); line-height: 1.45; }
.vs .ons li::before { content: '\2713'; position: absolute; left: 0; color: var(--ok); }
.vs .pro li::before { content: '\2715'; position: absolute; left: 0; color: #fb923c; }
.vs li b { color: #fff; font-weight: 500; }
.vs .foot { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--border); font-size: .78rem; color: var(--muted); }

/* big duel numbers */
.duel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.duel .d { padding: 1.1rem 1.2rem; border-radius: 1rem; background: rgba(26, 26, 36, .78); border: 1px solid rgba(0, 212, 255, .2); box-shadow: var(--glow); }
.duel small { display: block; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.duel .row { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.duel .big { font-size: 2.3rem; font-weight: 300; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.duel .other { font-size: 1.05rem; color: #fb923c; font-variant-numeric: tabular-nums; text-align: right; }
.duel .other em { display: block; font-style: normal; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.duel .note { margin-top: .55rem; font-size: .74rem; color: var(--soft); }
.duel .x { color: var(--ok); font-weight: 500; }

.crow .f.ons { background: linear-gradient(90deg, rgba(0, 212, 255, .6), rgba(0, 102, 255, .85)); }
.crow .f.pro { background: linear-gradient(90deg, rgba(249, 115, 22, .45), rgba(249, 115, 22, .85)); }
.crow .f.ok { background: linear-gradient(90deg, rgba(46, 230, 166, .45), rgba(46, 230, 166, .85)); }
.crow .tick { position: absolute; top: -.25rem; bottom: -.25rem; width: 2px; background: #fff; opacity: .7; }
.cbars .sub { font-size: .72rem; color: var(--muted); margin-top: -.3rem; }

/* pipeline (operator workflow) */
.pipe { display: grid; grid-template-columns: repeat(6, 1fr); gap: .9rem; position: relative; flex: 1; align-content: center; }
.pipe .pk:not(:last-child)::before { content: ''; position: absolute; left: 4.1rem; right: -.9rem; top: 2.05rem; height: 2px; background: linear-gradient(90deg, rgba(0, 212, 255, .65), rgba(0, 212, 255, .15)); }
.pipe .pk:not(:last-child)::after { content: ''; position: absolute; top: calc(2.05rem - 3px); left: 4.1rem; width: 8px; height: 8px; border-radius: 50%; background: #00d4ff; box-shadow: 0 0 10px #00d4ff; opacity: 0; }
.slide.active .pipe .pk:not(:last-child)::after { animation: travel 3.6s linear infinite; }
.pipe .pk:nth-child(2)::after { animation-delay: .6s !important; } .pipe .pk:nth-child(3)::after { animation-delay: 1.2s !important; }
.pipe .pk:nth-child(4)::after { animation-delay: 1.8s !important; } .pipe .pk:nth-child(5)::after { animation-delay: 2.4s !important; }
@keyframes travel { 0% { opacity: 0; transform: translateX(0); } 8% { opacity: 1; } 22% { opacity: 1; transform: translateX(var(--hop, 9rem)); } 26%, 100% { opacity: 0; transform: translateX(var(--hop, 9rem)); } }
.pipe .pk { position: relative; display: flex; flex-direction: column; gap: .55rem; }
.pipe .dot { width: 4.1rem; height: 4.1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; background: #0e1626; border: 1px solid rgba(0, 212, 255, .5); box-shadow: 0 0 1.6rem rgba(0, 212, 255, .25); z-index: 1; color: var(--primary); }
.slide.active .pipe .dot { animation: pulse 3.6s ease-in-out infinite; }
.pipe .pk:nth-child(2) .dot { animation-delay: .6s; } .pipe .pk:nth-child(3) .dot { animation-delay: 1.2s; }
.pipe .pk:nth-child(4) .dot { animation-delay: 1.8s; } .pipe .pk:nth-child(5) .dot { animation-delay: 2.4s; } .pipe .pk:nth-child(6) .dot { animation-delay: 3s; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 1.2rem rgba(0, 212, 255, .2); border-color: rgba(0, 212, 255, .4); } 15% { box-shadow: 0 0 2.6rem rgba(0, 212, 255, .75); border-color: #00d4ff; } }
.pipe .n { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.pipe h4 { font-size: 1rem; font-weight: 400; line-height: 1.25; }
.pipe p { font-size: .76rem; color: var(--soft); line-height: 1.45; }
.pipe p b { color: #fff; font-weight: 500; }
html.flow .pipe { grid-template-columns: 1fr 1fr; } html.flow .pipe .pk::before, html.flow .pipe .pk::after { display: none; }

/* status pill */
.status { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem; border-radius: 100px; font-size: .74rem; letter-spacing: .06em; border: 1px solid rgba(255, 77, 94, .5); background: rgba(255, 77, 94, .1); color: #ffb3bb; }
.status i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--bad); box-shadow: 0 0 .8rem var(--bad); animation: blink 1.2s ease-in-out infinite; }
.status.ok { border-color: rgba(46, 230, 166, .5); background: rgba(46, 230, 166, .08); color: #a7f3d0; }
.status.ok i { background: var(--ok); box-shadow: 0 0 .8rem var(--ok); }
@keyframes blink { 50% { opacity: .25; } }

/* two-period comparison */
.periods { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.period { padding: 1.2rem 1.3rem; border-radius: 1.1rem; background: rgba(26, 26, 36, .78); border: 1px solid rgba(46, 230, 166, .3); display: flex; flex-direction: column; gap: .7rem; }
.period.alarm { border-color: rgba(255, 77, 94, .5); box-shadow: 0 0 3rem rgba(255, 77, 94, .14); }
.period h3 { font-size: 1.2rem; font-weight: 300; }
.period .when { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.period .nums { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.period .nums div { font-size: .7rem; color: var(--muted); }
.period .nums b { display: block; font-size: 1.5rem; font-weight: 300; color: #fff; font-variant-numeric: tabular-nums; }
.period.alarm .nums b { color: #ffb3bb; }
.period p { font-size: .82rem; color: var(--soft); }

/* check card */
.check { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.check div { padding: .9rem 1rem; border-radius: .9rem; background: rgba(26, 26, 36, .78); border: 1px solid rgba(0, 212, 255, .2); font-size: .72rem; color: var(--muted); }
.check b { display: block; font-size: 1.45rem; font-weight: 300; color: #fff; font-variant-numeric: tabular-nums; }
.check .bad b { color: #ff8b97; } .check .bad { border-color: rgba(255, 77, 94, .45); }

.tbl.compact td, .tbl.compact th { padding: .36rem .55rem; }
.tbl .mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: .72rem; color: #c9e9ff; }
.tbl td.yes { color: var(--ok); } .tbl td.no { color: #fb923c; }

.bigq { font-size: 1.45rem; font-weight: 300; line-height: 1.35; color: #fff; max-width: 60rem; }
.bigq .g { font-weight: 400; }

.tbl.compact td:first-child { min-width: 0; }
.slide .schemebox.full { flex: 1 1 0; }

/* Onsieve logo on every slide (same as the website edition of the capabilities deck) */
.chrome-top { top: .55rem; }
.chrome-top .brand { display: inline-flex; align-items: center; opacity: .95; }
.chrome-top .brand img { height: 2.1rem; width: auto; display: block; }
.chrome-top .right { display: inline-flex; align-items: center; gap: 1.6rem; }
.stage:has(.slide[data-title="Title"].active) .chrome-top .brand { visibility: hidden; }
.hero-logo { filter: none; height: 5.2rem; opacity: 1; }
html.flow .chrome-top { display: none; }
