:root {
	--primary: #f74c3c;
	--primary-dark: #e23625;
	--navy: #012579;
	--text: #1a2e39;
	--muted: #616161;
	--line: #e3e6ea;
	--field: #f7f7f7;
	--header-h: 80px;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
}

body {
	margin: 0;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Form controls do not inherit the page font by default */
button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
}

h1,
h2,
h3,
p,
ul,
blockquote {
	margin: 0;
}

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

a {
	color: inherit;
}

.container {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
}

.skip-link {
	position: absolute;
	left: -9999px;
}

.skip-link:focus {
	left: 12px;
	top: 12px;
	z-index: 200;
	padding: 8px 14px;
	background: #fff;
	color: var(--navy);
}

.btn {
	display: inline-block;
	padding: 11px 22px;
	border: 0;
	background: var(--primary);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.2s;
}

.btn:hover,
.btn:focus-visible {
	background: var(--primary-dark);
}

/* Header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
}

.site-header .container {
	max-width: 1220px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-h);
}

.logo img {
	width: 190px;
}

.nav-toggle {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.nav-toggle-label {
	display: none;
}

.site-nav ul {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 0;
	list-style: none;
}

.site-nav a {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--primary);
	transition: color 0.2s;
}

.site-nav a.active,
.site-nav a:hover,
.site-nav a:focus-visible {
	color: #000;
}

/* Hero */

.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 80vh;
	background: #eef1f6 url("../images/hero-background.png") center / cover no-repeat;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.5);
}

.hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 645px;
	padding: 60px 30px 30px;
}

.hero h1 {
	margin-bottom: 170px;
	padding-right: 130px;
	font-size: 60px;
	font-weight: 700;
	line-height: 1;
	color: var(--navy);
}

.hero-cta {
	display: grid;
	grid-template-columns: 3fr 1fr;
	align-items: start;
	gap: 30px;
	margin-bottom: 45px;
}

.hero-cta p {
	font-size: 17px;
	font-weight: 700;
	color: #000;
}

.hero-cta .btn {
	justify-self: start;
}

/* Intro */

.intro {
	position: relative;
	overflow: hidden;
	padding: 135px 0;
	text-align: center;
}

/* Oversized pale "WE" behind the intro copy */
.intro::before {
	content: "WE";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 425px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #dde4ff;
}

.intro p {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
	font-size: 30px;
	line-height: 1.37;
	color: #000;
}

/* Shared heading with a short rule under it */

.ruled {
	text-transform: uppercase;
	line-height: 1.2;
}

.ruled::after {
	content: "";
	display: block;
	width: 60px;
	height: 7px;
	margin-top: 20px;
	background: var(--primary);
}

.ruled.center::after {
	margin-left: auto;
	margin-right: auto;
}

/* Navy band */

.band {
	padding: 40px 0;
	background: var(--navy);
	color: #fff;
}

.band h2 {
	font-size: 26px;
	font-weight: 700;
}

.band .ruled::after {
	background: #fff;
}

/* Two columns */

.audiences {
	padding: 60px 0;
}

.audiences .container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.audiences h2 {
	margin-bottom: 20px;
	font-size: 27px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--primary);
}

.audiences p {
	color: var(--muted);
}

/* About */

.about {
	display: grid;
	grid-template-columns: 5fr 7fr;
}

.about-image {
	min-height: 360px;
	background: #dfe4ec url("../images/robot-handshake.jpg") center / cover no-repeat;
}

.about-text {
	padding: 100px 40px 80px;
	color: #000;
}

.about-text h2 {
	margin-bottom: 40px;
	font-size: 40px;
	font-weight: 400;
}

.about-text > p {
	margin-bottom: 40px;
}

.about-points {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.about-points article {
	padding: 20px;
	border-left: 3px solid var(--primary);
}

.about-points h3 {
	margin-bottom: 10px;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--primary);
}

.about-points p {
	font-size: 13px;
}

/* Services */

.services {
	padding: 80px 0 30px;
	text-align: center;
}

.section-head {
	max-width: 800px;
	margin: 0 auto 70px;
}

.section-head h2 {
	margin-bottom: 15px;
	font-size: 40px;
	font-weight: 400;
	line-height: 1.1;
	text-transform: uppercase;
	color: #000;
}

.section-head p {
	color: #000;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 60px 30px;
	padding: 0;
	list-style: none;
}

.service-grid li {
	padding: 0 20px;
}

.service-grid svg {
	display: block;
	width: 56px;
	height: 56px;
	margin: 0 auto 18px;
	color: var(--primary);
}

.service-grid h3 {
	margin-bottom: 15px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--primary);
}

.service-grid p {
	font-size: 13px;
	color: #333;
}

/* Separators */

.separator {
	display: block;
	width: 100%;
	height: 20vh;
	min-height: 70px;
	margin: -2px 0;
}

.separator .fill-white {
	fill: #fff;
}

.separator .fill-primary {
	fill: var(--primary);
}

/* Coral area: advantages and reviews */

.coral {
	padding: 10px 0 60px;
	background: var(--primary);
	color: #fff;
}

.coral h2 {
	padding: 0 20px;
	font-size: 36px;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
}

.advantage-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	padding-top: 50px;
}

.advantage-grid img {
	margin-bottom: 30px;
}

.advantage-grid h3 {
	margin-bottom: 20px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
}

.advantage-grid p {
	font-size: 13px;
	color: #f5f5f5;
}

.reviews {
	padding-bottom: 20px;
}

.review-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: center;
	gap: 30px;
	padding-top: 50px;
}

.review-grid blockquote {
	position: relative;
	margin-bottom: 25px;
	padding: 25px;
	border-radius: 4px;
	background: #fff;
	color: var(--primary);
	font-size: 15px;
	font-weight: 300;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.review-grid blockquote::after {
	content: "";
	position: absolute;
	left: 35px;
	bottom: -10px;
	border: 10px solid transparent;
	border-bottom: 0;
	border-top-color: #fff;
}

.review-grid figure {
	margin: 0;
}

.review-grid figcaption {
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 700;
}

.review-grid figcaption img {
	width: 50px;
	height: 50px;
	border: 3px solid #fff;
	border-radius: 50%;
	object-fit: cover;
}

/* Footer */

.site-footer {
	padding: 40px 0;
	background: var(--navy);
	color: #fff;
}

.site-footer .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.site-footer p {
	max-width: 50%;
}

.site-footer p a {
	color: var(--primary);
}

.site-footer p a:hover {
	color: #fff;
}

.social {
	display: flex;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	transition: background 0.2s, border-color 0.2s;
}

.social a:hover,
.social a:focus-visible {
	background: var(--primary);
	border-color: var(--primary);
}

.social svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* Signup */

.signup {
	padding: 80px 0 100px;
}

.signup-form {
	max-width: 540px;
	margin: 0 auto;
}

.signup-form h1 {
	margin-bottom: 8px;
	font-size: 28px;
	font-weight: 700;
}

.signup-form .lead {
	margin-bottom: 30px;
	color: var(--muted);
}

.field {
	margin-bottom: 18px;
}

.field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
}

.field .req {
	color: var(--primary);
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid transparent;
	border-radius: 4px;
	background: var(--field);
	color: #000;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: 0;
	border-color: var(--primary);
	background: #eee;
}

.field .hint {
	margin-top: 6px;
	font-size: 12px;
	color: var(--muted);
}

.signup-form hr {
	margin: 28px 0;
	border: 0;
	border-top: 1px solid var(--line);
}

.agree {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 26px;
	font-size: 13px;
}

.agree input {
	margin-top: 4px;
	accent-color: var(--primary);
}

.signup-form .btn {
	width: 100%;
	padding: 16px;
	border-radius: 4px;
	font-size: 15px;
}

/* Spam trap: off screen for people, visible to bots */
.hp {
	position: absolute;
	left: -9999px;
}

.agree a {
	color: var(--primary);
}

/* Thank you and form error pages */

.notice {
	padding: 120px 0 160px;
	text-align: center;
}

.notice h1 {
	margin-bottom: 16px;
	font-size: 32px;
	font-weight: 700;
}

.notice p {
	margin-bottom: 30px;
	font-size: 16px;
	color: var(--muted);
}

/* Privacy policy */

.policy {
	padding: 60px 0 80px;
}

.policy .container {
	max-width: 900px;
}

.policy h1 {
	margin-bottom: 40px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--primary);
	font-size: 32px;
	font-weight: 700;
}

.policy h2 {
	margin: 28px 0 10px;
	font-size: 16px;
	font-weight: 700;
	color: #757575;
}

.policy p,
.policy li {
	color: #757575;
}

.policy p,
.policy ul {
	margin-bottom: 14px;
}

.policy ul {
	padding-left: 22px;
}

.policy .indent-1 {
	margin-left: 40px;
}

.policy .indent-2 {
	margin-left: 80px;
}

/* How to order */

.howto {
	padding: 60px 0 150px;
}

.howto h1 {
	margin-bottom: 40px;
	font-size: 32px;
	font-weight: 700;
}

.video {
	max-width: 720px;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
}

.video iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

/* Tablet and down */

@media (max-width: 991px) {
	.nav-toggle-label {
		display: block;
		padding: 10px;
		margin-right: -10px;
		cursor: pointer;
	}

	.nav-toggle-label span,
	.nav-toggle-label span::before,
	.nav-toggle-label span::after {
		content: "";
		display: block;
		width: 24px;
		height: 2px;
		background: var(--text);
		transition: transform 0.2s, background 0.2s;
	}

	.nav-toggle-label span {
		position: relative;
		margin: 8px 0;
	}

	.nav-toggle-label span::before {
		position: absolute;
		top: -8px;
	}

	.nav-toggle-label span::after {
		position: absolute;
		top: 8px;
	}

	.nav-toggle:checked ~ .nav-toggle-label span {
		background: transparent;
	}

	.nav-toggle:checked ~ .nav-toggle-label span::before {
		transform: translateY(8px) rotate(45deg);
	}

	.nav-toggle:checked ~ .nav-toggle-label span::after {
		transform: translateY(-8px) rotate(-45deg);
	}

	.nav-toggle:focus-visible ~ .nav-toggle-label {
		outline: 2px solid var(--primary);
	}

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 10px 20px 24px;
		background: #fff;
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
	}

	.nav-toggle:checked ~ .site-nav {
		display: block;
	}

	.site-nav ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.site-nav li {
		width: 100%;
	}

	.site-nav a {
		display: block;
		padding: 12px 0;
	}

	.about {
		grid-template-columns: 1fr;
	}

	.about-text {
		order: -1;
		padding: 60px 20px 40px;
	}

	.service-grid {
		grid-template-columns: 1fr 1fr;
	}

	.review-grid {
		grid-template-columns: 1fr;
	}
}

/* Phone */

@media (max-width: 640px) {
	.hero {
		min-height: 70vh;
	}

	.hero::after {
		background: rgba(255, 255, 255, 0.75);
	}

	.hero-inner {
		padding: 40px 20px;
	}

	.hero h1 {
		margin-bottom: 40px;
		padding-right: 0;
		font-size: 40px;
	}

	.hero-cta {
		grid-template-columns: 1fr;
		gap: 20px;
		margin-bottom: 10px;
	}

	.intro {
		padding: 70px 0;
	}

	.intro::before {
		font-size: 220px;
	}

	.intro p {
		font-size: 21px;
	}

	.band h2,
	.audiences h2 {
		font-size: 26px;
	}

	.about-text h2,
	.section-head h2 {
		font-size: 30px;
	}

	.coral h2 {
		font-size: 24px;
	}

	.audiences .container,
	.about-points,
	.service-grid,
	.advantage-grid {
		grid-template-columns: 1fr;
	}

	.separator {
		height: 70px;
	}

	.site-footer .container {
		flex-direction: column;
		text-align: center;
	}

	.site-footer p {
		max-width: none;
	}

	.signup {
		padding: 50px 0 70px;
	}

	.policy .indent-1 {
		margin-left: 16px;
	}

	.policy .indent-2 {
		margin-left: 32px;
	}

	.howto {
		padding-bottom: 80px;
	}
}
