/*
 * The "how we work, concretely" section on the service pages (parts/service-insight.php).
 * Copy on the left; on the right a browser window in the house style of the tool screenshots
 * (assets/img/ydelser): Chrome tab strip, address bar with the Adbull avatar, app bar, content.
 * Drawn in its final state; assets/js/insight.js adds .is-armed (the start state) and plays it
 * in once, when it scrolls into view.
 */

/* ---------- Section ---------- */

.metode {
	border-bottom: 1px solid var(--line);
}

.metode__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2rem, 5vw, 5rem);
	/* Top, not centre: a point unfolding makes the text column taller, and centring would then move
	   the heading up and the window down on every click. */
	align-items: start;
}

.metode__copy h2 {
	margin: 0;
	max-width: 15ch;
}

.metode__lead {
	margin: var(--space-s) 0 0;
	max-width: 44ch;
	font-size: var(--step-1);
	line-height: 1.55;
	color: var(--text-muted);
}

.metode__facts {
	display: grid;
	/* No gap: the rows' own padding spaces them, so each line sits exactly midway between two icons. */
	gap: 0;
	margin: var(--space-m) 0 0;
	padding: 0;
	list-style: none;
}

/* Each point is a row that unfolds: icon, the point, a plus that turns into a cross, and a sentence or
   two under it, indented to the text. A line above, between and below the rows, like the FAQ. */
.metode__facts li {
	border-bottom: 1px solid var(--line);
}

.metode__facts li:first-child {
	border-top: 1px solid var(--line);
}

/* The icon tile is lifted like every other icon tile on the site. */
.metode__fact .sub-service__mark {
	border-radius: 12px;
	background: #fff;
	box-shadow:
		inset 0 0 0 1px rgba(25, 28, 25, 0.06),
		0 1px 2px rgba(25, 28, 25, 0.06),
		0 8px 24px -8px rgba(25, 28, 25, 0.16);
}

.metode__fact > summary,
div.metode__fact {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	padding: 12px 0;
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.45;
	list-style: none;
}

.metode__fact > summary {
	cursor: pointer;
}

.metode__fact > summary::-webkit-details-marker {
	display: none;
}

.metode__fact-toggle {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: var(--text-muted);
	transition: transform var(--dur) var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.metode__fact > summary:hover .metode__fact-toggle {
	background: var(--surface);
	color: var(--ink);
}

.metode__fact[open] .metode__fact-toggle {
	transform: rotate(45deg);
	color: var(--ink);
}

.metode__fact > p {
	margin: -4px 0 0;
	padding: 0 42px 14px 58px;
	color: var(--text-muted);
	font-size: 15px;
	line-height: 1.6;
}

.metode__note {
	margin: var(--space-m) 0 0;
	max-width: 46ch;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-muted);
}

.metode__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 28px;
	margin-top: var(--space-l);
}

.metode__people {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 14.5px;
	color: var(--text-muted);
}

.metode__faces {
	display: flex;
	flex: none;
}

.metode__faces img {
	width: 34px;
	height: 34px;
	border: 2px solid var(--paper);
	border-radius: 50%;
	object-fit: cover;
	background: var(--surface);
}

.metode__faces img + img {
	margin-left: -9px;
}

.metode__visual {
	position: relative;
	min-width: 0;
}

/* ---------- The browser window ---------- */

.bw {
	--bw-font: Roboto, 'Google Sans Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
	--bw-text: #202124;
	--bw-muted: #5f6368;
	--bw-line: #e0e0e0;
	--bw-soft: #eceff1;
	--bw-blue: #1a73e8;
	position: relative;
	overflow: hidden;
	container-type: inline-size;
	border: 1px solid #dadce0;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(25, 28, 25, 0.06), 0 32px 64px -32px rgba(25, 28, 25, 0.32);
	font-family: var(--bw-font);
	font-size: 14px;
	line-height: 1.4;
	color: var(--bw-text);
	font-variant-numeric: tabular-nums;
}

.bw p {
	margin: 0;
	text-wrap: wrap;
}

.bw .icon {
	flex: none;
}

.bw__tabs {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	height: 42px;
	padding: 0 12px;
	background: #dee3ea;
}

.bw__dots {
	display: flex;
	align-self: center;
	gap: 6px;
}

.bw__dots i {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #ff5f57;
}

.bw__dots i:nth-child(2) { background: #febc2e; }
.bw__dots i:nth-child(3) { background: #28c840; }

.bw__menu,
.bw__new {
	display: grid;
	place-items: center;
	align-self: center;
	width: 24px;
	height: 24px;
	border-radius: 7px;
	color: var(--bw-muted);
}

.bw__menu {
	background: #cfd5de;
}

.bw__tab {
	display: flex;
	flex: 0 1 250px;
	align-items: center;
	gap: 8px;
	min-width: 0;
	height: 34px;
	padding: 0 10px 0 12px;
	border-radius: 10px 10px 0 0;
	background: #fff;
	font-size: 12.5px;
	color: #3c4043;
}

.bw__tab-title {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.bw__tab .icon {
	color: var(--bw-muted);
}

.bw__addr {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 12px 7px;
	border-bottom: 1px solid #e3e3e3;
	background: #fff;
}

.bw__nav {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--bw-muted);
}

.bw__nav .icon:nth-child(2) {
	color: #c4c7c5;
}

.bw__url {
	display: flex;
	flex: 1;
	align-items: center;
	min-width: 0;
	height: 30px;
	padding: 0 12px 0 14px;
	overflow: hidden;
	border-radius: 15px;
	background: #f1f3f4;
	font-size: 13px;
	white-space: nowrap;
}

.bw__path {
	color: var(--bw-muted);
	overflow: hidden;
	text-overflow: ellipsis;
}

.bw__url svg {
	flex: none;
	margin-left: auto;
	padding-left: 8px;
	color: var(--bw-muted);
	box-sizing: content-box;
}

.bw__me {
	display: grid;
	flex: none;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--ink);
	font: 700 15px/1 var(--font-display);
}

.bw__app {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 18px;
	border-bottom: 1px solid #e8eaed;
	font-size: 16px;
	color: #3c4043;
}

.bw__body {
	position: relative;
	padding: 18px;
}

.bw-client {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 6px;
	background: var(--ink);
	color: #fff;
	font: 700 12px/1 var(--bw-font);
}

.bw-client--lune {
	background: #2f4a3c;
	font: 400 16px/1 Georgia, serif;
}

.bw__tab .bw-client {
	width: 16px;
	height: 16px;
	border-radius: 4px;
	font-size: 10px;
}

.bw__tab .bw-client--lune {
	font-size: 12px;
}

.bw-logo {
	display: block;
	flex: none;
}

img.bw-logo {
	width: auto;
	height: 16px;
}

/* ---------- Shared parts inside a window ---------- */

.bw-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.bw-h {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.25;
	color: var(--bw-text);
}

.bw-sub {
	margin-top: 2px !important;
	font-size: 13px;
	color: var(--bw-muted);
}

.bw-tag {
	flex: none;
	padding: 3px 9px;
	border: 1px dashed #bdc1c6;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 500;
	color: var(--bw-muted);
	white-space: nowrap;
}

.bw-label {
	margin-bottom: 8px !important;
	font-size: 12px;
	font-weight: 500;
	color: var(--bw-muted);
}

.bw-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 10px;
	border-radius: 999px;
	background: #f1f3f4;
	font-size: 12.5px;
	font-weight: 500;
	color: #3c4043;
	white-space: nowrap;
}

.bw-chip .icon {
	width: 13px;
	height: 13px;
	stroke-width: 2.6;
}

.bw-chip--amber { background: #fef7e0; color: #b06000; }
.bw-chip--done { background: #e6f4ea; color: #137333; }
.bw-chip--next { background: var(--accent-soft); color: var(--success-ink); }
.bw-chip--later { color: var(--bw-muted); }

.bw-table {
	width: 100%;
	border: 1px solid var(--bw-line);
	border-radius: 10px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	font-size: 13.5px;
}

.bw-table th,
.bw-table td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--bw-soft);
	text-align: center;
	vertical-align: middle;
}

.bw-table thead th {
	padding-block: 9px;
	border-bottom-color: var(--bw-line);
	background: #f8f9fa;
	font-size: 12px;
	font-weight: 500;
	color: var(--bw-muted);
}

.bw-table thead th:first-child,
.bw-table tbody th {
	text-align: left;
}

.bw-table tbody th {
	font-weight: 400;
	color: var(--bw-text);
}

.bw-table tbody tr:last-child > * {
	border-bottom: 0;
}

.gt__engine > * {
	vertical-align: middle;
}

.gt__engine .bw-logo {
	display: inline-block;
	margin-right: 6px;
}

.bw-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin-top: 14px;
}

.bw-note {
	margin-top: 14px !important;
	padding: 10px 12px;
	border: 1px solid var(--bw-soft);
	border-radius: 10px;
	background: #f8f9fa;
	font-size: 13px;
	line-height: 1.45;
	color: #3c4043;
}

.bw-foot .bw-note {
	flex: 1 1 100%;
	margin-top: 0 !important;
}

.bw-note b,
.bw-count b {
	font-weight: 500;
	color: var(--bw-text);
}

.bw-count {
	font-size: 13px;
	color: var(--bw-muted);
}

.bw-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	color: var(--bw-muted);
}

.bw-foot .bw-legend {
	margin: 0;
}

.bw-legend li::before {
	content: '';
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-right: 6px;
	border-radius: 50%;
	vertical-align: -0.5px;
	background: var(--dot, #dadce0);
}

/* ---------- SEO: the plan for the first 13 weeks ---------- */

.tl {
	--label: 156px;
	position: relative;
	overflow: hidden;
	border: 1px solid var(--bw-line);
	border-radius: 10px;
}

.tl__row {
	display: grid;
	grid-template-columns: var(--label) minmax(0, 1fr);
	align-items: center;
	min-height: 38px;
	border-bottom: 1px solid var(--bw-soft);
	font-size: 13px;
}

.tl__row:nth-last-child(2) {
	border-bottom: 0;
}

.tl__row > span:first-child {
	padding: 0 12px;
}

.tl__row--weeks {
	min-height: 30px;
	border-bottom-color: var(--bw-line);
	background: #f8f9fa;
	font-size: 11.5px;
	font-weight: 500;
	color: var(--bw-muted);
}

.tl__lane {
	position: relative;
	display: grid;
	grid-template-columns: repeat(13, minmax(0, 1fr));
	align-self: stretch;
	background-image: linear-gradient(90deg, var(--bw-soft) 1px, transparent 1px);
	background-size: calc(100% / 13) 100%;
}

.tl__lane i {
	display: grid;
	place-items: center;
	font-style: normal;
}

.tl__bar {
	position: absolute;
	top: 50%;
	left: calc(var(--s) / 13 * 100% + 3px);
	display: flex;
	align-items: center;
	width: calc((var(--e) - var(--s)) / 13 * 100% - 6px);
	height: 22px;
	margin-top: -11px;
	padding: 0 8px;
	overflow: hidden;
	border-radius: 6px;
	font-size: 11.5px;
	font-weight: 500;
	white-space: nowrap;
	transform-origin: left center;
	transition: transform 0.8s var(--ease);
}

.tl__bar--done { background: var(--bw-blue); color: #fff; }
.tl__bar--now { background: #8ab4f8; color: #0b2a5b; }
.tl__bar--plan { background: #e8f0fe; color: #1967d2; box-shadow: inset 0 0 0 1px #d2e3fc; }

.tl__mark {
	position: absolute;
	top: 50%;
	left: min(calc(var(--at) / 13 * 100%), calc(100% - 12px));
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
	border-radius: 2px;
	background: var(--bw-blue);
	transform: rotate(45deg);
	transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.tl__mark--meet {
	background: var(--lime);
	box-shadow: 0 0 0 1.5px var(--success-ink);
}

.tl__today {
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(var(--label) + (100% - var(--label)) * var(--at) / 13);
	width: 2px;
	margin-left: -1px;
	background: #d93025;
	transition: left 1.2s var(--ease), opacity 0.3s;
}

.tl__today b {
	position: absolute;
	top: 6px;
	left: 50%;
	padding: 1px 6px;
	border-radius: 4px;
	background: #d93025;
	color: #fff;
	font-size: 10.5px;
	font-weight: 500;
	white-space: nowrap;
	transform: translateX(-50%);
}

.bw-legend .is-done { --dot: var(--bw-blue); }
.bw-legend .is-now { --dot: #8ab4f8; }
.bw-legend .is-plan { --dot: #d2e3fc; }

/* ---------- GEO: AI answers, engine by engine ---------- */

.gt__dot {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	vertical-align: middle;
	transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.3s;
}

.gt__dot--n { background: #188038; box-shadow: 0 0 0 4px #e6f4ea; }
.gt__dot--k { background: #f9ab00; box-shadow: 0 0 0 4px #fef7e0; }
.gt__dot--0 { background: #fff; box-shadow: inset 0 0 0 2px #dadce0; }

.bw-legend .is-n { --dot: #188038; }
.bw-legend .is-k { --dot: #f9ab00; }
.bw-legend .is-0 { --dot: #dadce0; }

.gt tbody th {
	line-height: 1.35;
}

/* ---------- Ads: the monthly report in Adbull Hub ---------- */

/* The hub's own look (hub.adbull.dk, light theme): paper menu, white report, DM Sans and Manrope. */
.bw--hub {
	--hub-ink: #191c19;
	--hub-paper: #f6f7f2;
	--hub-surface: #edf0e6;
	--hub-line: #dcded5;
	--hub-gray: #62665e;
	--hub-good: #2f6b1f;
	--hub-data: #6f9200;
}

.bw--hub .bw__body {
	padding: 0;
}

.bw-client--hub {
	background: var(--hub-ink);
	color: var(--lime);
	font: 700 13px/1 var(--font-display);
}

.hubr {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	font-family: var(--font);
	color: var(--hub-ink);
}

.hubr__rail {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 12px 0;
	border-right: 1px solid var(--hub-line);
	background: var(--hub-paper);
}

.hubr__logo {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	margin-bottom: 8px;
	border-radius: 7px;
	background: var(--hub-ink);
	color: var(--lime);
	font: 800 15px/1 var(--font-display);
}

.hubr__nav {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	color: var(--hub-gray);
}

.hubr__nav.is-active {
	background: var(--hub-surface);
	color: var(--hub-ink);
}

.hubr__main {
	min-width: 0;
	padding: 16px 18px 18px;
}

.hubr__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--hub-line);
}

.hubr__team {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
}

.hubr__team i {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 6px;
	background: var(--hub-ink);
	color: var(--lime);
	font: 700 11px/1 var(--font-display);
	font-style: normal;
}

.hubr__h {
	margin-top: 14px !important;
	font: 700 clamp(18px, 5.4cqi, 23px)/1.15 var(--font-display);
	letter-spacing: -0.01em;
}

.hubr__sub {
	margin-top: 4px !important;
	font-size: 12px;
	color: var(--hub-gray);
}

.hubr__sub b {
	font-weight: 500;
	color: var(--hub-ink);
}

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

.hubr__kpis li {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 10px 11px 11px;
	background: #fff;
}

.hubr__kpis span {
	font-size: 11.5px;
	line-height: 1.3;
	color: var(--hub-gray);
}

.hubr__kpis b {
	margin-top: 3px;
	font: 600 clamp(15px, 4.6cqi, 20px)/1.2 var(--font-display);
	white-space: nowrap;
}

.hubr__kpis small {
	font-size: 11px;
	line-height: 1.45;
	color: var(--hub-gray);
}

.hubr__kpis small:first-of-type {
	margin-top: 3px;
}

.hubr__kpis small.is-good {
	color: var(--hub-good);
}

.hubr__chart {
	margin-top: 16px;
}

.hubr__label {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 12.5px;
	font-weight: 500;
}

.hubr__label span + span {
	font-weight: 400;
	color: var(--hub-gray);
}

.hubr__bars {
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 76px;
	margin-top: 10px;
	padding-bottom: 1px;
	border-bottom: 1px solid var(--hub-line);
	background: repeating-linear-gradient(to top, transparent 0 18px, var(--hub-surface) 18px 19px);
}

.hubr__bars i {
	flex: 1 1 0;
	min-width: 0;
	height: var(--h);
	border-radius: 3px 3px 0 0;
	background: var(--hub-data);
	transform-origin: bottom center;
	transition: transform 0.6s var(--ease);
}

@container (max-width: 380px) {
	.hubr {
		grid-template-columns: minmax(0, 1fr);
	}

	.hubr__rail {
		display: none;
	}

	.hubr__kpis small:last-of-type {
		display: none;
	}
}

/* ---------- Tracking: the measurement plan ---------- */

.seg {
	position: relative;
	display: inline-flex;
	flex: none;
	padding: 3px;
	border-radius: 999px;
	background: #f1f3f4;
	font-size: 12px;
	color: var(--bw-muted);
}

.seg span {
	position: relative;
	z-index: 1;
	width: 54px;
	padding: 4px 0;
	text-align: center;
	transition: color 0.3s;
}

.seg span.is-on {
	font-weight: 500;
	color: var(--bw-text);
}

.seg i {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 54px;
	height: calc(100% - 6px);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(32, 33, 36, 0.18);
	transform: translateX(54px);
	transition: transform 0.45s var(--ease);
}

.seg.is-before i {
	transform: none;
}

.mx__c {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 1.5px dashed #dadce0;
	border-radius: 50%;
	vertical-align: middle;
	transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.mx__c .icon {
	display: none;
	width: 13px;
	height: 13px;
	stroke-width: 3;
}

.mx__c.is-ok {
	border: 0;
	background: #e6f4ea;
	color: #137333;
}

.mx__c.is-no {
	border: 0;
	background: #fce8e6;
	color: #c5221f;
}

.mx__c.is-ok .icon:first-child,
.mx__c.is-no .icon:nth-child(2) {
	display: block;
}

.mx__c.is-pop {
	transform: scale(1.2);
}

/* ---------- CRO: the prioritised list ---------- */

.bw-rate {
	display: grid;
	flex: none;
	justify-items: end;
	font-size: 11.5px;
	line-height: 1.2;
	color: var(--bw-muted);
}

.bw-rate b {
	margin: 2px 0;
	font-size: 22px;
	font-weight: 400;
	color: #137333;
}

.cro {
	overflow: hidden;
	border: 1px solid var(--bw-line);
	border-radius: 10px;
}

.cro__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 72px 72px 88px;
	gap: 8px;
	align-items: center;
	min-height: 42px;
	padding: 0 12px;
	border-bottom: 1px solid var(--bw-soft);
	background: #fff;
	font-size: 13.5px;
	transition: transform 0.75s cubic-bezier(0.3, 0.9, 0.3, 1.05);
}

.cro__row:last-child {
	border-bottom: 0;
}

.cro__row > span:not(:first-child) {
	text-align: center;
}

.cro__row--head {
	min-height: 34px;
	border-bottom-color: var(--bw-line);
	background: #f8f9fa;
	font-size: 12px;
	font-weight: 500;
	color: var(--bw-muted);
}

.cro__text {
	display: flex;
	align-items: baseline;
	gap: 8px;
	min-width: 0;
	line-height: 1.3;
}

.cro__n {
	flex: none;
	width: 14px;
	font-style: normal;
	color: var(--bw-muted);
}

.cro .bw-chip {
	justify-content: center;
	min-width: 60px;
}

[data-status] {
	transition: opacity 0.35s, transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1);
}

/* ---------- AI: tests before launch ---------- */

.ait {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--bw-line);
	border-radius: 10px;
}

.ait__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 11px 12px;
	border-bottom: 1px solid var(--bw-soft);
}

.ait__row:last-child {
	border-bottom: 0;
}

.ait__q {
	display: grid;
	grid-template-columns: 15px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	font-size: 13.5px;
	line-height: 1.35;
}

.ait__q > .icon {
	margin-top: 2px;
	color: var(--bw-muted);
}

.ait__q small {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 3px;
	font-size: 12.5px;
	color: var(--bw-muted);
}

.ait__q small .icon {
	width: 12px;
	height: 12px;
}

.ait__ok {
	transition: opacity 0.35s, transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1);
}

/* ---------- Web: a site that starts as a sketch ---------- */

.bw--site .bw__body {
	padding: 0;
}

.lune {
	position: relative;
	padding: 12px 20px 18px;
	overflow: hidden;
	background: #f4efe7;
	font-family: var(--font);
	color: #1f2421;
}

.lune__nav {
	display: flex;
	align-items: center;
	gap: 18px;
	height: 30px;
	font-size: 12px;
	color: #5d625b;
}

.lune__logo {
	margin-right: auto;
	font: 400 26px/1 Georgia, serif;
	letter-spacing: -0.01em;
	color: #1f2421;
}

.lune__cart {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: #1f2421;
}

.lune__cart i {
	display: grid;
	place-items: center;
	min-width: 17px;
	height: 17px;
	border-radius: 9px;
	background: #1f2421;
	color: #f4efe7;
	font-size: 10px;
	font-style: normal;
}

.lune__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 16px;
	align-items: center;
	margin-top: 14px;
}

.lune__h1 {
	font: 400 32px/1.04 Georgia, serif;
	letter-spacing: -0.02em;
}

.lune__sub {
	margin-top: 10px !important;
	font-size: 13px;
	color: #5d625b;
}

.lune__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	padding: 8px 15px;
	border-radius: 999px;
	background: #1f2421;
	color: #f4efe7;
	font-size: 12.5px;
	font-weight: 600;
}

.lune__tile {
	display: grid;
	place-items: center;
	height: 176px;
	border-radius: 12px;
	background: #e7dfd0;
}

.lune__prods {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: 14px;
}

.lune__prods span {
	padding: 9px 11px;
	border-radius: 10px;
	background: #fff;
	font-size: 12px;
}

.lune__prods b {
	display: block;
	font-weight: 600;
}

.lune__prods small {
	color: #5d625b;
}

/* The sketch lies on top and wipes away when the design is approved. */
.lune__sketch {
	position: absolute;
	inset: 0;
	background: #faf8f4;
	clip-path: inset(0 0 0 100%);
	transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.35, 1);
}

.lune__sketch i {
	position: absolute;
	border: 1.5px dashed #b9bdb1;
	border-radius: 8px;
}

.lune__sketch .s1 { left: 20px; top: 16px; width: 64px; height: 22px; }
.lune__sketch .s2 { right: 20px; top: 20px; width: 150px; height: 14px; }
.lune__sketch .s3 { left: 20px; top: 66px; width: 46%; height: 64px; }
.lune__sketch .s4 { left: 20px; top: 142px; width: 34%; height: 14px; }
.lune__sketch .s5 { left: 20px; top: 170px; width: 104px; height: 30px; border-radius: 999px; }
.lune__sketch .s6 { right: 20px; top: 56px; width: 41%; height: 176px; border-radius: 12px; }
.lune__sketch .s7 { left: 20px; right: 20px; bottom: 18px; height: 52px; border-radius: 10px; }

/* The project steps sit as a strip over the window's lower edge, so the site inside stays in view. */
.bw--site .lune {
	padding-bottom: 52px;
}

.proj {
	position: absolute;
	right: 22px;
	bottom: -30px;
	left: 22px;
	z-index: 2;
	padding: 11px 14px;
	border: 1px solid var(--bw-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 4px rgba(32, 33, 36, 0.06), 0 18px 36px -16px rgba(32, 33, 36, 0.35);
	font-family: var(--bw-font);
}

.proj__title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

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

.proj li {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 8px;
	align-items: start;
	font-size: 12.5px;
	line-height: 1.3;
}

.proj small {
	display: block;
	font-size: 11.5px;
	color: var(--bw-muted);
}

.proj__tick {
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border: 1.5px solid #dadce0;
	border-radius: 50%;
	transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.proj__tick .icon {
	width: 11px;
	height: 11px;
	stroke-width: 3;
	color: #fff;
	opacity: 0;
	transition: opacity 0.2s;
}

.proj li.is-done .proj__tick {
	border-color: #188038;
	background: #188038;
}

.proj li.is-done .proj__tick .icon {
	opacity: 1;
}

.proj li.is-now .proj__tick {
	border-color: var(--bw-blue);
	box-shadow: 0 0 0 3px #e8f0fe;
}

/* ---------- The start state, while a window waits to play ---------- */

.metode [data-in] {
	transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.metode.is-armed [data-in]:not(.is-on) {
	opacity: 0;
	transform: translateY(6px);
}

.metode.is-armed .tl__bar:not(.is-on) { transform: scaleX(0); }
.metode.is-armed .tl__mark:not(.is-on) { transform: rotate(45deg) scale(0); }
.metode.is-armed .tl__today:not(.is-on) { left: var(--label); opacity: 0; }

.metode.is-armed .gt__dot:not(.is-on) { opacity: 0; transform: scale(0.3); }

.metode .gt [data-type] {
	display: inline-block;
	transition: clip-path 0.7s steps(24, end);
}

.metode.is-armed .gt [data-type]:not(.is-on) {
	clip-path: inset(0 100% 0 0);
}

.metode.is-armed .hubr__bars i:not(.is-on) { transform: scaleY(0); }

.metode.is-armed [data-status]:not(.is-on),
.metode.is-armed .ait__ok:not(.is-on) {
	opacity: 0;
	transform: scale(0.7);
}

.metode.is-armed .lune__sketch:not(.is-on) {
	clip-path: inset(0 0 0 0);
}

/* ---------- Narrow windows ---------- */

@container (max-width: 520px) {
	.bw__body { padding: 14px; }
	.bw__app { padding: 10px 14px; font-size: 14.5px; }
	.bw__tab { flex-basis: 190px; }
	.bw__nav .icon:nth-child(-n + 2) { display: none; }
	.bw-h { font-size: 17px; }
	.bw-table th,
	.bw-table td { padding: 9px 8px; }
	.gt__engine span { display: none; }
	.gt__engine .bw-logo { margin: 0 auto; }
	.tl { --label: 112px; }
	.tl__row { font-size: 12px; }
	.tl__row--weeks .tl__lane i:nth-child(even) { visibility: hidden; }
	.tl__bar span { display: none; }
	.kpis b { font-size: 17px; }
	.kpis span { font-size: 11px; }
	.chan__row { grid-template-columns: 100px minmax(0, 1fr) 24px; gap: 8px; font-size: 12.5px; }
	.cro__row { grid-template-columns: minmax(0, 1fr) 56px 56px; padding: 0 10px; font-size: 12.5px; }
	.cro__row > span:nth-child(4) { display: none; }
	.cro .bw-chip { min-width: 0; padding: 3px 7px; font-size: 11.5px; }
	.bw-rate b { font-size: 18px; }
	.lune { padding: 10px 14px 14px; }
	.lune__nav span:not(.lune__cart) { display: none; }
	.lune__hero { grid-template-columns: minmax(0, 1fr) 40%; }
	.lune__h1 { font-size: 23px; }
	.lune__sub { font-size: 11.5px; }
	.lune__tile { height: 128px; }
	.lune__tile svg { width: 84px; height: 100px; }
	.lune__prods { display: none; }
	.lune__sketch .s2 { width: 60px; }
	.lune__sketch .s3 { top: 56px; height: 52px; }
	.lune__sketch .s4 { top: 118px; }
	.lune__sketch .s5 { top: 140px; height: 26px; width: 92px; }
	.lune__sketch .s6 { top: 50px; width: 40%; height: 128px; }
	.lune__sketch .s7 { display: none; }
}

/* ---------- Smaller screens ---------- */

@media (max-width: 960px) {
	.metode__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.metode__copy h2 {
		max-width: 20ch;
	}
}

@media (max-width: 600px) {
	.bw--site .lune {
		padding-bottom: 14px;
	}

	.proj {
		position: static;
		margin-top: 12px;
		box-shadow: none;
	}

	.proj ol {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

/* Views in the Adbull Hub window (annoncering), switched by the points beside it (insight.js). */
.hubr__view:not([hidden]) {
	animation: hubr-view 0.35s var(--ease) both;
}

@keyframes hubr-view {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hubr__view:not([hidden]) {
		animation: none;
	}
}

.hubr__table {
	width: 100%;
	margin-top: 14px;
	border: 1px solid var(--hub-line);
	border-radius: 10px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	font-size: 12.5px;
	background: #fff;
}

.hubr__table th,
.hubr__table td {
	padding: 9px 11px;
	border-bottom: 1px solid var(--hub-line);
	text-align: left;
	white-space: nowrap;
}

.hubr__table thead th {
	font-size: 11.5px;
	font-weight: 500;
	color: var(--hub-gray);
	background: var(--hub-paper);
}

.hubr__table tbody th {
	font-weight: 500;
}

.hubr__table tbody tr:last-child > * {
	border-bottom: 0;
}

.hubr__ch,
.hubr__owner {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.hubr__owner i {
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 5px;
	background: var(--hub-ink);
	color: var(--lime);
	font: 700 10px/1 var(--font-display);
	font-style: normal;
}

.hubr__role {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--hub-surface);
	font-size: 11.5px;
}

.hubr__move {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--hub-gray);
}

.hubr__move i {
	font-style: normal;
}

.hubr__move b {
	font-weight: 600;
	color: var(--hub-ink);
}

.hubr__move b.is-good {
	color: var(--hub-good);
}

.hubr__split {
	display: grid;
	gap: 6px;
	margin-top: 16px;
}

.hubr__split .hubr__label + .hubr__bar {
	margin-bottom: 4px;
}

.hubr__bar {
	display: flex;
	gap: 3px;
	height: 12px;
}

.hubr__bar i {
	width: var(--w);
	border-radius: 4px;
	background: var(--hub-data);
	transition: width 0.6s var(--ease);
}

.hubr__bar i + i {
	background: #1a63c9;
	opacity: 0.55;
}

/* With the script on, all views share one grid cell, so the window keeps the height of the tallest and
   the page never jumps; the hidden ones stay out of sight and out of reach. */
.hubr__views.is-stacked {
	display: grid;
}

.hubr__views.is-stacked > .hubr__view {
	grid-area: 1 / 1;
}

.hubr__views.is-stacked > .hubr__view[hidden] {
	display: block;
	visibility: hidden;
}

.hubr__legend {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11.5px;
}

.hubr__legend i {
	width: 8px;
	height: 8px;
	margin-left: 6px;
	border-radius: 2px;
	background: var(--hub-data);
}

.hubr__legend i + i {
	background: #1a63c9;
	opacity: 0.55;
}

/* Phones: the hub tables tighten and may wrap, so every column fits inside the window. */
@media (max-width: 600px) {
	.hubr__table {
		font-size: 11px;
	}

	.hubr__table th,
	.hubr__table td {
		padding: 7px 6px;
		white-space: normal;
	}

	.hubr__table thead th {
		font-size: 10.5px;
	}

	.hubr__ch {
		gap: 5px;
	}

	.hubr__move {
		gap: 3px;
		white-space: nowrap;
	}

	.hubr__split .hubr__label {
		flex-wrap: wrap;
	}

	.hubr__legend i {
		margin-left: 0;
	}
}

/* A point that steers the window is a tab: when it is the open one, it has nothing to close. */
.metode__fact[data-view][open] > summary {
	cursor: default;
}

.metode__fact[data-view][open] .metode__fact-toggle {
	opacity: 0;
}

/* GEO window: each cell is a dot for the level and the share of answers that name the client. */
.gt__cell {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.gt__pct {
	font-variant-numeric: tabular-nums;
	font-size: 12.5px;
	color: var(--bw-muted, #5f6368);
}

.metode.is-armed .gt__dot:not(.is-on) + .gt__pct {
	opacity: 0;
}

.gt__pct {
	transition: opacity 0.3s;
}
