:root {
	--bg: #ffffff;
	--bg-alt: #f4f7fb;
	--text: #1d2327;
	--muted: #50575e;
	--line: #dcdcde;
	--brand: #2271b1;
	--brand-dark: #135e96;
	--brand-ink: #ffffff;
	--good: #008a20;
	--radius: 12px;
	--shadow: 0 8px 30px rgba(10, 75, 120, 0.12);
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #12161a;
		--bg-alt: #181e24;
		--text: #eef1f4;
		--muted: #b4bcc4;
		--line: #2c343c;
		--brand: #4b9fe0;
		--brand-dark: #72b5ea;
		--brand-ink: #0b1a26;
		--good: #46c86a;
		--shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
	}
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	background: var(--bg);
	color: var(--text);
	font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	margin: 0;
}

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

a {
	color: var(--brand);
}

a:hover {
	color: var(--brand-dark);
}

:focus-visible {
	outline: 3px solid var(--brand);
	outline-offset: 3px;
}

.wrap {
	margin: 0 auto;
	max-width: 1120px;
	padding: 0 16px;
}

.narrow {
	max-width: 760px;
}

.skip {
	background: var(--brand);
	color: var(--brand-ink);
	left: 16px;
	padding: 8px 14px;
	position: absolute;
	top: -60px;
	z-index: 10;
}

.skip:focus {
	top: 12px;
}

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

/* Header */
.top {
	backdrop-filter: blur(8px);
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 5;
}

.top-inner {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	min-height: 64px;
}

.brand {
	align-items: center;
	color: var(--text);
	display: flex;
	font-weight: 700;
	gap: 10px;
	text-decoration: none;
}

.brand img {
	border-radius: 8px;
}

.brand span {
	white-space: nowrap;
}

.top nav ul {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.top nav a {
	color: var(--muted);
	font-size: 15px;
	text-decoration: none;
}

.top nav a:hover {
	color: var(--text);
}

/* Hero */
.hero {
	background: linear-gradient(180deg, var(--bg-alt), var(--bg));
	padding: 64px 0 48px;
}

.hero-inner {
	align-items: center;
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
}

.eyebrow {
	color: var(--brand);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

h1 {
	font-size: clamp(32px, 5vw, 48px);
	letter-spacing: -0.02em;
	line-height: 1.12;
	margin: 0 0 16px;
}

.lead {
	color: var(--muted);
	font-size: 19px;
	margin: 0 0 24px;
}

.cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.note {
	color: var(--muted);
	font-size: 15px;
	margin: 16px 0 0;
}

.hero-shot img {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

figure {
	margin: 0;
}

/* Buttons */
.btn {
	align-items: center;
	border: 2px solid var(--brand);
	border-radius: 8px;
	display: inline-flex;
	font-weight: 600;
	justify-content: center;
	min-height: 44px;
	padding: 8px 18px;
	text-decoration: none;
}

.btn-primary {
	background: var(--brand);
	color: var(--brand-ink);
}

.btn-primary:hover {
	background: var(--brand-dark);
	border-color: var(--brand-dark);
	color: var(--brand-ink);
}

.btn-ghost {
	background: transparent;
	color: var(--brand);
}

.btn-sm {
	font-size: 15px;
	min-height: 40px;
	padding: 6px 12px;
	white-space: nowrap;
}

/* Sections */
.section {
	padding: 64px 0;
}

.section.alt {
	background: var(--bg-alt);
}

h2 {
	font-size: clamp(26px, 3.4vw, 34px);
	letter-spacing: -0.01em;
	line-height: 1.2;
	margin: 0 0 24px;
}

.section-lead {
	color: var(--muted);
	margin: -12px 0 28px;
}

h3 {
	font-size: 19px;
	margin: 0 0 8px;
}

.grid {
	display: grid;
	gap: 20px;
}

.grid.three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px;
}

.card p {
	color: var(--muted);
	margin: 0;
}

.shots {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 40px;
}

.shots figure {
	display: flex;
	flex-direction: column;
}

/* Equal frames whatever the image size, so both captions line up. */
.shots img {
	aspect-ratio: 14 / 9;
	background: var(--bg-alt);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	object-fit: cover;
	object-position: top center;
	width: 100%;
}

figcaption {
	color: var(--muted);
	font-size: 15px;
	margin-top: 10px;
}

/* Plans */
.plans {
	align-items: start;
}

.plan {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
}

.plan.featured {
	border: 2px solid var(--brand);
	box-shadow: var(--shadow);
}

.tag {
	background: var(--brand);
	border-radius: 99px;
	color: var(--brand-ink);
	font-size: 12px;
	margin-left: 6px;
	padding: 2px 10px;
	vertical-align: middle;
}

.price .amount {
	font-size: 40px;
	font-weight: 700;
}

.ticks {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.ticks li {
	padding: 4px 0 4px 28px;
	position: relative;
}

.ticks li::before {
	color: var(--good);
	content: "✓";
	font-weight: 700;
	left: 4px;
	position: absolute;
}

.tiers {
	border-collapse: collapse;
	margin: 0 0 16px;
	width: 100%;
}

.tiers th,
.tiers td {
	border-bottom: 1px solid var(--line);
	padding: 10px 6px;
	text-align: left;
}

.tiers thead th {
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
}

.small {
	color: var(--muted);
	font-size: 15px;
}

.badge {
	border: 1px dashed var(--brand);
	border-radius: 8px;
	color: var(--brand);
	display: inline-block;
	font-weight: 600;
	padding: 8px 14px;
}

/* FAQ */
details {
	border-bottom: 1px solid var(--line);
	padding: 14px 0;
}

summary {
	cursor: pointer;
	font-weight: 600;
}

details p {
	color: var(--muted);
	margin: 10px 0 0;
}

/* Support */
.support-mail {
	margin: 20px 0;
}

/* Footer */
.foot {
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 15px;
	padding: 24px 0;
}

.foot-inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
}

.foot ul {
	display: flex;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.foot p {
	margin: 0;
}

/* Text pages */
.page {
	padding: 48px 0 64px;
}

.page h1 {
	font-size: 36px;
}

.page h2 {
	font-size: 22px;
	margin-top: 32px;
}

@media (max-width: 900px) {
	.hero-inner,
	.grid.two,
	.grid.three,
	.shots {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 560px) {
	.top nav ul {
		gap: 12px;
	}

	.top nav a {
		font-size: 14px;
	}

	.brand {
		font-size: 15px;
		gap: 8px;
	}

	.brand img {
		height: 30px;
		width: 30px;
	}

	.tiers .btn-sm {
		padding: 6px 8px;
	}
}
