/* The landing page (/). Shares fonts, colours and the kicker/h1 styles with site.css. */

.home {
	padding: 0;
	background: #fff8e7;
	--blue: #4285f4;
	--red: #ea4335;
	--yellow: #fbbc04;
	--green: #34a853;
	--pad: clamp(20px, 6vw, 96px);
}
.home a {
	color: inherit;
}

.c-blue { background: var(--blue); }
.c-red { background: var(--red); }
.c-yellow { background: var(--yellow); }
.c-green { background: var(--green); }

/* ---------- Top bar ---------- */

.top {
	position: absolute;
	inset: 0 0 auto;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px var(--pad);
}
.brand img {
	display: block;
	height: 34px;
	padding: 8px 14px;
	border: 3px solid var(--ink);
	border-radius: 14px;
	background: #fff;
	box-shadow: 3px 3px 0 var(--ink);
	box-sizing: content-box;
}
.links {
	display: flex;
	gap: 8px;
}
.links a {
	padding: 8px 16px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.links a:hover {
	background: rgb(255 255 255 / 0.6);
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	align-items: center;
	gap: 24px;
	min-height: min(92vh, 860px);
	padding: 120px var(--pad) 140px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C 240 10 480 10 720 60 S 1200 120 1440 50 V160 H0Z' fill='%2387cf5a' stroke='%232b2b2b' stroke-width='5'/%3E%3Cpath d='M0 120 C 300 80 600 90 900 115 S 1300 130 1440 100 V160 H0Z' fill='%2357b04a' stroke='%232b2b2b' stroke-width='5'/%3E%3C/svg%3E")
			bottom / 100% 140px no-repeat,
		linear-gradient(#7ccbf2, #d4effc 75%);
}
.hero h1 {
	font-size: clamp(48px, 7.4vw, 108px);
}
.hero .lede {
	font-size: clamp(18px, 1.6vw, 22px);
}
.cta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.btn {
	display: inline-block;
	padding: 14px 26px;
	border: var(--border);
	border-radius: 999px;
	background: #fff;
	box-shadow: 5px 5px 0 var(--ink);
	font-size: 20px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.15s, box-shadow 0.15s;
}
.btn.primary {
	background: var(--sun);
}
.btn:hover,
.btn:focus-visible {
	transform: translate(-2px, -2px);
	box-shadow: 7px 7px 0 var(--ink);
}

.hero-art {
	position: relative;
	height: clamp(260px, 34vw, 480px);
}
.hero-art .gunter {
	position: absolute;
	right: -2%;
	bottom: -12%;
	height: 118%;
}
.hero-art .bubble {
	position: absolute;
	right: 4%;
	top: -2%;
	padding: 10px 22px;
	border: var(--border);
	border-radius: 22px;
	background: #fff;
	box-shadow: 4px 4px 0 var(--ink);
	font-family: "Luckiest Guy", "Fredoka", sans-serif;
	font-size: clamp(22px, 2.4vw, 34px);
}

/* ---------- Sections ---------- */

.block {
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(56px, 8vw, 96px) var(--pad) 0;
}
.block h2 {
	margin: 16px 0 28px;
	font-family: "Luckiest Guy", "Fredoka", sans-serif;
	font-weight: 400;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.05;
}
.block h2 em {
	font-style: normal;
	color: #1a73e8;
}
.block .lede {
	margin-top: -12px;
}

.card {
	padding: 26px 28px;
	border: var(--border);
	border-radius: 24px;
	background: #fff;
	box-shadow: 7px 7px 0 var(--ink);
}
.card h3 {
	margin: 0 0 8px;
	font-size: 28px;
}
.card p {
	margin: 0;
	font-size: 19px;
	font-weight: 500;
	line-height: 1.45;
}

.pair {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 28px;
}
.fill-blue { background: #e8f0fe; }
.fill-green { background: #e6f4ea; }
.pair h3 {
	font-family: "Luckiest Guy", "Fredoka", sans-serif;
	font-weight: 400;
	font-size: 44px;
}
.pair .eg {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 3px dashed rgb(43 43 43 / 0.25);
	font-weight: 700;
}

.goals {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: 22px;
}
.goal {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 22px 24px;
	border: var(--border);
	border-radius: 22px;
	background: #fff;
	box-shadow: 6px 6px 0 var(--ink);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.4;
}
.goal b {
	align-self: flex-start;
	padding: 4px 14px;
	border: 3px solid var(--ink);
	border-radius: 999px;
	color: #fff;
	font-family: "Luckiest Guy", "Fredoka", sans-serif;
	font-weight: 400;
	font-size: 22px;
}

.road {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
	gap: 18px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.road li {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 18px 22px;
	border: var(--border);
	border-radius: 22px;
	background: #fff;
	box-shadow: 5px 5px 0 var(--ink);
}
.road li.done {
	background: #fef7e0;
}
.road .n {
	flex: none;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 3px solid var(--ink);
	border-radius: 50%;
	color: #fff;
	font-family: "Luckiest Guy", "Fredoka", sans-serif;
	font-size: 26px;
}
.road h3 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin: 4px 0 4px;
	font-size: 22px;
}
.road p {
	margin: 0;
	font-weight: 500;
	color: #5f6368;
}
.pill {
	padding: 3px 12px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: var(--sun);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.pill.soon {
	background: #e6f4ea;
}

.jobs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: 22px;
}
.jobs h3 {
	font-size: 23px;
}

.checks {
	display: grid;
	gap: 14px;
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
}
.checks li {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: clamp(20px, 2.2vw, 28px);
	font-weight: 700;
}
.checks li::before {
	content: "✓";
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 3px solid var(--ink);
	border-radius: 50%;
	background: var(--green);
	color: #fff;
	font-size: 24px;
}
.sticker {
	display: inline-block;
	margin: 0;
	padding: 12px 24px;
	border: var(--border);
	border-radius: 16px;
	background: var(--sun);
	box-shadow: 5px 5px 0 var(--ink);
	font-size: 22px;
	font-weight: 700;
	transform: rotate(-1.5deg);
}

/* ---------- Footer ---------- */

.foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: clamp(64px, 9vw, 110px);
	padding: 28px var(--pad);
	border-top: var(--border);
	background: #fff;
}
.foot img {
	height: 34px;
}
.foot p {
	margin: 0;
	font-weight: 600;
}

/* ---------- Phones ---------- */

@media (max-width: 820px) {
	.hero {
		grid-template-columns: 1fr;
		padding-top: 100px;
	}
	.hero-art {
		height: 240px;
	}
	/* The hero buttons link to the same places. */
	.links {
		display: none;
	}
}
