/* brainclub.com — page layout. Tokens and components: design/tokens.css. */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section { scroll-margin-top: 88px; }
.sec-head { max-width: 760px; margin-bottom: var(--bc-s7); }
.sec-head h2 { font-size: var(--bc-t-3xl); }
.sec-head p { color: var(--bc-ink-2); font-size: var(--bc-t-md); margin-top: var(--bc-s4); max-width: 64ch; }
.caption { color: var(--bc-ink-3); font-size: var(--bc-t-xs); margin-top: var(--bc-s4); }
.tabs { display: flex; flex-wrap: wrap; gap: var(--bc-s2); margin-bottom: var(--bc-s5); }
.tab { display: inline-flex; align-items: center; gap: var(--bc-s2); min-height: 40px; padding: 0 var(--bc-s4); border: 0; border-radius: var(--bc-r-md); background: transparent; box-shadow: inset 0 0 0 1.5px var(--bc-line); color: var(--bc-ink-2); font-weight: 400; font-size: var(--bc-t-xs); cursor: pointer; }
.tab:hover { color: var(--bc-ink); box-shadow: inset 0 0 0 1.5px var(--bc-ink-3); }
.tab[aria-selected="true"] { background: var(--bc-ink); color: #fff; box-shadow: none; }
.tab .bc-icon { width: 18px; height: 18px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: var(--bc-s6); height: 68px; padding: 0 var(--bc-gutter); background: rgba(246, 245, 248, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--bc-line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--bc-display); font-stretch: 90%; letter-spacing: -0.02em; text-decoration: none; }
.brand-mark { width: 24px; height: 24px; border-radius: 50%; background: conic-gradient(from 210deg, #B8A6EE, #F3C6B0, #B6E0CE, #9FCDEF, #B8A6EE); box-shadow: inset 0 0 0 6px rgba(255,255,255,.6); }
.nav-links { display: flex; gap: var(--bc-s6); margin-left: auto; }
.nav-links a { color: var(--bc-ink-2); text-decoration: none; font-size: var(--bc-t-xs); font-weight: 400; }
.nav-links a:hover { color: var(--bc-ink); }
.nav-end { display: flex; align-items: center; gap: var(--bc-s3); }
.lang { min-height: 38px; padding: 0 var(--bc-s3); border: 0; border-radius: var(--bc-r-sm); background: transparent; box-shadow: inset 0 0 0 1.5px var(--bc-line); color: var(--bc-ink-2); font-size: var(--bc-t-xs); font-weight: 600; cursor: pointer; }

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: start; max-width: 1360px; margin: 0 auto; padding: 120px var(--bc-gutter) var(--bc-s8); }
.hero-copy { padding-top: 56px; }
.hero h1 { font-size: clamp(2.75rem, 5.2vw, 4.75rem); font-weight: 750; font-stretch: 88%; line-height: 1; letter-spacing: -0.03em; }
.hero-sub { font-size: var(--bc-t-lg); line-height: 1.45; color: var(--bc-ink-2); margin-top: var(--bc-s5); max-width: 34ch; }
.done { list-style: none; padding: 0; margin: var(--bc-s6) 0 0; display: grid; gap: var(--bc-s3); }
.done li { display: flex; align-items: center; gap: var(--bc-s3); font: 600 var(--bc-t-lg)/1.2 var(--bc-display); font-stretch: 92%; letter-spacing: -0.01em; }
.tick { width: 28px; height: 28px; flex: none; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tick circle { stroke: var(--bc-sage); stroke-width: 1.6; fill: var(--bc-sage-tint); }
.tick path { stroke: var(--bc-sage); stroke-width: 2.4; stroke-dasharray: 16; stroke-dashoffset: 16; animation: tickDraw .45s ease-out forwards; }
.done li:nth-child(1) .tick path { animation-delay: .35s; }
.done li:nth-child(2) .tick path { animation-delay: .75s; }
.done li:nth-child(3) .tick path { animation-delay: 1.15s; }
@keyframes tickDraw { to { stroke-dashoffset: 0; } }
.hero-act { display: flex; flex-wrap: wrap; gap: var(--bc-s3); margin-top: var(--bc-s7); }
.hero-note { color: var(--bc-ink-3); font-size: var(--bc-t-xs); margin-top: var(--bc-s4); }

/* the live day: a business, and its day playing over the picture */
.live { position: relative; padding-bottom: 12px; }
.live-tabs { margin-bottom: var(--bc-s3); }
.live-pic { border-radius: var(--bc-r-xl); overflow: hidden; aspect-ratio: 1672 / 941; background: var(--bc-plum-tint); }
.live-pic img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.live-pic img.swap { opacity: 0; }
.feed { position: relative; z-index: 2; width: min(480px, 92%); margin: -120px 0 0 auto; padding: var(--bc-s4) var(--bc-s4) var(--bc-s3); background: var(--bc-surface); border-radius: var(--bc-r-lg); box-shadow: var(--bc-float); }
.feed-head { display: flex; align-items: center; gap: var(--bc-s2); font-size: var(--bc-t-xs); color: var(--bc-ink-3); padding: 0 var(--bc-s1) var(--bc-s2); border-bottom: 1px solid var(--bc-line); }
.feed-head b { color: var(--bc-ink); font-weight: 600; }
.feed-head span:last-child { margin-left: auto; }
.feed-live { width: 8px; height: 8px; border-radius: 50%; background: #3DAA6E; box-shadow: 0 0 0 4px rgba(61, 170, 110, .18); animation: livePulse 1.8s ease-in-out infinite; }
@keyframes livePulse { 50% { box-shadow: 0 0 0 7px rgba(61, 170, 110, .06); } }
.feed-list { list-style: none; padding: 0; margin: 0; }
.feed--hero .feed-list { height: 340px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
/* an event opens from nothing — grid rows animate its height, so the rest of the day slides, never jumps */
.feed-item { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s cubic-bezier(.2, .8, .2, 1), opacity .4s ease .1s, background .3s; border-bottom: 1px solid var(--bc-line); }
.feed-item.in { grid-template-rows: 1fr; opacity: 1; }
.feed-inner { min-height: 0; overflow: hidden; display: grid; grid-template-columns: 40px 36px 1fr; gap: var(--bc-s2) var(--bc-s3); align-items: start; padding: var(--bc-s3) var(--bc-s1); }
.feed-item time { font-size: 12px; font-weight: 600; color: var(--bc-ink-3); padding-top: 3px; font-variant-numeric: tabular-nums; }
.feed-item .bc-avatar { width: 36px; height: 36px; }
.feed-mail { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bc-plum-tint); color: var(--bc-plum); }
.feed-mail .bc-icon { width: 18px; height: 18px; }
.feed-who { font-size: 12px; color: var(--bc-ink-3); }
.feed-text { font-size: 14.5px; line-height: 1.4; margin-top: 1px; }
.feed-item.k-in .feed-text { font-style: italic; color: var(--bc-ink-2); }
.feed-item.k-ask { background: var(--bc-plum-tint); border-radius: var(--bc-r-md); }
.feed-item.k-ask.ok { background: var(--bc-sage-tint); }
.feed-item.k-ask.left { background: transparent; }
.feed-act { margin-top: var(--bc-s2); }
.feed-act .bc-btn { animation: askPulse 1.6s ease-in-out infinite; }
@keyframes askPulse { 50% { box-shadow: 0 0 0 6px rgba(74, 29, 87, .16); } }
.feed-body .bc-status { margin-top: 6px; }
.feed-note { font-size: 12px; color: var(--bc-ink-3); padding: var(--bc-s2) var(--bc-s1) 0; }

/* the whole team, moving past */
.crew { padding: var(--bc-s5) 0 var(--bc-s6); overflow: hidden; }
.crew-title { max-width: 1360px; margin: 0 auto var(--bc-s4); padding: 0 var(--bc-gutter); font-size: var(--bc-t-xs); color: var(--bc-ink-3); }
.crew-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.crew-list { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--bc-s5); width: max-content; animation: crew 90s linear infinite; }
.crew-track:hover .crew-list { animation-play-state: paused; }
@keyframes crew { to { transform: translateX(-50%); } }
.crew-list li { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 92px; }
.crew-face { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #EEECEF; box-shadow: 0 0 0 3px #fff; }
.crew-list span { font-size: 12px; color: var(--bc-ink-2); text-align: center; line-height: 1.25; }

/* every kind of business */
.businesses { max-width: 1360px; margin: 0 auto; padding: var(--bc-s10) var(--bc-gutter) 0; }
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--bc-s4); }
.biz-card { display: flex; flex-direction: column; background: var(--bc-surface); border-radius: var(--bc-r-lg); overflow: hidden; text-decoration: none; color: inherit; }
.biz-pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bc-plum-tint); }
.biz-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.biz-card:hover .biz-pic img { transform: scale(1.04); }
.biz-txt { display: flex; flex-direction: column; gap: 6px; padding: var(--bc-s4) var(--bc-s4) var(--bc-s5); flex: 1; }
.biz-name { display: flex; align-items: center; gap: var(--bc-s2); font: 700 var(--bc-t-md)/1.2 var(--bc-display); font-stretch: 92%; }
.biz-name .bc-icon { width: 20px; height: 20px; color: var(--bc-plum); }
.biz-line { color: var(--bc-ink-2); font-size: var(--bc-t-xs); line-height: 1.45; flex: 1; }
.biz-go { color: var(--bc-plum); font-weight: 600; font-size: var(--bc-t-xs); margin-top: var(--bc-s2); }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--bc-s5); max-width: 1360px; margin: 0 auto; padding: var(--bc-s6) var(--bc-gutter); border-top: 1px solid var(--bc-line); border-bottom: 1px solid var(--bc-line); }
.facts > div { display: flex; align-items: center; gap: var(--bc-s3); color: var(--bc-ink-2); font-size: var(--bc-t-sm); line-height: 1.35; }
.facts .bc-icon { color: var(--bc-plum); }
.facts b { font: 700 var(--bc-t-xl)/1 var(--bc-display); color: var(--bc-ink); margin-right: 4px; }

/* sections share one column */
.team, .playbooks, .week, .pricing { max-width: 1360px; margin: 0 auto; padding: var(--bc-s10) var(--bc-gutter) 0; }

/* ── TEAM ─────────────────────────────────────────────────────────────── */
.team-body { display: grid; grid-template-columns: minmax(260px, 4fr) minmax(0, 8fr); gap: var(--bc-s7); align-items: start; }
.profile { position: sticky; top: 96px; background: var(--bc-surface); border-radius: var(--bc-r-xl); overflow: hidden; }
.profile-pic { display: block; border-radius: 0; }
.profile-txt { padding: var(--bc-s5) var(--bc-s6) var(--bc-s6); border-top: 1px solid var(--bc-line); }
.profile-group { color: var(--bc-ink-3); font-size: var(--bc-t-xs); }
.profile h3 { font-size: var(--bc-t-xl); margin: 4px 0 var(--bc-s3); }
#pfPurpose { color: var(--bc-ink-2); font-size: var(--bc-t-sm); line-height: 1.5; }
.lineup { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: var(--bc-s3); }
.lineup button { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: var(--bc-s2); padding: 0; border: 0; border-radius: var(--bc-r-md); background: transparent; cursor: pointer; }
.lineup .bc-portrait { width: 100%; border-radius: var(--bc-r-md); }
.lineup .bc-portrait img.old, .profile-pic img.old, .wall img.old { object-fit: contain; object-position: 50% 100%; padding-top: 6%; }
.lineup button > span:last-child { font-size: 13px; line-height: 1.25; color: var(--bc-ink-2); text-align: left; min-height: 2.5em; padding: 0 2px; }
.lineup button:hover .bc-portrait { box-shadow: 0 0 0 2px var(--bc-line); }
.lineup button[aria-pressed="true"] .bc-portrait { box-shadow: 0 0 0 2.5px var(--bc-plum); }
.lineup button[aria-pressed="true"] > span:last-child { color: var(--bc-plum); font-weight: 600; }
.lineup li.dim { display: none; }

/* ── PLAYBOOKS ────────────────────────────────────────────────────────── */
.pb-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--bc-s4); margin-bottom: var(--bc-s2); }
.pb-bar .tabs { margin-bottom: 0; }
.pb-nav { display: flex; gap: var(--bc-s2); flex: none; }
.pb-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bc-surface); box-shadow: inset 0 0 0 1.5px var(--bc-line); color: var(--bc-ink); cursor: pointer; }
.pb-arrow:hover { box-shadow: inset 0 0 0 1.5px var(--bc-plum); color: var(--bc-plum); }
.pb-arrow:disabled { opacity: .35; cursor: default; box-shadow: inset 0 0 0 1.5px var(--bc-line); color: var(--bc-ink); }
.pb-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(540px, 86%); gap: var(--bc-s5); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: var(--bc-s4) 0 var(--bc-s2); }
.pb-track::-webkit-scrollbar { display: none; }
.pb-track .pb { scroll-snap-align: start; }
.pb { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: var(--bc-s4); padding: var(--bc-s6); border-radius: var(--bc-r-xl); overflow: hidden; }
.pb[data-tone="lavender"] { background: #ECE6F7; }
.pb[data-tone="peach"] { background: #FBE7DC; }
.pb[data-tone="mint"] { background: #E0F0E6; }
.pb[data-tone="cream"] { background: #F4EDDD; }
.pb[data-tone="sky"] { background: #E1ECF7; }
.pb[data-tone="rose"] { background: #F7E3EB; }
.pb[data-tone="lemon"] { background: #F5F0D6; }
.pb-art.missing { visibility: hidden; }
.pb-art { align-self: start; width: 190px; aspect-ratio: 1; border-radius: var(--bc-r-lg); object-fit: cover; }
.pb-country { display: inline-block; font-size: 13px; font-weight: 600; color: var(--bc-ink-2); background: rgba(255, 255, 255, .6); padding: 4px 10px; border-radius: 999px; }
.pb h3 { font-size: var(--bc-t-xl); margin: var(--bc-s3) 0 var(--bc-s2); }
.pb-out { color: var(--bc-ink-2); font-size: var(--bc-t-sm); line-height: 1.5; }
.pb-steps { grid-column: 1 / -1; display: flex; align-items: center; margin-top: var(--bc-s2); }
.pb-steps i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1.5px var(--bc-ink-3); flex: none; }
.pb-steps i.you { width: 18px; height: 18px; background: var(--bc-plum); box-shadow: 0 0 0 4px rgba(74, 29, 87, .15); }
.pb-steps i + i { margin-left: 0; }
.pb-steps b { flex: 1; height: 1.5px; background: var(--bc-ink-3); opacity: .45; min-width: 8px; }
.pb-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--bc-s2) var(--bc-s5); font-size: var(--bc-t-xs); color: var(--bc-ink-2); }
.pb-meta .who { display: inline-flex; align-items: center; gap: var(--bc-s2); color: var(--bc-ink); font-weight: 600; }
.pb-meta .bc-avatar { width: 32px; height: 32px; background: rgba(255, 255, 255, .7); }
.pb-legend { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bc-s2); margin-top: var(--bc-s4); color: var(--bc-ink-3); font-size: var(--bc-t-xs); }
.pb-legend .dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--bc-ink-3); }
.pb-legend .dot.you { width: 14px; height: 14px; background: var(--bc-plum); box-shadow: none; margin-left: var(--bc-s4); }

/* ── WEEK ─────────────────────────────────────────────────────────────── */
.week-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--bc-s6); align-items: center; }
.week-pic { border-radius: var(--bc-r-xl); overflow: hidden; background: var(--bc-plum-tint); aspect-ratio: 1672 / 941; }
.week-pic img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.week-pic img.swap { opacity: 0; }
.days { list-style: none; padding: 0; margin: 0; background: var(--bc-surface); border-radius: var(--bc-r-xl); padding: var(--bc-s2) var(--bc-s5); }
.days li { display: grid; grid-template-columns: 44px 1fr auto; gap: var(--bc-s3); align-items: center; padding: var(--bc-s4) 0; }
.days li + li { border-top: 1px solid var(--bc-line); }
.days .day { font-size: var(--bc-t-xs); font-weight: 600; color: var(--bc-ink-3); }
.days .job b { display: block; font-weight: 600; font-size: var(--bc-t-sm); line-height: 1.3; }
.days .job span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--bc-ink-3); margin-top: 4px; }
.days .job .bc-avatar { width: 22px; height: 22px; }
.days li.wait { background: linear-gradient(90deg, transparent, var(--bc-plum-tint) 30%); margin: 0 calc(var(--bc-s5) * -1); padding-left: var(--bc-s5); padding-right: var(--bc-s5); border-radius: 0 0 var(--bc-r-lg) var(--bc-r-lg); }

/* ── PRICING ──────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--bc-s4); }
.plan { display: flex; flex-direction: column; padding: var(--bc-s6) var(--bc-s5); background: var(--bc-surface); border-radius: var(--bc-r-xl); }
.plan-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--bc-plum-tint); color: var(--bc-plum); }
.plan h3 { font-size: var(--bc-t-xl); margin: var(--bc-s4) 0 var(--bc-s2); }
.plan-first { color: var(--bc-ink-2); font-size: var(--bc-t-sm); line-height: 1.5; flex: 1; }
.plan-price { margin-top: var(--bc-s5); padding-top: var(--bc-s4); border-top: 1px solid var(--bc-line); }
.plan-price .name { font-size: var(--bc-t-xs); color: var(--bc-ink-3); }
.plan-price .eur { font: 700 var(--bc-t-2xl)/1.1 var(--bc-display); font-stretch: 90%; }
.plan-price .eur small { font: 400 var(--bc-t-xs) var(--bc-text); color: var(--bc-ink-3); margin-left: 4px; }
.plan-price .note { font-size: 13px; color: var(--bc-ink-2); margin-top: 2px; }
.plan .bc-btn { margin-top: var(--bc-s4); }

/* ── MISSION + START ──────────────────────────────────────────────────── */
.mission { max-width: 1000px; margin: 0 auto; padding: var(--bc-s10) var(--bc-gutter) 0; text-align: center; }
.mission-line { font: 700 clamp(2rem, 4vw, 3.25rem)/1.08 var(--bc-display); font-stretch: 88%; letter-spacing: -0.025em; }
.mission p:last-child { color: var(--bc-ink-2); margin: var(--bc-s5) auto 0; max-width: 56ch; }
.start { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--bc-s7); align-items: center; max-width: 1040px; margin: var(--bc-s10) auto; padding: var(--bc-s7) var(--bc-s8); background: var(--bc-surface); border-radius: var(--bc-r-xl); }
.start-pick { display: grid; grid-template-columns: repeat(2, 176px); gap: var(--bc-s3); }
.st-pa { display: flex; flex-direction: column; align-items: center; gap: var(--bc-s2); padding: 0; border: 0; background: none; font: inherit; color: var(--bc-ink-2); cursor: pointer; }
.st-pa .bc-portrait { width: 100%; border-radius: var(--bc-r-lg); box-shadow: 0 0 0 2px transparent; opacity: .72; filter: saturate(.8); transition: opacity .2s, filter .2s, box-shadow .2s, transform .2s; }
.st-pa b { font-family: var(--bc-display); font-weight: 700; font-stretch: 92%; font-size: var(--bc-t-lg); }
.st-pa:hover .bc-portrait { opacity: 1; filter: none; }
.st-pa[aria-checked="true"] { color: var(--bc-ink); }
.st-pa[aria-checked="true"] .bc-portrait { opacity: 1; filter: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--bc-plum), 0 24px 40px -24px rgba(31, 16, 38, .45); transform: translateY(-2px); }
.st-pa:focus-visible { outline: none; } .st-pa:focus-visible .bc-portrait { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--bc-focus); }
.start h2 { font-size: var(--bc-t-3xl); }
.start p { color: var(--bc-ink-2); margin-top: var(--bc-s3); }
.start-form { display: flex; flex-wrap: wrap; gap: var(--bc-s2); margin-top: var(--bc-s5); }
.start-form input { flex: 1 1 240px; min-height: 48px; padding: 0 var(--bc-s4); border: 1.5px solid var(--bc-line); border-radius: var(--bc-r-md); background: var(--bc-canvas); font-size: var(--bc-t-sm); }
.start-form input:focus { outline: none; border-color: var(--bc-focus); }
.start-ok { margin-top: var(--bc-s4); font-size: var(--bc-t-sm); }
.foot { display: flex; justify-content: space-between; gap: var(--bc-s4); padding: var(--bc-s6) var(--bc-gutter); border-top: 1px solid var(--bc-line); color: var(--bc-ink-3); font-size: var(--bc-t-xs); }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding-top: 104px; }
  .hero-sub { max-width: 52ch; }
  .live { max-width: 760px; width: 100%; margin: 0 auto; }
  .feed { margin-left: 0; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr 1fr; }
  .team-body { grid-template-columns: 1fr; }
  .profile { position: static; display: grid; grid-template-columns: auto 1fr; align-items: center; }
  .profile-pic { width: 220px; margin: var(--bc-s4); border-radius: var(--bc-r-lg); }
  .profile-txt { border-top: 0; padding-left: 0; }
  .pb-grid { grid-template-columns: 1fr; }
  .week-body { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .hero { padding-bottom: var(--bc-s7); }
  .stage { aspect-ratio: 4 / 5; }
  .live-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .live-tabs .tab { flex: none; }
  .feed { width: 100%; margin: -40px 0 0; }
  .hero-copy { padding-top: 0; }
  .feed-inner { grid-template-columns: 36px 1fr; }
  .feed-inner time { grid-column: 1 / -1; padding: 0; }
  .biz-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .team, .playbooks, .week, .pricing { padding-top: var(--bc-s9); }
  .profile { grid-template-columns: 1fr; }
  .profile-pic { width: auto; margin: 0; border-radius: 0; }
  .profile-txt { padding: var(--bc-s4) var(--bc-s5) var(--bc-s5); }
  .lineup { grid-template-columns: repeat(3, 1fr); }

  .pb { grid-template-columns: 1fr; }
  .pb-art { width: 120px; position: absolute; right: var(--bc-s4); top: var(--bc-s4); }
  .pb h3 { padding-right: 120px; }
  .biz-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(var(--bc-gutter) * -1); margin-right: calc(var(--bc-gutter) * -1); padding: 0 var(--bc-gutter); }
  .biz-tabs .tab { flex: none; }
  .plans { grid-template-columns: 1fr; }
  .start { grid-template-columns: 1fr; padding: var(--bc-s6) var(--bc-s5); margin: var(--bc-s9) var(--bc-gutter); text-align: left; }
  .start-pick { grid-template-columns: repeat(2, minmax(0, 150px)); }
  .foot { flex-direction: column; }
}

/* ── JOURNEY PAGE ─────────────────────────────────────────────────────── */
.jr .nav-links { overflow-x: auto; scrollbar-width: none; max-width: 62vw; }
.jr .nav-links a { white-space: nowrap; }
.jr .nav-links a[aria-current="page"] { color: var(--bc-plum); font-weight: 600; }
.jr-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--bc-s7); align-items: center; max-width: 1360px; margin: 0 auto; padding: 116px var(--bc-gutter) 0; }
.jr-back { display: inline-block; color: var(--bc-ink-3); font-size: var(--bc-t-xs); text-decoration: none; margin-bottom: var(--bc-s4); }
.jr-back:hover { color: var(--bc-plum); }
.jr-head h1 { font-size: clamp(2.75rem, 5vw, 4.5rem); font-stretch: 88%; letter-spacing: -0.03em; }
.jr-lead { font-size: var(--bc-t-lg); line-height: 1.45; color: var(--bc-ink-2); margin-top: var(--bc-s4); max-width: 36ch; }
.jr-team { list-style: none; padding: 0; margin: var(--bc-s6) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.jr-team-lbl { font-size: var(--bc-t-xs); color: var(--bc-ink-3); margin-right: var(--bc-s3); }
.jr-face { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #EEECEF; box-shadow: 0 0 0 3px var(--bc-canvas); margin-left: -8px; }
.jr-team li:nth-child(2) .jr-face { margin-left: 0; }
.jr-pic { border-radius: var(--bc-r-xl); overflow: hidden; aspect-ratio: 1672 / 941; background: var(--bc-plum-tint); }
.jr-pic img { width: 100%; height: 100%; object-fit: cover; }
.jr-day { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--bc-s7); align-items: start; max-width: 1360px; margin: 0 auto; padding: var(--bc-s9) var(--bc-gutter) 0; }
.jr-day h2, .jr-road h2 { font-size: var(--bc-t-3xl); }
.jr-day-copy p { color: var(--bc-ink-2); margin: var(--bc-s4) 0 var(--bc-s5); max-width: 44ch; }
.jr-day-copy { position: sticky; top: 110px; }
.feed--page { width: 100%; margin: 0; }
.feed--page .feed-list { min-height: 0; }
.jr-road { max-width: 1360px; margin: 0 auto; padding: var(--bc-s10) var(--bc-gutter) 0; }
.road-stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--bc-s4); counter-reset: none; }
.stage-card { display: flex; flex-direction: column; padding: var(--bc-s5); background: var(--bc-surface); border-radius: var(--bc-r-xl); }
.stage-top { display: flex; align-items: center; justify-content: space-between; }
.stage-n { font: 700 var(--bc-t-xl)/1 var(--bc-display); color: var(--bc-ink-3); }
.stage-card h3 { font-size: var(--bc-t-xl); margin: var(--bc-s4) 0 var(--bc-s2); }
.stage-gives { color: var(--bc-ink-2); font-size: var(--bc-t-sm); line-height: 1.5; }
.stage-pbs { list-style: none; padding: 0; margin: var(--bc-s4) 0 0; display: grid; gap: var(--bc-s3); flex: 1; align-content: start; }
.stage-pbs li { display: flex; align-items: center; gap: var(--bc-s3); }
.stage-pbs b { display: block; font-size: var(--bc-t-xs); font-weight: 600; line-height: 1.3; }
.stage-pbs small { font-size: 12px; color: var(--bc-ink-3); }
.stage-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: var(--bc-s5); padding-top: var(--bc-s4); border-top: 1px solid var(--bc-line); font-size: 12px; color: var(--bc-ink-3); }
.tool { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: var(--bc-r-sm); background: var(--bc-canvas); color: var(--bc-ink-2); font-weight: 400; }
.tool .bc-icon { width: 14px; height: 14px; color: var(--bc-plum); }
.stage-week { grid-column: 1 / -1; padding: var(--bc-s2) var(--bc-s5); }
.stage-week .days { background: none; padding: 0; }
@media (max-width: 1100px) {
  .jr-head, .jr-day { grid-template-columns: 1fr; }
  .jr-day-copy { position: static; }
  .road-stages { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .jr .nav-links { display: none; }
  .road-stages { grid-template-columns: 1fr; }
}

.team-pic { border-radius: var(--bc-r-xl); overflow: hidden; aspect-ratio: 1672 / 941; margin-bottom: var(--bc-s7); background: var(--bc-plum-tint); }
.team-pic img { width: 100%; height: 100%; object-fit: cover; }
/* the carousel runs to the screen's edge: the next card peeking in says "there is more" */
.pb-track { margin-right: calc(50% - 50vw); padding-right: var(--bc-gutter); }

/* ── playbook cards are buttons that open the sheet ──────────────────── */
button.pb { font: inherit; color: inherit; text-align: left; border: 0; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
button.pb:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(31, 16, 38, .35); }
.pb-copy { display: flex; flex-direction: column; align-items: flex-start; }
.pb-h { display: block; font: 700 var(--bc-t-xl)/1.1 var(--bc-display); font-stretch: 90%; letter-spacing: -0.02em; margin: var(--bc-s3) 0 var(--bc-s2); }
.pb-copy .pb-out { display: block; }
.pb-open { grid-column: 1 / -1; font-size: var(--bc-t-xs); font-weight: 600; color: var(--bc-plum); }

/* ── the sheet ────────────────────────────────────────────────────────── */
body.sheet-open { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(31, 16, 38, .38); backdrop-filter: blur(3px); animation: fadeIn .25s ease both; }
@keyframes fadeIn { from { opacity: 0; } }
.sheet-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(620px, 100%); overflow-y: auto; background: var(--bc-surface); box-shadow: -30px 0 80px -30px rgba(31, 16, 38, .45); animation: slideIn .38s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.sheet-panel[data-tone="lavender"] { --tone: #ECE6F7; } .sheet-panel[data-tone="peach"] { --tone: #FBE7DC; }
.sheet-panel[data-tone="mint"] { --tone: #E0F0E6; } .sheet-panel[data-tone="cream"] { --tone: #F4EDDD; }
.sheet-panel[data-tone="sky"] { --tone: #E1ECF7; } .sheet-panel[data-tone="rose"] { --tone: #F7E3EB; } .sheet-panel[data-tone="lemon"] { --tone: #F5F0D6; }
.sheet-close { position: absolute; top: var(--bc-s4); right: var(--bc-s4); z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); cursor: pointer; }
.sheet-head { background: var(--tone, var(--bc-plum-tint)); padding: var(--bc-s6) var(--bc-s6) var(--bc-s5); }
.sheet-art { width: 100%; max-width: 300px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--bc-r-lg); margin: 0 auto var(--bc-s5); }
.sheet-title h2 { font-size: var(--bc-t-2xl); margin: var(--bc-s3) 0 var(--bc-s2); }
.sheet-title p { color: var(--bc-ink-2); font-size: var(--bc-t-md); line-height: 1.5; }
.sheet-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--bc-s2) var(--bc-s6); padding: var(--bc-s5) var(--bc-s6); border-bottom: 1px solid var(--bc-line); }
.sheet-meta span { display: block; font-size: 12px; color: var(--bc-ink-3); }
.sheet-meta b { display: inline-flex; align-items: center; gap: 6px; font-size: var(--bc-t-xs); font-weight: 600; margin-top: 4px; }
.sheet-meta .bc-avatar { width: 24px; height: 24px; }
.sh-waits { color: var(--bc-plum); }
.sheet-steps { list-style: none; margin: 0; padding: var(--bc-s5) var(--bc-s6) var(--bc-s4); position: relative; }
.sheet-steps li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: var(--bc-s4); padding-bottom: var(--bc-s5); }
.sheet-steps li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--bc-line); }
.sh-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bc-surface); box-shadow: inset 0 0 0 1.5px var(--bc-ink-3); font-size: var(--bc-t-xs); font-weight: 700; color: var(--bc-ink-2); }
.sheet-steps li.wait .sh-n { background: var(--bc-plum); color: #fff; box-shadow: 0 0 0 5px rgba(74, 29, 87, .14); }
.sh-body b { display: block; font-size: var(--bc-t-sm); font-weight: 600; line-height: 1.35; padding-top: 7px; }
.sh-who { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bc-s2) var(--bc-s4); margin-top: 6px; font-size: 13px; color: var(--bc-ink-3); }
.sh-team { display: inline-flex; align-items: center; gap: 6px; }
.sh-team .bc-avatar { width: 22px; height: 22px; }
.sh-you { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--bc-plum); color: #fff; font-weight: 600; font-size: 12px; }
.sheet-panel.play .sheet-steps li { animation: stepIn .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } }
.sheet-foot { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: var(--bc-s4); padding: var(--bc-s4) var(--bc-s6); background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--bc-line); }
@media (max-width: 640px) { .sheet-meta { grid-template-columns: 1fr 1fr; } .sheet-head, .sheet-steps, .sheet-meta, .sheet-foot { padding-left: var(--bc-s4); padding-right: var(--bc-s4); } }

/* ── pricing: stage art, the recommended plan in plum ─────────────────── */
.plan { position: relative; overflow: hidden; }
.plan-art { position: relative; display: block; margin: calc(var(--bc-s6) * -1) calc(var(--bc-s5) * -1) var(--bc-s2); aspect-ratio: 4 / 3; overflow: hidden; }
.plan-art img { width: 100%; height: 100%; object-fit: cover; }
.plan-art .bc-icon { display: none; }
.plan-art.missing { aspect-ratio: auto; margin: 0; }
.plan-art.missing .bc-icon { display: grid; width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--bc-plum-tint); color: var(--bc-plum); box-sizing: border-box; }
.plan.best { background: var(--bc-plum); color: #fff; box-shadow: 0 30px 60px -30px rgba(74, 29, 87, .6); }
.plan.best .plan-first, .plan.best .plan-price .note { color: #E6DAEC; }
.plan.best .plan-price { border-top-color: rgba(255, 255, 255, .18); }
.plan.best .plan-price .name, .plan.best .plan-price .eur small { color: #CDBBD8; }
.plan.best .bc-btn { background: #fff; color: var(--bc-plum); }
.plan-flag { position: absolute; top: var(--bc-s3); right: var(--bc-s3); z-index: 2; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--bc-plum); font-size: 12px; font-weight: 700; }

/* ── journey: who does what here ──────────────────────────────────────── */
.jr-who { max-width: 1360px; margin: 0 auto; padding: var(--bc-s10) var(--bc-gutter) 0; }
.who-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--bc-s4); }
.who-card { display: grid; grid-template-columns: 96px 1fr; gap: var(--bc-s4); align-items: start; padding: var(--bc-s4); background: var(--bc-surface); border-radius: var(--bc-r-xl); }
.who-card .bc-portrait { width: 96px; border-radius: var(--bc-r-md); }
.who-card .bc-portrait img.old { object-fit: contain; object-position: 50% 100%; padding-top: 6%; }
.who-txt h3 { font-size: var(--bc-t-md); margin: 4px 0 6px; }
.who-txt p { color: var(--bc-ink-2); font-size: var(--bc-t-xs); line-height: 1.45; }
.who-pbs { list-style: none; padding: 0; margin: var(--bc-s3) 0 0; display: grid; gap: 6px; }
.who-pbs li { display: flex; align-items: center; gap: 6px; }
.who-pbs .bc-icon { width: 16px; height: 16px; color: var(--bc-plum); flex: none; }
.who-pbs b { font-size: var(--bc-t-xs); font-weight: 600; }
.pb-link { padding: 0; border: 0; background: none; font: 600 var(--bc-t-xs)/1.3 var(--bc-text); color: var(--bc-plum); text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(74, 29, 87, .3); text-underline-offset: 3px; }
.pb-link:hover { text-decoration-color: var(--bc-plum); }
.stage-pbs .pb-link { display: block; }

/* a journey page reserves the whole day: held rows keep their height and appear in place */
.feed-item.held { grid-template-rows: 1fr; opacity: 0; transition: none; }
.feed--page .feed-item { grid-template-rows: 1fr; transition: opacity .45s ease, transform .45s ease, background .3s; transform: translateY(6px); }
.feed--page .feed-item.in { transform: none; }
.feed--page .feed-act { min-height: 38px; }

/* ── a specialist's room ──────────────────────────────────────────────── */
.room-head { display: grid; grid-template-columns: minmax(240px, 4fr) minmax(0, 8fr); gap: var(--bc-s8); align-items: center; max-width: 1200px; margin: 0 auto; padding: 116px var(--bc-gutter) 0; }
.room-pic { border-radius: var(--bc-r-xl); box-shadow: 0 40px 80px -40px rgba(31, 16, 38, .35); }
.room-pic img.old { object-fit: contain; object-position: 50% 100%; padding-top: 6%; }
.room-group { color: var(--bc-ink-3); font-size: var(--bc-t-sm); }
.room-head h1 { font-size: clamp(2.75rem, 5vw, 4.5rem); font-stretch: 88%; letter-spacing: -0.03em; margin: 4px 0 var(--bc-s4); }
.room-purpose { font-size: var(--bc-t-lg); line-height: 1.5; color: var(--bc-ink-2); max-width: 46ch; }
.room-bound { display: inline-flex; align-items: center; gap: var(--bc-s2); margin-top: var(--bc-s5); padding: var(--bc-s2) var(--bc-s4); border-radius: 999px; background: var(--bc-sage-tint); color: #3f6b33; font-size: var(--bc-t-xs); font-weight: 600; }
.room-bound .bc-icon { width: 18px; height: 18px; }
.room-works { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: var(--bc-s5); font-size: 12px; color: var(--bc-ink-3); }
.room-works span:first-child { margin-right: 4px; }
.room-works .tool { text-decoration: none; background: var(--bc-surface); }
.room-works .tool:hover { color: var(--bc-plum); }
.room-talk, .room-shelf, .room-more { max-width: 1200px; margin: 0 auto; padding: var(--bc-s9) var(--bc-gutter) 0; }
.chat { background: var(--bc-surface); border-radius: var(--bc-r-xl); padding: var(--bc-s5); box-shadow: 0 30px 60px -40px rgba(31, 16, 38, .3); }
.chat-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--bc-s3); min-height: 120px; }
.msg { display: flex; gap: var(--bc-s3); align-items: flex-end; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.msg.in { opacity: 1; transform: none; }
.msg p { margin: 0; padding: var(--bc-s3) var(--bc-s4); border-radius: 18px; font-size: var(--bc-t-sm); line-height: 1.5; max-width: 62ch; }
.msg--them p { background: var(--bc-plum-tint); border-bottom-left-radius: 4px; }
.msg--them > div { display: flex; flex-direction: column; align-items: flex-start; gap: var(--bc-s2); }
.msg--me { justify-content: flex-end; }
.msg--me p { background: var(--bc-plum); color: #fff; border-bottom-right-radius: 4px; }
.msg .bc-avatar { width: 36px; height: 36px; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--bc-ink-3); animation: typing 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: .5; } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: var(--bc-s2); margin: var(--bc-s5) 0 var(--bc-s3); }
.chip-q { padding: var(--bc-s2) var(--bc-s4); border: 0; border-radius: 999px; background: var(--bc-canvas); box-shadow: inset 0 0 0 1.5px var(--bc-line); font-size: var(--bc-t-xs); cursor: pointer; text-align: left; }
.chip-q:hover { box-shadow: inset 0 0 0 1.5px var(--bc-plum); color: var(--bc-plum); }
.chat-form { display: flex; gap: var(--bc-s2); }
.chat-form input { flex: 1; min-height: 48px; padding: 0 var(--bc-s4); border: 1.5px solid var(--bc-line); border-radius: var(--bc-r-md); background: var(--bc-canvas); font-size: var(--bc-t-sm); }
.chat-form input:focus { outline: none; border-color: var(--bc-focus); }
.shelf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--bc-s3); }
.shelf-item { display: flex; align-items: center; gap: var(--bc-s3); padding: var(--bc-s3); border: 0; border-radius: var(--bc-r-lg); background: var(--bc-surface); text-align: left; font: inherit; color: inherit; }
.shelf-item.is-open { cursor: pointer; }
.shelf-item.is-open:hover { box-shadow: inset 0 0 0 1.5px var(--bc-plum); }
.shelf-art { flex: none; width: 64px; height: 64px; border-radius: var(--bc-r-md); overflow: hidden; display: grid; place-items: center; background: var(--bc-plum-tint); }
.shelf-art img { width: 100%; height: 100%; object-fit: cover; }
.shelf-ic .bc-icon { color: var(--bc-plum); }
.shelf-txt b { display: block; font-size: var(--bc-t-sm); font-weight: 600; line-height: 1.3; }
.shelf-txt small { font-size: 12px; color: var(--bc-ink-3); }
.room-crew { flex-wrap: wrap; width: auto; animation: none; gap: var(--bc-s4); }
.room-crew a, .crew-list a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: inherit; }
.room-crew a:hover span, .crew-list a:hover span { color: var(--bc-plum); }
.crew-list a:hover .crew-face { box-shadow: 0 0 0 3px var(--bc-plum); }
.profile-room { display: inline-block; margin-top: var(--bc-s4); font-weight: 600; font-size: var(--bc-t-xs); color: var(--bc-plum); }
.who-card a { color: inherit; text-decoration: none; }
.who-card a:hover h3 { color: var(--bc-plum); }
@media (max-width: 860px) { .room-head { grid-template-columns: 1fr; } .room-pic { max-width: 320px; } }

/* businesses: a compact directory — sector chips, small tiles, the register count */
.biz-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--bc-s3); }
.biz-tile { display: flex; flex-direction: column; gap: 4px; padding: 6px 6px 12px; background: var(--bc-surface); border-radius: var(--bc-r-lg); text-decoration: none; color: inherit; }
.biz-tile .biz-pic { aspect-ratio: 16 / 10; border-radius: var(--bc-r-md); }
.biz-tile .biz-name { padding: 8px 6px 0; font-size: var(--bc-t-sm); }
.biz-tile .biz-name .bc-icon { width: 18px; height: 18px; }
.biz-count { padding: 0 6px; font-size: 12px; color: var(--bc-ink-3); font-variant-numeric: tabular-nums; }
.biz-tile:hover { box-shadow: inset 0 0 0 1.5px var(--bc-plum); }
.biz-tile:hover .biz-pic img { transform: scale(1.04); }
/* the moving team: a calm hover ring with room around it */
.crew-face { transition: transform .2s ease; }
.crew-list a:hover .crew-face { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--bc-plum); transform: translateY(-2px); }
/* a room's conversation keeps its size and scrolls */
.chat-log { max-height: 440px; overflow-y: auto; padding-right: 4px; scroll-behavior: smooth; }
.crew-list { padding: 10px 0 4px; }

.chat-mode { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--bc-s4); padding: var(--bc-s2) var(--bc-s3); border-radius: var(--bc-r-md); background: #FFF6E0; color: #6B5317; font-size: 13px; line-height: 1.4; }
.chat-mode::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #E0A526; box-shadow: 0 0 0 4px rgba(224, 165, 38, .2); }
.msg--them > div > p + p { margin-top: 6px; }

/* ── tools ────────────────────────────────────────────────────────────── */
.tools-head { position: relative; max-width: 1200px; margin: 0 auto; padding: 128px var(--bc-gutter) var(--bc-s6); text-align: center; }
.tools-head h1 { font-size: clamp(2.75rem, 5.4vw, 4.75rem); font-stretch: 88%; letter-spacing: -0.03em; max-width: 16ch; margin: 0 auto; }
.tools-lead { color: var(--bc-ink-2); font-size: var(--bc-t-lg); line-height: 1.5; max-width: 60ch; margin: var(--bc-s5) auto 0; }
.tools-mosaic { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--bc-s3); max-width: 860px; margin: var(--bc-s7) auto 0; }
.tools-mosaic span { animation: popIn .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.92); } }
.mos-ic { display: block; width: 64px; height: 64px; border-radius: 18px; object-fit: cover; box-shadow: 0 12px 24px -16px rgba(31, 16, 38, .4); }
.tools-body { max-width: 1200px; margin: 0 auto; padding: var(--bc-s7) var(--bc-gutter) 0; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--bc-s3); }
.tool-card { display: grid; grid-template-columns: 72px 1fr; gap: var(--bc-s4); align-items: center; padding: var(--bc-s3); border: 0; border-radius: var(--bc-r-lg); background: var(--bc-surface); text-align: left; font: inherit; color: inherit; cursor: pointer; }
.tool-card:hover { box-shadow: inset 0 0 0 1.5px var(--bc-plum); }
.tool-ic { display: block; width: 72px; height: 72px; border-radius: 18px; object-fit: cover; }
.app-fallback { background: linear-gradient(135deg, var(--bc-plum-tint), #FBE7DC); }
.tool-txt b { display: block; font: 700 var(--bc-t-md)/1.2 var(--bc-display); font-stretch: 92%; }
.tool-txt span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: var(--bc-t-xs); line-height: 1.45; color: var(--bc-ink-2); }
.app-head { display: flex; align-items: center; gap: var(--bc-s5); }
.app-big { width: 112px; height: 112px; border-radius: 28px; object-fit: cover; flex: none; }
.app-body { padding: var(--bc-s5) var(--bc-s6) var(--bc-s6); }
.app-desc { font-size: var(--bc-t-md); line-height: 1.6; color: var(--bc-ink); }
.app-body h3 { font-size: var(--bc-t-md); margin: var(--bc-s6) 0 var(--bc-s3); }
.app-events { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.app-events li { display: flex; align-items: center; gap: 8px; font-size: var(--bc-t-sm); }
.app-events .bc-icon { width: 18px; height: 18px; color: var(--bc-sage); }

/* ── how.html — the system, shown working ─────────────────────────────── */
.how-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1360px; margin: 0 auto; padding: 128px var(--bc-gutter) 0; }
.how-hero h1 { font-size: var(--bc-t-4xl); line-height: .98; }
.how-lead { font-size: var(--bc-t-lg); line-height: 1.45; color: var(--bc-ink-2); margin-top: var(--bc-s5); max-width: 44ch; }
/* the spine: five vertebrae on one cord, goals on top */
.how-hero .spine { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--bc-s3); }
.how-hero .spine::before { content: ""; position: absolute; left: 35px; top: 30px; bottom: 30px; width: 6px; border-radius: 3px; background: linear-gradient(#4A1D57, #7B5CD6 30%, #4F7F45 52%, #C2410C 75%, #0891B2); }
.how-hero .spine li { position: relative; margin-left: calc(var(--i) * 10px); }
.how-hero .spine a { display: flex; align-items: center; gap: var(--bc-s4); padding: var(--bc-s3) var(--bc-s5) var(--bc-s3) var(--bc-s3); border-radius: 999px 20px 20px 999px; background: var(--bc-surface); color: inherit; text-decoration: none; box-shadow: 0 18px 40px -28px rgba(31, 16, 38, .45); transition: transform .2s, box-shadow .2s; }
.how-hero .spine a:hover { transform: translateX(6px); box-shadow: 0 0 0 2px var(--c), 0 18px 40px -28px rgba(31, 16, 38, .45); }
.sp-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c); color: #fff; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18), 0 0 0 4px var(--bc-canvas); }
.sp-ic .bc-icon { width: 22px; height: 22px; }
.how-hero .spine b { display: block; font-family: var(--bc-display); font-size: var(--bc-t-md); font-weight: 700; font-stretch: 90%; }
.how-hero .spine small { display: block; color: var(--bc-ink-2); font-size: var(--bc-t-xs); line-height: 1.35; }

.how-sec { max-width: 1360px; margin: 0 auto; padding: var(--bc-s10) var(--bc-gutter) 0; }
.how-sec-head { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--bc-s7); align-items: center; margin-bottom: var(--bc-s7); }
.how-sec-head h2 { font-size: var(--bc-t-3xl); line-height: 1.02; }
.how-sec-head p:not(.how-n) { color: var(--bc-ink-2); font-size: var(--bc-t-md); margin-top: var(--bc-s4); max-width: 60ch; }
.how-sec-head:not(:has(.how-art)) { grid-template-columns: minmax(0, 1fr); }
.how-art { width: 240px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--bc-r-xl); }
.how-n { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: var(--bc-s3); border-radius: 50%; background: var(--bc-plum); color: #fff; font-weight: 700; font-size: var(--bc-t-xs); }

/* goals */
.goals-demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--bc-s6); align-items: start; }
.goal-talk { background: var(--bc-surface); border-radius: var(--bc-r-xl); padding: var(--bc-s5); box-shadow: 0 30px 60px -40px rgba(31, 16, 38, .3); }
.goal-talk-h { font-weight: 600; margin-bottom: var(--bc-s3); }
.goal-chips { display: flex; flex-direction: column; align-items: flex-start; gap: var(--bc-s2); margin-bottom: var(--bc-s4); }
.goal-chips .chip-q:disabled { opacity: .45; cursor: default; box-shadow: inset 0 0 0 1.5px var(--bc-line); color: inherit; }
.goal-log { list-style: none; margin: var(--bc-s4) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--bc-s2); height: 228px; overflow: hidden; }
.goal-log { justify-content: flex-end; }
.glog { display: flex; gap: var(--bc-s2); align-items: center; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; font-size: var(--bc-t-xs); }
.glog.in { opacity: 1; transform: none; }
.glog.me { justify-content: flex-end; }
.glog p.me { margin: 0; padding: var(--bc-s2) var(--bc-s4); border-radius: 16px 16px 4px 16px; background: var(--bc-plum); color: #fff; max-width: 90%; }
.glog.them span { padding: var(--bc-s2) var(--bc-s4); border-radius: 16px 16px 16px 4px; background: var(--bc-sage-tint); }
.glog .bc-avatar { width: 28px; height: 28px; flex: none; }
.goal-tree { --track: #4F7F45; --risk: #C98A12; --done: #2F7A5C; --you: #4A1D57; --new: #7B5CD6; }
.gkids { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--bc-s4); margin-top: var(--bc-s6); }
.gkids::before { content: ""; position: absolute; left: 25%; right: 25%; top: calc(-1 * var(--bc-s6) / 2); height: calc(var(--bc-s6) / 2); border: 2px solid var(--bc-line); border-bottom: 0; border-radius: 14px 14px 0 0; }
.gnode { --c: var(--track); position: relative; padding: var(--bc-s4) var(--bc-s4) var(--bc-s3); border-radius: var(--bc-r-lg); background: var(--bc-surface); box-shadow: inset 4px 0 0 var(--c), 0 20px 40px -32px rgba(31, 16, 38, .4); }
.gnode.st-risk { --c: var(--risk); } .gnode.st-done { --c: var(--done); } .gnode.st-you { --c: var(--you); } .gnode.st-new { --c: var(--new); }
.gnode.groot { max-width: 520px; margin: 0 auto; background: linear-gradient(135deg, #fff, var(--bc-plum-tint)); }
.gnode.groot::after { content: ""; position: absolute; left: 50%; bottom: calc(-1 * var(--bc-s6) / 2 - 2px); width: 2px; height: calc(var(--bc-s6) / 2); background: var(--bc-line); }
.gnode.groot b { font-size: var(--bc-t-lg); }
.gnode b { display: block; font-family: var(--bc-display); font-weight: 700; font-stretch: 92%; font-size: var(--bc-t-md); line-height: 1.2; margin: var(--bc-s2) 0 var(--bc-s3); }
.gnode-top { display: flex; justify-content: space-between; align-items: center; }
.gnode-top .bc-avatar { width: 32px; height: 32px; }
.gstate { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-size: 12px; font-weight: 600; }
.gstate::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.gbar { height: 8px; border-radius: 4px; background: var(--bc-canvas); overflow: hidden; }
.gbar i { display: block; height: 100%; border-radius: 4px; background: var(--c); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.gnode-foot { display: flex; align-items: center; gap: 6px; margin-top: var(--bc-s3); font-size: var(--bc-t-xs); color: var(--bc-ink-2); }
.gnode-foot span { margin-right: auto; font-variant-numeric: tabular-nums; }
.gpb { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
.gnode.flash { animation: gflash 1.4s ease-out; }
@keyframes gflash { 0% { box-shadow: inset 4px 0 0 var(--c), 0 0 0 0 color-mix(in srgb, var(--c) 55%, transparent); } 40% { box-shadow: inset 4px 0 0 var(--c), 0 0 0 10px color-mix(in srgb, var(--c) 0%, transparent); } }

/* ledger */
.ledger { background: var(--bc-surface); border-radius: var(--bc-r-xl); padding: var(--bc-s3) var(--bc-s5) var(--bc-s4); box-shadow: 0 30px 60px -40px rgba(31, 16, 38, .3); }
.ledger-head, .lrow { display: grid; grid-template-columns: 64px 190px minmax(0, 1.4fr) minmax(0, 1fr) 150px; gap: var(--bc-s4); align-items: center; }
.ledger-head { padding: var(--bc-s3) 0; border-bottom: 1px solid var(--bc-line); color: var(--bc-ink-3); font-size: 13px; }
.ledger-rows { list-style: none; margin: 0; padding: 0; height: 520px; overflow-y: auto; scrollbar-width: thin; }
.lrow { padding: var(--bc-s3) 0; border-bottom: 1px solid var(--bc-line); font-size: var(--bc-t-xs); }
.lrow.fresh { animation: lrow .6s ease-out; }
.l-pbfb { grid-row: span 2; width: 34px; height: 34px; border-radius: 9px; background: var(--bc-plum-tint); }
@keyframes lrow { from { opacity: 0; background: var(--bc-plum-tint); } }
.lrow.wait { background: linear-gradient(90deg, var(--bc-plum-tint), transparent 60%); }
.l-time { color: var(--bc-ink-3); font-variant-numeric: tabular-nums; }
.l-who { display: flex; align-items: center; gap: var(--bc-s2); min-width: 0; }
.l-who small { color: var(--bc-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l-who .bc-avatar { width: 30px; height: 30px; flex: none; }
.l-pb { display: grid; grid-template-columns: auto 1fr; column-gap: var(--bc-s2); align-items: center; }
.l-pb img { grid-row: span 2; width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.l-pb small { color: var(--bc-ink-3); }
.l-st { display: flex; flex-direction: column; gap: 2px; }
.l-st small { color: var(--bc-ink-3); font-variant-numeric: tabular-nums; }
.ledger-foot { padding-top: var(--bc-s3); color: var(--bc-ink-2); font-size: var(--bc-t-xs); }

/* learning */
.layers { display: flex; flex-direction: column-reverse; align-items: center; gap: 6px; max-width: 980px; margin: 0 auto var(--bc-s6); }
.layer { width: var(--w); display: grid; grid-template-columns: 220px 1fr; gap: var(--bc-s4); align-items: center; padding: var(--bc-s4) var(--bc-s5); border-radius: var(--bc-r-lg); background: color-mix(in srgb, var(--c) 10%, #fff); box-shadow: inset 0 -4px 0 color-mix(in srgb, var(--c) 30%, transparent); }
.layer b { font-family: var(--bc-display); font-weight: 700; font-stretch: 92%; font-size: var(--bc-t-md); color: var(--c); }
.layer span { color: var(--bc-ink-2); font-size: var(--bc-t-xs); }
.lessons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--bc-s4); }
.lesson { display: flex; flex-direction: column; gap: var(--bc-s3); padding: var(--bc-s5); border-radius: var(--bc-r-lg); background: var(--bc-surface); box-shadow: 0 20px 40px -32px rgba(31, 16, 38, .4); }
.lesson.st-pending { box-shadow: inset 0 0 0 2px #C2410C, 0 20px 40px -32px rgba(31, 16, 38, .4); }
.lesson-rule { font-family: var(--bc-display); font-weight: 600; font-stretch: 94%; font-size: var(--bc-t-md); line-height: 1.3; }
.lesson-meta { display: flex; flex-direction: column; gap: 6px; color: var(--bc-ink-2); font-size: 13px; margin-top: auto; }
.lesson-meta span { display: flex; align-items: center; gap: 6px; }
.lesson-meta .bc-avatar { width: 22px; height: 22px; }
.lesson-act { display: flex; gap: var(--bc-s2); }
.lesson .bc-status { font-size: var(--bc-t-xs); }

/* active */
.month { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 4px; margin-bottom: var(--bc-s5); }
.mday { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1.25; padding: 0; border: 0; border-radius: 10px; background: var(--bc-surface); color: var(--bc-ink-3); font: inherit; font-size: 12px; }
.mday.has { color: var(--bc-ink); font-weight: 600; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--bc-line); }
.mday.has:hover, .mday.on { box-shadow: inset 0 0 0 2px var(--bc-plum); }
.mday i { position: absolute; bottom: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--k); }
.k-schedule { --k: #4A1D57; } .k-event { --k: #C98A12; } .k-mail { --k: #0891B2; } .k-register { --k: #7B5CD6; } .k-threshold { --k: #C2410C; }
.triggers { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: var(--bc-s3); }
.trig { display: flex; flex-direction: column; gap: var(--bc-s2); padding: var(--bc-s4) var(--bc-s5); border-radius: var(--bc-r-lg); background: var(--bc-surface); box-shadow: inset 0 3px 0 var(--k); transition: box-shadow .2s; }
.trig.on { box-shadow: inset 0 3px 0 var(--k), 0 0 0 2px var(--k); }
.trig-kind { display: inline-flex; align-items: center; gap: 6px; color: var(--k); font-weight: 600; font-size: 13px; }
.trig-kind .bc-icon { width: 16px; height: 16px; }
.trig p { font-size: var(--bc-t-xs); line-height: 1.45; }
.trig-who { display: flex; align-items: center; gap: var(--bc-s2); margin-top: auto; color: var(--bc-ink-3); font-size: 13px; }
.trig-who .bc-avatar { width: 24px; height: 24px; }

/* the business map */
.map-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--bc-s3); }
.map-bar .tabs { margin-bottom: 0; }
.map-cov { font-family: var(--bc-display); font-weight: 700; font-size: var(--bc-t-lg); font-variant-numeric: tabular-nums; }
.bmap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--bc-s3); margin-top: var(--bc-s5); }
.bfam { display: flex; flex-direction: column; gap: var(--bc-s2); padding: var(--bc-s3); border-radius: var(--bc-r-lg); background: color-mix(in srgb, var(--hue) 7%, #fff); }
.bfam-h { padding: 2px var(--bc-s2) var(--bc-s1); color: var(--hue); font-family: var(--bc-display); font-weight: 700; font-stretch: 92%; }
.bzone { display: flex; flex-direction: column; gap: var(--bc-s2); padding: var(--bc-s3); border-radius: var(--bc-r-md); background: var(--bc-surface); transition: box-shadow .3s; }
.bzone.full { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--hue) 45%, transparent); }
.bzone b { font-size: 13px; font-weight: 600; line-height: 1.25; }
.bzone small { color: var(--bc-ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.bdots { display: flex; flex-wrap: wrap; gap: 5px; }
.bdot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); transition: background .5s; }
.map-legend { display: flex; flex-wrap: wrap; gap: var(--bc-s5); margin-top: var(--bc-s4); color: var(--bc-ink-2); font-size: var(--bc-t-xs); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 1100px) {
  .how-hero, .goals-demo { grid-template-columns: 1fr; }
  .how-hero { padding-top: 112px; }
  .how-hero .spine { max-width: 560px; }
  .bmap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lessons { grid-template-columns: 1fr; }
  .ledger-head, .lrow { grid-template-columns: 52px 150px minmax(0, 1fr) 130px; row-gap: 6px; }
  .ledger-head span:nth-child(4) { display: none; }
  .l-pb { grid-column: 3; grid-row: 2; font-size: 13px; } .l-pb img, .l-pbfb { width: 26px; height: 26px; border-radius: 7px; }
  .l-time, .l-who, .l-st { grid-row: 1 / span 2; }
}
@media (max-width: 640px) {
  .how-sec-head { grid-template-columns: 1fr; gap: var(--bc-s4); }
  .how-art { width: 100%; max-width: 360px; }
  .gkids { grid-template-columns: 1fr; }
  .gkids::before { display: none; }
  .month { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .bmap { grid-template-columns: 1fr 1fr; }
  .layer { width: 100%; grid-template-columns: 1fr; gap: 4px; }
  .ledger { padding: var(--bc-s2) var(--bc-s3); }
  .ledger-head { display: none; }
  .lrow { grid-template-columns: 44px minmax(0, 1fr); row-gap: 6px; }
  .l-who { grid-column: 2; grid-row: 1; } .l-what { grid-column: 2; grid-row: 2; } .l-pb { grid-column: 2; grid-row: 3; } .l-st { grid-column: 2; grid-row: 4; flex-direction: row; gap: var(--bc-s3); align-items: center; }
  .l-time { grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) { .gnode.flash, .lrow.fresh { animation: none; } .gbar i, .how-hero .spine a { transition: none; } }

/* ── the workroom — a specialist's room where the work lives (specialist.html) ── */
.room-work { max-width: 1200px; margin: 0 auto; padding: var(--bc-s9) var(--bc-gutter) 0; }
.wr { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--bc-s5); align-items: start; }
.wr-main { display: flex; flex-direction: column; background: var(--bc-surface); border-radius: var(--bc-r-xl); box-shadow: 0 30px 60px -40px rgba(31, 16, 38, .35); overflow: hidden; }
.wr-bar { display: flex; align-items: center; gap: var(--bc-s3); padding: var(--bc-s4) var(--bc-s5); border-bottom: 1px solid var(--bc-line); }
.wr-bar .bc-avatar { width: 44px; height: 44px; flex: none; }
.wr-bar > div { flex: 1; min-width: 0; }
.wr-bar b { display: block; font-family: var(--bc-display); font-weight: 700; font-stretch: 92%; font-size: var(--bc-t-md); }
.wr-bar small { display: flex; align-items: center; gap: 8px; color: var(--bc-ink-2); font-size: 13px; }
.wr-demo { flex: none; padding: 4px 12px; border-radius: 999px; background: var(--bc-canvas); box-shadow: inset 0 0 0 1px var(--bc-line); color: var(--bc-ink-2); font-size: 12px; cursor: help; }
.wr-pulse { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #7B5CD6; box-shadow: 0 0 0 0 rgba(123, 92, 214, .5); animation: wrpulse 1.8s infinite; }
@keyframes wrpulse { 70% { box-shadow: 0 0 0 7px rgba(123, 92, 214, 0); } 100% { box-shadow: 0 0 0 0 rgba(123, 92, 214, 0); } }

.wr-stream { position: relative; height: 620px; overflow-y: auto; padding: 0 var(--bc-s5) var(--bc-s5); scrollbar-width: thin; background: linear-gradient(#fff, #fcfbfd); }
.wr-day { position: sticky; top: 0; z-index: 2; margin: 0 calc(-1 * var(--bc-s5)) 4px; padding: var(--bc-s3) var(--bc-s5); background: #fff; box-shadow: 0 1px 0 var(--bc-line); font-family: var(--bc-text); font-size: 13px; font-weight: 600; color: var(--bc-ink-2); }
.wr-dayg:last-child .wr-day { color: var(--bc-plum); }
.wr-item { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--bc-s3); padding: 6px 0; }
.wr-item::before { content: ""; position: absolute; left: 21px; top: 0; bottom: 0; width: 2px; background: var(--bc-line); }
.wr-item time { position: relative; z-index: 1; align-self: start; margin-top: 12px; padding: 2px 0; background: #fff; color: var(--bc-ink-3); font-size: 12px; font-variant-numeric: tabular-nums; text-align: center; }
.wr-item.fresh { animation: wrin .45s ease-out; }
@keyframes wrin { from { opacity: 0; transform: translateY(8px); } }
.wr-item.ping .wr-run { animation: wrping 1.4s ease-out; }
@keyframes wrping { 0% { box-shadow: 0 0 0 0 rgba(74, 29, 87, .45), inset 0 0 0 1px var(--bc-line); } 60% { box-shadow: 0 0 0 10px rgba(74, 29, 87, 0), inset 0 0 0 1px var(--bc-line); } }

.wr-run { padding: var(--bc-s4); border-radius: var(--bc-r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--bc-line), 0 14px 30px -26px rgba(31, 16, 38, .45); }
.wr-run-h { display: flex; align-items: center; gap: var(--bc-s3); }
.wr-cover { flex: none; width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.wr-cover--none { display: block; background: var(--bc-plum-tint); }
.wr-run-t { flex: 1; min-width: 0; }
.wr-run-t b { display: block; font-weight: 600; line-height: 1.25; }
.wr-run-t small { display: block; color: var(--bc-ink-2); font-size: 13px; }
.wr-chip { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.wr-chip--done { background: var(--bc-sage-tint); color: #3f6b33; }
.wr-chip--live { background: #EEE9FB; color: #5B3FB8; }
.wr-chip--wait { background: var(--bc-plum); color: #fff; }
.wr-track { display: flex; gap: 3px; list-style: none; margin: var(--bc-s3) 0 0; padding: 0; }
.wr-track li { flex: 1; height: 6px; border-radius: 3px; background: var(--bc-line); transition: background .4s; }
.wr-track li.s-done { background: #7FA874; }
.wr-track li.s-done.decided { background: var(--bc-plum); }
.wr-track li.s-now { background: #7B5CD6; animation: wrnow 1.2s ease-in-out infinite alternate; }
@keyframes wrnow { to { opacity: .35; } }
.wr-track li.s-wait { background: repeating-linear-gradient(135deg, var(--bc-plum) 0 4px, #8a5a98 4px 8px); }
.wr-decided, .wr-now { display: flex; gap: 8px; align-items: flex-start; margin-top: var(--bc-s2); font-size: 13px; color: var(--bc-ink-2); line-height: 1.45; }
.wr-decided .bc-icon { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--bc-plum); }
.wr-decided b, .wr-now b { color: var(--bc-ink); font-weight: 600; }
.wr-now .wr-pulse { margin-top: 5px; }
.wr-ask { margin-top: var(--bc-s3); padding: var(--bc-s3) var(--bc-s4); border-radius: var(--bc-r-md); background: var(--bc-plum-tint); }
.wr-ask p { font-size: var(--bc-t-xs); line-height: 1.45; }
.wr-ask p b { display: block; color: var(--bc-plum); font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.wr-ask-act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bc-s2); margin-top: var(--bc-s3); }
.wr-ask-act small { color: var(--bc-ink-2); font-size: 12px; }
.wr-result { margin-top: var(--bc-s3); font-size: var(--bc-t-xs); line-height: 1.5; }
.wr-files { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: var(--bc-s3); }
.wr-files small { color: var(--bc-ink-3); font-size: 12px; margin-left: 4px; }
.wr-files--col { flex-direction: column; align-items: stretch; margin-top: 0; }
.wr-file { display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 4px 10px 4px 7px; border-radius: 8px; background: var(--bc-canvas); box-shadow: inset 0 0 0 1px var(--bc-line); color: var(--bc-ink-2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: default; }
.wr-file .bc-icon { flex: none; width: 15px; height: 15px; color: var(--bc-plum); }
.wr-all { margin-top: var(--bc-s3); font-size: 13px; color: var(--bc-ink-2); }
.wr-all summary { cursor: pointer; width: max-content; max-width: 100%; color: var(--bc-ink-3); }
.wr-all summary:hover { color: var(--bc-plum); }
.wr-all ol { list-style: none; margin: var(--bc-s2) 0 0; padding: 0; display: grid; gap: 4px; }
.wr-all li { display: flex; align-items: center; gap: 8px; }
.wr-all li .bc-icon { width: 14px; height: 14px; flex: none; color: #4F7F45; }
.wr-all li.s-now .bc-icon, .wr-all li.s-wait .bc-icon { color: var(--bc-plum); }
.wr-all li i { flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--bc-line); }
.wr-all li.s-todo span { color: var(--bc-ink-3); }
.wr-all em { font-style: normal; color: var(--bc-plum); font-size: 12px; }

.wr-event { display: flex; gap: 8px; align-items: flex-start; padding: 10px 0; font-size: 13px; color: var(--bc-ink-2); line-height: 1.45; }
.wr-event .bc-icon { flex: none; width: 16px; height: 16px; margin-top: 1px; color: #0891B2; }
.wr-event b { color: var(--bc-ink); font-weight: 600; margin-right: 4px; }
.wr-capture { padding: 2px 0 6px; }
.wr-capture .wr-event { padding-bottom: 0; }
.wr-capture .wr-event .bc-icon { color: #C2410C; }
.wr-capture .wr-files { margin-top: 6px; padding-left: 24px; }
.wr-rule { display: flex; gap: var(--bc-s2); align-items: flex-start; margin: 4px 0; padding: var(--bc-s3); border-radius: var(--bc-r-md); background: var(--bc-sage-tint); font-size: 13px; line-height: 1.45; }
.wr-rule .bc-avatar { width: 26px; height: 26px; flex: none; }
.wr-rule b { display: block; color: #3f6b33; font-size: 12px; }
.wr-me { display: flex; justify-content: flex-end; padding: 4px 0; }
.wr-me p { max-width: 80%; padding: 8px 14px; border-radius: 14px 14px 4px 14px; background: var(--bc-plum); color: #fff; font-size: var(--bc-t-xs); line-height: 1.45; }
.wr-them { display: flex; gap: var(--bc-s2); align-items: flex-end; padding: 4px 0; }
.wr-them .bc-avatar { width: 28px; height: 28px; flex: none; }
.wr-them-b { max-width: 88%; padding: 8px 14px; border-radius: 14px 14px 14px 4px; background: var(--bc-canvas); box-shadow: inset 0 0 0 1px var(--bc-line); font-size: var(--bc-t-xs); line-height: 1.5; }
.wr-them-b p + p { margin-top: 6px; }

.wr-compose { padding: var(--bc-s4) var(--bc-s5) var(--bc-s5); border-top: 1px solid var(--bc-line); background: #fff; }
.wr-compose > p { font-size: 13px; font-weight: 600; color: var(--bc-ink-2); margin-bottom: var(--bc-s2); }
.wr-jobs { display: flex; flex-wrap: wrap; gap: var(--bc-s2); margin-bottom: var(--bc-s3); }
.wr-job { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 var(--bc-s4) 0 var(--bc-s3); border: 0; border-radius: 999px; background: var(--bc-plum-tint); color: var(--bc-plum); font: inherit; font-size: var(--bc-t-xs); font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.wr-job .bc-icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.wr-job:hover:not(:disabled) { background: var(--bc-plum); color: #fff; }
.wr-job:disabled { opacity: .45; cursor: default; }

.wr-desk { position: sticky; top: 96px; display: flex; flex-direction: column; gap: var(--bc-s3); }
.wr-panel { padding: var(--bc-s4); border-radius: var(--bc-r-lg); background: var(--bc-surface); }
.wr-panel.has-wait { box-shadow: inset 0 0 0 2px var(--bc-plum); }
.wr-panel h4 { display: flex; align-items: center; gap: 8px; margin-bottom: var(--bc-s3); font-family: var(--bc-text); font-size: 13px; font-weight: 600; color: var(--bc-ink-2); }
.wr-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--bc-plum); color: #fff; font-size: 12px; }
.wr-waitlink { display: block; width: 100%; padding: var(--bc-s2) var(--bc-s3); border: 0; border-radius: var(--bc-r-md); background: var(--bc-plum-tint); text-align: left; font: inherit; cursor: pointer; }
.wr-waitlink + .wr-waitlink { margin-top: 6px; }
.wr-waitlink b { display: block; font-size: 13px; color: var(--bc-plum); }
.wr-waitlink span { font-size: 12px; color: var(--bc-ink-2); }
.wr-waitlink:hover { box-shadow: inset 0 0 0 1.5px var(--bc-plum); }
.wr-muted { color: var(--bc-ink-3); font-size: 12px; margin-top: 6px; }
.wr-panel > .wr-muted:first-of-type { margin-top: 0; }
.wr-files--col + .wr-muted { margin-top: 8px; }
.wr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--bc-s2); }
.wr-stats dt { font-family: var(--bc-display); font-weight: 700; font-size: var(--bc-t-xl); line-height: 1; font-variant-numeric: tabular-nums; }
.wr-stats dd { margin: 4px 0 0; color: var(--bc-ink-2); font-size: 12px; line-height: 1.3; }
.wr-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--bc-s2); }
.wr-rules li { padding-left: var(--bc-s3); border-left: 3px solid #7B5CD6; font-size: 13px; line-height: 1.4; }
.wr-rules small { display: block; color: var(--bc-ink-3); font-size: 12px; margin-top: 2px; }
.wr-goal { display: flex; align-items: center; gap: 8px; color: var(--bc-ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.wr-goal i { width: 10px; height: 10px; border-radius: 50%; background: #2F7A5C; flex: none; }
.wr-goal:hover { color: var(--bc-plum); }

@media (max-width: 980px) {
  .wr { grid-template-columns: 1fr; }
  .wr-desk { position: static; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wr-stream { height: 560px; padding: 0 var(--bc-s3) var(--bc-s4); }
  .wr-day { margin: 0 calc(-1 * var(--bc-s3)); padding-left: var(--bc-s3); }
  .wr-item { grid-template-columns: 40px minmax(0, 1fr); gap: var(--bc-s2); }
  .wr-item::before { left: 18px; }
  .wr-bar { flex-wrap: wrap; padding: var(--bc-s3); }
  .wr-bar > div { flex: 1 1 calc(100% - 60px); }
  .wr-demo { order: 3; margin-left: 56px; }
  .wr-run-h { display: grid; grid-template-columns: 44px minmax(0, 1fr); }
  .wr-chip { grid-column: 2; justify-self: start; }
  .wr-compose { padding: var(--bc-s3); }
  .wr-desk { grid-template-columns: 1fr; }
  .wr-run { padding: var(--bc-s3); }
}
@media (prefers-reduced-motion: reduce) { .wr-pulse, .wr-track li.s-now, .wr-item.fresh, .wr-item.ping .wr-run { animation: none; } }

/* ── home: how it works, in five parts ── */
.how-teaser { max-width: 1360px; margin: 0 auto; padding: var(--bc-s9) var(--bc-gutter) 0; }
.ht-panel { position: relative; overflow: hidden; display: grid; gap: var(--bc-s7); padding: var(--bc-s8); border-radius: var(--bc-r-xl); background: radial-gradient(120% 140% at 0% 0%, #5B2A6B 0%, #3A1545 55%, #2A0F33 100%); color: #fff; }
.ht-copy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--bc-s7); align-items: end; }
.ht-copy h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1; color: #fff; max-width: 16ch; }
.ht-copy p { color: rgba(255, 255, 255, .78); font-size: var(--bc-t-md); line-height: 1.5; max-width: 40ch; }
.ht-btn { margin-top: var(--bc-s5); background: #fff; color: var(--bc-plum); }
.ht-btn:hover { background: var(--bc-plum-tint); color: var(--bc-plum); }
.ht-cards { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--bc-s3); }
.ht-cards a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 8px 8px var(--bc-s4); border-radius: var(--bc-r-lg); background: #fff; color: var(--bc-ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.ht-cards a:hover { transform: translateY(-4px); box-shadow: 0 0 0 3px rgba(255, 255, 255, .35), 0 24px 40px -24px rgba(0, 0, 0, .6); }
.ht-cards img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.ht-n { position: absolute; top: 14px; left: 14px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bc-plum); color: #fff; font-size: 12px; font-weight: 700; }
.ht-cards b { display: block; margin: var(--bc-s3) 6px 4px; font-family: var(--bc-display); font-weight: 700; font-stretch: 92%; font-size: var(--bc-t-sm); line-height: 1.2; }
.ht-cards span:last-child { margin: 0 6px; color: var(--bc-ink-2); font-size: 13px; line-height: 1.4; }
@media (max-width: 1100px) {
  .ht-panel { padding: var(--bc-s6); }
  .ht-copy { grid-template-columns: 1fr; gap: var(--bc-s4); }
  .ht-cards { grid-template-columns: repeat(5, minmax(200px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
  .ht-cards li { scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .ht-panel { padding: var(--bc-s5); }
  .ht-cards { grid-template-columns: 1fr; overflow: visible; }
  .ht-cards a { flex-direction: row; align-items: center; gap: var(--bc-s3); padding: 8px; }
  .ht-cards img { width: 72px; flex: none; aspect-ratio: 1 / 1; }
  .ht-cards a > b, .ht-cards a > span:last-child { margin: 0; }
  .ht-cards a { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; column-gap: var(--bc-s3); }
  .ht-cards img { grid-row: span 2; }
  .ht-n { top: 12px; left: 12px; width: 22px; height: 22px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .ht-cards a { transition: none; } }

/* ── sign in (every page) and the example link under the sign-up form ── */
.nav-in { color: var(--bc-ink-2); font-size: var(--bc-t-xs); text-decoration: none; padding: 0 var(--bc-s2); }
.nav-in:hover { color: var(--bc-plum); }
.start-ex { margin-top: var(--bc-s3); font-size: var(--bc-t-xs); }
.start-ex a { color: var(--bc-plum); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 480px) { .nav-in { display: none; } }
