/* BoleMind's own look for what a client meets first — the company's site, lah.page's landing
   and the pages nginx answers for what is not there (Bulat's decisions (420), (423), (425),
   (426); the document of the site, section 2): the page #F5F5F2, the text #171717, a grey
   second tone in place of bold, two buttons with a fine edge and a soft shadow underneath,
   rows with a pixel number, the card in a frame of scattered pixels, pictures that dissolve
   into the page cell by cell. The prefix is bm- (414): the cabinet's dl- sheets are not
   touched (425). The faces are named here and given by faces.css beside this file — Figtree,
   Regular and Medium, and Departure Mono, the same on every server and in m18's preview (486). */

:root {
  --bm-page: #f5f5f2;
  --bm-ink: #171717;
  --bm-grey: #6f6f6a;
  --bm-soft: #8b8b85;
  --bm-line: #e3e3dd;
  --bm-plate: #ebebe6;
  --bm-white: #ffffff;
  --bm-dark: #2b2b29;
  --bm-dark-hover: #1d1d1c;
  --bm-blue: #3f7be0;
  --bm-shadow: 0 1px 0 rgba(23, 23, 23, .10), 0 6px 14px -6px rgba(23, 23, 23, .28);
  --bm-sans: "BM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bm-mono: "BM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --bm-wide: 1200px;
  --bm-gutter: 24px;
  --bm-head: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  background: var(--bm-page); color: var(--bm-ink);
  font: 400 16px/1.55 var(--bm-sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
a { color: inherit; }
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bm-blue); outline-offset: 2px; border-radius: 4px; }
.bm-wrap { width: 100%; max-width: calc(var(--bm-wide) + 2 * var(--bm-gutter)); margin: 0 auto;
  padding: 0 var(--bm-gutter); }
.bm-grey { color: var(--bm-grey); }
.bm-mono { font-family: var(--bm-mono); }
.bm-label { font: 400 13px/1.4 var(--bm-mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--bm-grey); }
.bm-hidden { display: none !important; }

/* --- type: size and two tones; bold only what the swarm makes (500), (508), (510) ----- */
h1, h2, h3 { font-weight: 400; letter-spacing: -.02em; }
[data-particle-title], [data-particle-title] * { font-weight: 700; }
.bm-h1 { font-size: 52px; line-height: 1.08; }
/* the hero's heading (469), (485), (502), (507), (509): «We Build Websites», and the three
   slogans in one line; on a phone the phrase breaks before its last word */
.bm-h1-main, .bm-h1-words { display: block; }
.bm-h1-words { white-space: nowrap; }
.bm-h2 { font-size: 40px; line-height: 1.12; }
.bm-h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.01em; }
.bm-lead { font-size: 18px; line-height: 1.5; color: var(--bm-grey); max-width: 60ch; }
.bm-text p + p { margin-top: 12px; }
.bm-text { max-width: 62ch; }

/* --- buttons ------------------------------------------------------------------------ */
.bm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 8px; text-decoration: none;
  font: 500 15px/1 var(--bm-sans); letter-spacing: -.005em; white-space: nowrap;
  background: var(--bm-dark); color: var(--bm-white);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--bm-shadow),
    inset 0 1px 0 rgba(255, 255, 255, .10);
  transition: background .15s ease;
}
.bm-btn:hover { background: var(--bm-dark-hover); }
.bm-btn.bm-light { background: var(--bm-white); color: var(--bm-ink);
  border-color: var(--bm-line); box-shadow: var(--bm-shadow); }
.bm-btn.bm-light:hover { background: #fbfbf9; }
.bm-btn.bm-glass { background: rgba(6, 46, 104, .26); color: var(--bm-white);
  border-color: rgba(255, 255, 255, .38); -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px); box-shadow: none; }
.bm-btn.bm-glass:hover { background: rgba(255, 255, 255, .24); }
.bm-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.bm-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* --- the header ------------------------------------------------------------------------ */
.bm-head { position: sticky; top: 0; z-index: 20; height: var(--bm-head);
  background: var(--bm-page); border-bottom: 1px solid var(--bm-line); }
.bm-head .bm-wrap { height: 100%; display: flex; align-items: center; gap: 16px; }
/* the mark and, under it, the slogan (484): a small grey line in the pixel face, one line */
.bm-brand { margin-right: auto; display: flex; flex-direction: column; align-items: flex-start;
  gap: 5px; min-width: 0; }
.bm-mark { font: 500 22px/1 var(--bm-sans); letter-spacing: -.02em; text-decoration: none; }
.bm-slogan { font: 400 11px/1 var(--bm-mono); letter-spacing: .02em; color: var(--bm-grey);
  white-space: nowrap; }
.bm-head.bm-over .bm-slogan { color: rgba(255, 255, 255, .94);
  text-shadow: 0 1px 2px rgba(0, 30, 70, .55); }
.bm-nav { display: flex; align-items: center; gap: 6px; }
.bm-nav a, .bm-group span { font-size: 15px; line-height: 1; text-decoration: none;
  padding: 8px 10px; border-radius: 6px; }
.bm-nav a:hover { background: var(--bm-plate); }
.bm-nav a[aria-current="page"] { background: var(--bm-plate); }
.bm-group { display: flex; align-items: center; border-radius: 8px; padding: 2px; }
.bm-group span { color: var(--bm-soft); }
.bm-group i { width: 1px; height: 14px; background: var(--bm-line); margin: 0 2px; }
.bm-nav .bm-btn { margin-left: 10px; padding: 0 16px; min-height: 40px; }
.bm-menu { display: none; }
/* Over the first screen's picture (the home page, lah.page): the header lies on the picture,
   its group on a frosted plate; past the picture it is the light bar again (site.js). */
.bm-head.bm-over { position: absolute; left: 0; right: 0; background: transparent;
  border-bottom-color: transparent; color: var(--bm-white); }
.bm-head.bm-over .bm-group { background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.bm-head.bm-over .bm-group span { color: rgba(255, 255, 255, .72); }
.bm-head.bm-over .bm-group i { background: rgba(255, 255, 255, .35); }
.bm-head.bm-over .bm-nav > a:not(.bm-btn):hover, .bm-head.bm-over .bm-group a:hover {
  background: rgba(255, 255, 255, .16); }
.bm-head.bm-over .bm-btn { background: var(--bm-white); color: var(--bm-ink);
  border-color: rgba(255, 255, 255, .6); }
/* stuck past the picture: fixed, and across the window as at the top (460) */
.bm-head.bm-stuck { position: fixed; left: 0; right: 0; animation: bm-drop .2s ease; }
@keyframes bm-drop { from { transform: translateY(-100%); } to { transform: none; } }

/* --- pictures: the still, and the loop over it when it may play (site.js) -------------- */
.bm-pic { position: relative; overflow: hidden; background: #c9d6e6; }
.bm-pic img, .bm-pic video { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; image-rendering: pixelated; image-rendering: crisp-edges; }
.bm-pic img { image-rendering: pixelated; }
.bm-pic video { opacity: 0; transition: opacity .3s ease; }
.bm-pic video.bm-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .bm-pic video { display: none; } }
/* The picture dissolves into the page cell by cell: cells of the page's colour, more of them
   towards the edge (dissolve.png, the picture's own width in cells). */
.bm-dissolve { position: absolute; left: 0; right: 0; height: 7%; min-height: 24px;
  background: url("/.bolemind/pictures/dissolve.png") bottom center / 100% 100% no-repeat;
  image-rendering: pixelated; pointer-events: none; z-index: 1; }
.bm-dissolve.bm-bottom { bottom: -1px; }
.bm-dissolve.bm-top { top: -1px; transform: scaleY(-1); }

/* --- the card in a frame of scattered pixels (426) --------------------------------------- */
.bm-paper { position: relative; padding: 40px; }
.bm-card { position: relative; border: 12px solid rgba(251, 251, 248, .80); border-radius: 16px;
  background: rgba(251, 251, 248, .80); background-clip: padding-box; }
/* every card that leans (the card of (426), the plans): 4.2 deg at most, perspective 600 px */
[data-tilt] { position: relative;
  box-shadow: var(--sx, 0px) var(--sy, 8px) 26px -6px rgba(23, 23, 23, .22);
  transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s cubic-bezier(.22, 1.35, .36, 1), box-shadow .7s cubic-bezier(.22, 1, .36, 1); }
[data-tilt].bm-tilting { transition: transform .12s linear, box-shadow .12s linear; }
/* the glare: a light at the pointer, seen only through a mask of pixel cells — the cells come
   through on the frame and the picture near the pointer and travel with it */
.bm-glare { position: absolute; inset: -12px; z-index: 3; border-radius: 16px; pointer-events: none;
  opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), hsla(240, 100%, 96%, .95) 0,
    hsla(240, 80%, 88%, .55) 16%, hsla(240, 60%, 80%, 0) 38%);
  mix-blend-mode: hard-light;
  -webkit-mask: url("/.bolemind/pictures/cells.png") repeat 0 0 / 120px 120px;
  mask: url("/.bolemind/pictures/cells.png") repeat 0 0 / 120px 120px; }
.bm-tilting > .bm-glare { opacity: 1; }
.bm-plan > .bm-glare { inset: 0; border-radius: 14px; }
.bm-card .bm-pic { border-radius: 10px; aspect-ratio: 3 / 2; }
.bm-card.bm-tall .bm-pic { aspect-ratio: 3 / 4; }
.bm-plate { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; text-align: left;
  padding: 16px 16px 14px; border-radius: 10px; color: var(--bm-white);
  background: rgba(30, 30, 30, .22); border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.bm-card .bm-plate p { font-size: 21px; line-height: 1.25; letter-spacing: -.01em;
  color: var(--bm-white); margin: 0; }
.bm-plate p span { color: rgba(255, 255, 255, .72); }
.bm-plate p span.bm-same { color: inherit; }
.bm-plate .bm-btn { margin-top: 12px; }
.bm-caption { margin-top: 14px; text-align: center; font: 400 14px/1.4 var(--bm-mono);
  color: var(--bm-grey); }
.bm-caption a { text-decoration: none; }
.bm-caption a:hover { text-decoration: underline; }

/* --- a first screen on a picture: lah.page's front door, the home page's below ------------ */
.bm-hero { position: relative; color: var(--bm-white); min-height: 100vh; min-height: 100svh;
  max-height: 1040px; display: flex; flex-direction: column; }
.bm-hero > .bm-pic { position: absolute; inset: 0; background: #0b8df2; }
.bm-hero > .bm-pic img, .bm-hero > .bm-pic video { object-position: 72% 60%; }
.bm-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(4, 52, 120, .42) 0%, rgba(4, 52, 120, .18) 38%,
    transparent 62%); }
.bm-hero-in { position: relative; z-index: 2; padding-top: calc(var(--bm-head) + 56px);
  padding-bottom: 260px; }
.bm-hero .bm-eyebrow { display: inline-block; font: 400 13px/1 var(--bm-mono);
  letter-spacing: .06em; text-transform: uppercase; padding: 8px 10px; border-radius: 6px;
  background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bm-hero h1 { margin: 22px 0 14px; max-width: 640px; text-shadow: 0 1px 2px rgba(0, 40, 90, .25); }
.bm-hero .bm-sub { font-size: 19px; line-height: 1.4; max-width: 34ch;
  text-shadow: 0 1px 2px rgba(0, 40, 90, .3); }
@media (min-width: 1100px) {
  .bm-lah .bm-hero-in { max-width: none; padding-left: var(--bm-edge); padding-right: var(--bm-edge); }
  .bm-lah .bm-hero-in > *, .bm-lah h1 { max-width: 520px; }
}

/* --- the home page's first screen (469)-(471), (485): one column in the middle, top to bottom
   the count under the header, the line, the heading, the three words, the window, the buttons */
/* the shade the words are read on (measured, the hero's test): deepest behind the column, in
   the middle, and a band under the header for the mark and the slogan */
.bm-home::before { background:
    linear-gradient(180deg, rgba(4, 40, 96, .5) 0, rgba(4, 40, 96, 0) 120px),
    radial-gradient(ellipse 62% 58% at 50% 34%, rgba(4, 40, 96, .58) 0%,
    rgba(4, 40, 96, .42) 48%, rgba(4, 40, 96, 0) 100%); }
.bm-home .bm-hero-in { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center;
  text-align: center; padding-top: calc(var(--bm-head) + 14px); padding-bottom: 200px; }
.bm-count-slot { min-height: 128px; display: flex; justify-content: center; }
.bm-home .bm-eyebrow { margin-top: 10px; background: rgba(4, 40, 96, .5); }
.bm-home h1 { margin: 10px 0 0; max-width: none; text-shadow: 0 1px 3px rgba(0, 30, 70, .35); }
/* the phrase as large as the page's height lets it be beside the window (502), (507): 42 px up
   to 800 px of page — the window stands on every laptop there (491) —, then with the height, and
   never wider than its column */
.bm-home .bm-h1-main, .bm-home .bm-h1-words { font-size: clamp(42px, min(12vh - 54px, 8.6vw), 104px);
  line-height: 1.08; }
@media (min-width: 641px) { .bm-home .bm-h1-main { white-space: nowrap; } }
.bm-home .bm-actions { justify-content: center; margin-top: 26px; }
/* the hero's buttons larger (522): 54 px high and 18 px letters, 44 and 15 before */
.bm-home .bm-actions .bm-btn { min-height: 54px; padding: 0 26px; font-size: 18px; }
.bm-home .bm-btn.bm-glass { background: rgba(6, 46, 104, .52); }
/* the count half as large again (457), its digits cells (448); its place kept before it is
   drawn, so nothing under it moves */
.bm-count { --count-cell: 4.5px; display: inline-block; padding: 10px 21px 9px;
  border-radius: 14px; background: rgba(8, 40, 90, .34); box-shadow: inset 0 0 0 1px
  rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bm-count[hidden] { display: none; }
.bm-count .count-label { font: 400 18px/1 var(--bm-mono); letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.bm-count .count-units { list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 18px; margin-top: 9px; }
.bm-count .count-units li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bm-count .count-units svg { height: calc(var(--count-cell) * 13); }
.bm-count .count-units .frame { fill: rgba(255, 255, 255, .55); }
.bm-count .count-units .on { fill: var(--bm-white); }
.bm-count .count-word { font: 400 16px/1 var(--bm-mono); color: rgba(255, 255, 255, .86); }

/* lah.page's front door: the night as its first screen */
.bm-lah > .bm-pic { background: #1d1a33; }
.bm-lah > .bm-pic img, .bm-lah > .bm-pic video { object-position: 40% 50%; }
.bm-lah::before { background: linear-gradient(100deg, rgba(8, 6, 24, .62) 0%, rgba(8, 6, 24, .3) 45%,
  transparent 70%); }
.bm-lah .bm-hero-in { padding-bottom: 140px; }
.bm-lah .bm-sub { max-width: 52ch; font-size: 17px; }
.bm-grey-on { color: rgba(255, 255, 255, .72); }
.bm-address { display: inline-flex; max-width: 100%; overflow-x: auto; margin: 22px 0 26px;
  padding: 12px 16px; border-radius: 10px; font: 400 18px/1.2 var(--bm-mono);
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); white-space: nowrap; }
.bm-address em { font-style: normal; color: var(--bm-white); }
.bm-address span { color: rgba(255, 255, 255, .66); }
.bm-lost { max-width: 560px; margin-top: 40px; padding-left: 0; }
.bm-foot-small { margin-top: 0; padding-top: 28px; }
.bm-foot-small a { color: inherit; }

/* --- the showcase (429), (430), (435), (469): a concept in a device's frame between the words
   and the buttons, in the middle — as large as the first screen lets it be: in height what is
   left under the words, in width up to the Merlion, never over it (site.js measures both). Its
   place is the column's: the buttons stand at the foot of the first screen whether it has come
   or not. Below 1100 px, and where the screen leaves it no useful size, there is none. */
.bm-show { display: none; color: var(--bm-ink); }
.bm-devices { display: flex; justify-content: center; gap: 0; margin-bottom: 8px; }
.bm-devices button { font: 500 13px/1 var(--bm-sans); padding: 7px 12px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .86); color: var(--bm-ink); border: 1px solid var(--bm-line);
  margin-left: -1px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
/* each word with its device's icon, as on Review's switches (615) */
.bm-devices button svg { width: 13px; height: 13px; flex: 0 0 auto; }   /* the line's own height: the threshold (523) stays */
.bm-devices button:first-child { border-radius: 8px 0 0 8px; margin-left: 0; }
.bm-devices button:last-child { border-radius: 0 8px 8px 0; }
.bm-devices button[aria-pressed="true"] { background: var(--bm-dark); color: var(--bm-white);
  border-color: var(--bm-dark); }
.bm-device { margin: 0 auto; box-shadow: 0 24px 48px -20px rgba(23, 23, 23, .45); }
.bm-device .bm-screen { position: relative; overflow: hidden; background: var(--bm-white); }
.bm-device iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; }
/* The laptop of Review (578) — ziggurat/templates/review.html, .dev.desktop, by its numbers: a
   lid with its camera's notch, and the base wider than the lid, dark. --s is the screen's width,
   set by site.js; the lid is --s and its bezel, the base hangs over it on either side. */
.bm-device[data-device="desktop"] { --s: 400px; position: relative; background: #1d1d1c;
  padding: calc(var(--s)*.022) calc(var(--s)*.022) calc(var(--s)*.03);
  border-radius: calc(var(--s)*.03) calc(var(--s)*.03) calc(var(--s)*.008) calc(var(--s)*.008);
  margin-bottom: calc(var(--s)*.04); }
.bm-device[data-device="desktop"] .bm-screen { width: var(--s); height: calc(var(--s)*.625); }
.bm-device[data-device="desktop"]::before { content: ""; position: absolute; z-index: 2;
  top: calc(var(--s)*.022); left: 50%; transform: translateX(-50%); width: calc(var(--s)*.11);
  height: calc(var(--s)*.016); background: #1d1d1c;
  border-radius: 0 0 calc(var(--s)*.008) calc(var(--s)*.008); }
.bm-device[data-device="desktop"]::after { content: ""; position: absolute;
  left: calc(var(--s)*-.07); right: calc(var(--s)*-.07); bottom: calc(var(--s)*-.04);
  height: calc(var(--s)*.04); background: linear-gradient(#3a3a38, #141413 70%);
  border-radius: 0 0 calc(var(--s)*.035) calc(var(--s)*.035); }
.bm-device[data-device="tablet"] { padding: 14px; border-radius: 26px; background: #1d1d1c; }
.bm-device[data-device="tablet"] .bm-screen { aspect-ratio: 768 / 1024; border-radius: 10px; }
.bm-device[data-device="mobile"] { padding: 9px; border-radius: 30px; background: #1d1d1c; }
.bm-device[data-device="mobile"] .bm-screen { aspect-ratio: 375 / 760; border-radius: 22px; }
/* its caption on a frosted plate: the picture behind it is the crowd's */
.bm-show .bm-caption { display: table; margin: 8px auto 0; padding: 7px 12px; border-radius: 8px;
  color: var(--bm-white); background: rgba(23, 23, 23, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bm-show .bm-caption a { color: var(--bm-white); text-decoration: underline; text-underline-offset: 3px; }

/* --- the wide screen (460): the header spans the window — the mark at its left edge, the menu
   and the button at its right; the hero's column stands in its middle (469) */
:root { --bm-edge: 40px; }
@media (min-width: 1100px) {
  .bm-head .bm-wrap { max-width: none; padding-left: var(--bm-edge); padding-right: var(--bm-edge); }
  .bm-home .bm-hero-in { max-width: none; }
}
/* With a showcase, where the first screen leaves the window a desk's site of 300 px at least —
   618 px of page and more, at any width from 1100 (measured; site.js's FLOOR the same) —
   the first screen is the window's and the column's: the screen's height. Lower, there is no
   window and no hole for it: the buttons follow the words. */
@media (min-width: 1100px) and (min-height: 618px) {
  .bm-hero.bm-with-show { height: 100vh; height: 100svh; max-height: none; }
  /* the buttons over the picture, the band where it scatters into the page under them — the
     larger buttons' ten pixels paid by these gaps, so the window keeps its sizes (522), (523) */
  .bm-with-show .bm-hero-in { padding-bottom: 46px; }
  .bm-with-show > .bm-dissolve.bm-bottom { height: 38px; min-height: 0; }
  .bm-with-show .bm-show { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0;
    align-self: stretch; justify-content: center; margin-top: 12px; }
  .bm-with-show .bm-show[hidden] { visibility: hidden; }
  .bm-with-show .bm-show.bm-no-room { visibility: hidden; }
  .bm-with-show .bm-actions { margin-top: 8px; }
}
/* The column yields height to the window in an order (491): below 900 px of page the count
   at its first size; below 800 the switches Desktop · Tablet · Mobile in the caption's line
   under the window; below 760 — every laptop's page with a browser's bars — the count in one
   line, its label beside its digits, and the column's own gaps narrower. The window and the
   buttons stay; below 618 px there is none. */
@media (min-width: 1100px) and (min-height: 618px) and (max-height: 899px) {
  .bm-with-show .bm-count { --count-cell: 3px; padding: 9px 14px 8px; border-radius: 10px; }
  .bm-with-show .bm-count .count-label { font-size: 12px; }
  .bm-with-show .bm-count .count-units { gap: 8px 12px; margin-top: 7px; }
  .bm-with-show .bm-count .count-word { font-size: 11px; }
  .bm-with-show .bm-count-slot { min-height: 100px; }
}
@media (min-width: 1100px) and (min-height: 618px) and (max-height: 799px) {
  .bm-with-show .bm-show { display: grid; grid-template-columns: auto auto;
    grid-template-areas: "device device" "toggles caption"; justify-content: center;
    align-content: center; column-gap: 10px; }
  .bm-with-show .bm-devices { grid-area: toggles; justify-self: end; align-self: center;
    margin: 8px 0 0; }
  .bm-with-show .bm-device { grid-area: device; justify-self: center; }
  .bm-with-show .bm-show .bm-caption { grid-area: caption; justify-self: start; margin: 8px 0 0; }
}
@media (min-width: 1100px) and (min-height: 618px) and (max-height: 759px) {
  .bm-with-show .bm-count { display: flex; align-items: center; gap: 14px; padding: 4px 14px; }
  .bm-with-show .bm-count .count-units { margin-top: 0; flex-wrap: nowrap; }
  .bm-with-show .bm-count-slot { min-height: 64px; }
  /* and the column's own gaps, and the band where the picture scatters, narrower */
  .bm-with-show .bm-hero-in { padding-top: calc(var(--bm-head) + 8px); padding-bottom: 28px; }
  .bm-with-show > .bm-dissolve.bm-bottom { height: 22px; }
  .bm-with-show .bm-eyebrow { margin-top: 6px; }
  .bm-with-show h1 { margin-top: 6px; }
  .bm-with-show .bm-show { margin-top: 8px; }
  .bm-with-show .bm-actions { margin-top: 4px; }
}
/* on a phone the count stands under the buttons at its first size: half as large again it
   breaks into two rows over the Merlion (478) */
@media (max-width: 640px) {
  .bm-count-slot { order: 10; min-height: 0; margin-top: 28px; }
  /* its plate a shade deeper: under the buttons one under the other it stands on the Merlion's
     light head (its label measured 4.42 at .34 on 375×812) */
  .bm-count { --count-cell: 3px; padding: 12px 14px 10px; border-radius: 10px;
    background: rgba(8, 40, 90, .46); }
  .bm-count .count-label { font-size: 12px; }
  .bm-count .count-units { gap: 10px 12px; margin-top: 10px; }
  .bm-count .count-word { font-size: 11px; }
}

.bm-strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 36px; }
.bm-strip-wrap { overflow: hidden; }
#bm-strip { overflow-x: auto; scrollbar-width: none; cursor: grab; }
#bm-strip::-webkit-scrollbar { display: none; }
#bm-strip.bm-dragging { cursor: grabbing; }
#bm-strip .bm-track { display: flex; gap: 10px; width: max-content; padding: 0 0 8px; }
#bm-strip a { position: relative; display: block; width: 320px; flex: 0 0 auto; text-decoration: none;
  border-radius: 12px; overflow: hidden; background: #dcdcd6; aspect-ratio: 320 / 456;
  user-select: none; -webkit-user-drag: none; }
#bm-strip img { width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
#bm-strip span { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 10px;
  border-radius: 8px; font: 400 12px/1.3 var(--bm-mono); color: var(--bm-white);
  background: rgba(23, 23, 23, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (max-width: 900px) {
  .bm-strip-head { flex-direction: column; align-items: flex-start; }
  #bm-strip a { width: 200px; }
}

/* --- sections --------------------------------------------------------------------------- */
.bm-section { padding: 112px 0; }
.bm-section.bm-tight { padding: 72px 0; }
.bm-center { text-align: center; }
.bm-center .bm-lead, .bm-center .bm-text { margin-left: auto; margin-right: auto; }
.bm-heading { margin-bottom: 20px; }
.bm-call { display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-top: 1px solid var(--bm-line); border-bottom: 1px solid var(--bm-line); padding: 28px 0; }
.bm-call p { font-size: 26px; letter-spacing: -.01em; }

/* the comparison (433) */
.bm-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 48px;
  font-size: 15px; line-height: 1.45; }
.bm-table th, .bm-table td { text-align: left; vertical-align: top; padding: 16px 18px;
  border-bottom: 1px solid var(--bm-line); }
.bm-table thead th { font-weight: 400; font-size: 17px; letter-spacing: -.01em; }
.bm-table tbody th { font: 400 13px/1.45 var(--bm-mono); color: var(--bm-grey);
  letter-spacing: .02em; width: 14%; }
.bm-table td { color: var(--bm-grey); width: 28.6%; }
.bm-table .bm-ours { background: var(--bm-white); color: var(--bm-ink);
  border-left: 1px solid var(--bm-line); border-right: 1px solid var(--bm-line); }
.bm-table thead .bm-ours { border-top: 1px solid var(--bm-line); border-radius: 12px 12px 0 0; }
.bm-table tbody tr:last-child .bm-ours { border-radius: 0 0 12px 12px; }
.bm-cards3 { display: none; }
.bm-under { margin-top: 28px; display: flex; gap: 18px; align-items: center; justify-content: center;
  flex-wrap: wrap; font-size: 18px; }

/* three steps */
.bm-steps-label { margin-bottom: 56px; }
.bm-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px;
  align-items: center; }
.bm-step + .bm-step { margin-top: 120px; }
.bm-step.bm-flip > :first-child { order: 2; }
.bm-step h3 { font-size: 36px; line-height: 1.12; letter-spacing: -.02em; margin: 14px 0 16px; }
.bm-step .bm-pic { border-radius: 12px; aspect-ratio: 3 / 2;
  box-shadow: 8px 10px 22px -12px rgba(23, 23, 23, .35); }
.bm-rows { display: grid; gap: 8px; margin-top: 26px; }
.bm-row { background: var(--bm-white); border: 1px solid var(--bm-line); border-radius: 8px; }
.bm-row > summary, .bm-row > div { list-style: none; display: flex; gap: 14px; align-items: center;
  padding: 14px 16px; font-size: 15px; font-weight: 500; }
.bm-row > summary { cursor: pointer; transition: background .15s ease; border-radius: 8px; }
.bm-row { transition: border-color .15s ease, background .15s ease; }
.bm-row:hover { border-color: rgba(23, 23, 23, .2); }
.bm-row:hover > summary { background: rgba(23, 23, 23, .025); }
.bm-row > summary::-webkit-details-marker { display: none; }
.bm-row b { font: 400 12px/1 var(--bm-mono); color: var(--bm-soft); min-width: 2.2em; }
.bm-row > summary::after { content: "+"; margin-left: auto; color: var(--bm-soft);
  font-weight: 400; font-size: 18px; line-height: 1; }
.bm-row[open] > summary::after { content: "−"; }
.bm-row > p { padding: 0 16px 14px calc(16px + 2.2em + 14px); color: var(--bm-grey);
  font-size: 15px; }
.bm-row > .bm-sheet-body { display: block; padding: 0 16px 18px calc(16px + 2.2em + 14px);
  color: var(--bm-grey); font-size: 15px; font-weight: 400; }
.bm-step .bm-sheet-pic, .bm-sheet .bm-sheet-pic { aspect-ratio: 16 / 5; box-shadow: none; }
html.bm-js .bm-row .bm-sheet-body { display: none; }

/* the guide */
.bm-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center;
  gap: 48px; margin-top: 56px; }
.bm-guide a { text-decoration: none; }
.bm-cover .bm-plate p { font-size: 19px; }

/* the strip of sky */
.bm-sky { position: relative; color: var(--bm-white); padding: 160px 0; overflow: hidden; }
.bm-sky > .bm-pic { position: absolute; inset: 0; background: #2a3fae; }
.bm-sky::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(10, 16, 60, .32); }
.bm-sky .bm-wrap { position: relative; z-index: 2; }
.bm-sky h2 { text-align: center; }
.bm-props { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.bm-props div { border-left: 1px solid rgba(255, 255, 255, .45); padding-left: 16px; }
.bm-props h3 { font-size: 17px; font-weight: 500; letter-spacing: 0; margin-bottom: 6px; }
.bm-props p { color: rgba(255, 255, 255, .84); font-size: 15px; }
.bm-sky .bm-under a { color: var(--bm-white); }

/* the field of letters */
.bm-letters { --cell: 46px; margin: 48px auto 0; display: grid; justify-content: center;
  font: 400 20px/1 var(--bm-mono); color: rgba(38, 35, 35, .5); user-select: none; }
.bm-letters .bm-line { position: relative; display: flex; }
.bm-letters span { position: relative; z-index: 1; width: var(--cell); height: var(--cell);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .15s ease; }
.bm-letters.bm-narrow { display: none; }
/* without the script, or with less motion: the first ten names found and framed */
.bm-letters:not(.bm-live) [data-w] { color: rgba(23, 23, 23, .9); background: rgba(255, 255, 255, .7);
  box-shadow: inset 0 1.5px 0 var(--bm-blue), inset 0 -1.5px 0 var(--bm-blue); }
.bm-letters:not(.bm-live) [data-s] { border-radius: 999px 0 0 999px;
  box-shadow: inset 1.5px 1.5px 0 var(--bm-blue), inset 0 -1.5px 0 var(--bm-blue); }
.bm-letters:not(.bm-live) [data-e] { border-radius: 0 999px 999px 0;
  box-shadow: inset -1.5px 1.5px 0 var(--bm-blue), inset 0 -1.5px 0 var(--bm-blue); }
.bm-letters:not(.bm-live) [data-s][data-e] { border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--bm-blue); }
.bm-letters .bm-hot [data-w], .bm-letters .bm-found { color: rgba(23, 23, 23, .9); }
.bm-letters .bm-found { transition: color .52s ease; }
.bm-pen { position: absolute; z-index: 0; overflow: visible; pointer-events: none;
  transition: opacity .4s ease; }
.bm-pen rect { fill: rgba(255, 255, 255, 0); stroke: var(--bm-blue); stroke-width: 1.5;
  stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.bm-pen.bm-draw rect { animation: bm-pen 1.02s cubic-bezier(.45, .05, .25, 1) .3s forwards; }
.bm-pen.bm-draw rect.bm-ccw { animation-name: bm-pen-back; }
.bm-pen.bm-gone { opacity: 0; }
@keyframes bm-pen { to { stroke-dashoffset: 0; fill: rgba(255, 255, 255, .7); } }
@keyframes bm-pen-back { from { stroke-dashoffset: -1000; } to { stroke-dashoffset: 0;
  fill: rgba(255, 255, 255, .7); } }
.bm-line.bm-wave span { animation: bm-wave .26s ease; }
@keyframes bm-wave { 50% { opacity: .15; transform: translateY(-3px); } }

/* --- the footer, the closing block (5.11, 4) -------------------------------------------- */
.bm-foot { margin-top: 40px; padding: 96px 0 0; }
.bm-foot-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px;
  align-items: center; }
.bm-foot h2 { font-size: 40px; line-height: 1.12; }
.bm-foot .bm-lines { margin-top: 18px; color: var(--bm-grey); max-width: 46ch; }
.bm-foot .bm-lines p + p { margin-top: 6px; }
.bm-foot .bm-mail { display: inline-block; margin-top: 10px; }
.bm-foot nav { margin-top: 36px; display: grid; gap: 14px; }
.bm-foot .bm-howto { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.bm-foot .bm-howto span { color: var(--bm-soft); }
.bm-foot .bm-cols { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.bm-foot nav a { text-decoration: none; }
.bm-foot nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bm-copy { margin-top: 28px; font-size: 13px; color: var(--bm-soft); }
.bm-strip { margin-top: 72px; height: 48px; background: url("/.bolemind/pictures/strip.png")
  bottom left / auto 100% repeat-x; image-rendering: pixelated; }

/* --- pricing ---------------------------------------------------------------------------- */
.bm-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 28px;
  justify-content: center; margin-top: 44px; }
.bm-plan { text-align: left; background: var(--bm-white); border: 1px solid var(--bm-line); border-radius: 14px;
  padding: 12px; box-shadow: var(--bm-shadow); display: flex; flex-direction: column; }
.bm-plan .bm-pic { border-radius: 9px; aspect-ratio: 3 / 1.1; }
.bm-plan-in { padding: 18px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.bm-plan h2 { font-size: 16px; color: var(--bm-grey); letter-spacing: 0; }
.bm-price { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 18px; }
.bm-price b { font: 400 44px/1 var(--bm-mono); font-weight: 400; }
.bm-price span { color: var(--bm-grey); }
.bm-checks { list-style: none; display: grid; gap: 9px; font-size: 15px; flex: 1;
  align-content: start; }
.bm-checks li { display: flex; gap: 10px; align-items: flex-start; }
.bm-checks svg { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 4px; shape-rendering: crispEdges; }
.bm-checks svg rect { fill: #3a9a5b; }
.bm-plan .bm-small { margin-top: 14px; font-size: 14px; color: var(--bm-grey); }
.bm-plan .bm-btn { margin-top: 18px; align-self: flex-start; }
.bm-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.bm-columns h3 { font-size: 17px; font-weight: 500; letter-spacing: 0; margin-bottom: 6px; }
.bm-columns p { color: var(--bm-grey); font-size: 15px; }
.bm-buys { list-style: none; margin-top: 32px; display: grid; gap: 8px; max-width: 560px; }
.bm-buys b svg { width: 14px; height: 14px; shape-rendering: crispEdges; }
.bm-buys b svg rect { fill: #a7abb1; }
.bm-costs td:last-child { color: var(--bm-ink); }
.bm-costs tbody tr:last-child td:nth-child(2) { color: #b8463b; font-family: var(--bm-mono); }
.bm-costs tbody tr:last-child td:last-child { color: #2f8a50; font-family: var(--bm-mono); }
.bm-note { margin-top: 14px; font-size: 13px; color: var(--bm-soft); }
.bm-faq { max-width: 760px; margin: 40px auto 0; display: grid; gap: 8px; }
.bm-qa { background: var(--bm-white); border: 1px solid var(--bm-line); border-radius: 8px; }
.bm-q { appearance: none; border: 0; background: none; font: inherit; color: inherit; width: 100%;
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer;
  text-align: left; font-size: 16px; font-weight: 500; }
.bm-q i { position: relative; flex: 0 0 auto; margin-left: auto; width: 26px; height: 26px;
  border-radius: 50%; border: 1px solid var(--bm-line); transition: background .2s ease,
  border-color .2s ease; }
.bm-q i::before, .bm-q i::after { content: ""; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 1.5px; background: var(--bm-ink); transform: translate(-50%, -50%);
  transition: transform .2s ease; }
.bm-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.bm-q[aria-expanded="true"] i { background: var(--bm-ink); border-color: var(--bm-ink); }
.bm-q[aria-expanded="true"] i::before, .bm-q[aria-expanded="true"] i::after {
  background: var(--bm-white); transform: translate(-50%, -50%) rotate(0deg); }
.bm-a { display: grid; grid-template-rows: 1fr; }
.bm-a > div { overflow: hidden; }
.bm-a p { padding: 0 16px 16px; color: var(--bm-grey); font-size: 15px; }
html.bm-js .bm-a { grid-template-rows: 0fr;
  transition: grid-template-rows .25s cubic-bezier(.215, .61, .355, 1); }
html.bm-js .bm-a p { opacity: 0; transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease; }
html.bm-js .bm-q[aria-expanded="false"] + .bm-a > div { visibility: hidden;
  transition: visibility 0s .25s; }
html.bm-js .bm-q[aria-expanded="true"] + .bm-a { grid-template-rows: 1fr; }
html.bm-js .bm-q[aria-expanded="true"] + .bm-a p { opacity: 1; transform: none; }

/* --- the chapters: a book's layout --------------------------------------------------------- */
.bm-book { display: grid; grid-template-columns: 240px minmax(0, 680px) 24px; gap: 56px;
  justify-content: center; padding: 56px 0 40px; }
.bm-aside { position: sticky; top: calc(var(--bm-head) + 32px); align-self: start; }
.bm-aside > p { color: var(--bm-grey); font-size: 15px; line-height: 1.4; }
.bm-aside .bm-btn { min-height: 36px; font-size: 14px; }
.bm-toc { list-style: none; margin-top: 36px; display: grid; gap: 18px; font-size: 15px; }
.bm-toc > li > a { display: flex; gap: 10px; text-decoration: none; }
.bm-toc > li > a b { font: 400 12px/1.8 var(--bm-mono); color: var(--bm-soft); min-width: 2.6em; }
.bm-toc ol { list-style: none; margin: 10px 0 0 calc(2.6em + 10px); display: grid; gap: 8px; }
.bm-toc ol a { text-decoration: none; color: var(--bm-grey); }
.bm-toc ol a:hover, .bm-toc > li > a:hover { color: var(--bm-ink); }
.bm-pill { display: inline-block; font-size: 13px; color: var(--bm-grey); padding: 4px 10px;
  border: 1px solid var(--bm-line); border-radius: 999px; background: var(--bm-white); }
.bm-chapter h1 { font-size: 46px; line-height: 1.1; margin: 16px 0 22px; }
.bm-chapter .bm-intro { font-size: 17px; color: #3b3b38; }
.bm-chapter .bm-card { margin: 44px 0 52px; }
.bm-chapter h2 { font-size: 28px; line-height: 1.2; margin: 48px 0 12px; scroll-margin-top: 96px; }
.bm-chapter p { color: #3b3b38; }
.bm-chapter p + p { margin-top: 12px; }
.bm-chapter dl { margin-top: 18px; display: grid; gap: 12px; }
.bm-chapter dt { font-weight: 500; }
.bm-chapter dd { color: var(--bm-grey); }
.bm-chapter .bm-until { margin-top: 14px; padding: 12px 14px; border-radius: 8px;
  background: var(--bm-white); border: 1px solid var(--bm-line); }
.bm-next { display: inline-flex; margin-top: 56px; }
.bm-ruler { position: sticky; top: calc(var(--bm-head) + 32px); align-self: start;
  height: 60vh; width: 6px; justify-self: center;
  background: repeating-linear-gradient(to bottom, var(--bm-line) 0 2px, transparent 2px 8px); }
.bm-ruler i { position: absolute; left: -2px; right: -2px; top: 0; height: 0; display: block;
  background: repeating-linear-gradient(to bottom, var(--bm-blue) 0 2px, transparent 2px 8px); }

/* --- about ------------------------------------------------------------------------------ */
.bm-about .bm-card { margin-top: 44px; }
.bm-five { list-style: none; display: grid; gap: 22px; margin-top: 26px; }
.bm-five li { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 14px; }
.bm-five b { font: 400 14px/1.6 var(--bm-mono); color: var(--bm-soft); }
.bm-five h3 { font-size: 18px; font-weight: 500; letter-spacing: 0; }
.bm-five p { color: var(--bm-grey); }
.bm-about h2 { font-size: 30px; margin: 56px 0 12px; }

/* --- Company, Privacy, not here ---------------------------------------------------------- */
.bm-page { padding: 72px 0 24px; }
.bm-page h1 { font-size: 44px; line-height: 1.1; margin-bottom: 22px; }
.bm-page .bm-lines p + p { margin-top: 8px; }
.bm-privacy h1 { font-size: 40px; margin-bottom: 8px; }
.bm-privacy h2 { font-size: 22px; line-height: 1.3; margin: 32px 0 8px; letter-spacing: -.01em; }
.bm-privacy p, .bm-privacy li { max-width: 70ch; }
.bm-privacy p + p { margin-top: 10px; }
.bm-privacy ul { margin: 8px 0 0 20px; }
.bm-privacy li { margin: 4px 0; }
.bm-privacy .meta { color: var(--bm-grey); }

/* --- the phone ---------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .bm-book { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
  .bm-ruler { display: none; }
}
@media (max-width: 900px) {
  :root { --bm-gutter: 16px; --bm-head: 58px; }
  .bm-nav { display: none; }
  .bm-menu { display: block; position: relative; }
  .bm-menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center;
    gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--bm-line);
    background: var(--bm-white); color: var(--bm-ink); font-size: 15px; }
  .bm-menu > summary::-webkit-details-marker { display: none; }
  .bm-menu > summary svg { width: 14px; height: 14px; shape-rendering: crispEdges; }
  .bm-menu > summary svg rect { fill: currentColor; }
  .bm-menu > nav { position: fixed; left: 0; right: 0; top: var(--bm-head); z-index: 30;
    background: var(--bm-page); color: var(--bm-ink); border-bottom: 1px solid var(--bm-line);
    padding: 12px var(--bm-gutter) 20px; display: grid; gap: 2px; box-shadow: 0 12px 24px -16px rgba(0,0,0,.3); }
  .bm-menu > nav a { padding: 12px 4px; text-decoration: none; font-size: 17px;
    border-bottom: 1px solid var(--bm-line); }
  .bm-menu > nav a.bm-btn { margin-top: 14px; border-bottom: 0; justify-content: center; color: var(--bm-white); }
  .bm-menu > nav span { padding: 14px 4px 2px; font: 400 12px/1 var(--bm-mono); color: var(--bm-soft);
    letter-spacing: .06em; text-transform: uppercase; }
  .bm-head .bm-cta { display: inline-flex; min-height: 40px; padding: 0 14px; font-size: 14px; }
  .bm-head.bm-over .bm-menu > summary { background: rgba(255, 255, 255, .16); color: var(--bm-white);
    border-color: rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .bm-h1 { font-size: 38px; }
  .bm-h2, .bm-foot h2 { font-size: 30px; }
  .bm-section { padding: 80px 0; }
  .bm-step, .bm-foot-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .bm-step.bm-flip > :first-child { order: 0; }
  .bm-step + .bm-step { margin-top: 80px; }
  .bm-step h3 { font-size: 28px; }
  .bm-table { display: none; }
  .bm-cards3 { display: grid; gap: 14px; margin-top: 36px; }
  .bm-cards3 article { background: var(--bm-page); border: 1px solid var(--bm-line); border-radius: 12px; padding: 16px; }
  .bm-cards3 article.bm-ours { background: var(--bm-white); box-shadow: var(--bm-shadow); }
  .bm-cards3 h3 { font-size: 20px; margin-bottom: 10px; }
  .bm-cards3 dl { display: grid; gap: 8px; font-size: 15px; }
  .bm-cards3 dt { font: 400 12px/1.4 var(--bm-mono); color: var(--bm-soft); text-transform: uppercase; letter-spacing: .04em; }
  .bm-cards3 dd { color: var(--bm-grey); }
  .bm-cards3 .bm-ours dd { color: var(--bm-ink); }
  .bm-call { flex-direction: column; align-items: flex-start; }
  .bm-guide { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .bm-props, .bm-columns { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .bm-plans { grid-template-columns: minmax(0, 1fr); }
  .bm-letters.bm-wide { display: none; }
  .bm-letters.bm-narrow { display: grid; --cell: calc(min(100vw - 32px, 600px) / 12);
    font-size: calc(var(--cell) * .5); }
  .bm-book { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; }
  .bm-aside { position: static; }
  .bm-toc { display: none; }
  .bm-chapter h1 { font-size: 36px; }
  .bm-paper { padding: 16px; }
  .bm-volume { --pad: 16px; }
  .bm-hero-in, .bm-home .bm-hero-in { padding-bottom: 200px; }
  .bm-home .bm-h1-main, .bm-home .bm-h1-words { font-size: min(7vw, 60px); }
  .bm-hero > .bm-pic img, .bm-hero > .bm-pic video { object-position: 98% 60%; }
  .bm-hero::before { background: linear-gradient(180deg, rgba(4, 44, 104, .5) 0%,
    rgba(4, 44, 104, .38) 62%, transparent 86%); }
  .bm-lah::before { background: linear-gradient(180deg, rgba(8, 6, 24, .66) 0%,
    rgba(8, 6, 24, .42) 62%, transparent 90%); }
}
@media (min-width: 901px) {
  .bm-head .bm-cta { display: none; }
}
/* a narrow phone: the slogan keeps its one line (484) — the button stays in the menu and on the
   first screen, the menu's word is read and not shown */
@media (max-width: 560px) {
  .bm-head .bm-cta { display: none; }
  /* the header pinned at the top of a scrolled page: the button in the slogan's place (493) */
  .bm-head.bm-pinned .bm-slogan { display: none; }
  .bm-head.bm-pinned .bm-cta { display: inline-flex; margin-left: auto; padding: 0 12px; }
  .bm-head.bm-pinned .bm-brand { margin-right: 0; }
  .bm-menu > summary { padding: 0 11px; }
  .bm-menu > summary span { position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 400px) {
  .bm-slogan { font-size: 10px; }
}
@media (max-width: 480px) {
  .bm-h1 { font-size: 34px; }
  .bm-hero .bm-sub { font-size: 17px; }
  .bm-plate p { font-size: 18px; }

}
/* a phone (503), (507): «We Build» and «Websites» in two rows — at this size the phrase does not
   fit a row and «We Build» does —, the word nine tenths of the screen wide as the sample's; the
   three slogans in one row under them: three rows in all */
@media (max-width: 640px) {
  .bm-home .bm-h1-main { font-size: 21.5vw; line-height: 1; }
  .bm-home .bm-h1-words { font-size: 9.2vw; line-height: 1.1; margin-top: .3em; }
  /* the buttons one under the other, the column's width, larger (522) */
  .bm-home .bm-actions { flex-direction: column; align-items: stretch; align-self: stretch; gap: 10px; }
  .bm-home .bm-actions .bm-btn { min-height: 52px; font-size: 17px; }
}
/* any screen in portrait (525): the Merlion in the frame — the picture's right edge on the
   screen's; a tablet in portrait, or a phone showing the full site, the phrase as on a phone:
   three rows, by the width */
@media (orientation: portrait) {
  .bm-home > .bm-pic img, .bm-home > .bm-pic video { object-position: 100% 60%; }
}
/* — by the width as on a phone, never so large that the words reach the Merlion's head at 0.47
   of the screen's height (the picture stands on the height in portrait): the column's top is
   about 124 px and the heading 2.6 of its size; the count under the buttons, as on a phone */
@media (min-width: 641px) and (max-width: 1099px) and (orientation: portrait) {
  .bm-home { --bm-phrase: min(21.5vw, calc((47vh - 124px) / 2.6));
    --bm-phrase: min(21.5vw, calc((47svh - 124px) / 2.6)); }
  .bm-home .bm-h1-main { font-size: var(--bm-phrase); line-height: 1; white-space: normal; }
  .bm-home .bm-h1-words { font-size: calc(var(--bm-phrase) * .428); line-height: 1.1; margin-top: .3em; }
  .bm-count-slot { order: 10; min-height: 0; margin-top: 28px; }
}

/* --- the chapters' covers: the book in a pocket, by the sample's numbers (468; 2а; the sample's
   measure of 27 November): a figure 30 % of the book high, 20 px wider than it on each side and
   20 px below its foot — the book's lowest quarter covered —, its top edge straight and its
   lower corners 24 px; #CFCFCF at 0.16 over a 1.5 px blur, a shadow 1 px down blurred 0.5 in
   black at 0.16, a fine grain over it; the caption 20 px under it. Under the pointer the book
   alone rises 72 px in half a second; the pocket stays. */
/* The book is the cover in its frame (.bm-card); the squared paper around it is --pad wide, so
   the pocket is laid from the book by it: 20 px past the book's sides and foot. */
.bm-volume { --pad: 40px; position: relative; display: block; text-decoration: none;
  padding-top: 40px; }
.bm-volume .bm-shelf { position: relative; }
.bm-volume .bm-paper { position: relative; z-index: 1; padding: var(--pad);
  transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.bm-volume .bm-cover .bm-plate { top: 12px; bottom: auto; }
.bm-pocket { position: absolute; z-index: 2; left: calc(var(--pad) - 20px);
  right: calc(var(--pad) - 20px); bottom: calc(var(--pad) - 20px);
  height: calc((100% - 2 * var(--pad)) * .3);
  border-radius: 0 0 24px 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .78 0 0 0 0 .78 0 0 0 0 .78 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='96' height='96' filter='url(%23g)'/%3E%3C/svg%3E"),
    rgba(207, 207, 207, .16);
  box-shadow: 0 1px .5px rgba(0, 0, 0, .16);
  -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px); pointer-events: none; }
.bm-volume .bm-shelf + .bm-caption { margin-top: calc(40px - var(--pad)); }
.bm-volume:hover .bm-paper, .bm-volume:focus-visible .bm-paper, .bm-volume.bm-up .bm-paper {
  transform: translateY(-72px); }
.bm-volume .bm-caption { position: relative; z-index: 3; transition: color .3s ease; }
.bm-volume .bm-caption i { display: inline-block; margin-left: .5em; font-style: normal; opacity: 0;
  transform: translateX(-4px); transition: opacity .3s ease, transform .3s ease; }
.bm-volume:hover .bm-caption, .bm-volume:focus-visible .bm-caption, .bm-volume.bm-up .bm-caption {
  color: var(--bm-ink); }
.bm-volume:hover .bm-caption i, .bm-volume:focus-visible .bm-caption i,
.bm-volume.bm-up .bm-caption i { opacity: 1; transform: none; }

/* --- a row's sheet (441): beside the page on a desk, from below on a phone ------------------ */
.bm-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(23, 23, 23, .16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; pointer-events: none;
  transition: opacity .3s ease; }
.bm-scrim.bm-open { opacity: 1; pointer-events: auto; }
.bm-sheet { position: fixed; z-index: 61; top: 12px; right: 12px; bottom: 12px;
  width: min(620px, calc(100vw - 24px)); overflow-y: auto; overscroll-behavior: contain;
  padding: 24px 32px 32px; border-radius: 20px; color: var(--bm-ink);
  background: rgba(247, 247, 243, .68); border: 1px solid rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(38px) saturate(1.2); backdrop-filter: blur(38px) saturate(1.2);
  box-shadow: 0 30px 80px -20px rgba(23, 23, 23, .35);
  transform: translateX(calc(100% + 24px)); visibility: hidden;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), visibility 0s .4s; }
.bm-sheet.bm-open { transform: none; visibility: visible;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), visibility 0s; }
.bm-sheet:focus { outline: none; }
html.bm-sheet-on { overflow: hidden; }
.bm-sheet-top { display: flex; align-items: center; justify-content: space-between; }
.bm-sheet-top .bm-label { margin: 0; }
.bm-sheet-close { appearance: none; border: 0; cursor: pointer; width: 38px; height: 38px;
  border-radius: 50%; background: rgba(255, 255, 255, .75); color: var(--bm-ink); font-size: 22px;
  line-height: 1; display: grid; place-items: center; }
.bm-sheet h3 { font-size: 30px; line-height: 1.15; letter-spacing: -.02em; margin: 14px 0 12px;
  font-weight: 500; }
.bm-sheet .bm-sheet-body { display: block; padding: 0; }
.bm-sheet-first { font-size: 18px; line-height: 1.45; color: var(--bm-ink); }
/* the row's own short line of 5.6, under its title, read without a click (450) */
.bm-row-words { display: grid; gap: 3px; }
.bm-row-more { font-size: 14px; line-height: 1.35; color: var(--bm-grey); }
.bm-sheet-pic { margin: 22px 0 6px; border-radius: 12px; aspect-ratio: 16 / 5; }
.bm-sheet-pic img { object-fit: cover; }
.bm-sheet-body h4 { margin: 22px 0 8px; font: 400 12px/1 var(--bm-mono); letter-spacing: .06em;
  text-transform: uppercase; color: var(--bm-soft); }
.bm-sheet-body p { font-size: 15px; line-height: 1.55; }
.bm-example { margin-top: 18px; padding: 2px 16px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .8); }
.bm-checks { list-style: none; display: grid; gap: 8px; }
.bm-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--bm-ink); }
.bm-checks svg { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 4px; shape-rendering: crispEdges; }
.bm-checks svg rect { fill: currentColor; }
.bm-sheet-body .bm-btn { margin-top: 26px; }
.bm-row .bm-sheet-body h4 { margin-top: 16px; }
@media (max-width: 640px) {
  .bm-sheet { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 88vh;
    padding: 20px 20px 28px; border-radius: 20px 20px 0 0;
    transform: translateY(100%); }
  .bm-sheet h3 { font-size: 24px; }
}

/* --- motion (2а; (440)): only where it is welcome --------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* the first screen's blocks come in one after another: 16 px, 0.6 s, 0.4 s apart */
  .bm-enter { animation: bm-rise .6s cubic-bezier(.23, 1, .32, 1) both;
    animation-delay: calc(.1s + var(--i, 0) * .4s); }
  /* the window last, a step after the buttons: the count, the line, the heading, its three
     words and the buttons are seven blocks, 0.4 s apart */
  #bm-show { animation: bm-rise .6s cubic-bezier(.23, 1, .32, 1) both; animation-delay: 2.9s; }
  /* a glare crosses the line over the heading every 2.8 s */
  .bm-hero .bm-eyebrow { position: relative; overflow: hidden; }
  .bm-hero .bm-eyebrow::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%);
    transform: translateX(-120%); animation: bm-shimmer 2.8s ease-in-out infinite; }
  /* the same glare crosses the main button of the hero and of the closing block (521) — on a
     white button a glare of the sky's blue, under the words; the header's button has none */
  .bm-home .bm-actions .bm-btn.bm-light, .bm-foot .bm-plate .bm-btn { position: relative;
    overflow: hidden; isolation: isolate; }
  .bm-home .bm-actions .bm-btn.bm-light::before, .bm-foot .bm-plate .bm-btn::before { content: "";
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(100deg, transparent 30%, rgba(11, 141, 242, .16) 44%,
      rgba(11, 141, 242, .26) 50%, rgba(11, 141, 242, .16) 56%, transparent 70%);
    transform: translateX(-120%); animation: bm-shimmer 2.8s ease-in-out infinite; }
  /* the count's number rolls in when it changes, 0.6 s */
  .bm-count .count-units svg.bm-roll { animation: bm-roll .6s cubic-bezier(.23, 1, .32, 1); }
  /* sections come in as they first reach the screen: 8 px, 0.5 s, their blocks in turn. The
     motion is the coming in's alone: a section the script marks to wait is hidden at once, never
     fading out from where it stood (found at commit 18а's hook) */
  .bm-reveal { opacity: 0; transform: translateY(8px); }
  .bm-reveal.bm-in { opacity: 1; transform: none;
    transition: opacity .5s ease, transform .5s cubic-bezier(.23, 1, .32, 1); }
  .bm-reveal .bm-wrap > *, .bm-reveal .bm-step, .bm-reveal .bm-table tbody tr,
  .bm-reveal .bm-cards3 article { opacity: 0; transform: translateY(6px); }
  .bm-reveal.bm-in .bm-wrap > *, .bm-reveal.bm-in .bm-step, .bm-reveal.bm-in .bm-table tbody tr,
  .bm-reveal.bm-in .bm-cards3 article { opacity: 1; transform: none;
    transition: opacity .38s ease, transform .38s cubic-bezier(.23, 1, .32, 1);
    transition-delay: calc(.12s + var(--k, 0) * 90ms); }
}
@keyframes bm-rise { from { opacity: 0; translate: 0 16px; } }
@keyframes bm-shimmer { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }
@keyframes bm-roll { from { opacity: 0; transform: translateY(-45%); } }
@media (prefers-reduced-motion: reduce) {
  [data-tilt], .bm-volume .bm-paper, .bm-sheet, .bm-scrim, .bm-a, .bm-a p { transition: none !important; }
}

