/* Base: reset, type scale, layout primitives. Colours come only from tokens.css roles. */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--gs-bg);
	color: var(--gs-ink);
	/* The designs set type with the `font` shorthand, which resets line-height to normal;
	   long-form text opts into 1.5 explicitly (.gs-prose, .gs-text). */
	font: 400 16px/normal var(--gs-font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
	margin: 0;
}

ul[class],
ol[class] {
	margin: 0;
	padding: 0;
	list-style: none;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

:focus-visible {
	outline: 3px solid var(--gs-yellow);
	outline-offset: 0;
}

::selection {
	background: var(--gs-yellow);
	color: var(--gs-raw-ink);
}

.gs-skip {
	position: absolute;
	left: 8px;
	top: -100px;
	z-index: 100;
	background: var(--gs-btn-bg);
	color: var(--gs-btn-fg);
	padding: 10px 14px;
	font-weight: 700;
	text-decoration: none;
}

.gs-skip:focus {
	top: 8px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Layout ---------- */

.gs-wrap {
	width: 100%;
	max-width: var(--gs-max);
	margin: 0 auto;
	padding: 0 var(--gs-gutter);
}

.gs-section {
	padding-top: 48px;
	padding-bottom: 48px;
}

@media (max-width: 767px) {
	:root {
		--gs-gutter: 16px;
	}

	.gs-hide-mobile {
		display: none !important;
	}
}

/* ---------- Type ---------- */

.gs-display,
.gs-h1,
.gs-h2 {
	font-weight: 800;
	text-transform: uppercase;
	text-wrap: balance;
}

.gs-display {
	font-size: 96px;
	font-weight: 900;
	line-height: .9;
	font-stretch: 62%;
}

.gs-h1 {
	font-size: 56px;
	line-height: .95;
	font-stretch: 65%;
}

.gs-h2 {
	font-size: 44px;
	line-height: .95;
	font-stretch: 65%;
}

.gs-h3 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.gs-small {
	font-size: 13px;
	line-height: 1.45;
}

.gs-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.gs-muted {
	color: var(--gs-muted);
}

.gs-num {
	font-variant-numeric: tabular-nums;
}

.gs-text,
.gs-prose {
	line-height: 1.5;
}

.gs-prose {
	max-width: 720px;
	color: var(--gs-body);
}

.gs-prose > * + * {
	margin-top: 1em;
}

.gs-prose h1 {
	color: var(--gs-ink);
	margin-bottom: 24px;
}

@media (max-width: 767px) {
	.gs-display { font-size: 56px; }
	.gs-h1 { font-size: 40px; }
	.gs-h2 { font-size: 32px; }
}

/* Section head: sits on a 3px ink rule. */
.gs-sechead {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	border-top: var(--gs-frame) solid var(--gs-ink);
	padding-top: 12px;
}

.gs-sechead__link {
	font-weight: 700;
	font-size: 14px;
	text-underline-offset: 4px;
}
