/* Brainmify landing story under the chat home (not on a conversation). Markup: ai_chat/templates/ai_chat/_story.html, behaviour: story.js */
:root {
  --bs-grad: linear-gradient(90deg, #00a8ff 0%, #00c2c7 50%, #64dd17 100%);
  --bs-grad-d: linear-gradient(135deg, #0077c8 0%, #00a8ff 40%, #1fc28a 75%, #4cbf12 100%);
  --bs-ink: #1b2a41; --bs-soft: #5f7389; --bs-line: #dfe8f1; --bs-paper: #ffffff; --bs-mist: #f2f8fc; --bs-card: #ffffff;
  --bs-night: #06182b;
}
:root[data-theme="dark"] {
  --bs-ink: #f0f0ec; --bs-soft: #a4a39b; --bs-line: #2c2c28; --bs-paper: #121210; --bs-mist: #1a1a18; --bs-card: #1f1f1c; --bs-night: #050d16;
}
/* the chat home stays exactly as it is, pinned; the story slides up over it */
html.bs-on { height: auto !important; overflow-y: auto !important; overflow-x: clip !important; }
/* the body must not become its own scroller, or the pinned top bar and chat would scroll away */
html.bs-on body { display: block !important; height: auto !important; overflow: visible !important; }
html.bs-on body > .app { position: sticky; top: var(--bs-top, 0px); height: calc(100vh - var(--bs-off, 0px)); height: calc(100dvh - var(--bs-off, 0px)); z-index: 1; }
html.bs-on .bm-nav { position: sticky; top: 0; z-index: 60; }
.bs-dim { position: fixed; inset: 0; z-index: 2; pointer-events: none; background: var(--bs-paper); opacity: 0; }
.bs { position: relative; z-index: 3; font-family: 'Poppins', system-ui, sans-serif; color: var(--bs-ink); background: var(--bs-paper);
      border-radius: 36px 36px 0 0; box-shadow: 0 -24px 70px rgba(0, 80, 140, .18); padding-bottom: 120px; overflow-x: clip; }
.bs *, .bs *::before, .bs *::after { box-sizing: border-box; }
.bs a { text-decoration: none; color: inherit; }
.bs-wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.bs-g { background: var(--bs-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bs-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px 'JetBrains Mono', monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--bs-soft); }
.bs-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--bs-grad); }
.bs h2 { font-weight: 800; letter-spacing: -.035em; line-height: 1.06; margin: 14px 0 0; color: var(--bs-ink); text-wrap: balance; }
.bs p { margin: 0; }
.bs-lead { font-size: 18.5px; line-height: 1.65; color: var(--bs-soft); font-weight: 500; }
.js-bs .bs-up { opacity: 0; transform: translateY(36px); transition: opacity .85s cubic-bezier(.2,.8,.2,1), transform .85s cubic-bezier(.2,.8,.2,1); }
.js-bs .bs-up.in { opacity: 1; transform: none; }
.bs-d1 { transition-delay: .12s !important; } .bs-d2 { transition-delay: .24s !important; } .bs-d3 { transition-delay: .36s !important; }
.bs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.bs-row.c { justify-content: center; }
.bs-note { font-size: 14px; color: var(--bs-soft); font-weight: 500; }

/* buttons: the navbar gradient, white text */
.bs-btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
          background: var(--bs-grad); background-size: 160% 100%; color: #fff !important; font: 700 15.5px 'Poppins', sans-serif; white-space: nowrap;
          box-shadow: 0 10px 26px rgba(0, 150, 220, .3); transition: background-position .5s, transform .2s, box-shadow .2s; }
.bs-btn:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(40, 180, 120, .35); }
.bs-btn.sm { height: 36px; padding: 0 16px; font-size: 13.5px; }
.bs-btn.ghost { background: transparent; color: var(--bs-ink) !important; box-shadow: inset 0 0 0 2px var(--bs-line); }

/* scroll cue and floating pill */
/* scroll cue, as on Socialify: a big scrolling mouse with a chevron, the line under it; story.js puts it just above
   the "Next generation AI" badge */
.bs-cue { position: fixed; left: 50%; top: 120px; z-index: 30; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 30px;
          font: 600 16px 'Poppins', sans-serif; letter-spacing: .01em; color: var(--t1, #1b2a41);   /* the same ink as the "Next generation AI" badge */ cursor: pointer; transition: opacity .4s; white-space: nowrap; }
.bs-cue i { position: relative; width: 34px; height: 54px; border: 3px solid #00a8ff; border-radius: 20px; flex: none;
            box-shadow: 0 4px 18px rgba(0, 140, 220, .22), inset 0 0 10px rgba(0, 168, 255, .12); }
.bs-cue i::after { content: ""; position: absolute; left: 50%; top: 10px; width: 5px; height: 11px; margin-left: -2.5px; border-radius: 3px; background: #2fc46a; animation: bsScroll 1.8s infinite; }
.bs-cue i::before { content: ""; position: absolute; left: 50%; bottom: -17px; width: 9px; height: 9px; margin-left: -5px; border: solid #2fc46a;
                    border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); animation: bsChev 1.8s infinite; }
@keyframes bsChev { 0%, 100% { opacity: .2; transform: translateY(-3px) rotate(45deg); } 50% { opacity: 1; transform: translateY(2px) rotate(45deg); } }
.bs-cue.mid { gap: 24px; font-size: 14.5px; }
.bs-cue.mid i { width: 28px; height: 44px; border-width: 2.5px; border-radius: 16px; }
.bs-cue.mid i::after { top: 8px; width: 4px; height: 9px; margin-left: -2px; }
.bs-cue.mid i::before { bottom: -15px; width: 8px; height: 8px; margin-left: -4.5px; }
.bs-cue.small { gap: 10px; font-size: 13.5px; }
.bs-cue.small i { width: 26px; height: 40px; border-width: 2.5px; border-radius: 15px; }
.bs-cue.small i::after { top: 7px; width: 4px; height: 8px; margin-left: -2px; }
.bs-cue.small i::before { display: none; }
.bs-cue.off { display: none; }
@keyframes bsScroll { 0% { opacity: 0; transform: translateY(0) } 30% { opacity: 1 } 100% { opacity: 0; transform: translateY(14px) } }
.bs-pill { position: fixed; right: 22px; top: 76px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: 999px;
           background: color-mix(in srgb, var(--bs-card) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
           box-shadow: 0 10px 30px rgba(0, 60, 120, .18); font: 600 14px 'Poppins', sans-serif; color: var(--bs-ink); text-decoration: none;
           opacity: 0; transform: translateY(-12px); pointer-events: none; transition: .35s; }
.bs-pill.show { opacity: 1; transform: none; pointer-events: auto; }

/* 1. the problem */
.bs-c1 { padding: 110px 0 90px; text-align: center; }
.bs-c1 h2 { font-size: clamp(36px, 5.8vw, 76px); max-width: 15ch; margin-left: auto; margin-right: auto; }
.bs-c1 .bs-lead { max-width: 640px; margin: 24px auto 0; }
.bs-strike { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 44px auto 0; max-width: 900px; }
.bs-strike span { position: relative; padding: 11px 20px; border-radius: 999px; background: var(--bs-mist); color: var(--bs-soft); font-weight: 600; font-size: 17px; }
.bs-strike span::after { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: 3px; border-radius: 3px; background: #ff5a6e; transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.7,0,.2,1); }
.bs-strike.in span::after { transform: scaleX(1); }
.bs-strike.in span:nth-child(2)::after { transition-delay: .25s } .bs-strike.in span:nth-child(3)::after { transition-delay: .5s }
.bs-strike.in span:nth-child(4)::after { transition-delay: .75s } .bs-strike.in span:nth-child(5)::after { transition-delay: 1s }
.bs-turn { margin-top: 64px; font-size: clamp(26px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.02em; }
.bs-turn::after { content: ""; display: block; width: 80px; height: 4px; margin: 18px auto 0; border-radius: 4px; background: var(--bs-grad); }

/* 2. the reveal */
.bs-c2 { position: relative; padding: 130px 0; text-align: center; color: #fff; overflow: hidden;
         background: radial-gradient(900px 600px at 12% 15%, #00a8ff 0%, transparent 60%), radial-gradient(800px 600px at 92% 80%, #64dd17 0%, transparent 55%),
                     linear-gradient(135deg, #0062b8, #0094d9 45%, #14b37a 80%, #4cbf12); }
.bs-c2::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, rgba(255,255,255,.09), transparent 20%, rgba(255,255,255,.06), transparent 50%); animation: bsSpin 30s linear infinite; }
@keyframes bsSpin { to { transform: rotate(360deg) } }
.bs-c2 > * { position: relative; }
.bs-c2 .bs-eyebrow { color: rgba(255,255,255,.85); } .bs-c2 .bs-eyebrow::before { background: #fff; }
.bs-c2 h2 { color: #fff; font-size: clamp(54px, 10vw, 130px); }
.bs-sub { margin-top: 10px !important; font-size: clamp(20px, 2.6vw, 30px); font-weight: 600; color: #fff; }
.bs-c2 .bs-lead { max-width: 700px; margin: 24px auto 0; color: rgba(255,255,255,.92); }
.bs-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.bs-badges span { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); font-weight: 600; font-size: 14.5px; }
.bs-badges b { width: 9px; height: 9px; border-radius: 50%; background: #b8ff6a; box-shadow: 0 0 0 4px rgba(184,255,106,.3); animation: bsPulse 1.6s infinite; }
@keyframes bsPulse { 50% { box-shadow: 0 0 0 9px rgba(184,255,106,0) } }

/* 3. BrainLLM */
.bs-c3 { margin: 20px 20px 0; padding: 120px 0 100px; border-radius: 36px; color: #fff; position: relative; overflow: hidden;   /* the Brainmify gradient as its own panel, turned the other way from the "Introducing" block above */
         background: radial-gradient(900px 600px at 88% 12%, #64dd17 0%, transparent 55%), radial-gradient(900px 650px at 8% 90%, #00a8ff 0%, transparent 60%),
                     linear-gradient(315deg, #0062b8, #0094d9 45%, #14b37a 80%, #4cbf12); }
.bs-c3::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.bs-c3 > * { position: relative; }
.bs-c3 h2 { color: #fff; font-size: clamp(34px, 4.6vw, 60px); text-shadow: 0 2px 18px rgba(0, 50, 110, .18); }
.bs-c3 h2 .bs-hi { color: #e4ffc8; }
.bs-c3 h2 .bs-proof { display: block; margin-top: 16px; font-size: .46em; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; color: rgba(255,255,255,.95); }
.bs-c3 .bs-eyebrow { color: rgba(255,255,255,.9); } .bs-c3 .bs-eyebrow::before { background: #fff; }
.bs-c3 .bs-lead { color: rgba(255,255,255,.93); margin-top: 22px; max-width: 560px; }
.bs-c3 .bs-note { color: rgba(255,255,255,.85); }
.bs-c3 .bs-btn { background: #fff; color: #0077c8 !important; box-shadow: 0 12px 30px rgba(0,40,80,.25); }
.bs-c3-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.bs-facts { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bs-facts li { text-align: center; padding: 16px 14px; border-radius: 18px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.bs-facts b { display: block; font: 700 26px 'JetBrains Mono', monospace; color: #fff; }
.bs-facts span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.88); }
.bs-term { border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 30px 70px rgba(0, 60, 110, .28); overflow: hidden; }
.bs-term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: linear-gradient(90deg, #e3f4ff, #eafbe0); border-bottom: 1px solid #d6ebf5; }
.bs-term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .bs-term-bar i:nth-child(2) { background: #febc2e; } .bs-term-bar i:nth-child(3) { background: #28c840; }
.bs-term-bar span { margin-left: 10px; font: 600 12.5px 'JetBrains Mono', monospace; color: #3d6f8f; }
.bs-term pre { margin: 0; padding: 22px 22px 26px; font: 500 14px/1.9 'JetBrains Mono', monospace; color: #1b2a41; white-space: pre; overflow-x: auto; min-height: 290px; }
.bs-term .p { color: #2e9d0b; font-weight: 700; } .bs-term .k { color: #0077c8; font-weight: 700; display: inline-block; min-width: 14.5ch; } .bs-term .ok { color: #0e8a5f; font-weight: 700; }
.bs-caret { display: inline-block; width: 9px; height: 17px; vertical-align: -3px; background: #12a37a; animation: bsBlink 1s steps(1) infinite; }
/* dark mode only: the terminal goes dark again */
:root[data-theme="dark"] .bs-term { background: #0b1622; } :root[data-theme="dark"] .bs-term-bar { background: rgba(255,255,255,.04); border-bottom-color: rgba(127,208,255,.12); }
:root[data-theme="dark"] .bs-term pre { color: #d7e8f6; } :root[data-theme="dark"] .bs-term .k { color: #7fd0ff; } :root[data-theme="dark"] .bs-term .p, :root[data-theme="dark"] .bs-term .ok { color: #64dd17; }
@keyframes bsBlink { 50% { opacity: 0 } }
.bs-term pre > * { transition: opacity .3s; }
.bs-term.typing pre .l { opacity: 0; }
.bs-own { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 70px; }
.bs-o { position: relative; text-align: center; padding: 24px 20px; border-radius: 22px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.bs-o i { font-style: normal; font-size: 30px; } .bs-o b { display: block; margin-top: 10px; font-size: 19px; color: #fff; }
.bs-o span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.9); }
.bs-o em { position: absolute; top: 18px; right: 16px; padding: 3px 9px; border-radius: 999px; background: #fff; font: 700 10.5px 'JetBrains Mono', monospace; font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #3a9d0b; }
.bs-o em.soon { color: #0077c8; }

/* 4. scrollytelling with a phone */
.bs-c4 { padding: 100px 0 30px; background: linear-gradient(180deg, var(--bs-paper), var(--bs-mist) 10%, var(--bs-mist) 90%, var(--bs-paper)); }
.bs-c4-head { text-align: center; }
.bs-c4-head h2 { font-size: clamp(34px, 4.8vw, 62px); }
.bs-c4-head p { max-width: 660px; margin: 20px auto 0; font-size: 18px; line-height: 1.65; color: var(--bs-soft); }
.bs-scrolly { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: start; }
.bs-steps { padding: 4vh 0 18vh; }
.bs-step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s; }
.bs-step.on { opacity: 1; }
.bs-tag { align-self: flex-start; padding: 6px 13px; border-radius: 999px; background: var(--bs-card); box-shadow: 0 4px 14px rgba(0,60,120,.08); font: 700 12px 'JetBrains Mono', monospace; color: #0086d1; letter-spacing: .08em; }
.bs-step h3 { margin: 16px 0 0; font: 800 clamp(28px, 3.2vw, 42px)/1.12 'Poppins', sans-serif; letter-spacing: -.03em; color: var(--bs-ink); }
.bs-step p { margin-top: 16px; max-width: 520px; font-size: 18px; line-height: 1.65; color: var(--bs-soft); }
.bs-live { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; font-weight: 700; color: #3a9d0b; }
.bs-live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #64dd17; box-shadow: 0 0 0 4px rgba(100,221,23,.2); }
.bs-phone-col { position: sticky; top: calc(var(--bs-top, 60px) + 10px); height: calc(100vh - var(--bs-top, 60px) - var(--bs-cue, 70px) - 10px); min-height: 480px; display: flex; align-items: center; justify-content: center; }
.bs-phone { position: relative; width: 330px; height: 680px; max-height: calc(100vh - var(--bs-top, 60px) - var(--bs-cue, 70px) - 30px); min-height: 480px; border-radius: 50px; padding: 11px; background: #fff;
            box-shadow: 0 0 0 2px #e1ebf4, 0 40px 90px rgba(0, 70, 140, .25), 0 8px 24px rgba(0,70,140,.1); }
.bs-phone::before { content: ""; position: absolute; inset: -3px; border-radius: 53px; padding: 3px; background: var(--bs-grad);
                    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.bs-screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #f5f9fc; }
.bs-notch { position: absolute; top: 10px; left: 50%; width: 104px; height: 26px; margin-left: -52px; border-radius: 20px; background: #dbe9f4; z-index: 5; }
.bs-scene { position: absolute; inset: 0; padding: 50px 14px 16px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: scale(.97) translateY(14px);
            transition: opacity .55s, transform .55s cubic-bezier(.2,.8,.2,1); pointer-events: none; font-size: 13.5px; color: #1b2a41; }
.bs-scene.on { opacity: 1; transform: none; }
.bs-scene .bs-late { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
.bs-scene.done .bs-late { opacity: 1; transform: none; }
.bs-scene.done .bs-late:nth-of-type(n+3) { transition-delay: .35s; }
.bs-appbar { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 15px; background: var(--bs-grad); color: #fff; font-weight: 700; font-size: 15px; }
.bs-appbar small { margin-left: auto; font: 600 12px 'JetBrains Mono', monospace; opacity: .95; }
.bs-me { align-self: flex-end; max-width: 84%; padding: 10px 13px; border-radius: 16px 16px 4px 16px; background: #0086d1; color: #fff; font-weight: 500; line-height: 1.45; min-height: 38px; }
#bsTyped:empty::after, #bsTyped.t::after { content: "|"; margin-left: 1px; animation: bsBlink 1s steps(1) infinite; }
.bs-ai { max-width: 92%; padding: 11px 13px; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: 0 2px 10px rgba(0,50,100,.07); line-height: 1.5; }
.bs-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.bs-chip { padding: 6px 11px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; color: #3d5370; box-shadow: 0 1px 4px rgba(0,50,100,.08); }
.bs-chip.on { background: var(--bs-grad); color: #fff; }
.bs-card { background: #fff; border-radius: 16px; padding: 12px 13px; box-shadow: 0 2px 10px rgba(0,50,100,.06); }
.bs-card small { display: block; margin-bottom: 7px; font-size: 11.5px; font-weight: 600; color: #8a9bb0; }
.bs-card p { line-height: 1.5; }
.bs-doc { padding: 12px 13px; border-radius: 14px; background: #fffdf5; border: 1px dashed #e3cf8d; }
.bs-doc b { display: block; font-size: 12px; letter-spacing: .06em; } .bs-doc span { display: block; margin-top: 6px; font-family: Georgia, serif; color: #574a22; line-height: 1.5; font-size: 12.5px; }
.bs-doc em { display: block; margin-top: 8px; font-style: normal; font-weight: 700; color: #0086d1; font-size: 12px; }
.bs-list { display: flex; flex-direction: column; gap: 7px; }
.bs-list > div { display: grid; grid-template-columns: 1fr auto; padding: 10px 12px; border-radius: 13px; background: #fff; box-shadow: 0 1px 6px rgba(0,50,100,.06); }
.bs-list b { font-size: 13px; } .bs-list span { grid-column: 1; font-size: 11.5px; color: #6b7f95; } .bs-list i { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; color: #3a9d0b; font-weight: 800; }
.bs-list > div:has(> span:nth-child(2):last-child) span { grid-column: 2; grid-row: 1; font-weight: 700; color: #1b2a41; font-size: 13px; }
.bs-ok { text-align: center; padding: 10px; border-radius: 13px; background: #ecfbe1; color: #2e7d0a; font-weight: 700; }
.bs-photo { height: 150px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
            background: radial-gradient(circle at 40% 40%, #9ad66b, #3f7f24); color: #fff; }
.bs-photo span { font-size: 60px; } .bs-photo small { font: 500 11px 'JetBrains Mono', monospace; opacity: .9; }
.bs-letter { padding: 13px; border-radius: 12px; background: #fff; border-top: 4px solid #c2410c; box-shadow: 0 2px 10px rgba(0,50,100,.08); font-family: Georgia, serif; }
.bs-letter b { display: block; font-size: 12px; letter-spacing: .05em; } .bs-letter span { display: block; margin-top: 5px; color: #555; font-size: 12.5px; }
.bs-dead { padding: 10px 12px; border-radius: 13px; background: #fff4e6; color: #a14b00; font-weight: 600; font-size: 12.5px; }
.bs-rate { text-align: center; padding: 18px 12px; border-radius: 18px; background: #fff; box-shadow: 0 2px 10px rgba(0,50,100,.08); }
.bs-rate small { display: block; font-size: 12px; color: #8a9bb0; font-weight: 600; }
.bs-rate b { display: block; margin: 4px 0; font: 800 46px 'Poppins', sans-serif; background: var(--bs-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bs-rate span { font-size: 12px; color: #3a9d0b; font-weight: 600; }
.bs-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bs-opts span { padding: 12px; border-radius: 13px; background: #fff; text-align: center; font-weight: 600; box-shadow: 0 1px 6px rgba(0,50,100,.06); transition: .4s; }
.bs-scene.done .bs-opts .good { background: #64dd17; color: #fff; }
.bs-scene.bs-dark { background: linear-gradient(170deg, #0077c8, #0094d9 45%, #12a37a 85%, #4cbf12); color: #fff; }
.bs-call { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 40px; }
.bs-call b { font-size: 17px; } .bs-call small { font: 500 12px 'JetBrains Mono', monospace; color: #eaffd6; }
.bs-orb { width: 110px; height: 110px; border-radius: 50%; margin-bottom: 14px; background: conic-gradient(from 0deg, #00a8ff, #64dd17, #00c2c7, #00a8ff);
          box-shadow: 0 0 60px rgba(0,194,199,.55); animation: bsSpin 6s linear infinite, bsBreath 2.4s ease-in-out infinite; }
@keyframes bsBreath { 50% { box-shadow: 0 0 90px rgba(100,221,23,.6); } }
.bs-wave { display: flex; align-items: center; justify-content: center; gap: 5px; height: 60px; margin-top: 18px; }
.bs-wave i { width: 5px; height: 12px; border-radius: 4px; background: linear-gradient(#00a8ff, #64dd17); animation: bsWave 1s ease-in-out infinite; }
.bs-wave i:nth-child(2n) { animation-delay: .15s } .bs-wave i:nth-child(3n) { animation-delay: .3s } .bs-wave i:nth-child(5n) { animation-delay: .45s }
@keyframes bsWave { 50% { height: 46px } }
.bs-say { margin-top: 16px; text-align: center; padding: 0 10px; font-size: 14.5px; line-height: 1.55; color: #e6f6ff; }
.bs-callbtns { margin-top: auto; display: flex; justify-content: center; gap: 30px; padding-bottom: 14px; }
.bs-callbtns span { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; background: rgba(255,255,255,.14); }
.bs-callbtns .end { background: #ff4d4f; }
.bs-scene.bs-wa { background: #ece5dd; }
.bs-wabar { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 15px; background: #075e54; color: #fff; font-weight: 700; }
.bs-wabar small { margin-left: auto; font-weight: 500; opacity: .85; }
.bs-wa-me, .bs-wa-ai { max-width: 84%; padding: 9px 12px; border-radius: 12px; line-height: 1.45; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.bs-wa-me { align-self: flex-end; background: #dcf8c6; font-family: 'JetBrains Mono', monospace; }
.bs-wa-ai { background: #fff; }
.bs-wa-ai:last-child { font-family: 'JetBrains Mono', monospace; }

/* 5. every expert */
.bs-c5 { padding: 110px 0 40px; text-align: center; }
.bs-c5 h2 { font-size: clamp(34px, 4.8vw, 62px); }
.bs-c5 .bs-lead { max-width: 600px; margin: 18px auto 0; }
.bs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; text-align: center; }
.bs-x { display: block; padding: 20px 18px; border-radius: 20px; background: var(--bs-mist); transition: transform .25s, box-shadow .25s, background .25s; }
.bs-x:hover { transform: translateY(-4px); background: var(--bs-card); box-shadow: 0 16px 36px rgba(0, 90, 160, .14), inset 0 0 0 1.5px #9fd8ff; }
.bs-x i { font-style: normal; font-size: 28px; } .bs-x b { display: block; margin-top: 10px; font-size: 16.5px; font-weight: 700; color: var(--bs-ink); }
.bs-x span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--bs-soft); }

/* 6. languages */
.bs-c6 { padding: 110px 0 100px; text-align: center; overflow: hidden; }
.bs-c6 h2 { font-size: clamp(34px, 4.8vw, 62px); }
.bs-c6 .bs-lead { max-width: 640px; margin: 18px auto 0; }
.bs-marq { margin-top: 50px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.bs-marq > div { display: flex; gap: 16px; width: max-content; animation: bsMarq 38s linear infinite; }
.bs-marq span { padding: 16px 28px; border-radius: 999px; background: var(--bs-mist); font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; color: var(--bs-ink); white-space: nowrap; }
.bs-marq span:nth-child(3n+1) { background: var(--bs-grad); color: #fff; }
@keyframes bsMarq { to { transform: translateX(-50%) } }

/* 7. promises, 8. who */
.bs-c7, .bs-c8 { padding: 90px 0; text-align: center; }
.bs-c7 h2, .bs-c8 h2 { font-size: clamp(34px, 4.6vw, 58px); }
.bs-prom, .bs-who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 46px; text-align: center; }
.bs-p, .bs-w { position: relative; padding: 26px 22px; border-radius: 22px; background: var(--bs-mist); overflow: hidden; }
.bs-p::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--bs-grad); }
.bs-p i, .bs-w i { font-style: normal; font-size: 30px; } .bs-p b, .bs-w b { display: block; margin-top: 12px; font-size: 18.5px; font-weight: 700; }
.bs-p span, .bs-w span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--bs-soft); }
.bs-w { background: var(--bs-card); box-shadow: 0 0 0 1px var(--bs-line); }

/* 9. close */
.bs-c9 { margin: 40px 20px 0; padding: 110px 0; border-radius: 36px; text-align: center; color: #fff;
         background: radial-gradient(700px 400px at 20% 0%, rgba(255,255,255,.18), transparent 60%), var(--bs-grad-d); }
.bs-imag { font-size: clamp(20px, 2.6vw, 30px); font-weight: 500; line-height: 1.5; color: rgba(255,255,255,.9); }
.bs-c9 h2 { margin-top: 26px; color: #fff; font-size: clamp(46px, 7vw, 96px); }
.bs-c9 .bs-btn { background: #fff; color: #0077c8 !important; box-shadow: 0 12px 30px rgba(0,40,80,.25); }
.bs-c9 .bs-btn.ghost { background: rgba(255,255,255,.14); color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.75); }

/* tablets and phones */
@media (max-width: 1000px) {
  .bs-c3-grid { grid-template-columns: 1fr; gap: 40px; }
  .bs-facts, .bs-own, .bs-grid { grid-template-columns: repeat(2, 1fr); }
  .bs-prom, .bs-who { grid-template-columns: repeat(2, 1fr); }
  .bs-scrolly { grid-template-columns: 1fr; gap: 0; }
  .bs-phone-col { order: -1; top: var(--bs-top, 60px); height: auto; min-height: 0; padding: 10px 0 14px; z-index: 2; margin: 0 -20px;
                  background: linear-gradient(180deg, var(--bs-mist) 88%, color-mix(in srgb, var(--bs-mist) 0%, transparent)); }
  .bs-phone { width: 250px; height: 430px; min-height: 0; max-height: 46vh; border-radius: 38px; padding: 8px; }
  .bs-phone::before { border-radius: 41px; } .bs-screen { border-radius: 31px; }
  .bs-scene { font-size: 11.5px; padding: 40px 10px 10px; gap: 7px; }
  .bs-step { min-height: 60vh; justify-content: flex-start; padding-top: 6vh; text-align: center; align-items: center; }
  .bs-tag { align-self: center; }
}
@media (max-width: 640px) {
  .bs { border-radius: 26px 26px 0 0; }
  .bs-wrap { width: calc(100% - 32px); }
  .bs-lead { font-size: 16.5px; }
  .bs-c1, .bs-c3, .bs-c5, .bs-c6 { padding: 80px 0 60px; }
  .bs-c2 { padding: 90px 0; }
  .bs-facts { grid-template-columns: repeat(2, 1fr); }
  .bs-own, .bs-prom, .bs-who { grid-template-columns: 1fr; }
  .bs-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bs-x { padding: 16px 14px; } .bs-x span { font-size: 12.5px; }
  .bs-term pre { font-size: 11.5px; padding: 16px; min-height: 0; } .bs-term .k { min-width: 14.5ch; }
  .bs-c3 { margin: 12px 12px 0; border-radius: 28px; }
  .bs-c9 { margin: 30px 12px 0; padding: 80px 18px; border-radius: 28px; }
  .bs-pill { right: 12px; top: 64px; }
  .bs-step h3 { font-size: 26px; } .bs-step p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .bs-c2::before, .bs-marq > div, .bs-orb, .bs-wave i { animation: none !important; }
}
