/* Bybit case study, story version. Type follows the SafeDrive page: design-system tokens only,
   48 / 28 / 20 / 16 / 14 / 13. Motion and reused blocks come from bybit.css and bybit-cover.css. */
.bs{--bs-accent:#d98200;--bs-accent-ink:#8a5a00;--bs-warm:#fdf4de;--bs-cool:#f5f7fa}
.bs h1{max-width:none;margin:0 0 var(--space-16);font-size:var(--text-page);line-height:var(--leading-heading);font-weight:var(--weight-heading);text-wrap:wrap}
.bs h1 em{font-style:normal;color:var(--bs-accent)}
.bs h2{max-width:none;margin:0 0 var(--space-16);font-size:var(--text-section);line-height:var(--leading-heading);font-weight:var(--weight-heading);text-wrap:wrap}
.bs .bs-sec h3{margin:var(--space-48) 0 var(--space-12);font-size:var(--text-title);line-height:var(--leading-title);font-weight:var(--weight-heading)}
.bs h4{margin:0;font-size:var(--text-body);line-height:var(--leading-title);font-weight:var(--weight-medium);color:var(--ink)}
.bs-sec{padding-block:var(--space-64) var(--space-32)}
.bs .story-section>p:not(.bs-cap):not(.bs-eye):not(.bp-inline){max-width:none;margin:0 0 var(--space-16);font-size:var(--text-body);line-height:var(--leading-body);color:var(--body-text)}
.bs .story-section>p.bs-eye{margin:0 0 var(--space-8);font-size:var(--text-meta);line-height:1.4;color:var(--muted)}
.bs .story-section>p.bs-cap{max-width:none;margin:var(--space-12) 0 0;font-size:var(--text-meta);line-height:1.5;color:var(--muted)}

/* the selected step already shows where focus is, so no gold ring around it */
.bs .bp-step-list button[aria-current=step]:focus-visible{outline:none}

/* the full screen set: closed it shows the tops of the first phones; open it has the highlights switch and step bar */
.bs-all-title{scroll-margin-top:var(--space-24)}
.bs-allsteps:not(.is-open) .bp-legend,.bs-allsteps:not(.is-open) .bs-bar{display:none}
.bs-allsteps:not(.is-open) .bp-hl{opacity:0}
.bs-bar{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:var(--space-16);background:#fff}
.bs-bar .bp-steps-nav{position:static;flex:1;min-width:0}
.bs-hl-switch{flex:none;min-width:136px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font:inherit;font-size:var(--text-meta);line-height:1.3;color:var(--ink);cursor:pointer;transition:background .2s}
.bs-hl-switch:hover,.bs-peek-btn:hover{background:var(--bs-cool)}
.bs-hl-switch:focus-visible,.bs-peek-btn:focus-visible{outline:2px solid var(--bp-gold);outline-offset:2px}
.bp-legend{transition:opacity .2s}
.bs-plain .bp-legend{opacity:.4}
.bp-hl{transition:opacity .2s}
body.bs-plain .bp-hl{opacity:0}
.bs-plain .bp-app-steps .bp-call{display:none}
.bs-peek-body{position:relative;max-height:280px;overflow:hidden;transition:max-height .6s cubic-bezier(.22,1,.36,1)}
.bs-peek-body::after{content:'';position:absolute;inset:auto 0 0;height:120px;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff);pointer-events:none;transition:opacity .3s}
.bs-peek.is-open .bs-peek-body::after{opacity:0}
.bs-peek-btn{display:block;position:relative;margin:-16px auto 0;padding:8px 18px;border:1px solid var(--line);border-radius:999px;background:#fff;font:inherit;font-size:var(--text-secondary);color:var(--ink);cursor:pointer;box-shadow:0 6px 16px -8px rgba(0,0,0,.25)}
.bs-peek.is-open .bs-peek-btn{margin-top:var(--space-16)}

/* a note beside its framed screen, level with the top of the frame */
.bs .bp-call.bs-call-beside{grid-column:span 2;margin:26% 0 0;font-size:var(--text-secondary);line-height:1.5}
/* side by side: inside the preview, centred under "One page" */
.bs .bp-compare{position:relative}
.bs .bp-compare:not(.is-split) .bp-cmp-controls{position:absolute;left:50%;bottom:var(--space-8);z-index:5;margin:0;translate:-50% 0}
.bs .bp-compare.is-split .bp-cmp-controls{justify-content:center}

.bs .bp-jr-concl{text-wrap:wrap}

/* the delivered flow: App and Web tabs over one panel style. Web screens are wide, so the picture takes the larger column */
.bs .bs-platform{display:flex;width:fit-content;margin:var(--space-16) 0 var(--space-12)}
.bs-web-stepper{grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:var(--space-32)}
.bs-web-stepper .bp-step-screen{width:100%;aspect-ratio:1890/1107;background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.14)}
.bs-web-stepper .bp-step-screen img{aspect-ratio:auto;width:100%;height:100%;object-fit:cover;object-position:top;border-radius:12px}
.bs-web-stepper .bp-step-text{min-height:0}

/* Other features: endless full-frame carousel */
.bs-car-off{display:none!important}
.bs-car{position:relative}
.bs-car-view{overflow:hidden;touch-action:pan-y;cursor:grab}
.bs-car.is-dragging .bs-car-view{cursor:grabbing}
.bs-car.is-dragging .bs-car-track *{pointer-events:none}
.bs-car-track{display:flex;transition:transform .6s cubic-bezier(.22,1,.36,1)}
.bs-car.is-dragging .bs-car-track{transition:none}
.bs-car-track.is-jump,.bs-car-track.is-jump *{transition:none!important}
.bs-car-slide{flex:none;min-width:0;box-sizing:border-box}
.bs-car-arrow{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.22);font:inherit;font-size:15px;line-height:1;color:rgba(30,30,30,.5);cursor:pointer;opacity:.55;transition:opacity .25s,background .25s,color .25s}
.bs-car:hover .bs-car-arrow,.bs-car-arrow:focus-visible{opacity:1}
.bs-car-arrow:hover{background:rgba(255,255,255,.85);color:var(--ink)}
.bs-car-dots{display:flex;align-items:center;gap:6px}
.bs-car-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#d9d9d9;cursor:pointer;transition:background .25s,transform .25s}
.bs-car-dots button[aria-current=true]{background:var(--bp-gold);transform:scale(1.25)}
.bs-car button:focus-visible{outline:2px solid var(--bp-gold);outline-offset:2px}
.bs .bs-car .bp-other-cap{min-height:72px;padding:14px 20px 16px}
.bs-car{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff}
.bs-car .bs-car-slide{width:100%}
.bs-car .bs-car-arrow{position:absolute;top:calc(50% - 56px);z-index:2}
.bs-car .is-prev{left:var(--space-16)}.bs-car .is-next{right:var(--space-16)}
.bs-car .bs-car-dots{position:absolute;right:20px;bottom:30px}
.bs .bs-car .bp-other-cap{padding-right:150px}
@media(max-width:640px){
  .bs-car .bs-car-arrow{display:none}
  .bs-car .bs-car-dots{position:static;justify-content:center;padding:0 0 var(--space-12)}
  .bs .bs-car .bp-other-cap{min-height:0;padding:12px 16px}
}
@media(prefers-reduced-motion:reduce){.bs-car *{transition:none!important}}

/* opening */
.bs-open{padding-bottom:var(--space-16)}
.bs .story-section>p.bs-dates:not(.bs-cap):not(.bs-eye):not(.bp-inline){margin:calc(var(--space-8) * -1) 0 var(--space-16);font-size:var(--text-meta);color:var(--muted)}
.bs-lede{max-width:none;margin:0 0 var(--space-24);font-size:var(--text-lead);line-height:1.45;color:var(--body-text)}
.bs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-16) var(--space-24);margin:0;padding:var(--space-16) 0;border-block:1px solid var(--line)}
.bs-grid dt{margin-bottom:2px;font-size:var(--text-meta);color:var(--muted)}
.bs-grid dd{margin:0;font-size:var(--text-secondary);line-height:1.4;color:var(--ink)}
.bs .bp-by-tile{margin-top:var(--space-16)}

/* context: three weak points, each a screen and a line */
.bs-weak,.bs-seq{list-style:none;display:grid;gap:var(--space-16);margin:var(--space-16) 0 0;padding:0}
.bs-weak{grid-template-columns:repeat(3,minmax(0,220px))}
.bs-seq{grid-template-columns:repeat(4,minmax(0,1fr))}
.bs .bs-weak li,.bs .bs-seq li{margin:0}
.bs-weak h4,.bs-seq h4,.bs-small h4{margin-top:var(--space-12);font-size:var(--text-secondary)}
.bs .bs-seq p{margin:2px 0 0;font-size:var(--text-meta);line-height:1.4;color:var(--muted)}

/* research */
.bs-quotes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-16)}
.bs-quotes blockquote{margin:0;padding:var(--space-24);border-radius:16px;background:var(--bs-warm);font-size:var(--text-title);line-height:var(--leading-title);color:var(--ink)}

/* principle */
.bs-goals{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-12);margin:var(--space-16) 0 0;padding:0}
.bs .bs-goals li{margin:0}
.bs .bs-goals a{display:flex;flex-direction:column;gap:var(--space-4);height:100%;box-sizing:border-box;padding:var(--space-16);border-radius:16px;background:var(--bs-cool);color:var(--ink);text-decoration:none;transition:background .25s,transform .25s}
.bs .bs-goals a:hover{background:var(--bs-warm);transform:translateY(-2px)}
.bs-goals b,.bs-steps b{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:var(--bp-gold);font-size:12px;font-weight:600;color:#000}
.bs-goals strong{margin-top:var(--space-8);font-size:var(--text-title);font-weight:var(--weight-heading)}
.bs-goals span{font-size:var(--text-secondary);line-height:1.4;color:var(--body-text)}

/* decisions */
.bs-chips{list-style:none;display:flex;flex-wrap:wrap;gap:var(--space-8);margin:var(--space-16) 0 0;padding:0}
.bs .bs-chips li{margin:0;padding:6px 12px;border-radius:999px;background:var(--bs-cool);font-size:var(--text-meta);line-height:1.4;color:var(--ink)}
.bs .bs-chips.is-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-12)}
.bs .bs-chips.is-3 li{padding:var(--space-16);border-radius:16px;font-size:var(--text-body);font-weight:var(--weight-medium)}
.bs-chips.is-3 span{display:block;margin-bottom:var(--space-4);font-size:var(--text-meta);font-weight:400;color:var(--muted)}
.bs-why{display:grid;gap:var(--space-8);margin:var(--space-16) 0 0}
.bs-why div{display:grid;grid-template-columns:84px minmax(0,1fr);gap:var(--space-12);font-size:var(--text-secondary);line-height:1.5}
.bs-why dt{color:var(--muted)}
.bs-why dd{margin:0;color:var(--ink)}
.bs-small{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-32);margin-top:var(--space-32)}
.bs-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-12)}
.bs-guide{display:grid;grid-template-columns:minmax(0,190px) minmax(0,190px) minmax(0,1fr);gap:var(--space-24);align-items:start;margin-top:var(--space-16)}
.bs-steps{list-style:none;display:grid;gap:var(--space-16);margin:0;padding:0}
.bs .bs-steps li{display:flex;align-items:center;gap:var(--space-12);margin:0}

/* team */
.bs-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-12);margin-top:var(--space-16)}
.bs-cards>div{padding:var(--space-16);border-radius:16px;background:var(--bs-cool)}
.bs-cards span{display:block;margin-bottom:var(--space-4);font-size:var(--text-meta);color:var(--muted)}

/* timeline */
.bs-time{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--space-12);margin:var(--space-16) 0 0;padding:0}
.bs .bs-time li{margin:0;padding-top:var(--space-12);border-top:2px solid var(--bs-accent)}
.bs-time time{display:block;margin-bottom:var(--space-4);font-size:var(--text-meta);color:var(--muted)}

@media(max-width:900px){
  .bs h1{font-size:36px}
  .bs-seq{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bs-time{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bs-guide{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bs-steps{grid-column:1/-1}
}
@media(max-width:640px){
  .bs h1{font-size:32px}
  .bs h2{font-size:24px}
  .bs-lede{font-size:18px}
  .bs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bs-weak{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-8)}
  .bs-weak h4{font-size:13px}
  .bs-quotes,.bs-goals,.bs-small,.bs-cards,.bs .bs-chips.is-3{grid-template-columns:1fr}
  .bs-why div{grid-template-columns:68px minmax(0,1fr)}
}
@media(max-width:640px){
  .bs-web-stepper{grid-template-columns:1fr}
}
@media(max-width:900px){
  .bs .bp-call.bs-call-beside{flex:0 0 220px;margin-top:72px}
  .bs-bar{display:contents}
  .bs-hl-switch{display:block;position:sticky;top:8px;z-index:3;margin:var(--space-8) 0 var(--space-8) auto;box-shadow:0 6px 16px -8px rgba(0,0,0,.25)}
}
@media(prefers-reduced-motion:reduce){.bs .bs-goals a,.bs-peek-body,.bs-peek-body::after,.bp-hl{transition:none}}

/* ---- mentor revision (2026-11-07): one-word principle, HEART metrics, verify as a flow, one final slide, appendix ---- */
.bs .story-section>p.bm-after-jr:not(.bs-cap):not(.bs-eye):not(.bp-inline){margin-top:var(--space-24)}
.bs .bs-sec .bp-jr{margin-top:var(--space-16)}
.bm-nps{padding:0 4px;border-radius:4px;background:var(--bs-warm);outline:1.5px dashed var(--bs-accent);outline-offset:1px;color:var(--ink)}

/* principle: the word is the headline */
.bs h2.bm-word{margin:var(--space-24) 0 var(--space-4);font-size:clamp(44px,7vw,72px);line-height:1;letter-spacing:-.02em;color:var(--bs-accent)}
.bs .story-section>p.bm-word-line:not(.bs-cap):not(.bs-eye):not(.bp-inline){margin:0 0 var(--space-8);font-size:var(--text-lead);color:var(--ink)}
.bm-metrics{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-12);margin:0;padding:0}
.bs .bm-metrics li{margin:0;padding:var(--space-16);border:1px solid var(--line);border-radius:16px;background:#fff}
.bm-metrics span{display:block;font-size:var(--text-meta);color:var(--muted)}
.bm-metrics b{display:block;margin:var(--space-4) 0 var(--space-8);font-size:var(--text-title);line-height:var(--leading-title);font-weight:var(--weight-heading);color:var(--ink)}
.bs .bm-metrics p{margin:0;font-size:var(--text-secondary);line-height:1.5;color:var(--body-text)}
.bm-metrics strong{color:var(--bs-accent-ink)}

/* verify: the same five steps, before and after; the gold card is the moment that moved */
.bm-flow{margin:var(--space-24) 0 0;padding:var(--space-24);border-radius:18px;background:var(--bs-cool)}
.bm-row+.bm-row{margin-top:var(--space-24)}
.bs .bm-flow p.bm-row-label{margin:0 0 var(--space-8);font-size:var(--text-meta);font-weight:var(--weight-medium);color:var(--muted)}
.bm-row ol{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--space-16);margin:0;padding:0}
.bs .bm-row li{position:relative;margin:0;padding:var(--space-12);border-radius:12px;background:#fff;min-height:64px}
.bm-row li:not(:last-child)::after{content:'';position:absolute;top:50%;right:calc(var(--space-16) * -1);width:var(--space-16);height:2px;background:#c9ced6}
.bm-row b{display:block;font-size:var(--text-secondary);line-height:1.35;font-weight:var(--weight-medium);color:var(--ink)}
.bm-row small{display:block;margin-top:2px;font-size:var(--text-meta);line-height:1.35;color:var(--muted)}
.bs .bm-row li.is-hit{background:#fdecea;box-shadow:inset 0 0 0 1.5px #e2685c}
.bs .bm-row li.is-hit.is-early{background:var(--bs-warm);box-shadow:inset 0 0 0 1.5px var(--bs-accent)}
.bs .bm-row li.is-wait{background:repeating-linear-gradient(-45deg,#fff 0 8px,#f3f4f6 8px 16px)}
.is-before .is-wait small{color:#b4483d}
.bm-flow figcaption{margin-top:var(--space-16);font-size:var(--text-meta);line-height:1.5;color:var(--muted)}

/* folds, the same quiet row as the SafeDrive FAQ */
.bm-more{margin-top:var(--space-16);border-block:1px solid var(--line)}
.bm-more summary{display:flex;align-items:center;justify-content:space-between;padding:var(--space-12) 0;list-style:none;cursor:pointer;font-size:var(--text-secondary);font-weight:var(--weight-medium);color:var(--ink)}
.bm-more summary::-webkit-details-marker{display:none}
.bm-more summary::after{content:"";flex:none;width:12px;height:12px;background:linear-gradient(currentColor,currentColor) center/12px 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 12px no-repeat;color:var(--body-text)}
.bm-more[open] summary::after{background:linear-gradient(currentColor,currentColor) center/12px 1.5px no-repeat}
.bm-more .bs-seq{margin:0 0 var(--space-16)}

/* final design: one slide per platform */
.bm-slide{padding:var(--space-32) var(--space-24) var(--space-24);border-radius:18px;background:var(--bs-warm)}
.bm-phones{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-24);max-width:760px;margin:0 auto;padding:0}
.bs .bm-phones li{margin:0}
.bm-phones .image-button,.bm-web .image-button{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in;transition:transform .35s cubic-bezier(.22,1,.36,1)}
.bm-phones .image-button:hover,.bm-web .image-button:hover{transform:translateY(-3px)}
.bm-phones img{display:block;width:100%;height:auto;border-radius:14px;box-shadow:0 14px 30px -12px rgba(0,0,0,.3)}
.bm-phones span,.bm-web figcaption{display:flex;align-items:center;gap:var(--space-8);margin-top:var(--space-12);font-size:var(--text-secondary);color:var(--ink)}
.bm-phones span b,.bm-web figcaption b{display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;background:var(--bp-gold);font-size:12px;font-weight:600;color:#000}
.bm-web{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-24)}
.bm-web figure{margin:0}
.bm-web img{display:block;width:100%;aspect-ratio:1890/1107;object-fit:cover;object-position:top;border-radius:10px;box-shadow:0 14px 30px -12px rgba(0,0,0,.25)}
.bs .story-section>p.bm-to-appendix:not(.bs-cap):not(.bs-eye):not(.bp-inline){margin-top:var(--space-12);font-size:var(--text-secondary)}
.bm-to-appendix a{color:var(--bs-accent-ink)}

/* appendix: quieter top so it reads as extra */
.bm-appendix{border-top:1px solid var(--line);margin-top:var(--space-32)}
.bm-appendix+.bm-appendix{border-top:0;margin-top:0}

@media(max-width:900px){
  .bm-row ol{grid-template-columns:1fr;gap:var(--space-8)}
  .bm-row li:not(:last-child)::after{top:auto;bottom:calc(var(--space-8) * -1);left:24px;right:auto;width:2px;height:var(--space-8)}
  .bs .bm-row li{min-height:0}
}
@media(max-width:640px){
  .bm-metrics{grid-template-columns:1fr}
  .bm-flow,.bm-slide{padding:var(--space-16)}
  .bm-phones{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-16)}
  .bm-web{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.bm-phones .image-button,.bm-web .image-button{transition:none}}
.bm-states .bs-platform{margin-top:0}
.bm-states[open]{padding-bottom:var(--space-16)}

/* 2026-11-08: Pay folded into Efficiency as a third small improvement */
.bs-small.bm-small3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:760px){.bs-small.bm-small3{grid-template-columns:1fr}}
/* Long screenshot: same width as the other phones, cut above its pinned button bar; Show all opens it in place */
.bs .bp-shot .bm-long-frame{position:relative;display:block;aspect-ratio:600/1300;overflow:hidden;background:#17181a;cursor:zoom-in}
.bs .bp-shot .bm-long-frame.is-open{aspect-ratio:600/2036}
.bm-long-body{position:absolute;inset:0 0 22% 0;overflow:hidden}
.bm-long-frame.is-open .bm-long-body{bottom:14.05%}
.bm-long-body img{display:block;width:100%;height:auto}
.bm-long-body::after{content:'';position:absolute;left:0;right:0;bottom:0;height:7%;background:linear-gradient(rgba(190,192,196,0),rgba(190,192,196,.1));pointer-events:none;transition:opacity .3s}
.bm-long-frame.is-open .bm-long-body::after{opacity:0}
.bm-long-cta{position:absolute;left:0;right:0;bottom:0;display:block;width:100%;height:auto;pointer-events:none}
.bs .bm-long-toggle{margin-left:6px;padding:0;border:0;background:none;color:var(--bs-accent-ink);font:inherit;font-weight:var(--weight-medium);white-space:nowrap;cursor:pointer}
.bs .bm-long-toggle:hover{text-decoration:underline}
.bm-long-toggle:focus-visible{outline:2px solid var(--bs-accent);outline-offset:2px}
/* Web screens fill the frame's width and lose their bottom, never letterboxed (beats .case-content .image-button img) */
.bs .bm-web .image-button img{object-fit:cover;object-position:top}
/* More from this project, folded into Final design (options a / b / c) */
.bm-fold{margin-top:var(--space-32)}
.bm-fold-body{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:0fr;transition:grid-template-rows .55s cubic-bezier(.22,1,.36,1)}
.bm-fold.is-open .bm-fold-body{grid-template-rows:1fr}
.bs .bm-fold-bar{display:flex;align-items:center;gap:var(--space-12);width:100%;padding:12px 14px 12px 22px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:border-color .2s,background .2s}
.bm-fold-bar:hover{border-color:var(--bs-accent);background:var(--bs-warm)}
.bs .bm-fold-bar>i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--bs-cool)}
.bs .bm-fold-bar>i::before,.bs .bm-fold-bar>i::after{left:10px;width:12px}
.bm-fold .bm-fold-a{display:block}
.bm-fold-inner{min-width:0;min-height:0;overflow:hidden}
.bm-fold.is-open .bm-fold-inner{padding-top:var(--space-24)}
.bm-fold [aria-expanded=true]>i::after{rotate:0deg}
/* b */
/* c */
@media (max-width:760px){
}
@media (prefers-reduced-motion:reduce){.bm-fold-body,.bm-fold-bar>i::before,.bm-fold-more>i::before,.bm-fold-bar>i::after,.bm-fold-more>i::after{transition:none}}
/* inside the fold nothing folds again */
.bm-fold .bm-states>summary{display:none}
.bs .bm-fold .bm-states{margin:0;padding:0;border:0}
.bm-fold .bs-peek-body::after{display:none}
.bm-fold .bs-peek-btn[hidden]{display:none}
.bm-fold .bm-part[hidden]{display:none}
/* a: one rounded bar in the pill language of the page's other buttons */
.bm-fold-title{flex:1;font-size:var(--text-secondary);font-weight:var(--weight-medium)}
.bm-fold.is-settled .bm-fold-inner{overflow:visible}
/* stays on screen while the open fold is in view */
@media (max-width:760px){.bs .bm-fold-close{right:16px;bottom:16px}.bm-fold-meta{display:none}.bm-fold-title{flex:1}}
/* Closing the open fold (preview options a / b / c) */
.bs .bm-fold.is-open .bm-fold-a{position:sticky;top:0;z-index:5;padding:8px 0;background:#fff}

@media(max-width:900px){
  /* the step bar does not stick on phones; Close sticks on the left, across from Hide highlights */
}
/* Final design, web: all six states in two rows */
.bm-web.is-six{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-24) var(--space-16)}
@media (max-width:760px){.bm-web.is-six{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* inside the open fold: no step list; Hide highlights floats bottom right while the screens are in view */
.bm-fold .bp-steps-nav{display:none}
.bm-fold .bs-bar{display:contents}
.bs .bm-fold .bs-hl-switch{position:fixed;top:auto;right:24px;bottom:24px;z-index:40;margin:0;box-shadow:0 10px 24px -10px rgba(0,0,0,.3)}
.bm-fold:not(.is-open) .bs-hl-switch,.bm-fold:not(.is-in-view) .bs-hl-switch{display:none}
@media (max-width:900px){.bs .bm-fold .bs-hl-switch{right:16px;bottom:16px}}
/* the bar's + / − */
.bs .bm-fold-bar>i{position:relative;display:inline-block;flex:none;width:32px;height:32px;border-radius:50%;background:var(--bs-cool)}
.bs .bm-fold-bar>i::before,.bs .bm-fold-bar>i::after{content:'';position:absolute;left:10px;top:50%;width:12px;height:1.6px;background:currentColor;translate:0 -50%;transition:rotate .3s}
.bs .bm-fold-bar>i::after{rotate:90deg}
.bs .bm-fold-bar[aria-expanded=true]>i::after{rotate:0deg}
@media (prefers-reduced-motion:reduce){.bs .bm-fold-bar>i::before,.bs .bm-fold-bar>i::after{transition:none}}
/* Final design, app: eight steps in two rows; a taller screen is cut to the phone shape */
.bs .bm-phones .image-button img{aspect-ratio:600/1300;object-fit:cover;object-position:top}
.bm-phones{row-gap:var(--space-32)}
/* five app steps in one row */
.bm-phones.is-five{grid-template-columns:repeat(5,minmax(0,1fr));max-width:none;gap:var(--space-16)}
@media (max-width:760px){.bm-phones.is-five{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* HEART stays in the background: tiny, light grey */
.bs .bm-metrics span{font-size:11px;letter-spacing:.02em;color:#a3a8b0}
.bs .story-section>p.bm-heart-note:not(.bs-cap):not(.bs-eye):not(.bp-inline){margin:var(--space-8) 0 0;font-size:11px;line-height:1.4;color:#b3b7be;text-align:right}
/* Why with two points */
.bs .bm-why-list{margin:0;padding-left:1.1em}
.bs .bm-why-list li{margin:0}
/* presenter notes: only in present mode, N toggles them (same look as SafeDrive) */
.bm-pnote{display:none}
.bm-notes .bm-pnote{display:block;margin-top:var(--space-16);padding:var(--space-12) var(--space-16);border:1.5px dashed #c9a400;border-radius:12px;background:#fff8d6;font-size:var(--text-lead);line-height:1.5;color:#3d3510}
/* Verify as a storyboard (unDraw illustrations, accent in the page's amber) */
.bm-sb{margin:var(--space-24) 0 0;padding:var(--space-24);border-radius:18px;background:var(--bs-cool)}
.bs .bm-sb p.bm-sb-label{margin:0 0 var(--space-12);font-size:var(--text-meta);font-weight:var(--weight-medium);color:var(--muted)}
.bm-sb-row ol{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-16);margin:0;padding:0;counter-reset:f}
.bs .bm-sb-f{position:relative;margin:0;padding:var(--space-16) var(--space-16) var(--space-12);border-radius:14px;background:#fff;counter-increment:f}
.bm-sb-f img{display:block;width:100%;height:auto;aspect-ratio:6/5;object-fit:contain}
.bs .bm-sb-f p{margin:var(--space-12) 0 0;font-size:var(--text-secondary);line-height:1.4;color:var(--ink)}
.bm-sb-f p::before{content:counter(f);display:inline-grid;place-items:center;width:20px;height:20px;margin-right:6px;border-radius:50%;background:var(--bs-cool);font-size:11px;font-weight:600;color:var(--muted);vertical-align:1px}
.bs .bm-sb-f.is-hit{box-shadow:inset 0 0 0 1.5px #e2685c;background:#fff7f6}
.bs .bm-sb-f.is-wait{background:repeating-linear-gradient(-45deg,#fff 0 10px,#f6f7f9 10px 20px)}
.bs .bm-sb-f.is-early{box-shadow:inset 0 0 0 1.5px var(--bs-accent);background:var(--bs-warm)}
.bs .bm-sb-f.is-done{box-shadow:inset 0 0 0 1.5px #2d8a5b;background:#f2faf5}
.bs .bm-sb-quote{margin:var(--space-16) 0 var(--space-24);padding:var(--space-12) var(--space-16);border-left:3px solid #e2685c;border-radius:0 10px 10px 0;background:#fff;font-size:var(--text-secondary);line-height:1.5}
.bm-sb-quote cite{display:block;margin-top:4px;font-style:normal;font-size:var(--text-meta);color:var(--muted)}
.bm-sb figcaption{margin-top:var(--space-16);font-size:var(--text-meta);line-height:1.5;color:var(--muted)}
@media (max-width:760px){.bm-sb{padding:var(--space-16)}.bm-sb-row ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-12)}}
/* success metrics as small numbered pills; the detail shows on hover or focus */
.bm-mchips{list-style:none;display:flex;flex-wrap:wrap;gap:var(--space-8);margin:var(--space-12) 0 0;padding:0}
.bs .bm-mchips li{position:relative;display:inline-flex;align-items:center;gap:var(--space-8);margin:0;padding:6px 14px 6px 6px;border-radius:999px;background:var(--bs-cool);font-size:var(--text-secondary);font-weight:var(--weight-medium);color:var(--ink);cursor:default;outline:none}
.bm-mchips b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--bp-gold);font-size:12px;font-weight:600;color:#000}
.bm-mchips .bm-tip{position:absolute;left:0;top:calc(100% + 8px);z-index:6;width:max-content;max-width:260px;padding:8px 12px;border-radius:10px;background:#1f2023;color:#fff;font-size:var(--text-meta);font-weight:400;line-height:1.45;opacity:0;visibility:hidden;translate:0 -4px;transition:opacity .2s,translate .2s,visibility .2s;pointer-events:none}
.bm-mchips .bm-tip strong{color:#f7c55a}
.bm-mchips li:hover .bm-tip,.bm-mchips li:focus-visible .bm-tip,.bm-mchips li:focus .bm-tip{opacity:1;visibility:visible;translate:0 0}
.bs .bm-mchips li:focus-visible{box-shadow:0 0 0 2px var(--bs-accent)}
@media (prefers-reduced-motion:reduce){.bm-mchips .bm-tip{transition:none}}
/* Context: business background with the term tiles and the exchange diagram */
.bm-exchange{margin:var(--space-24) 0 0}
.bs .bm-exchange figcaption{margin:0 0 var(--space-12);font-size:var(--text-secondary);color:var(--body-text)}
.bs .bp-ex-open[hidden]{display:none}
.bm-terms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-12);margin-top:var(--space-16)}
.bm-terms .bp-by-tile,.bm-terms .bp-terms,.bm-terms .bp-term-cards{display:contents}
.bm-terms .bp-term-panel{grid-column:1/-1}
@media (max-width:760px){.bm-terms{grid-template-columns:1fr}}
/* Customer journey: a soft column glow instead of the white block, and the Inflow point labelled */
.bp-jr-board{isolation:isolate}
.bs .bp-jr-stages>li.is-hi{background:transparent}
.bp-jr-stages>li::after{content:'';position:absolute;left:0;right:0;bottom:0;top:calc(-1 * var(--jr-h, 170px));z-index:-1;border-radius:12px;background:linear-gradient(to bottom,rgba(255,255,255,.35),rgba(255,255,255,.8) 45%,#fff);opacity:0;transition:opacity .25s;pointer-events:none}
.bp-jr-stages>li.is-hi::after{opacity:1}
.bm-jr-over{position:absolute;left:0;top:0;width:100%;aspect-ratio:990/180;pointer-events:none}
.bm-jr-pin{position:absolute;width:0;height:0}
.bm-jr-tag{position:absolute;left:0;top:22px;translate:-50% 0;padding:2px 8px;border-radius:999px;background:#f39a00;color:#fff;font-size:11px;font-weight:var(--weight-medium);white-space:nowrap}
.bm-jr-nps{position:absolute;left:0;bottom:12px;translate:-50% 0;font-size:12px;font-weight:700;color:#c06a00;white-space:nowrap}
@media (prefers-reduced-motion:reduce){.bp-jr-stages>li::after{transition:none}}
/* the Inflow column no longer needs room for its tag, which now sits by the point */
.bs .bp-jr-stages>li.is-hot{padding-bottom:var(--space-16)}
/* Exchange diagram: no travelling orange circle; the path is marked with a ring, not an orange fill */
.bs .bp-fm-pulse{display:none}
/* the BLIK path stays plain until the diagram is hovered; then it rings, strongest in the hovered column */
.bs .bp-fm li.is-path{background:none;border-color:transparent;color:var(--ink);font-weight:400;transition:box-shadow .2s,border-color .2s,background .2s}
.bs .bp-fm li.is-hub{background:#fff;box-shadow:none;transition:box-shadow .2s}
.bs .bp-fm .bp-fm-col:hover{background:transparent}
.bs .bp-fm .bp-fm-col:hover li.is-path,.bs .bp-fm .bp-fm-col:hover li.is-hub{background:transparent;color:var(--ink);font-weight:var(--weight-medium)}
.bm-jr-tag{opacity:0;transition:opacity .2s}
.bp-jr-board[data-hi="3"] .bm-jr-tag{opacity:1}

/* fiat deposit diagram: one-line titles, more room under them, platforms column */
.bs .bp-fm h4{white-space:nowrap;margin-bottom:var(--space-20, 20px)}
.bs .bp-fm-col.is-bybit ul{align-content:center;justify-content:center;grid-auto-rows:auto;gap:8px}
.bs .bp-fm li.is-hub,.bs .bp-fm li.bm-plat{box-sizing:border-box;width:104px;height:46px;padding:0 14px;display:flex;align-items:center;justify-content:center;border-radius:14px}
.bs .bp-fm li.is-hub,.bs .bp-fm li.bm-plat{background:transparent;border:0}
.bs .bp-fm li.bm-plat img{mix-blend-mode:normal;width:auto}
.bs .bp-fm li.bm-plat img[alt=Binance]{height:19px}
.bs .bp-fm li.bm-plat img[alt=OKX]{height:17px}
/* every column centred: title and its list */
.bs .bp-fm-col{text-align:center}
.bs .bp-fm ul{grid-template-columns:repeat(2,max-content);justify-content:center;column-gap:10px}
.bs .bp-fm-col.is-ch ul,.bs .bp-fm-col.is-bybit ul{grid-template-columns:max-content;justify-items:center}
@media(max-width:900px){.bs .bp-fm-col.is-ch ul{grid-template-columns:repeat(2,max-content)}}

/* channel logos at the same visual size as the platform logos */
.bs .bp-fm-col.is-ch ul{row-gap:12px}
.bs .bp-fm-col.is-ch li img{mix-blend-mode:normal;width:auto}
.bs .bp-fm-col.is-ch li img[alt=Volet]{height:18px}
.bs .bp-fm-col.is-ch li img[alt=BLIK]{height:24px}
.bs .bp-fm-col.is-ch li img[alt=ZEN]{height:20px}
.bs .bp-fm-col.is-ch li img[alt=EasyEuro]{height:17px}

/* on hover everything off the BLIK path greys out, so PLN → BLIK → BLIK → Bybit → USDT stands out */
.bs .bp-fm.is-in .bp-fm-col li{transition:opacity .25s,filter .25s,background .2s;transition-delay:0s}
.bs .bp-fm.is-moving li:not(.is-path){opacity:.28;filter:grayscale(1)}

/* channel logos sit in the middle of their column, like the platforms */
.bs .bp-fm-col.is-ch{display:flex;flex-direction:column}
.bs .bp-fm-col.is-ch ul{flex:1;align-content:center;justify-content:center}

/* arrows get their own cells, so they always sit in the middle of the space between two columns
   and line up with the middle of the lists, not the middle of title + list */
.bs .bp-fm-col::after{content:none}
.bs .bp-fm{grid-template-columns:auto minmax(28px,1fr) auto minmax(28px,1fr) auto minmax(28px,1fr) auto minmax(28px,1fr) auto;column-gap:0;padding:var(--space-24) var(--space-24)}
.bs .bm-fm-arrow{display:flex;align-items:center;justify-content:center;padding-top:41px;color:var(--bp-gold);font-size:14px;line-height:1}
.bs .bm-fm-arrow::before{content:'⟷'}
/* below 900px five columns no longer fit: stack them, arrows point down */
@media(max-width:900px){
  .bs .bp-fm{grid-template-columns:minmax(0,1fr);row-gap:4px;padding:var(--space-12)}
  .bs .bm-fm-arrow{padding:0}
  .bs .bm-fm-arrow::before{content:'↕'}
}
/* a little tighter between 901px and 1400px so all five lists fit with room for the arrows */
@media(min-width:901px) and (max-width:1400px){
  .bs .bp-fm{padding:var(--space-20, 20px) var(--space-16)}
  .bs .bp-fm-col{padding-inline:2px}
  .bs .bp-fm li{gap:6px;padding-inline:2px;font-size:12.5px}
  .bs .bp-fm-col:not(.is-ch):not(.is-bybit) li img{width:22px;height:22px}
  .bs .bp-fm ul{column-gap:6px}
}


/* ── Design principle try-outs (?dp=a / b / c). One family, two sizes, two weights; metric details shown, not hidden in tooltips ── */
#principle[class*="dp-"] .bm-mchips{display:grid;gap:0;margin:0;padding:0}
#principle[class*="dp-"] .bm-mchips li{display:block;padding:0;border-radius:0;background:none;font-size:var(--text-body);font-weight:var(--weight-medium);cursor:auto}
#principle[class*="dp-"] .bm-mchips b{display:block;width:auto;height:auto;border-radius:0;background:none;font-size:var(--text-meta);font-weight:var(--weight-medium);color:var(--muted);letter-spacing:.04em}
#principle[class*="dp-"] .bm-mchips b::before{content:'0'}
#principle[class*="dp-"] .bm-mchips .bm-tip{position:static;display:block;width:auto;max-width:none;margin-top:4px;padding:0;background:none;color:var(--muted);font-size:var(--text-secondary);font-weight:400;opacity:1;visibility:visible;translate:none}
#principle[class*="dp-"] h3{font-size:var(--text-meta);font-weight:var(--weight-medium);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
#principle[class*="dp-"] .bm-pnote{grid-column:1/-1}

/* A · Statement: one large line with lots of air, metrics as a quiet three-column row */
#principle.dp-a h2.bm-word{margin:var(--space-48, 48px) 0 var(--space-12);font-size:clamp(34px,4.6vw,52px);font-weight:var(--weight-medium);letter-spacing:-.02em;color:var(--ink)}
#principle.dp-a .story-section>p.bm-word-line,#principle.dp-a p.bm-word-line{max-width:none;margin:0 0 var(--space-48, 48px);font-size:var(--text-body);color:var(--muted)}
#principle.dp-a h3{margin:0 0 var(--space-16);padding-top:var(--space-24);border-top:1px solid var(--line)}
#principle.dp-a .bm-mchips{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:var(--space-32)}
#principle.dp-a .bm-mchips b{margin-bottom:var(--space-8)}

/* B · Label column: small labels on the left, content on the right, hairline rows for metrics */
#principle.dp-b{display:grid;grid-template-columns:minmax(120px,200px) minmax(0,1fr);column-gap:var(--space-48, 48px);align-items:start}
#principle.dp-b>*{grid-column:2;margin-top:0}
#principle.dp-b>.bs-eye{grid-column:1;grid-row:1}
#principle.dp-b>h3{grid-column:1;grid-row:4;margin:var(--space-48, 48px) 0 0}
#principle.dp-b>.bm-mchips{grid-row:4;margin-top:var(--space-48, 48px)}
#principle.dp-b>p:not(.bs-eye):not(.bm-word-line){grid-row:1}
#principle.dp-b h2.bm-word{grid-row:2;margin:var(--space-32) 0 var(--space-8);font-size:clamp(30px,3.8vw,44px);font-weight:var(--weight-medium);letter-spacing:-.02em;color:var(--ink)}
#principle.dp-b p.bm-word-line{grid-row:3;margin:0;font-size:var(--text-body);color:var(--muted)}
#principle.dp-b .bm-mchips li{display:grid;grid-template-columns:40px minmax(0,1fr) minmax(0,1.3fr);gap:var(--space-16);align-items:baseline;padding:var(--space-16) 0;border-top:1px solid var(--line)}
#principle.dp-b .bm-mchips li:last-child{border-bottom:1px solid var(--line)}
#principle.dp-b .bm-mchips .bm-tip{margin:0}

/* C · Card: the principle in a soft panel, centred; metrics as three equal tiles */
#principle.dp-c h2.bm-word{margin:var(--space-32) 0 0;padding:var(--space-48, 48px) var(--space-32) var(--space-8);border-radius:var(--radius-card) var(--radius-card) 0 0;background:#fdf6e8;font-size:clamp(32px,4.2vw,48px);font-weight:var(--weight-medium);letter-spacing:-.02em;text-align:center;color:var(--ink)}
#principle.dp-c p.bm-word-line{max-width:none;margin:0 0 var(--space-32);padding:0 var(--space-32) var(--space-48, 48px);border-radius:0 0 var(--radius-card) var(--radius-card);background:#fdf6e8;font-size:var(--text-body);text-align:center;color:var(--muted)}
#principle.dp-c h3{margin:0 0 var(--space-12)}
#principle.dp-c .bm-mchips{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-12)}
#principle.dp-c .bm-mchips li{padding:var(--space-20, 20px);border:1px solid var(--line);border-radius:var(--radius-card)}
#principle.dp-c .bm-mchips b{margin-bottom:var(--space-12)}

@media(max-width:720px){
  #principle.dp-a .bm-mchips,#principle.dp-c .bm-mchips{grid-template-columns:minmax(0,1fr);row-gap:var(--space-20, 20px)}
  #principle.dp-b{display:block}
  #principle.dp-b>h3,#principle.dp-b>.bm-mchips{margin-top:var(--space-32)}
  #principle.dp-b .bm-mchips li{grid-template-columns:32px minmax(0,1fr)}
  #principle.dp-b .bm-mchips .bm-tip{grid-column:2}
}

/* ── "See the screens" try-outs (?ss=a / b / c) ── */
/* A · Peek: the tops of the four screens show, fading out; a pill opens the rest */
.bm-more.ss-a{border:0;margin-top:var(--space-24)}
.bm-more.ss-a .bs-seq{transition:max-height .45s ease}
.bm-more.ss-a.is-collapsed .bs-seq{max-height:170px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 35%,transparent);mask-image:linear-gradient(#000 35%,transparent)}
.bm-more.ss-a .bs-seq{max-height:1200px}
.bm-more.ss-a summary{order:2;justify-content:center;gap:8px;width:max-content;margin:var(--space-8) auto 0;padding:8px 16px;border:1px solid var(--line);border-radius:999px;background:#fff}
.bm-more.ss-a summary::after{width:10px;height:10px;background:none;border:solid currentColor;border-width:0 1.5px 1.5px 0;rotate:45deg;translate:0 -2px}
.bm-more.ss-a:not(.is-collapsed) summary::after{rotate:-135deg;translate:0 2px}
.bm-more.ss-a{display:flex;flex-direction:column}
/* B · Thumbnails: a compact row of four tiny screens says what is inside before opening */
.bm-more.ss-b{border:0;margin-top:var(--space-24)}
.bm-more.ss-b summary{justify-content:flex-start;gap:var(--space-12);width:max-content;max-width:100%;padding:8px 18px 8px 8px;border:1px solid var(--line);border-radius:14px;background:#fff;transition:border-color .2s,box-shadow .2s}
.bm-more.ss-b summary:hover{border-color:#d9d9e0;box-shadow:0 4px 14px rgba(20,20,30,.06)}
.bm-ss-thumbs{display:flex}
.bm-ss-thumbs img{width:28px;height:48px;object-fit:cover;object-position:top;border-radius:5px;border:2px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.18)}
.bm-ss-thumbs img+img{margin-left:-8px}
.bm-more.ss-b[open] .bm-ss-thumbs{display:none}
.bm-more.ss-b summary::after{margin-left:var(--space-4)}
.bm-more.ss-b[open] summary{margin-bottom:var(--space-16)}
/* C · Drawer: the pill opens a panel from the right; the page stays where it is */
.bm-more.ss-c{border:0;margin-top:var(--space-24)}
.bm-more.ss-c summary{justify-content:flex-start;gap:8px;width:max-content;padding:8px 16px;border:1px solid var(--line);border-radius:999px;background:#fff}
.bm-more.ss-c summary::after{width:10px;height:10px;background:none;border:solid currentColor;border-width:1.5px 1.5px 0 0;rotate:45deg}
.bm-drawer{position:fixed;inset:0;z-index:80;display:flex;justify-content:flex-end;background:rgba(20,20,30,.28);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
.bm-drawer.is-open{opacity:1;visibility:visible}
.bm-drawer-panel{box-sizing:border-box;width:min(560px,100%);height:100%;overflow-y:auto;scrollbar-width:thin;padding:var(--space-24);background:#fff;box-shadow:-12px 0 40px rgba(20,20,30,.12);translate:24px 0;transition:translate .3s ease}
.bm-drawer.is-open .bm-drawer-panel{translate:0 0}
.bm-drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--space-16);font-weight:var(--weight-medium)}
.bm-drawer-x{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;background:#f2f2f5;font-size:18px;cursor:pointer}
.bm-drawer .bs-seq{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (prefers-reduced-motion:reduce){.bm-more.ss-a .bs-seq,.bm-drawer,.bm-drawer-panel{transition:none}}

/* Research insights: the three columns share one set of rows, so questions, lines and answers stay level at any width */
@media(min-width:641px){
  .bs .bp-ins{grid-template-rows:auto auto auto;row-gap:0}
  .bs .bp-ins>li{display:grid;grid-template-rows:subgrid;grid-row:span 3}
  .bs .bp-ins-q{flex:none;display:flex;flex-direction:column;justify-content:flex-start}
  .bs .bp-ins-line{justify-self:center}
  .bs .bp-ins-a{align-self:stretch}
}

/* Success metrics label: same size and style as the Design principle eyebrow */
#principle .story-section>p.bm-sm-eye,#principle>p.bm-sm-eye{margin:var(--space-32) 0 var(--space-12)}
#principle.dp-a>p.bm-sm-eye{padding-top:var(--space-24);border-top:1px solid var(--line)}
#principle.dp-b>p.bm-sm-eye{grid-column:1;grid-row:4;margin:var(--space-48, 48px) 0 0}

/* Principle font try-outs (?df=a / b / c), all hold detail when set large */
#principle.df-a h2.bm-word{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:clamp(44px,6vw,68px);letter-spacing:-.01em;line-height:1.05}
#principle.df-a h2.bm-word em{font-style:italic}
#principle.df-b h2.bm-word{font-family:'Space Grotesk',Inter,sans-serif;font-weight:500;letter-spacing:-.035em}
#principle.df-c h2.bm-word{font-family:'IBM Plex Sans',Inter,sans-serif;font-weight:600;letter-spacing:-.025em}
#principle:not(.df-a) h2.bm-word em{font-style:normal}

/* See the screens (peek, default): same pill as "Show all screens", sitting on the edge of the fade, text only */
.bm-more.ss-a summary{position:relative;z-index:1;margin:-46px auto 0;padding:8px 18px;border:1px solid var(--line);border-radius:999px;background:#fff;font-weight:400;box-shadow:0 6px 16px -8px rgba(0,0,0,.25);transition:background .2s}
.bm-more.ss-a summary:hover{background:var(--bs-cool)}
.bm-more.ss-a summary:focus-visible{outline:2px solid var(--bp-gold);outline-offset:2px}
.bm-more.ss-a summary::after{content:none}
.bm-more.ss-a:not(.is-collapsed) summary{margin-top:var(--space-16)}
.bm-more.ss-a.is-collapsed .bs-seq{-webkit-mask-image:linear-gradient(#000 25%,transparent 92%);mask-image:linear-gradient(#000 25%,transparent 92%)}

/* Setup compare, side by side: no note on the After side, and the After screen is the
   same size as each Before screen (3 + 1 equal screens, same height) */
.bs .bp-compare.is-split .bp-cmp-note{display:none}
@media(min-width:701px){
  .bs .bp-compare.is-split{--sp-pad:28px;--sp-gap:20px;--sp-mid:12px}
  .bs .bp-compare.is-split .bp-cmp-stage{gap:var(--sp-mid);grid-template-columns:calc((100% - var(--sp-mid) - 4*var(--sp-pad) - 2*var(--sp-gap))*.75 + 2*var(--sp-gap) + 2*var(--sp-pad)) minmax(0,1fr)}
  .bs .bp-compare.is-split .bp-cmp-layer{padding:56px var(--sp-pad) 28px;gap:var(--sp-gap)}
  .bs .bp-compare.is-split .bp-cmp-after{grid-template-columns:minmax(0,1fr)}
  .bs .bp-compare.is-split .bp-cmp-tag.is-after{left:calc((100% - var(--sp-mid) - 4*var(--sp-pad) - 2*var(--sp-gap))*.75 + 2*var(--sp-gap) + 2*var(--sp-pad) + var(--sp-mid) + var(--space-16))}
}
@media(max-width:700px){
  /* stacked: the After screen takes one Before column's width, centred */
  .bs .bp-compare.is-split .bp-cmp-after{grid-template-columns:calc((100% - 8%)/3);justify-content:center}
  .bs .bp-compare.is-split .bp-cmp-stage{grid-auto-rows:1fr}
}
