/*
 * Role-named components. Use tokens from tokens.css; never hardcode values.
 * Phase 2 records here how Kadence's default margins/specificity are overridden.
 */

/* Kadence rules that don't use variables (Phase 2 mapping) ----------------------- */

/* Body text: design size and colour (Kadence sets 17px / palette4 directly on body). */
body {
	color: var(--sr-color-ink);
	font-variant-numeric: tabular-nums;
}

/* Headings. Kadence sets every heading to weight 700, but Bebas Neue has only 400:
   without this, browsers fake a bold. H1–H3 are display (Bebas), H4–H6 UI (Public Sans). */
h1,
h2,
h3 {
	font-family: var(--sr-font-display);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: 0;
	color: var(--sr-color-ink);
}

h4,
h5,
h6 {
	font-family: var(--sr-font-ui);
	font-weight: 700;
	line-height: 1.3;
	color: var(--sr-color-ink);
}

/* Links in running text: lime ink, underlined (never colour alone). */
a {
	color: var(--sr-color-link);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--sr-color-ink);
}

/* Keyboard focus. The ring colour comes from --sr-focus-ring: dark green (lime ink) on light
   backgrounds by default; dark areas (header, footer, dark bands) set it to lime. */
:focus-visible {
	outline: 3px solid var(--sr-focus-ring, var(--sr-color-focus));
	outline-offset: 2px;
}

/* Launch: contact block replacing the stub forms (inc/launch.php). */
.sr-launch-contact {
	border: 2px solid var(--sr-color-grey-black);
	border-radius: 8px;
	padding: 24px;
	background: #fff;
	align-self: start;
}
.sr-launch-contact p { margin: 0 0 12px; }
.sr-launch-contact p:last-child { margin-bottom: 0; }
.sr-launch-contact__title { font-weight: 700; font-size: 1.125rem; }
.sr-launch-contact a { text-decoration: underline; }
