:root {
	/* Brand */
	--color-teal: #00b3b5;
	--color-orange: #fb8040;
	--color-orange-hover: #e06e30;
	--color-gold: #f9b340;
	--color-gray: #66666a;

	/* Neutrals */
	--color-white: #fff;
	--color-black: #000;
	--color-text: #171717;

	/* Typography */
	--font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, "Helvetica Neue", Arial, sans-serif;

	/* Layout */
	--max-width: 80rem;
	--max-width-narrow: 72rem;

	/* Radii */
	--radius-md: 1rem;
	--radius-lg: 1.5rem;
	--radius-full: 9999px;

	/* Transitions */
	--speed: 150ms ease;
}

/* ---- Reset ---- */

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

body {
	min-height: 100vh;
	font-family: var(--font-sans);
	color: var(--color-text);
	line-height: 1.5;
	background: var(--color-white);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
}

/* ---- Utilities ---- */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 50;
	padding: 0.5rem 1rem;
	background: var(--color-white);
	color: var(--color-teal);
	text-decoration: underline;
}

.skip-link:focus {
	left: 0;
}

/* ---- Header ---- */

.site-header {
	position: relative;
	z-index: 30;
	background: var(--color-white);
}

.header-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 1rem;
}

.logo-img {
	height: 3rem;
	width: auto;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	font-size: 1rem;
	font-weight: 600;
}

.main-nav a {
	color: var(--color-black);
	transition: color var(--speed);
}

.main-nav a:hover {
	color: var(--color-gold);
}

@media (min-width: 768px) {
	.header-inner {
		flex-direction: row;
		justify-content: space-between;
	}

	.logo-img {
		height: 3.5rem;
	}
}

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

.hero {
	overflow: hidden;
	background: var(--color-teal);
	color: var(--color-white);
}

.hero-inner {
	display: grid;
	gap: 2.5rem;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 3rem 2rem;
}

.hero-text {
	max-width: 36rem;
}

.hero-title {
	font-size: 3rem;
	font-weight: 800;
	line-height: 1.1;
}

.hero-subtitle {
	margin-top: 0.5rem;
	font-size: 1.875rem;
	font-style: italic;
}

.hero-divider {
	margin-top: 1rem;
	height: 0.25rem;
	width: 18rem;
	background: var(--color-gold);
}

.hero-description {
	margin-top: 1.5rem;
	font-size: 1.25rem;
	line-height: 1.625;
}

.hero-figure {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 0;
	overflow: hidden;
}

.hero-image {
	max-height: 500px;
	width: 100%;
	object-fit: contain;
}

@media (min-width: 1024px) {
	.hero-inner {
		grid-template-columns: 1fr 1fr;
		align-items: center;
	}
}

/* ---- Buttons ---- */

.btn-primary,
.btn-card {
	color: var(--color-white);
	font-weight: 700;
	background: var(--color-orange);
	transition: background var(--speed);
}

.btn-primary:hover,
.btn-card:hover {
	background: var(--color-orange-hover);
}

.btn-primary:focus-visible,
.btn-card:focus-visible {
	outline: 2px solid var(--color-white);
	outline-offset: 2px;
}

.btn-primary {
	display: inline-block;
	margin-top: 2.5rem;
	padding: 1rem 2rem;
	border-radius: var(--radius-md);
	font-size: 1.5rem;
	text-transform: uppercase;
}

.btn-card {
	display: block;
	width: 100%;
	padding: 0.75rem;
	border-radius: var(--radius-full);
	font-size: 1.25rem;
	text-align: center;
}

/* ---- Promo banner ---- */

.promo {
	margin: 0 0 2.5rem 0;
	padding: 2.5rem 1.5rem;
	background: var(--color-orange);
	color: var(--color-white);
	text-align: center;
}

.promo-title {
	font-size: 2.25rem;
	font-weight: 800;
}

.promo-text {
	margin-top: 1rem;
	font-size: 1.5rem;
}

.promo-text + .promo-text {
	margin-top: 0.5rem;
}

/* ---- Pricing ---- */

.pricing {
	padding: 3rem 1.5rem;
}

.pricing-grid {
	display: grid;
	gap: 2rem;
	max-width: var(--max-width-narrow);
	margin: 0 auto;
}

.pricing-card {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	border-radius: var(--radius-lg);
	background: var(--color-teal);
	color: var(--color-white);
	text-align: center;
}

.pricing-plan {
	font-size: 1.5rem;
	font-weight: 600;
}

.pricing-price {
	margin-top: 0.5rem;
	font-size: 1.875rem;
	font-weight: 700;
}

.pricing-price span {
	font-size: 1.125rem;
	font-weight: 400;
}

.pricing-tagline {
	margin-top: 1rem;
}

.pricing-features {
	margin-top: 1.5rem;
	list-style: disc inside;
}

.pricing-features li + li {
	margin-top: 0.5rem;
}

.pricing-card .btn-card {
	margin-top: 1.5rem;
}

@media (min-width: 1024px) {
	.pricing-grid {
		grid-template-columns: 1fr 1fr;
	}

	.pricing-card .btn-card {
		margin-top: auto;
	}
}

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

.site-footer {
	padding: 2rem 1rem;
	background: var(--color-gray);
	color: var(--color-white);
	text-align: center;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
	font-size: 1.25rem;
}

.footer-nav a {
	text-underline-offset: 4px;
}

.footer-nav a:hover {
	text-decoration: underline;
}

.footer-copy {
	margin-top: 1rem;
	font-size: 0.875rem;
}
