/**
 * Global design tokens, resets, and shared components.
 *
 * @package BMG_Connect
 * @since 1.1.0
 */

:root {
	--bmg-teal: #1c9aa6;
	--bmg-teal-dark: #16838d;
	--bmg-charcoal: #222;
	--bmg-gray-dark: #333;
	--bmg-gray: #555;
	--bmg-gray-light: #ededed;
	--bmg-white: #fff;
	--bmg-font-primary: "Canada Type Gibson", "Helvetica Neue", Arial, sans-serif;
	--bmg-layout-width: 1200px;
	--bmg-radius: 8px;
	--bmg-transition: 0.25s ease;
	--bmg-font-size-h1: 5.25rem;
	--bmg-font-size-h2: 4rem;
	--bmg-font-size-h3: 3rem;
	--bmg-font-size-h4: 2.25rem;
	--bmg-font-size-h5: 1.875rem;
	--bmg-font-size-body-large: 1.375rem;
	--bmg-font-size-body: 1.125rem;
	--bmg-line-height-h1: 5.875rem;
	--bmg-line-height-h2: 4.5rem;
	--bmg-line-height-h3: 3.375rem;
	--bmg-line-height-h4: 2.75rem;
	--bmg-line-height-h5: 2.25rem;
	--bmg-line-height-body-large: 1.8125rem;
	--bmg-line-height-body: 1.5625rem;
}

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

body {
	background: var(--bmg-white);
	color: var(--bmg-gray-dark);
	font-family: var(--bmg-font-primary);
	font-size: var(--bmg-font-size-body);
	font-weight: 400;
	letter-spacing: 0;
	line-height: var(--bmg-line-height-body);
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--bmg-font-primary);
	font-weight: 700;
	letter-spacing: 0;
	margin-block: 0 0.5em;
}

h1 {
	font-size: clamp(3rem, 6vw, var(--bmg-font-size-h1));
	line-height: clamp(3.375rem, 6.75vw, var(--bmg-line-height-h1));
}

h2 {
	font-size: clamp(2.5rem, 5vw, var(--bmg-font-size-h2));
	line-height: clamp(2.875rem, 5.625vw, var(--bmg-line-height-h2));
}

h3 {
	font-size: clamp(2rem, 4vw, var(--bmg-font-size-h3));
	line-height: clamp(2.25rem, 4.5vw, var(--bmg-line-height-h3));
}

h4 {
	color: var(--bmg-teal);
	font-size: clamp(1.75rem, 3vw, var(--bmg-font-size-h4));
	line-height: clamp(2.125rem, 3.5vw, var(--bmg-line-height-h4));
}

h5 {
	font-size: var(--bmg-font-size-h5);
	line-height: var(--bmg-line-height-h5);
	text-transform: uppercase;
}

h6 {
	font-size: var(--bmg-font-size-body);
	line-height: var(--bmg-line-height-body);
	text-transform: uppercase;
}

p {
	margin-block: 0 1.25em;
}

.body-copy--large {
	font-size: var(--bmg-font-size-body-large);
	line-height: var(--bmg-line-height-body-large);
}

.text-accent {
	-webkit-background-clip: text;
	background-image: linear-gradient(90deg, var(--bmg-teal), #23d5e2);
	background-clip: text;
	color: transparent;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

a {
	color: var(--bmg-teal);
	font-weight: 700;
	text-decoration: none;
}

a:hover,
a:focus-visible {
	color: var(--bmg-teal-dark);
	text-decoration: underline;
}

.container {
	margin-inline: auto;
	max-width: var(--bmg-layout-width);
	padding-inline: 32px;
	width: 100%;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.screen-reader-text:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	left: 16px;
	padding: 12px 18px;
	top: 16px;
	width: auto;
	z-index: 1000;
}

.eyebrow {
	color: var(--bmg-teal);
	font-size: 1 rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.eyebrow--light {
	color: rgb(255 255 255 / 75%);
}

.section-heading {
	margin: 0 auto 56px;
	max-width: 680px;
	text-align: center;
}

.section-heading__title {
	font-size: clamp(2.5rem, 5vw, var(--bmg-font-size-h2));
	line-height: clamp(2.875rem, 5.625vw, var(--bmg-line-height-h2));
	margin: 0 0 16px;
}

.section-heading__copy {
	color: var(--bmg-gray);
	font-size: 1.05rem;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.button-row--single {
	display: block;
}

.btn {
	border: 2px solid transparent;
	border-radius: 50px;
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 12px 28px;
	text-transform: uppercase;
	transition: background-color var(--bmg-transition), border-color var(--bmg-transition), color var(--bmg-transition);
}

.btn:hover,
.btn:focus-visible {
	text-decoration: none;
}

.btn--teal {
	background: var(--bmg-teal);
	border-color: var(--bmg-teal);
	color: var(--bmg-white);
}

.btn--teal:hover,
.btn--teal:focus-visible {
	background: var(--bmg-teal-dark);
	border-color: var(--bmg-teal-dark);
	color: var(--bmg-white);
}

.btn--white {
	background: var(--bmg-white);
	border-color: var(--bmg-white);
	color: var(--bmg-teal-dark);
}

.btn--link--teal,
.btn--link--white {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding-inline: 0;
}

.btn--link--teal {
	color: var(--bmg-teal);
}

.btn--link--white {
	color: var(--bmg-white);
}

.btn__arrow {
	margin-left: 0.4em;
}

@media (max-width: 480px) {
	.container {
		padding-inline: 20px;
	}
}
