/* Second Brain page (services/ai-operating-system.html). Loads after theme-v2.css and pages-v2.css.
   Every animated example is a [data-bnd] stage driven by brain-v2.js: elements with data-at appear at that many ms. */

/* ---------- motion engine states (pure CSS, only when JS is on and the stage has not finished) ---------- */
.bn-js [data-at]{transition:opacity .45s var(--ease),transform .45s var(--ease),box-shadow .45s var(--ease)}
.bn-js [data-bnd]:not(.fin) [data-at]:not(.on){opacity:0;transform:translateY(8px)}
.bn-js [data-bnd]:not(.fin) [data-at].nt:not(.on){transform:none}
.bn-js [data-bnd]:not(.fin) [data-type][data-at]:not(.on){visibility:hidden}
.bn-js [data-bnd]:not(.fin) .tk[data-at]:not(.on){opacity:1;transform:scale(0)}
.bn-js [data-bnd]:not(.fin) .tk[data-at].on{transform:scale(1)}
.bn-js [data-bnd]:not(.fin) .bn-pop[data-at]:not(.on){transform:scale(.7)}
.bn-js [data-bnd]:not(.fin) .bn-chip[data-at]:not(.on){opacity:.4;transform:scale(.98);box-shadow:0 0 0 1px var(--line)}
.bn-js [data-bnd]:not(.fin) .bn-chip:not(.on) .tk{transform:scale(0)}
.bn-js [data-bnd]:not(.fin) .bn-bl[data-at]:not(.on)::before{transform:scale(0)}
.bn-off.off{opacity:0;transform:translateY(-6px)}
.typing::after{content:"";display:inline-block;width:1.5px;height:1.05em;margin-left:2px;vertical-align:-.15em;background:var(--gold);animation:bnBlink .8s steps(2,start) infinite}
@keyframes bnBlink{50%{opacity:.25}}

/* ---------- replay button (same look as the homepage's) ---------- */
.bn-top{position:absolute;left:16px;right:14px;top:12px;display:flex;justify-content:flex-end;z-index:4}
.bn-replay{position:relative;display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px 0 10px;border:0;border-radius:var(--r-pill);background:rgba(255,255,255,.92);box-shadow:0 0 0 1px rgba(29,29,31,.08),0 2px 6px -3px rgba(60,44,12,.25);font:inherit;font-size:12px;font-weight:550;color:var(--ink-2);cursor:pointer;transition:opacity .3s,background-color .25s,color .25s}
.bn-replay::before{content:"";position:absolute;left:-4px;right:-4px;top:-7px;bottom:-7px}
.bn-replay .i{width:13px;height:13px;transition:transform .5s var(--ease)}
.bn-replay:hover{background:#fff;color:var(--ink)}
.bn-replay:hover .i{transform:rotate(-140deg)}
[data-bnd].playing .bn-replay{opacity:.5;cursor:default}

/* ---------- icon boxes: always dead centre ---------- */
.mk-ico{display:grid!important;place-items:center;line-height:0}
.mk-ico>svg,.mk-ico>img{display:block;margin:0}

/* ---------- hero ---------- */
.bn-hero{padding-bottom:0}
.bn-hero .sv-h1 .gl{display:inline-block;padding:0 .04em .12em;color:#93732f;background:linear-gradient(180deg,#b3903f 8%,#86682a 96%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.bn-hero .sv-sub{max-width:520px}
.bn-hero .sv-ctas{display:flex;flex-wrap:wrap;gap:12px}
.bn-stage{padding:56px clamp(16px,2.6vw,30px) clamp(20px,2.6vw,30px);align-content:center;min-height:0}
.bn-stage .dm-win{max-width:500px}
.bn-stage .dm-title .dm-org{color:var(--ink)}
.bn-stage .dm-sep{color:var(--ink-4);font-weight:400}
.bn-stage .dm-title .i{color:var(--gold-deep)}
.bn-st{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:500;color:var(--gold-ink);white-space:nowrap}
.bn-st-dot{width:7px;height:7px;border-radius:50%;background:var(--gold)}
.bn-st .s-a,.bn-st .s-b{display:none}
.bn-js [data-bnd]:not(.fin) .bn-st .s-c{display:none}
.bn-js [data-bnd]:not(.fin) .bn-st .s-a{display:inline;color:var(--ink-3)}
.bn-js [data-bnd]:not(.fin) .bn-st-dot{background:#d8d1c3}
.bn-js [data-bnd].run .bn-st .s-a{display:none}
.bn-js [data-bnd].run .bn-st .s-b{display:inline}
.bn-js [data-bnd].run .bn-st-dot{background:var(--gold);animation:bnBlink 1s steps(2,start) infinite}
.bn-body{display:flex;flex-direction:column;gap:12px;padding:16px 16px 14px}
.bn-q{display:flex;align-items:flex-start;gap:10px}
.bn-q .av{margin-top:2px}
.bn-qbox{flex:1;min-width:0;padding:9px 12px 10px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px var(--line-2),0 8px 18px -14px rgba(60,44,12,.35)}
.bn-who{display:block;font-size:11px;font-weight:550;color:var(--ink-3)}
.bn-qt{margin-top:2px;min-height:2.9em;font-size:14px;line-height:1.45;font-weight:500;letter-spacing:-.012em;color:var(--ink)}
.bn-lab{margin-bottom:7px;font-size:11px;font-weight:550;letter-spacing:.02em;color:var(--ink-3)}
.bn-srcs{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.bn-chip{position:relative;display:flex;align-items:center;gap:9px;min-width:0;padding:8px 10px;border-radius:11px;background:#fff;box-shadow:0 0 0 1px rgba(200,164,85,.5),0 6px 14px -10px rgba(140,109,44,.5)}
.bn-chip .mk-ico{width:28px;height:28px;border-radius:8px}
.bn-chip .mk-t b{font-size:12px}
.bn-chip .mk-t span{font-size:11px}
.bn-chip .tk{width:16px;height:16px;box-shadow:none;transform:scale(1)}
.bn-chip .tk .i{width:10px;height:10px}
.bn-ans{padding:12px 14px;border-radius:13px;background:linear-gradient(180deg,#fdfaf2,#fbf6ea);box-shadow:inset 0 0 0 1px rgba(200,164,85,.34)}
.bn-ah{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.bn-spark{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:var(--ink);color:#f0d698}
.bn-spark .i{width:12px;height:12px}
.bn-ah b{font-size:12px;font-weight:600;color:var(--gold-ink)}
.bn-at{min-height:5.8em;font-size:13.5px;line-height:1.55;letter-spacing:-.008em;color:var(--ink)}
.bn-af{display:flex;align-items:center;gap:7px;margin-top:8px;padding-top:9px;border-top:1px solid rgba(140,109,44,.16);font-size:11.5px;font-weight:500;color:var(--gold-ink)}
.bn-af .tk{width:16px;height:16px;box-shadow:none}
.bn-af .tk .i{width:10px;height:10px}
.bn-af>span:last-child{margin-left:auto;color:var(--ink-3)}

/* ---------- section scaffolding ---------- */
.bn-sec{position:relative;padding:clamp(72px,8vw,112px) 0 0}
.bn-sec .split-head{align-items:end;margin-bottom:clamp(28px,3.4vw,44px)}
.bn-note{margin:0 0 16px;font-size:12.5px;color:var(--ink-3)}
.bn-note b{margin-right:8px;font-weight:600;color:var(--ink-2)}
.bn-label{margin-bottom:16px;font-size:13px;font-weight:550;letter-spacing:-.005em;color:var(--gold-ink)}

/* ---------- connected: tiles, flowing lines, core ---------- */
.bn-conn{padding:56px clamp(16px,2.6vw,34px) clamp(20px,2.6vw,34px);border-radius:32px}
.bn-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bn-tile{position:relative;display:flex;flex-direction:column;gap:12px;padding:20px 18px 22px;border-radius:20px;background:#fff;box-shadow:var(--sh-sm)}
.bn-tile .mk-ico{width:42px;height:42px;border-radius:12px;margin-bottom:2px}
.bn-tile .mk-ico img{width:22px;height:22px}
.bn-tile .mk-ico .i{width:20px;height:20px}
.bn-tile h3{font-size:17px;font-weight:550;letter-spacing:-.025em;line-height:1.2;color:var(--ink)}
.bn-tile p{margin-top:-6px;font-size:14px;line-height:1.5;color:var(--ink-3)}
.bn-tile .tk{position:absolute;right:14px;top:14px;width:20px;height:20px}
.bn-tile .tk .i{width:12px;height:12px}
.bn-flow{display:none;width:100%;height:72px;margin-top:-2px}
.bn-flow path{fill:none;vector-effect:non-scaling-stroke}
.bn-flow .base{stroke:rgba(200,164,85,.45);stroke-width:1.5}
.bn-flow .dots{stroke:#b48a2e;stroke-width:3;stroke-linecap:round;stroke-dasharray:.1 15;animation:bnFlow 1s linear infinite}
@keyframes bnFlow{to{stroke-dashoffset:-15.1}}
.bn-core{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;margin-top:14px;height:56px;border-radius:16px;background:linear-gradient(180deg,#fdf8ea,#f8efd6);box-shadow:inset 0 0 0 1px rgba(200,164,85,.55),0 14px 28px -18px rgba(140,109,44,.7);font-size:15.5px;font-weight:600;letter-spacing:-.015em;color:var(--gold-ink);transition:box-shadow .6s var(--ease),background .6s var(--ease)}
.bn-core .i{width:17px;height:17px}
.bn-core.lit{background:linear-gradient(180deg,#fff6dc,#f3e2b2);box-shadow:inset 0 0 0 1px rgba(200,164,85,.9),0 0 0 6px rgba(200,164,85,.14),0 18px 36px -16px rgba(140,109,44,.85)}
.bn-core.lit .i{animation:bnSpin 3s ease-in-out infinite}
@keyframes bnSpin{50%{transform:rotate(90deg) scale(1.15)}}
.bn-ask{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px;padding:0 4px}
.bn-ask-l{font-size:13.5px;font-weight:550;color:var(--ink-2);margin-right:4px}
.bn-pill{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 10px;border-radius:var(--r-pill);background:#fff;box-shadow:0 0 0 1px var(--line-2);font-size:13.5px;font-weight:500;color:var(--ink)}
.bn-pill img,.bn-pill .i{width:16px;height:16px}
.bn-ask-n{width:100%;font-size:13.5px;color:var(--ink-3)}
@media(min-width:720px){.bn-ask-n{width:auto;margin-left:auto}}
@media(min-width:1180px){
  .bn-tiles{grid-template-columns:repeat(6,minmax(0,1fr))}
  .bn-flow{display:block}
  .bn-tile{padding:18px 16px 20px}
  .bn-core{margin-top:0}
}

/* ---------- what it does (bento) ---------- */
.bn-bento{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.bn-card{display:flex;flex-direction:column;gap:20px;padding:12px 12px 28px;border-radius:28px;background:#fff;box-shadow:var(--sh-sm);transition:box-shadow .5s var(--ease),transform .5s var(--ease)}
.bn-card:hover{box-shadow:var(--sh-md);transform:translateY(-2px)}
.bn-card.c3{grid-column:span 3}.bn-card.c2{grid-column:span 2}
.bn-vis{position:relative;display:flex;flex-direction:column;justify-content:center;gap:9px;height:320px;padding:54px 20px 20px;border-radius:20px}
.bn-txt{padding:0 14px}
.bn-txt h3{font-size:21px;line-height:1.2;font-weight:500;letter-spacing:-.03em;color:var(--ink);text-wrap:balance}
.bn-txt p{margin-top:8px;font-size:15px;line-height:1.6;color:var(--ink-2)}
.bn-vis .mk-ask{background:#fff;box-shadow:0 0 0 1px var(--line-2);min-height:44px;height:auto;padding:10px 12px}
.bn-vis .mk-ans{box-shadow:inset 0 0 0 1px rgba(200,164,85,.34)}
.bn-vis .mk-ans p{min-height:3.1em}
.bn-vis .mk-cites{min-height:24px}
.bn-brief{padding:14px 14px 12px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px var(--line),0 10px 22px -16px rgba(60,44,12,.4)}
.bn-bh{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:12.5px;font-weight:600;color:var(--ink)}
.bn-bh .i{width:14px;height:14px;color:var(--gold-deep)}
.bn-bh span{margin-left:auto;font-weight:500;font-size:11.5px;color:var(--ink-3)}
.bn-bl{display:flex;align-items:flex-start;gap:9px;padding:9px 0;border-top:1px solid var(--line);font-size:12.5px;line-height:1.4;color:var(--ink-2)}
.bn-bl::before{content:"";flex:none;width:7px;height:7px;margin-top:5px;border-radius:50%;background:var(--gold);transition:transform .35s var(--spring)}
.bn-bl b{font-weight:600;color:var(--ink)}
.bn-ctx{display:flex;flex-wrap:wrap;gap:6px}
.bn-vis .mk-row{min-height:46px}
.bn-vis .mk-t b{font-size:12.5px}
.bn-vis .mk-t span{font-size:11.5px}
.bn-vis .mk-chip{height:22px;font-size:11px}
.bn-draft{padding:9px 11px;border-radius:10px;background:#fff;box-shadow:0 0 0 1px var(--line-2);font-size:12.5px;line-height:1.45;color:var(--ink)}
.bn-draft p{min-height:2.9em}
.bn-ok{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;height:24px;padding:0 10px;border-radius:var(--r-pill);background:var(--gold-wash);box-shadow:inset 0 0 0 1px rgba(200,164,85,.38);font-size:11.5px;font-weight:550;color:var(--gold-ink)}
.bn-ok .i{width:12px;height:12px}
.bn-up .tk{margin-left:auto}
.bn-up .mk-t .sw{display:grid}
.bn-up .mk-t .sw>*{grid-area:1/1}

/* ---------- proof (dark) ---------- */
.bn-proof{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(32px,5vw,72px);align-items:center;padding:clamp(40px,6vw,84px) clamp(24px,5.5vw,76px);border-radius:var(--r-2xl);background:radial-gradient(60% 80% at 100% 0%,rgba(200,164,85,.22),rgba(200,164,85,0) 70%),linear-gradient(180deg,#27211c,#1d1a17);color:#fff;box-shadow:0 40px 80px -48px rgba(29,29,31,.8)}
.bn-proof::before{content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(rgba(232,214,168,.14) 1px,transparent 1.25px);background-size:18px 18px;-webkit-mask-image:radial-gradient(70% 90% at 90% 20%,#000,transparent 80%);mask-image:radial-gradient(70% 90% at 90% 20%,#000,transparent 80%)}
.bn-proof .bn-label{color:#e8d6a8}
.bn-proof h2{font-size:var(--fs-h2);line-height:1.04;letter-spacing:var(--tr-h2);font-weight:500;color:#fff;text-wrap:balance}
.bn-proof h2 span{color:#e8d6a8}
.bn-proof-p{margin-top:22px;max-width:540px;font-size:var(--fs-lead);line-height:1.6;color:rgba(255,255,255,.78)}
.bn-proof-p+.bn-proof-p{margin-top:14px}
.bn-proof-fine{margin-top:26px;font-size:13.5px;color:rgba(255,255,255,.55)}
.bn-keeps{position:relative;display:flex;flex-direction:column;gap:10px;padding:56px 18px 18px;border-radius:24px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.bn-keeps-h{display:flex;align-items:center;gap:9px;padding:2px 4px 6px;font-size:13px;font-weight:550;color:#e8d6a8}
.bn-keeps-h .i{width:15px;height:15px}
.bn-keep{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.bn-keep .mk-ico{flex:none;width:38px;height:38px;border-radius:11px;background:rgba(232,214,168,.14);box-shadow:inset 0 0 0 1px rgba(232,214,168,.3);color:#f0d698}
.bn-keep .mk-ico .i{width:18px;height:18px}
.bn-keep .bn-kt{flex:1;min-width:0;display:block}
.bn-keep .bn-kt b{display:block;font-size:15px;font-weight:550;letter-spacing:-.015em;color:#fff}
.bn-keep .bn-kt span{display:block;margin-top:1px;font-size:13px;color:rgba(255,255,255,.6)}
.bn-keep .tk{flex:none;box-shadow:0 0 0 2px rgba(29,26,23,1)}

/* ---------- privacy ---------- */
.bn-priv{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:clamp(32px,5vw,72px);align-items:start}
.bn-pl{display:flex;flex-direction:column;margin-top:30px;border-top:1px solid var(--line-2)}
.bn-pi{display:flex;gap:16px;padding:20px 0;border-bottom:1px solid var(--line-2)}
.bn-pi .mk-ico{flex:none;width:38px;height:38px;border-radius:11px}
.bn-pi h3{font-size:17.5px;font-weight:550;letter-spacing:-.02em;color:var(--ink)}
.bn-pi p{margin-top:4px;font-size:15px;line-height:1.6;color:var(--ink-2)}
.bn-priv .bn-stage{position:sticky;top:110px;padding:56px clamp(18px,2.6vw,32px) clamp(20px,2.6vw,32px);border-radius:28px}
.bn-priv .bn-stage .dm-win{width:100%;max-width:520px;margin-inline:auto}
.bn-rules{display:flex;flex-direction:column;gap:8px;padding:14px}
.bn-rule{display:flex;align-items:center;gap:12px;padding:12px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px var(--line),0 4px 10px -8px rgba(60,44,12,.3)}
.bn-rule .mk-ico{flex:none}
.bn-rule .mk-t b{font-size:13px}
.bn-state{display:inline-grid;flex:none;justify-items:end}
.bn-state>*{grid-area:1/1;display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 10px;border-radius:var(--r-pill);font-size:11.5px;font-weight:600;white-space:nowrap}
.bn-state .chk{background:#f4f1ea;color:var(--ink-3);font-weight:500}
.bn-state .in{background:var(--gold-wash);box-shadow:inset 0 0 0 1px rgba(200,164,85,.42);color:var(--gold-ink)}
.bn-state .out{background:var(--ink);color:#fff}
.bn-state .i{width:11px;height:11px}

/* ---------- setup ---------- */
.bn-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-radius:28px;background:#fff;box-shadow:var(--sh-sm);overflow:hidden}
.bn-step{position:relative;padding:28px 26px 32px;border-left:1px solid var(--line-2)}
.bn-step:first-child{border-left:0}
.bn-sn{display:grid;place-items:center;width:36px;height:36px;margin-bottom:40px;border-radius:50%;background:var(--gold-wash);box-shadow:inset 0 0 0 1px rgba(200,164,85,.45);font-size:14px;font-weight:600;line-height:1;color:var(--gold-ink);transition:background .5s var(--ease),color .5s var(--ease),box-shadow .5s var(--ease)}
.bn-step.lit .bn-sn{background:var(--gold-fill);color:#fff;box-shadow:0 0 0 4px rgba(200,164,85,.18)}
.bn-step h3{font-size:19px;line-height:1.25;font-weight:550;letter-spacing:-.025em;color:var(--ink)}
.bn-step p{margin-top:8px;font-size:15px;line-height:1.6;color:var(--ink-2)}
.bn-step .mk-ico{position:absolute;right:22px;top:28px;width:36px;height:36px}
.bn-way{display:grid;grid-template-columns:minmax(0,1.2fr) auto;gap:28px;align-items:center;margin-top:16px;padding:clamp(24px,3.4vw,40px) clamp(24px,3.6vw,48px);border-radius:28px;background:linear-gradient(180deg,#fdfaf2,#faf4e5);box-shadow:inset 0 0 0 1px rgba(200,164,85,.34)}
.bn-way h3{font-size:clamp(1.375rem,1.1rem + 1vw,1.875rem);line-height:1.15;font-weight:500;letter-spacing:-.035em;color:var(--ink)}
.bn-way h3 span{color:var(--gold-ink)}
.bn-way p{margin-top:10px;max-width:560px;font-size:15.5px;line-height:1.6;color:var(--ink-2)}
.bn-way-b{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.bn-way-b a.t{font-size:14px;color:var(--ink-2);text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:1.5px;text-underline-offset:3px}
.bn-way-b a.t:hover{color:var(--gold-ink)}

.bn-sec.bn-faq-s{padding-top:clamp(72px,8vw,112px)}
.bn-faq-s .wv-faq{max-width:860px;margin-inline:auto}
.bn-end{padding-top:clamp(72px,8vw,112px)}

@media(max-width:1120px){
  .bn-bento{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bn-card.c3,.bn-card.c2{grid-column:span 1}
  .bn-card.c2:last-child{grid-column:span 2}
  .bn-card.c2:last-child .bn-vis{height:auto;min-height:230px}
  .bn-vis{height:auto;min-height:330px}
}
@media(max-width:1000px){
  .bn-proof,.bn-priv{grid-template-columns:1fr}
  .bn-priv .bn-stage{position:relative;top:0}
  .bn-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bn-step:nth-child(3){border-left:0}
  .bn-step:nth-child(n+3){border-top:1px solid var(--line-2)}
  .bn-way{grid-template-columns:1fr}
  .bn-vis{height:auto;min-height:330px}
}
@media(max-width:720px){
  .bn-tiles{grid-template-columns:1fr}
  .bn-tile{flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:16px 50px 16px 16px}
  .bn-tile .mk-ico{width:38px;height:38px;margin:0}
  .bn-tile h3{flex:1}
  .bn-tile p{width:100%;margin-top:0}
  .bn-tile .tk{top:50%;margin-top:-10px}
  .bn-bento{grid-template-columns:minmax(0,1fr)}
  .bn-card.c3,.bn-card.c2,.bn-card.c2:last-child{grid-column:auto}
  .bn-vis,.bn-card.c2:last-child .bn-vis{height:auto;min-height:0}
  .bn-steps{grid-template-columns:1fr}
  .bn-step{border-left:0;border-top:1px solid var(--line-2)}
  .bn-step:first-child{border-top:0}
  .bn-step:nth-child(n+3){border-top:1px solid var(--line-2)}
  .bn-sn{margin-bottom:20px}
  .bn-stage{padding:52px 12px 14px}
  .bn-body{padding:12px}
  .bn-rule{flex-wrap:nowrap}
  .bn-keeps{padding:52px 12px 12px}
  .bn-hero .sv-ctas .btn{width:100%;justify-content:space-between}
  .bn-way-b,.bn-way-b .btn{width:100%}
  .bn-way-b .btn{justify-content:space-between}
}
@media(max-width:560px){
  .bn-stage .dm-ex{display:none}
  .bn-stage .dm-title{min-width:0;overflow:hidden;text-overflow:ellipsis}
  .bn-stage .dm-bar{gap:8px;padding:0 10px}
  .bn-srcs{gap:6px}
  .bn-chip{padding:7px 8px;gap:7px}
  .bn-chip .mk-ico{width:24px;height:24px}
  .bn-chip .mk-ico img,.bn-chip .mk-ico .i{width:14px;height:14px}
  .bn-chip .tk{display:none}
  .bn-at{min-height:8em;font-size:13px}
  .bn-qt{font-size:13.5px;min-height:2.9em}
  .bn-pill{height:34px}
}
@media(prefers-reduced-motion:reduce){.bn-st-dot,.typing::after,.bn-flow .dots,.bn-core .i{animation:none!important}}
@media(max-width:560px){
  .bn-st>span:not(.bn-st-dot){display:none!important}
  .bn-af>span:last-child{display:none}
  .bn-stage .dm-title{flex:1}
}

.bn-keeps .bn-top{top:14px;left:18px;right:16px}
.bn-keeps .bn-replay{background:rgba(255,255,255,.1);color:#f0e6cc;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.bn-keeps .bn-replay:hover{background:rgba(255,255,255,.18);color:#fff}
.bn-top-flow{position:static;display:flex;justify-content:flex-end;margin-bottom:12px}
.bn-stepsw .bn-replay{background:#fff}

/* ---- 1. hero window between 941 and 1180 wide ---- */
@media(max-width:1180px){
  .bn-hero .dm-ex{display:none}
  .bn-stage .dm-title{min-width:0;overflow:hidden;text-overflow:ellipsis}
}
@media(min-width:941px) and (max-width:1180px){
  .bn-srcs{grid-template-columns:1fr}
}
/* ---- 2. short vertical flow into the core when the tiles are not in one row ---- */
.bn-vflow{display:block;height:40px;margin:-2px 0 0}
@media(min-width:1180px){.bn-vflow{display:none}}
.bn-core{margin-top:0}
@media(max-width:1179px){.bn-tiles{margin-bottom:0}}
/* ---- 2. phones: two columns, icon and name only ---- */
@media(max-width:720px){
  .bn-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .bn-tile{flex-direction:column;flex-wrap:nowrap;align-items:flex-start;gap:12px;padding:16px 14px 16px}
  .bn-tile p{display:none}
  .bn-tile h3{flex:none;font-size:15.5px}
  .bn-tile .tk{top:12px;right:12px;margin-top:0;width:18px;height:18px}
  .bn-vflow{height:30px}
  .bn-conn{padding:52px 12px 18px}
}
/* ---- 5. answer box height on phones ---- */
@media(max-width:560px){.bn-at{min-height:6.3em}}
