/*
 * Trust promises — the eight claims sourced from the quality manual.
 *
 * Loaded only on the pages listed in happyn_promises_pages() (currently
 * /bedrift/). Deliberately not folded into platform.css: that file is served on
 * every page and is already 73 kB.
 *
 * This file loads AFTER platform.css, so every design token declared on :root
 * there is available here. Do not hard-code hexes — the first version did, and
 * shipped a cool blue-grey card (#f4f8f9 fill, #d8e1e7 border) onto a page whose
 * entire palette is warm olive and green. It read as a component borrowed from
 * a different product.
 */

.happyn-promises {
	margin: 30px 0 6px;
}

.happyn-promises__title {
	margin: 0 0 14px;
	font-size: var(--t-2xl);
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--ink);
}

.happyn-promises__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.happyn-promises__item {
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	padding: 16px 18px;
}

.happyn-promises__item-title {
	margin: 0 0 6px;
	font-size: var(--t-md);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.005em;
	color: var(--ink);
}

.happyn-promises__item-body {
	margin: 0;
	font-size: var(--t-sm);
	line-height: 1.6;
	color: var(--ink-soft);
}

@media (max-width: 760px) {
	.happyn-promises__list {
		grid-template-columns: 1fr;
	}
	.happyn-promises {
		margin-top: 24px;
	}
}
