/* Commons theme — Community and courses. Generated by gen-brands.py; layout in ../_base/brand.css. */
@font-face { font-family: 'Bricolage Grotesque'; src: url(fonts/head.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(fonts/body.woff2) format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(fonts/jetbrains-mono.woff2) format('woff2'); font-weight: 500; font-display: swap; }
:root { --bg: #F7F4FF; --bg2: #FFFFFF; --bg3: #ECE5FF; --ink: #1E1840; --ink2: #615C80; --line: color-mix(in srgb, var(--ink) 10%, transparent); --acc: #7C5CFF; --acc-ink: #FFFFFF; --acc2: #FFC94D; --acc3: #FF8FB1; --f-head: 'Bricolage Grotesque', system-ui, sans-serif; --f-body: 'Figtree', system-ui, sans-serif; --f-mono: 'JetBrains Mono', ui-monospace, monospace; --r-lg: 36px; --r-md: 22px; --btn-r: 999px; --h-w: 700; }
h1, h2, h3, .a-head h2 { font-weight: 700; letter-spacing: -0.035em; }
.bh-split { background: radial-gradient(60% 70% at 85% 20%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%), radial-gradient(40% 50% at 5% 90%, color-mix(in srgb, var(--acc2) 35%, transparent), transparent 70%); }
.bh-split .bh-title em { font-style: normal; color: var(--acc); position: relative; white-space: nowrap; }
.bh-split .bh-title em::after { content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .22em; border-radius: 99px; background: var(--acc2); z-index: -1; transform: rotate(-1.5deg); }
.a-btn .chip { background: var(--acc2); color: var(--ink); }
.nav-links { background: var(--bg2); }
.b-card { border-radius: var(--r-lg); background: var(--bg2); } .b-card:nth-child(2) { background: var(--bg3); } .b-card:nth-child(3) { background: color-mix(in srgb, var(--acc3) 20%, #fff); }
.b-card-ic { background: var(--acc); color: #fff; border-radius: 16px; transform: rotate(-6deg); }
.b-split h2 em { font-style: normal; color: var(--acc); }
.a-nums { background: var(--ink); color: #fff; padding: 48px; border-radius: var(--r-lg); } .a-nums > div { border-top-color: rgba(255,255,255,.2); } .a-nums span { color: #C9C3EA; } .a-nums b { color: var(--acc2); }
.quote { background: var(--acc); color: #fff; border: 0; } .quote blockquote { color: #fff; } .quote .a-eye, .quote small { color: #E3DBFF; } .quote .av.lg { background: var(--acc2); color: var(--ink); } .quote .who-link { color: var(--acc2); }
.cta { background: var(--acc2); color: var(--ink); } .cta h2 { color: var(--ink); } .cta p { color: var(--ink); opacity: .72; }
.a-btn.dark { background: var(--ink); color: #fff; --chip: var(--acc); }
.cta-mark { color: color-mix(in srgb, var(--acc) 16%, transparent); }
.a-word { color: var(--acc); -webkit-text-stroke: 0; background: none; opacity: .14; }
.plan.pop { background: var(--acc); color: #fff; } .plan.pop .plan-d, .plan.pop .price span, .plan.pop .ticks li { color: #E7E0FF; } .plan.pop .a-btn { background: var(--acc2); color: var(--ink); }
/* Signature: course card with live cohort + floating reactions */
.cm-app { height: 100%; padding: 22px; background: var(--bg2); display: grid; grid-template-rows: auto 1fr auto; gap: 16px; font-size: 13px; position: relative; }
.cm-cover { border-radius: 22px; padding: 20px; color: #fff; background: radial-gradient(circle at 85% 20%, var(--acc3), transparent 45%), linear-gradient(135deg, var(--acc), #4B2FD6); display: grid; gap: 8px; }
.cm-cover small { font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.cm-cover b { font: 700 24px/1.1 var(--f-head); letter-spacing: -.02em; }
.cm-prog { height: 8px; border-radius: 99px; background: rgba(255,255,255,.25); overflow: hidden; } .cm-prog i { display: block; height: 100%; width: 62%; background: var(--acc2); border-radius: 99px; animation: ui-grow 1.6s .6s var(--ease) both; transform-origin: left; }
.cm-list { display: grid; gap: 8px; align-content: start; }
.cm-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; background: var(--bg); }
.cm-row .ck { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg3); color: var(--acc); font-weight: 700; }
.cm-row.done .ck { background: var(--acc); color: #fff; } .cm-row b { display: block; font-weight: 600; } .cm-row small { color: var(--ink2); font-size: 12px; }
.cm-live { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); }
.cm-avs { display: flex; } .cm-avs i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; } .cm-avs i:first-child { margin-left: 0; }
.cm-live span { flex: 1; color: var(--ink2); } .cm-live em { font-style: normal; font-weight: 600; color: #fff; background: #FF4D6D; padding: 4px 10px; border-radius: 99px; font-size: 12px; }
.cm-float { position: absolute; right: -14px; bottom: 90px; display: grid; gap: 8px; }
.cm-float span { padding: 8px 12px; border-radius: 99px; background: #fff; box-shadow: 0 12px 30px -12px rgba(30,24,64,.35); font-weight: 600; font-size: 12px; animation: cm-bob 4s ease-in-out infinite; }
.cm-float span:nth-child(2) { animation-delay: -1.3s; margin-left: 24px; } .cm-float span:nth-child(3) { animation-delay: -2.6s; }
@keyframes cm-bob { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .cm-float span { animation: none; } }
@media (max-width: 760px) { .cm-float { display: none; } }
