/* Brand sheet: logo construction, palette, type, icons, flags, voice, motion and components. Builds on ui.css. */

.sw-forest { background: var(--forest); }
.sw-lime { background: var(--lime); }
.sw-lime-2 { background: var(--lime-2); }
.sw-paper { background: var(--paper); }
.sw-paper-2 { background: var(--paper-2); }
.sw-ink { background: var(--ink); }
.sw-muted { background: var(--muted); }

.flowchip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--mono);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--forest-3);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 4px 10px 4px 4px;
	white-space: nowrap;
}

.flowchip .fl {
	width: 20px;
	height: 20px;
}

/* Hero */

.b-hero {
	position: relative;
	padding: 56px 0 96px;
	overflow: hidden;
	isolation: isolate;
}

.b-hero .barrio {
	-webkit-mask-image: radial-gradient(ellipse 50% 70% at 82% 44%, #000 15%, transparent 75%);
	mask-image: radial-gradient(ellipse 50% 70% at 82% 44%, #000 15%, transparent 75%);
}

.b-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
}

.b-hero h1 {
	font-size: clamp(44px, 5.4vw, 78px);
}

.b-hero h1 .hl {
	background: linear-gradient(var(--lime), var(--lime)) left 88% / 0% 30% no-repeat;
	animation: highlight 1.1s 0.35s var(--ease-out) forwards;
	padding: 0 4px;
	margin: 0 -4px;
}

.b-hero .lede {
	margin: 26px 0 32px;
}

.b-toc {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 560px;
}

.b-toc a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 10px;
	border-radius: 999px;
	background: var(--white);
	border: 1px solid var(--line);
	font-size: 14px;
	font-weight: 600;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.b-toc a:hover {
	border-color: var(--forest);
	transform: translateY(-1px);
}

.b-toc span {
	font-family: var(--mono);
	font-size: 11.5px;
	color: var(--muted);
}

/* Cover: the mark built on its grid */

.b-cover {
	position: relative;
	padding: 26px 34px 40px 30px;
}

.b-sheet {
	position: relative;
	z-index: 1;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 50px 100px -40px rgba(16, 41, 30, 0.45), 0 18px 36px -24px rgba(16, 41, 30, 0.3);
}

.b-sheet-bar {
	display: flex;
	justify-content: space-between;
	padding: 12px 18px;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted);
	background: #faf9f5;
	border-bottom: 1px solid var(--paper-2);
}

.b-build {
	width: 100%;
	height: auto;
	padding: 18px 26px 4px;
	background: radial-gradient(circle, rgba(16, 41, 30, 0.07) 1px, transparent 1.2px) 0 0 / 18px 18px;
}

.b-guides {
	fill: none;
	stroke: rgba(16, 41, 30, 0.16);
	stroke-width: 0.07;
	stroke-dasharray: 0.4 0.4;
}

.b-edge {
	fill: none;
	stroke: rgba(16, 41, 30, 0.28);
	stroke-width: 0.08;
}

.b-orbit {
	fill: none;
	stroke: var(--lime-2);
	stroke-width: 0.12;
	stroke-dasharray: 0.5 0.5;
	opacity: 0;
	transition: opacity 0.6s ease;
}

.bk {
	transform-box: fill-box;
	transform-origin: center;
	fill: var(--forest);
	opacity: 0;
	transform: scale(0.4);
	transition: transform 0.6s var(--ease-out), opacity 0.5s ease;
}

.bk.in {
	opacity: 1;
	transform: none;
}

.bk.faint.in {
	opacity: 0.16;
}

.bk.dot {
	fill: var(--lime);
	transition: transform 0.8s var(--ease-out), opacity 0.4s ease;
}

.b-notes {
	opacity: 0;
	transition: opacity 0.6s ease;
}

.b-notes path {
	fill: none;
	stroke: var(--forest-3);
	stroke-width: 0.1;
}

.b-notes text {
	font-family: var(--mono);
	font-size: 1.5px;
	fill: var(--forest-3);
}

.is-built .b-notes,
.is-built .b-orbit {
	opacity: 1;
}

.b-sheet-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 22px;
	border-top: 1px solid var(--paper-2);
}

.b-sheet-foot .brand {
	font-size: 26px;
}

.b-specs {
	text-align: right;
	font-size: 13px;
}

.b-specs b {
	display: block;
	font-weight: 650;
}

.b-specs small {
	display: block;
	font-family: var(--mono);
	font-size: 11.5px;
	color: var(--muted);
}

.b-chip {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 14px 9px 9px;
	font-size: 13px;
}

.b-chip i {
	width: 30px;
	height: 30px;
	border-radius: 9px;
	box-shadow: inset 0 0 0 1px rgba(16, 41, 30, 0.1);
}

.b-chip b {
	display: block;
	font-size: 13.5px;
	line-height: 1.2;
}

.b-chip small {
	display: block;
	font-family: var(--mono);
	font-size: 11.5px;
	color: var(--muted);
}

.b-aa {
	width: 30px;
	height: 30px;
	border-radius: 9px;
	display: grid;
	place-items: center;
	background: var(--forest);
	color: var(--lime);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: -0.04em;
}

.b-c1 { top: 70px; left: 0; }
.b-c2 { bottom: 120px; right: 0; }
.b-c3 { bottom: 6px; left: 16%; }

/* Logo */

.b-spec {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 56px;
	align-items: center;
}

.b-spec-fig {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 24px;
	padding: 28px;
}

.b-spec-fig svg {
	width: 100%;
	height: auto;
}

.b-spec-fig .ink,
.b-spec-fig .faint {
	fill: var(--forest);
}

.b-spec-fig .faint {
	opacity: 0.16;
}

.b-spec-fig .dot {
	fill: var(--lime);
}

.b-dims path {
	fill: none;
	stroke: var(--muted);
	stroke-width: 0.12;
}

.b-dims text {
	font-family: var(--mono);
	font-size: 1.7px;
	fill: var(--ink-2);
}

.b-dims .pin {
	fill: var(--forest);
}

.b-notes-list {
	margin: 0;
}

.b-rules {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 64px;
}

.b-rule {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 14px 14px 24px;
}

.b-rule-vis {
	height: 210px;
	border-radius: 14px;
	background: var(--white);
	border: 1px solid var(--paper-2);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.b-rule h4 {
	font-size: 19px;
	margin: 20px 10px 6px;
}

.b-rule p {
	margin: 0 10px;
	color: var(--ink-2);
	font-size: 15px;
}

.b-clear {
	padding: 24px;
	border: 1.5px dashed var(--lime-2);
	border-radius: 4px;
	background: repeating-linear-gradient(45deg, rgba(200, 241, 105, 0.3) 0 4px, transparent 4px 9px);
}

.b-clear .brand svg {
	width: 96px;
	height: 96px;
	background: var(--white);
}

.b-sizes {
	display: grid;
	gap: 22px;
	justify-items: center;
	align-content: center;
}

.b-size-row {
	display: flex;
	align-items: flex-end;
	gap: 18px;
}

.b-size-row > span,
.b-lock-min {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.b-sizes code {
	font-size: 11px;
	color: var(--muted);
}

.b-sizes .s48 svg { width: 48px; height: 48px; }
.b-sizes .s32 svg { width: 32px; height: 32px; }
.b-sizes .s24 svg { width: 24px; height: 24px; }
.b-sizes .s20 svg { width: 20px; height: 20px; }
.b-sizes .s16 svg { width: 16px; height: 16px; }

.b-lock-min .brand {
	font-size: 14px;
	gap: 5px;
}

.b-lock-min .brand svg {
	width: 18px;
	height: 18px;
}

.b-cobrand {
	background: linear-gradient(180deg, #eef0fb, var(--white));
}

.b-app {
	width: 220px;
	border-radius: 20px;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: 0 24px 40px -26px rgba(16, 41, 30, 0.5);
	padding: 14px;
	display: grid;
	gap: 10px;
}

.b-app-top {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.b-app-logo {
	width: 26px;
	height: 26px;
	border-radius: 8px;
	display: grid;
	place-items: center;
	background: #3346a8;
	color: var(--white);
	font-size: 10.5px;
	font-weight: 800;
}

.b-app-bal {
	padding: 10px 12px;
	border-radius: 12px;
	background: #3346a8;
	color: var(--white);
}

.b-app-bal small {
	display: block;
	font-size: 11px;
	opacity: 0.7;
}

.b-app-bal b {
	font-family: var(--mono);
	font-size: 17px;
}

.b-app-bal em {
	font-style: normal;
	font-size: 11px;
	opacity: 0.8;
}

.b-app-foot {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding-top: 6px;
	border-top: 1px solid var(--paper-2);
	font-size: 11px;
	color: var(--muted);
}

.b-app-foot .brand {
	font-size: 12px;
	gap: 4px;
	color: var(--ink-2);
}

.b-app-foot .brand svg {
	width: 13px;
	height: 13px;
}

.b-lockups {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 18px;
}

.b-lockup {
	margin: 0;
}

.b-lockup-tile {
	height: 200px;
	border-radius: 22px;
	display: grid;
	place-items: center;
	border: 1px solid var(--line);
}

.b-lockup-tile .brand {
	font-size: 40px;
	gap: 13px;
}

.b-lockup-tile .brand svg {
	width: 52px;
	height: 52px;
}

.on-paper .b-lockup-tile {
	background: var(--paper);
}

.on-forest .b-lockup-tile {
	background: var(--forest);
	border-color: var(--forest);
	color: var(--white);
}

.on-lime .b-lockup-tile {
	background: var(--lime);
	border-color: var(--lime);
	color: var(--forest);
}

.b-lockup figcaption,
.b-dont figcaption {
	margin-top: 12px;
	padding: 0 4px;
	font-size: 14.5px;
	color: var(--muted);
}

.b-lockup strong {
	display: block;
	color: var(--ink);
	font-size: 15.5px;
}

.b-donts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-top: 40px;
}

.b-dont {
	margin: 0;
}

.b-dont-tile {
	position: relative;
	height: 150px;
	border-radius: 18px;
	background: var(--paper);
	border: 1px solid var(--line);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.b-dont-tile .brand svg {
	width: 64px;
	height: 64px;
}

.b-x {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.d-recolour {
	--mk-a: #2775ca;
	--mk-c: var(--coral);
}

.d-rotate .brand svg {
	transform: rotate(90deg);
}

.d-stretch .brand svg {
	transform: scaleX(1.45);
	filter: drop-shadow(3px 5px 3px rgba(16, 41, 30, 0.35));
}

/* Colour */

.b-pal {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.b-sw {
	display: flex;
	flex-direction: column;
	padding: 0;
	text-align: left;
	font: inherit;
	color: var(--ink);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 20px;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.b-sw:hover {
	transform: translateY(-3px);
	box-shadow: 0 30px 50px -36px rgba(16, 41, 30, 0.5);
}

.b-sw:focus-visible {
	outline: 2px solid var(--forest-3);
	outline-offset: 2px;
}

.b-sw.wide {
	grid-column: span 2;
}

.b-sw-c {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	height: 150px;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(16, 41, 30, 0.08);
}

.b-sw-hex {
	font-family: var(--mono);
	font-size: 15px;
	font-weight: 600;
}

.b-sw.copied .b-sw-hex::after {
	content: '  copied';
	font-weight: 500;
	opacity: 0.7;
}

.b-ratio {
	font-family: var(--mono);
	font-size: 11.5px;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(16, 41, 30, 0.08);
}

.b-sw-c.on-dark {
	color: var(--white);
}

.b-sw-c.on-dark .b-ratio {
	background: rgba(255, 255, 255, 0.14);
}

.b-sw-c.sw-lime,
.b-sw-c.sw-lime-2 {
	color: var(--forest);
}

.b-sw-meta {
	display: grid;
	gap: 2px;
	padding: 14px 16px 18px;
}

.b-sw-meta strong {
	font-size: 16px;
	letter-spacing: -0.01em;
}

.b-sw-meta code {
	font-size: 12.5px;
	color: var(--muted);
}

.b-sw-meta small {
	margin-top: 6px;
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--ink-2);
}

.b-share {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 10px 28px;
	align-items: center;
	margin-top: 40px;
}

.b-share .mono-kicker {
	color: var(--muted);
	margin: 0;
}

.b-share-bar {
	display: flex;
	height: 46px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--line);
}

.b-share p {
	grid-column: 2;
	margin: 0;
	color: var(--muted);
	font-size: 15px;
}

.b-status {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-top: 40px;
}

.b-status article {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 20px;
}

.b-st-demo {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	min-height: 30px;
	margin-bottom: 16px;
}

.b-status h4 {
	font-size: 16px;
	margin-bottom: 4px;
}

.b-status p {
	margin: 0;
	font-size: 14px;
	color: var(--muted);
}

.b-status code {
	font-size: 12.5px;
	color: var(--ink-2);
}

.b-dotst {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--mono);
	font-size: 12.5px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--ink-2);
}

.b-dotst i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
}

.b-dotst .early { background: #b7b2a3; }
.b-dotst .failed { background: var(--coral); }

/* Type */

.b-type {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
	gap: 48px;
	align-items: start;
}

.b-specimen {
	border: 1px solid var(--line-dark);
	border-radius: 24px;
	padding: 28px;
	background:
		radial-gradient(80% 60% at 100% 0%, rgba(200, 241, 105, 0.1), transparent 70%),
		rgba(255, 255, 255, 0.03);
}

.b-aa-big {
	font-size: clamp(130px, 14vw, 210px);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 0.9;
}

.b-aa-big::after {
	content: '';
	display: inline-block;
	width: 0.14em;
	height: 0.14em;
	margin-left: 0.02em;
	border-radius: 50%;
	background: var(--lime);
}

.b-spec-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 26px;
	padding-top: 16px;
	border-top: 1px solid var(--line-dark);
}

.b-spec-meta small {
	display: block;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

.b-spec-meta b {
	font-size: 14.5px;
	font-weight: 650;
}

.b-weights {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--line-dark);
}

.b-weights span {
	font-size: 26px;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.b-weights small {
	display: block;
	margin-top: 4px;
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.45);
}

.w400 { font-weight: 400; }
.w550 { font-weight: 550; }
.w650 { font-weight: 650; }
.w750 { font-weight: 750; }
.w800 { font-weight: 800; }

.b-row {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 20px;
	align-items: baseline;
	padding: 18px 0;
	border-top: 1px solid var(--line-dark);
}

.b-row:first-child {
	border-top: 0;
	padding-top: 0;
}

.b-row code {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

.t-d {
	font-size: clamp(44px, 5vw, 76px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1;
}

.t-2 {
	font-size: clamp(32px, 3.4vw, 48px);
	font-weight: 750;
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.t-3 {
	font-size: clamp(22px, 2.2vw, 28px);
	font-weight: 750;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.t-b {
	font-size: 17px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}

.t-e {
	font-size: 13px;
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}

.t-m {
	font-family: var(--mono);
	font-size: 16px;
	color: var(--lime);
}

.b-type-notes {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
	margin-top: 48px;
}

.b-type-notes .checks {
	margin: 0;
}

.b-mono-card {
	background: #0a1a12;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	padding: 24px;
}

.b-mono-card .mono-kicker {
	margin-bottom: 18px;
}

.b-mono-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.b-mono-list span {
	font-family: var(--mono);
	font-size: 13.5px;
	color: #d9e4dc;
	padding: 6px 10px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.b-stack {
	display: block;
	margin-top: 18px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
}

/* Icons */

.section-head p code,
.b-ic-use code,
.b-motion .checks code,
.b-mo p code {
	font-size: 0.86em;
	padding: 1px 6px;
	border-radius: 6px;
	background: rgba(16, 41, 30, 0.07);
}

.dark .section-head p code,
.b-motion .checks code,
.b-mo p code {
	background: rgba(200, 241, 105, 0.1);
	color: var(--lime);
}

.b-icons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.b-ic-panel {
	border-radius: 24px;
	padding: 22px;
	background: var(--paper);
	border: 1px solid var(--line);
}

.b-ic-panel.dark {
	background: var(--forest);
	border-color: var(--forest);
}

.b-ic-panel .mono-kicker {
	color: var(--muted);
	margin-bottom: 16px;
}

.b-ic-panel.dark .mono-kicker {
	color: rgba(255, 255, 255, 0.5);
}

.b-ic-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
}

.b-ic-grid li {
	display: grid;
	justify-items: center;
	gap: 10px;
	padding: 20px 4px 12px;
	background: var(--paper);
	transition: background 0.2s ease;
}

.b-ic-grid li:hover {
	background: var(--white);
}

.b-ic-grid .ic {
	width: 28px;
	height: 28px;
	color: var(--forest);
}

.b-ic-grid code {
	font-size: 10.5px;
	color: var(--muted);
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dark .b-ic-grid {
	background: var(--line-dark);
	border-color: var(--line-dark);
}

.dark .b-ic-grid li {
	background: var(--forest);
}

.dark .b-ic-grid li:hover {
	background: var(--forest-2);
}

.dark .b-ic-grid .ic {
	color: var(--lime);
}

.dark .b-ic-grid code {
	color: rgba(255, 255, 255, 0.5);
}

.b-ic-use {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 18px;
	padding: 18px 22px;
	border-radius: 18px;
	background: var(--white);
	border: 1px solid var(--line);
}

.b-ic-use > div {
	display: flex;
	align-items: center;
	gap: 10px;
}

.b-ic-use p {
	margin: 0;
	color: var(--ink-2);
	font-size: 15px;
}

.b-ic-use b {
	color: var(--ink);
	margin-right: 6px;
}

.b-ic-box {
	display: grid;
	place-items: center;
	border-radius: 11px;
	background: var(--paper);
	border: 1px solid var(--line);
	color: var(--forest);
}

.b-ic-box.s1 { width: 32px; height: 32px; border-radius: 9px; }
.b-ic-box.s1 .ic { width: 18px; height: 18px; }
.b-ic-box.s2 { width: 40px; height: 40px; }
.b-ic-box.s2 .ic { width: 20px; height: 20px; }

.b-ic-box.s3 {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--forest);
	border-color: var(--forest);
	color: var(--lime);
	--ic-fill: rgba(200, 241, 105, 0.22);
}

/* Flags */

.b-flags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 10px;
}

.b-flags li {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	padding: 12px;
	border-radius: 16px;
	background: var(--white);
	border: 1px solid var(--line);
	transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.b-flags li:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 30px -24px rgba(16, 41, 30, 0.5);
}

.b-flags .fl {
	width: 40px;
	height: 40px;
}

.b-flags b {
	display: block;
	font-family: var(--mono);
	font-size: 13.5px;
	font-weight: 600;
}

.b-flags small {
	display: block;
	font-size: 12px;
	line-height: 1.3;
	color: var(--muted);
}

.b-flag-sizes {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 36px;
	margin-top: 22px;
	padding: 20px 24px;
	border-radius: 20px;
	background: var(--white);
	border: 1px solid var(--line);
}

.b-flag-sizes .mono-kicker {
	color: var(--muted);
	margin: 0;
}

.b-flag-sizes > div:not(.b-flag-pair) {
	display: flex;
	align-items: flex-end;
	gap: 22px;
}

.b-flag-sizes > div > span:not(.flowchip):not(.rail) {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.b-flag-sizes code {
	font-size: 11px;
	color: var(--muted);
}

.fl.f20 { width: 20px; height: 20px; }
.fl.f26 { width: 26px; height: 26px; }
.fl.f38 { width: 38px; height: 38px; }
.fl.f52 { width: 52px; height: 52px; }

.b-flag-pair {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-left: auto;
}

/* Voice */

.b-voice {
	border: 1px solid var(--line);
	border-radius: 20px;
	overflow: hidden;
	background: var(--white);
}

.b-v-head,
.b-v-row {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px;
	padding: 16px 24px;
	align-items: center;
}

.b-v-head {
	background: var(--paper);
	font-size: 12.5px;
	font-weight: 650;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.b-v-row {
	border-top: 1px solid var(--paper-2);
	font-size: 16px;
}

.b-v-row code {
	font-size: 12.5px;
	color: var(--muted);
}

.b-v-row .do,
.b-v-row .dont {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.b-v-row .do::before,
.b-v-row .dont::before {
	content: '';
	width: 20px;
	height: 20px;
	margin-top: 2px;
	flex-shrink: 0;
	border-radius: 50%;
}

.b-v-row .do {
	font-weight: 600;
}

.b-v-row .do::before {
	background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%2310291E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.b-v-row .dont {
	color: var(--muted);
	text-decoration: line-through;
	text-decoration-color: rgba(239, 111, 77, 0.6);
}

.b-v-row .dont::before {
	background: rgba(239, 111, 77, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 5.5l5 5M10.5 5.5l-5 5' fill='none' stroke='%23C24A2C' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Motion */

.b-mo-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.b-mo {
	border: 1px solid var(--line-dark);
	border-radius: 22px;
	padding: 14px 14px 22px;
	background: rgba(255, 255, 255, 0.03);
}

.b-mo-vis {
	position: relative;
	height: 170px;
	border-radius: 14px;
	background: var(--forest-2);
	border: 1px solid var(--line-dark);
	overflow: hidden;
	display: grid;
	place-items: center;
	isolation: isolate;
}

.b-mo h4 {
	font-size: 18px;
	margin: 20px 8px 6px;
}

.b-mo p {
	margin: 0 8px;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.64);
}

.b-mo-route {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 14px;
	background: var(--white);
	color: var(--ink);
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

.b-mo-route .fl {
	width: 32px;
	height: 32px;
}

.b-mo-route b {
	display: block;
	font-size: 14px;
}

.b-mo-route small {
	display: block;
	font-family: var(--mono);
	font-size: 11.5px;
	color: var(--muted);
}

.b-mo-route .state {
	margin-left: 8px;
}

.b-mo p code {
	padding: 0;
	background: none;
}

.b-mo-ease svg {
	width: 104px;
	height: 104px;
	margin-top: -26px;
}

.b-mo-ease .axis {
	fill: none;
	stroke: rgba(255, 255, 255, 0.22);
	stroke-width: 0.6;
}

.b-mo-ease .curve {
	fill: none;
	stroke: var(--lime);
	stroke-width: 1.4;
	stroke-linecap: round;
}

.b-mo-track {
	position: absolute;
	left: 22px;
	right: 22px;
	bottom: 24px;
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.1);
}

.b-mo-track i {
	position: absolute;
	top: -5px;
	left: 0;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 14px 2px rgba(200, 241, 105, 0.45);
	animation: b-ease 2.6s var(--ease-out) infinite;
}

@keyframes b-ease {
	0% { left: 0; }
	70%, 100% { left: calc(100% - 14px); }
}

.b-mo-grid-vis .barrio {
	z-index: 0;
	gap: 8px;
	padding: 12px;
	-webkit-mask-image: none;
	mask-image: none;
}

.b-mo-grid-vis .barrio i {
	background: rgba(255, 255, 255, 0.06);
}

.b-mo-grid-vis .barrio i.dim {
	background: rgba(255, 255, 255, 0.12);
}

.b-mo-grid-vis .barrio i.on {
	background: var(--lime);
}

.b-mo-count {
	place-items: center start;
	padding: 0 22px;
	background:
		radial-gradient(120% 160% at 100% 0%, rgba(200, 241, 105, 0.3), transparent 60%),
		var(--forest-2);
}

.b-mo-count small {
	display: block;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
}

.b-mo-count b {
	font-family: var(--mono);
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}

.b-mo-count em {
	font-style: normal;
	font-size: 13px;
	color: var(--lime);
	margin-left: 6px;
}

.b-mo-rules {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	margin-top: 40px;
}

.b-mo-rules .checks {
	margin: 0;
}

.b-still {
	border: 1px solid rgba(200, 241, 105, 0.24);
	border-radius: 20px;
	padding: 24px;
	background: rgba(200, 241, 105, 0.06);
}

.b-still p {
	margin: 0 0 14px;
	color: rgba(255, 255, 255, 0.75);
}

.b-still .btn[disabled] {
	opacity: 0.65;
	cursor: default;
	transform: none;
}

.b-motion.is-still .b-mo-track i {
	animation: none;
	left: calc(100% - 14px);
}

.b-motion.is-still .state {
	transition: none;
}

/* Components */

.b-comps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.b-comp {
	display: flex;
	flex-direction: column;
	padding: 14px 14px 16px;
	border-radius: 20px;
	background: var(--paper);
	border: 1px solid var(--line);
	min-width: 0;
}

.b-comp.span2 {
	grid-column: span 2;
}

.b-comp-vis {
	flex: 1;
	min-height: 150px;
	padding: 22px;
	border-radius: 14px;
	background: var(--white);
	border: 1px solid var(--paper-2);
	display: grid;
	place-items: center;
	min-width: 0;
}

.b-comp-vis.dark {
	background: var(--forest);
	border-color: var(--forest);
}

.b-comp-vis.b-row-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	align-content: center;
	justify-content: center;
}

.b-comp-vis .live-pill {
	margin: 0;
}

.b-comp > code {
	margin: 14px 6px 0;
	font-size: 12.5px;
	color: var(--muted);
}

.b-comp .float {
	position: static;
	opacity: 1;
	transform: none;
}

.b-bank {
	width: 100%;
	max-width: 320px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.b-tl {
	width: 100%;
	max-width: 560px;
	margin: 0;
}

.b-card {
	max-width: 240px;
}

/* Responsive */

@media (max-width: 1080px) {
	.b-hero-grid,
	.b-spec,
	.b-type,
	.b-type-notes,
	.b-icons,
	.b-mo-rules {
		grid-template-columns: 1fr;
	}

	.b-cover {
		max-width: 620px;
	}

	.b-rules {
		grid-template-columns: 1fr 1fr;
	}

	.b-rules .b-rule:last-child {
		grid-column: 1 / -1;
	}

	.b-pal,
	.b-status,
	.b-donts,
	.b-mo-grid,
	.b-comps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.b-flags {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.b-flag-pair {
		margin-left: 0;
	}
}

@media (max-width: 680px) {
	.b-hero {
		padding: 32px 0 64px;
	}

	.b-cover {
		padding: 18px 8px 34px;
	}

	.b-build {
		padding: 12px 10px 0;
	}

	.b-c1 { display: none; }
	.b-c2 { top: 2px; bottom: auto; right: -2px; }
	.b-c3 { bottom: 0; left: 8%; }

	.b-ratio {
		font-size: 10.5px;
		border-radius: 8px;
	}

	.b-sheet-foot .brand {
		font-size: 20px;
	}

	.b-sheet-foot .brand svg {
		width: 26px;
		height: 26px;
	}

	.b-spec-fig {
		padding: 14px;
	}

	.b-rules,
	.b-lockups,
	.b-status,
	.b-mo-grid,
	.b-comps {
		grid-template-columns: 1fr;
	}

	.b-comp.span2 {
		grid-column: auto;
	}

	.b-lockup-tile {
		height: 150px;
	}

	.b-lockup-tile .brand {
		font-size: 32px;
	}

	.b-lockup-tile .brand svg {
		width: 42px;
		height: 42px;
	}

	.b-dont-tile {
		height: 120px;
	}

	.b-dont-tile .brand svg {
		width: 52px;
		height: 52px;
	}

	.b-share {
		grid-template-columns: 1fr;
	}

	.b-share p {
		grid-column: auto;
	}

	.b-sw-c {
		height: 120px;
	}

	.b-sw-meta small {
		display: none;
	}

	.b-specimen {
		padding: 20px;
	}

	.b-weights span {
		font-size: 19px;
	}

	.b-row {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.b-ic-panel {
		padding: 14px;
	}

	.b-ic-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.b-ic-grid code {
		font-size: 9.5px;
	}

	.b-ic-use {
		flex-direction: column;
		align-items: flex-start;
	}

	.b-flags {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.b-v-head {
		display: none;
	}

	.b-v-row {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 16px 18px;
	}

	.b-comp-vis {
		padding: 16px;
	}

	.b-comp .hook-chip,
	.b-comp .payout-toast {
		display: flex;
	}

	.b-bank > div:last-child {
		grid-column: auto;
		border-top: 0;
	}

	.b-bank > div:nth-child(1) {
		border-right: 1px solid var(--paper-2);
	}
}

/* Screenshots and reduced motion: final state */

.shot .b-hero h1 .hl {
	animation: none;
	background-size: 100% 30%;
}

.shot .b-mo-track i {
	animation: none;
	left: calc(100% - 14px);
}

@media (prefers-reduced-motion: reduce) {
	.b-hero h1 .hl {
		animation: none;
		background-size: 100% 30%;
	}

	.b-mo-track i {
		animation: none;
		left: calc(100% - 14px);
	}
}
