/* Home page "Our Cloud Tools" showcase (prefix: cbt). The markup is built by deleteable/tools/generators/build_home_tools.py, behaviour is in assets/js/cb-home-tools.js.
   Without JavaScript the four panels are simply stacked; with it (class is-ready on .cbt) they become tabs. */
.cbt { --ink: #1e1b3a; --muted: #5b5a75; --soft: #6b6a86; --line: #e6daff; --aws: #d98a00; --awsbg: #fff7e6; --awst: #8f5b00; --azure: #1b9ad6; --azurebg: #eaf6fd; --azuret: #0b6ea3; --gcp: #e5384f; --gcpbg: #fff0f2; --gcpt: #c62a40;
    position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); padding: 1.25rem;
    background: radial-gradient(900px 380px at 100% -10%, rgba(255,184,34,.24), transparent 60%), radial-gradient(700px 360px at -10% 110%, rgba(84,27,163,.16), transparent 60%), linear-gradient(135deg, #fbf8ff 0%, #f3ecff 48%, #eef4ff 100%); }
.cbt::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(84,27,163,.14) 1px, transparent 1px); background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(circle at 30% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(circle at 30% 30%, #000 0%, transparent 75%); }
.cbt button { font-family: inherit; }
.cbt a { text-decoration: none !important; }
.cbt i.bi { line-height: 1; }

/* ---------- tabs ---------- */
.cbt__tabs { display: none; }
.cbt.is-ready .cbt__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; position: relative; z-index: 2; }
.cbt__tab { --c: #7d4fd0; --c2: #a678e8; --bg: #f3edff; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .8rem; text-align: left;
    padding: 1rem 1rem 1rem .95rem; border-radius: 16px; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.6); color: var(--ink); cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease; }
.cbt__tab::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 16px 16px 0 0; background: linear-gradient(90deg, var(--c), var(--c2)); opacity: 0; transition: opacity .25s; }
.cbt__tab:hover { transform: translateY(-2px); background: rgba(255,255,255,.9); border-color: var(--c); }
.cbt__tab:focus-visible { outline: 3px solid var(--c); outline-offset: 2px; }
.cbt__tab[aria-selected="true"] { background: #fff; border-color: var(--c); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(30,27,58,.10), 0 0 0 1px var(--c); }
.cbt__tab[aria-selected="true"]::before { opacity: 1; }
.cbt__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 16px; height: 16px; margin-left: -8px; background: #fff; border-right: 1px solid var(--c); border-bottom: 1px solid var(--c); transform: rotate(45deg); z-index: 3; }
.cbt__ti { position: relative; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; color: var(--c); background: var(--bg); transition: background .25s, color .25s, box-shadow .25s; }
.cbt__tab[aria-selected="true"] .cbt__ti { color: var(--ti, #fff); background: var(--tile, linear-gradient(135deg, var(--c), var(--c2))); box-shadow: 0 8px 18px var(--glow, rgba(125,79,208,.25)); }
.cbt__dot { position: absolute; right: -3px; top: -3px; width: 11px; height: 11px; border-radius: 50%; background: #12b76a; border: 2px solid #fff; animation: cbtPulse 2.2s ease-out infinite; }
.cbt__tt { display: block; min-width: 0; }
.cbt__tt b { display: block; font-size: .98rem; font-weight: 800; line-height: 1.25; color: var(--ink); }
.cbt__tt small { display: block; margin-top: .2rem; font-size: .78rem; line-height: 1.4; color: var(--muted); }
.cbt__ns { display: none; }
.cbt__tab .cbt__st { position: absolute; right: .7rem; top: .6rem; }
.cbt__st { display: inline-flex; align-items: center; gap: .35rem; font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; border-radius: 999px; padding: .17rem .6rem; background: #e6f8ef; color: #0b6b42; }
.cbt__st i { width: 6px; height: 6px; border-radius: 50%; background: #12b76a; animation: cbtPulse 2.2s ease-out infinite; }
.cbt__st--soon { background: #dbeafe; color: #1e40af; }

/* ---------- stage ---------- */
.cbt__stage { position: relative; margin-top: 1rem; padding: 1.6rem; border-radius: 20px; background: rgba(255,255,255,.9); border: 1px solid #e8e0f7; box-shadow: 0 18px 44px rgba(84,27,163,.10); overflow: hidden; z-index: 1; }
.cbt__stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(460px circle at var(--mx, 85%) var(--my, 0%), var(--glow, rgba(125,79,208,.12)), transparent 62%); }
.cbt__panel { --c: #7d4fd0; --c2: #a678e8; --bg: #f3edff; position: relative; display: grid; gap: 1.2rem 2.2rem; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "demo" "foot"; align-items: start; }
.cbt:not(.is-ready) .cbt__panel + .cbt__panel { margin-top: 2rem; padding-top: 2rem; border-top: 1px dashed #ddd2f5; }
.cbt.is-ready .cbt__panel { display: none; }
.cbt.is-ready .cbt__panel.is-on { display: grid; }
.cbt__head { grid-area: head; } .cbt__demo { grid-area: demo; min-width: 0; } .cbt__foot { grid-area: foot; }
.cbt.is-ready .cbt__panel.is-on .cbt__head, .cbt.is-ready .cbt__panel.is-on .cbt__foot { animation: cbtUp .5s cubic-bezier(.2,.8,.2,1) both; }
.cbt.is-ready .cbt__panel.is-on .cbt__foot { animation-delay: .08s; }
.cbt.is-ready .cbt__panel.is-on .cbt__demo { animation: cbtPop .55s cubic-bezier(.2,.8,.2,1) .05s both; }
@media (min-width: 992px) {
    .cbt__demo { display: flex; }
    .cbt__win { flex: 1 1 auto; display: flex; flex-direction: column; }
    .cbt__screen { flex: 1 1 auto; display: flex; flex-direction: column; }
    .cbt__panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head demo" "foot demo"; grid-template-rows: auto 1fr; }
    .cbt__foot { align-self: end; }
    .cbt.is-ready .cbt__stage { display: grid; }
    .cbt.is-ready .cbt__panel { display: grid; grid-area: 1 / 1; visibility: hidden; opacity: 0; pointer-events: none; }   /* all panels share one cell, so the stage keeps the height of the tallest */
    .cbt.is-ready .cbt__panel.is-on { visibility: visible; opacity: 1; pointer-events: auto; }
}

/* copy */
.cbt__eye { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .8rem; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.cbt__eye > i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: .95rem; color: var(--ti, #fff); background: var(--tile, linear-gradient(135deg, var(--c), var(--c2))); }
.cbt.is-ready .cbt__eye .cbt__st { display: none; }
.cbt__hook { margin: 0 0 .7rem; font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.cbt__what { margin: 0; font-size: .98rem; line-height: 1.65; color: var(--muted); }
.cbt__pts { display: grid; gap: .5rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.cbt__pts li { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; line-height: 1.45; font-weight: 600; color: #3d3b58; }
.cbt__pts li > i { flex: 0 0 auto; margin-top: .12rem; font-size: .95rem; color: var(--c); }
.cbt__use { display: flex; gap: .7rem; align-items: flex-start; margin: 0 0 1.1rem; padding: .8rem .95rem; border-radius: 14px; background: var(--bg); border-left: 4px solid var(--c); font-size: .88rem; line-height: 1.55; color: #3d3b58; }
.cbt__use > i { flex: 0 0 auto; margin-top: .15rem; color: var(--c); font-size: 1rem; }
.cbt__use b { color: var(--ink); }
.cbt__go { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.1rem; }
.cbt__btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .78rem 1.25rem; border-radius: 13px; border: 0; background: var(--c); color: #fff !important; font-size: .9rem; font-weight: 800; line-height: 1.2;
    box-shadow: 0 10px 22px var(--glow, rgba(125,79,208,.25)); transition: transform .2s, box-shadow .2s; }
.cbt__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px var(--glow, rgba(125,79,208,.3)); }
.cbt__btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.cbt__btn i:last-child { transition: transform .2s; }
.cbt__btn:hover i:last-child { transform: translateX(4px); }
.cbt__btn--off { background: #ece8f6; color: #52516d !important; box-shadow: none; cursor: default; }
.cbt__btn--off:hover { transform: none; box-shadow: none; }
.cbt__alt { display: inline-flex; align-items: center; gap: .4rem; font-size: .84rem; font-weight: 700; color: #541ba3; }
.cbt__alt i { transition: transform .2s; }
.cbt__alt:hover { color: #3d1278; } .cbt__alt:hover i { transform: translateX(4px); }

/* ---------- demo window ---------- */
.cbt__win { border-radius: 16px; background: #fff; border: 1px solid #e4def2; box-shadow: 0 16px 36px rgba(84,27,163,.12); overflow: hidden; }
.cbt__bar { display: flex; align-items: center; gap: .4rem; padding: .55rem .8rem; background: linear-gradient(180deg, #fbf9ff, #f3eeff); border-bottom: 1px solid #ece8f6; }
.cbt__bar > i { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; }
.cbt__bar > i:nth-child(2) { background: #ffc94d; } .cbt__bar > i:nth-child(3) { background: #3ddc97; }
.cbt__url { flex: 1 1 auto; min-width: 0; margin: 0 .4rem; padding: .14rem .6rem; border-radius: 999px; background: #fff; border: 1px solid #ece8f6; text-align: center; font-size: .68rem; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbt__url i { margin-right: .3rem; font-size: .62rem; color: #12a05f; }
.cbt__ex { flex: 0 0 auto; font-style: normal; font-size: .58rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c); background: var(--bg); border-radius: 999px; padding: .15rem .55rem; }
.cbt__screen { padding: 1rem; min-height: 22.5rem; background: linear-gradient(180deg, #fff 35%, var(--bg) 190%); }
.cbt__note { margin: .8rem 0 0; font-size: .7rem; line-height: 1.45; color: var(--soft); }
.cbt__chip { border: 1px solid #e4def2; background: #fff; color: var(--muted); font-size: .74rem; font-weight: 700; line-height: 1.2; border-radius: 999px; padding: .3rem .8rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.cbt__chip:hover { border-color: var(--c); color: var(--c); }
.cbt__chip[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.cbt__chip:focus-visible, .cbt__seg button:focus-visible, .cbt__clouds button:focus-visible, .cbt__q button:focus-visible, .cbt__open:focus-visible { outline: 3px solid var(--c); outline-offset: 2px; }

/* ---------- 1. service suggester ---------- */
.cbt__q { display: flex; align-items: center; gap: .55rem; padding: .22rem .22rem .22rem .95rem; border: 2px solid #ffb822; border-radius: 999px; background: #fff; box-shadow: 0 6px 18px rgba(255,184,34,.20); }
.cbt__q > i { flex: 0 0 auto; color: var(--c); font-size: 1rem; }
.cbt__field { position: relative; flex: 1 1 auto; min-width: 0; display: block; }
.cbt__field input { width: 100%; border: 0; outline: 0; background: transparent; font-size: .88rem; color: var(--ink); padding: .5rem 0; text-overflow: ellipsis; }
.cbt__field input::placeholder { color: #a09fba; }
.cbt__fake { display: none; position: absolute; inset: 0; align-items: center; pointer-events: none; background: #fff; font-size: .88rem; color: var(--ink); white-space: nowrap; overflow: hidden; }
.cbt__field.is-fake .cbt__fake { display: flex; }
.cbt__typed { overflow: hidden; text-overflow: ellipsis; }
.cbt__caret { flex: 0 0 auto; width: 2px; height: 1.1em; margin-left: 1px; background: var(--c); animation: cbtBlink 1s steps(2, start) infinite; }
.cbt__q button { flex: 0 0 auto; border: 0; border-radius: 999px; padding: .55rem 1.1rem; background: #ffb822; color: #2a1500; font-size: .8rem; font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.cbt__q button:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(255,184,34,.4); }
.cbt__q.is-press button { animation: cbtPress .5s ease; }
.cbt__try { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .85rem 0 0; }
.cbt__try > span { font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--soft); margin-right: .1rem; }
.cbt__res { margin-top: .85rem; }
.cbt__rs { display: none; gap: .55rem; }
.cbt__rs.is-on { display: grid; }
@media (min-width: 576px) {   /* the example answers share one cell, so the box keeps the height of the longest and nothing below it jumps */
    .cbt__res { display: grid; }
    .cbt__rs { display: grid; grid-area: 1 / 1; align-content: start; visibility: hidden; }
    .cbt__rs.is-on { visibility: visible; }
}
.cbt__need { padding: .6rem .7rem .7rem; border: 1px solid #ece8f6; border-radius: 12px; background: #fff; }
.cbt.is-ready .cbt__rs.is-on .cbt__need { animation: cbtUp .45s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 90ms + 60ms) both; }
.cbt__need > b { display: block; margin-bottom: .4rem; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #6b6a86; }
.cbt__svcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.cbt__svc { padding: .4rem .55rem .45rem; border-radius: 9px; border-left: 3px solid var(--pd); background: var(--pb); font-size: .78rem; font-weight: 700; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.cbt__svc small { display: block; margin-bottom: .12rem; font-size: .56rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--pc); }
.cbt__svc.aws { --pd: var(--aws); --pc: var(--awst); --pb: var(--awsbg); } .cbt__svc.azure { --pd: var(--azure); --pc: var(--azuret); --pb: var(--azurebg); } .cbt__svc.gcp { --pd: var(--gcp); --pc: var(--gcpt); --pb: var(--gcpbg); }

/* ---------- 2. migration readiness ---------- */
.cbt__mr { --bc: #d98a00; --pc: #8f5b00; flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem 1.3rem; }
.cbt__mr.is-early { --bc: #e5384f; --pc: #c62a40; } .cbt__mr.is-prep { --bc: #d98a00; --pc: #8f5b00; } .cbt__mr.is-nearly { --bc: #1b9ad6; --pc: #0b6ea3; } .cbt__mr.is-ready { --bc: #12a05f; --pc: #0b6b42; }
.cbt__gw { display: grid; justify-items: center; align-content: start; gap: .6rem; }
.cbt__gauge { position: relative; width: 136px; height: 136px; }
.cbt__gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cbt__gauge circle { fill: none; stroke-width: 11; }
.cbt__trk { stroke: #e3f1ef; }
.cbt__val { stroke: var(--bc); stroke-linecap: round; transition: stroke-dashoffset .9s cubic-bezier(.2,.8,.2,1), stroke .4s; }
.cbt__gn { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.cbt__gn b { font-size: 2.3rem; font-weight: 800; line-height: 1; color: var(--ink); }
.cbt__gn small { font-size: .66rem; color: var(--soft); }
.cbt__band { margin: 0; text-align: center; }
.cbt__band b { display: block; font-size: .95rem; font-weight: 800; color: var(--pc); transition: color .4s; }
.cbt__band span { display: block; margin-top: .2rem; font-size: .74rem; line-height: 1.45; color: var(--muted); }
.cbt__qs { display: grid; gap: .55rem; align-content: start; }
.cbt__qr { padding: .6rem .7rem .65rem; border: 1px solid #ece8f6; border-radius: 12px; background: #fff; }
.cbt__qr p { margin: 0 0 .5rem; font-size: .8rem; line-height: 1.4; color: #3d3b58; }
.cbt__seg, .cbt__clouds { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 999px; background: #f1eef9; }
.cbt__seg button, .cbt__clouds button { border: 0; background: transparent; color: var(--muted); font-size: .72rem; font-weight: 800; line-height: 1.2; padding: .3rem .8rem; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.cbt__seg button:hover, .cbt__clouds button:hover { color: var(--ink); }
.cbt__seg button[aria-pressed="true"] { background: var(--c); color: #fff; box-shadow: 0 4px 10px var(--glow, rgba(13,148,136,.3)); }
.cbt__tip { grid-column: 1 / -1; display: flex; gap: .6rem; align-items: flex-start; margin: 0; padding: .65rem .8rem; border-radius: 12px; background: var(--bg); font-size: .8rem; line-height: 1.5; color: #24433f; }
.cbt__tip > i { flex: 0 0 auto; margin-top: .1rem; color: var(--c); }
.cbt__mr .cbt__note { grid-column: 1 / -1; margin: 0; }
@media (min-width: 576px) { .cbt__mr { grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto auto 1fr; } .cbt__mr .cbt__note { align-self: end; } }

/* ---------- 3. blueprints ---------- */
.cbt__bp { flex: 1 1 auto; display: flex; flex-direction: column; }
.cbt__bpt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem .9rem; }
.cbt__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.cbt__clouds button[aria-pressed="true"] { color: #fff; background: var(--c); }
.cbt__clouds button[data-c="aws"][aria-pressed="true"] { background: #ffb822; color: #2a1500; } .cbt__clouds button[data-c="azure"][aria-pressed="true"] { background: var(--azuret); } .cbt__clouds button[data-c="gcp"][aria-pressed="true"] { background: var(--gcpt); }
.cbt__flows { margin: 1.2rem 0 .3rem; }
.cbt__flow { display: none; }
.cbt__flow.is-on { display: block; }
.cbt__boxes { display: flex; align-items: stretch; }
.cbt__bx { flex: 1 1 0; min-width: 0; padding: .7rem .5rem .8rem; border-radius: 13px; border: 1.5px solid var(--bxc, var(--c)); background: #fff; text-align: center; box-shadow: 0 8px 18px rgba(27,154,214,.10); }
.cbt.is-ready .cbt__flow.is-on .cbt__bx { animation: cbtPop .45s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 80ms) both; }
.cbt__bx > i { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto .45rem; border-radius: 10px; font-size: 1.05rem; color: var(--bxc, var(--c)); background: var(--bg); }
.cbt__bx small { display: block; margin-bottom: .3rem; font-size: .56rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--pc, var(--c)); }
.cbt__bx--ends { border-style: dashed; box-shadow: none; background: transparent; }
.cbt__nm { display: none; font-size: .8rem; font-weight: 800; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.cbt__bp[data-cloud="generic"] .cbt__nm[data-c="generic"], .cbt__bp[data-cloud="aws"] .cbt__nm[data-c="aws"], .cbt__bp[data-cloud="azure"] .cbt__nm[data-c="azure"], .cbt__bp[data-cloud="gcp"] .cbt__nm[data-c="gcp"] { display: block; animation: cbtFade .35s ease both; }
.cbt__bp[data-cloud="generic"] .cbt__nm--i[data-c="generic"], .cbt__bp[data-cloud="aws"] .cbt__nm--i[data-c="aws"], .cbt__bp[data-cloud="azure"] .cbt__nm--i[data-c="azure"], .cbt__bp[data-cloud="gcp"] .cbt__nm--i[data-c="gcp"] { display: inline; }
.cbt__bp[data-cloud="aws"] { --bxc: var(--aws); --pc: var(--awst); } .cbt__bp[data-cloud="azure"] { --bxc: var(--azure); --pc: var(--azuret); } .cbt__bp[data-cloud="gcp"] { --bxc: var(--gcp); --pc: var(--gcpt); }
.cbt__also { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .9rem; }
.cbt__alsol { flex: 0 0 100%; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.cbt__pill { display: inline-flex; align-items: baseline; gap: .4rem; padding: .3rem .65rem; border-radius: 999px; border: 1px dashed var(--bxc, var(--c)); background: #fff; font-size: .72rem; color: var(--ink); }
.cbt__pill small { font-size: .56rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pc, var(--c)); }
.cbt__pill .cbt__nm { font-size: .74rem; }
.cbt__arr { flex: 0 0 26px; position: relative; align-self: center; height: 12px; }
.cbt__arr::before { content: ""; position: absolute; left: 2px; right: 8px; top: 5px; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--bxc, var(--c)) 0 5px, transparent 5px 9px); background-size: 9px 2px; animation: cbtFlow .9s linear infinite; }
.cbt__arr::after { content: ""; position: absolute; right: 1px; top: 1px; border-left: 7px solid var(--bxc, var(--c)); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.cbt__bp .cbt__note { margin-bottom: .9rem; }
.cbt__open { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: auto; padding: .7rem .95rem; border-radius: 12px; background: var(--bg); color: var(--ink) !important; font-size: .84rem; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.cbt__open b { color: var(--c); }
.cbt__open i { color: var(--c); transition: transform .2s; }
.cbt__open:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(30,27,58,.08); } .cbt__open:hover i { transform: translateX(4px); }

/* ---------- 4. cloud detox (illustration) ---------- */
.cbt__dx { flex: 1 1 auto; align-content: center; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem 1.4rem; align-items: center; justify-items: center; }
.cbt__radar { position: relative; width: 150px; height: 150px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(217,138,0,.4);
    background: radial-gradient(circle, rgba(255,184,34,.16), transparent 72%), repeating-radial-gradient(circle, transparent 0 24px, rgba(217,138,0,.26) 24px 25px); }
.cbt__radar::before, .cbt__radar::after { content: ""; position: absolute; background: rgba(217,138,0,.22); }
.cbt__radar::before { left: 50%; top: 0; bottom: 0; width: 1px; } .cbt__radar::after { top: 50%; left: 0; right: 0; height: 1px; }
.cbt__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(245,183,58,0) 0deg, rgba(245,183,58,.55) 70deg, rgba(245,183,58,0) 71deg); animation: cbtSpin 3.2s linear infinite; }
.cbt__core { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--c); box-shadow: 0 4px 12px rgba(217,138,0,.3); font-size: 1rem; z-index: 2; }
.cbt__blip { position: absolute; left: var(--x); top: var(--y); width: 9px; height: 9px; margin: -4px 0 0 -4px; border-radius: 50%; background: #e5384f; opacity: 0; animation: cbtBlip 3.2s ease-out infinite; animation-delay: var(--d); z-index: 1; }
.cbt__scan { width: 100%; min-width: 0; }
.cbt__scanning { margin: 0 0 .45rem; font-size: .78rem; color: var(--muted); }
.cbt__scanning b { color: var(--ink); }
.cbt__prog { height: 8px; border-radius: 999px; background: #f6ecd3; overflow: hidden; margin-bottom: .75rem; }
.cbt__prog span { display: block; height: 100%; width: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--c), var(--c2)); transform-origin: left; }
.cbt.is-ready .cbt__panel.is-on .cbt__prog span { animation: cbtFill 3.2s cubic-bezier(.3,.7,.3,1) both; }
.cbt__found { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.cbt__found li { display: flex; align-items: center; gap: .6rem; padding: .5rem .65rem; border: 1px solid #f3e3b8; border-radius: 11px; background: #fffaf0; font-size: .8rem; color: #3d3b58; }
.cbt__found li > i { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: .95rem; color: var(--c); background: #fff; box-shadow: 0 2px 6px rgba(217,138,0,.18); }
.cbt__found li > span { flex: 1 1 auto; min-width: 0; font-weight: 600; }
.cbt__found li > em { flex: 0 0 auto; font-style: normal; font-size: .6rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #b4263a; background: #ffe8ec; border-radius: 999px; padding: .12rem .5rem; }
.cbt.is-ready .cbt__panel.is-on .cbt__found li { animation: cbtUp .45s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 650ms + 500ms) both; }
.cbt__sum { margin: .7rem 0 0; font-size: .82rem; font-weight: 800; color: #0b6b42; }
.cbt__sum i { margin-right: .3rem; }
.cbt.is-ready .cbt__panel.is-on .cbt__sum { animation: cbtUp .45s ease 3.2s both; }
@media (min-width: 576px) { .cbt__dx { grid-template-columns: 160px minmax(0, 1fr); } .cbt__radar { width: 160px; height: 160px; } }

/* ---------- small screens ---------- */
@media (max-width: 991.98px) {
    .cbt.is-ready .cbt__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cbt__tab[aria-selected="true"]::after { display: none; }
}
@media (max-width: 575.98px) {
    .cbt { padding: .8rem; border-radius: 18px; }
    .cbt.is-ready .cbt__tabs { gap: .55rem; }
    .cbt__tab { gap: .5rem; padding: .65rem .7rem; border-radius: 14px; }
    .cbt__tt small { display: none; }
    .cbt__tab .cbt__st { top: .3rem; right: .35rem; font-size: .52rem; padding: .08rem .4rem; }
    .cbt__ti { width: 34px; height: 34px; font-size: 1.05rem; border-radius: 10px; }
    .cbt__tt b { font-size: .8rem; }
    .cbt__nf { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
    .cbt__ns { display: inline; }
    .cbt__stage { padding: 1.05rem; margin-top: .7rem; border-radius: 16px; }
    .cbt__screen { padding: .8rem; min-height: 0; }
    .cbt__svcs { grid-template-columns: minmax(0, 1fr); }
    .cbt__svc { display: flex; align-items: baseline; gap: .5rem; }
    .cbt__svc small { flex: 0 0 4.2rem; margin: 0; }
    .cbt__clouds { display: flex; width: 100%; flex-wrap: nowrap; }
    .cbt__clouds button { flex: 1 1 auto; padding: .3rem .4rem; font-size: .7rem; white-space: nowrap; }
    .cbt__boxes { flex-direction: column; }
    .cbt__bx { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ico role" "ico name"; column-gap: .75rem; row-gap: 0; align-items: center; text-align: left; padding: .5rem .7rem; }
    .cbt__bx > i { grid-area: ico; margin: 0; }
    .cbt__bx small { grid-area: role; margin: 0 0 .1rem; }
    .cbt__nm { grid-area: name; }
    .cbt__arr { flex: 0 0 20px; align-self: center; width: 12px; height: 20px; }
    .cbt__arr::before { left: 5px; right: auto; top: 2px; bottom: 8px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--bxc, var(--c)) 0 5px, transparent 5px 9px); background-size: 2px 9px; animation-name: cbtFlowY; }
    .cbt__arr::after { right: auto; left: 1px; top: auto; bottom: 1px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid var(--bxc, var(--c)); border-bottom: 0; }
    .cbt__q button { padding: .5rem .85rem; }
    .cbt__hook { font-size: 1.35rem; }
}

/* ---------- motion ---------- */
@keyframes cbtUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes cbtPop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes cbtFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cbtPulse { 0% { box-shadow: 0 0 0 0 rgba(18,183,106,.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(18,183,106,0); } }
@keyframes cbtBlink { to { visibility: hidden; } }
@keyframes cbtPress { 40% { transform: scale(.94); box-shadow: 0 0 0 6px rgba(255,184,34,.35); } }
@keyframes cbtFlow { to { background-position: 9px 0; } }
@keyframes cbtFlowY { to { background-position: 0 9px; } }
@keyframes cbtSpin { to { transform: rotate(360deg); } }
@keyframes cbtBlip { 0% { opacity: 0; transform: scale(.4); } 10% { opacity: 1; transform: scale(1.2); } 40% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes cbtFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
    .cbt *, .cbt *::before, .cbt *::after { animation: none !important; transition: none !important; }
    .cbt__blip { opacity: 1; }
}

/* YouTube button right beside the section title (the look comes from .cbh__yt; the video link is CB_TOOLS_VIDEO in cb-config.js).
   Title and button are centred together; the button is sized to the heading so the two line up. */
.cbt-sec .cbt-titlerow { display: flex; align-items: center; justify-content: center; gap: .7rem; margin: 0 0 .35rem; }
.cbt-sec .cbt-titlerow h2 { margin: 0; }
.cbt-sec .cbt__yt { margin: 0; width: 38px; height: 38px; border-radius: 12px; }
.cbt-sec .cbt__yt i { font-size: 1.3rem; }
@media (max-width: 575.98px) { .cbt-sec .cbt__yt { width: 34px; height: 34px; border-radius: 10px; } .cbt-sec .cbt__yt i { font-size: 1.15rem; } }
