:root {
	color-scheme: light;
	--bg: #f4efe8;
	--surface: rgba(255, 250, 244, 0.8);
	--surface-strong: #fffaf5;
	--text: #1f1a16;
	--muted: #6f675f;
	--border: rgba(72, 58, 43, 0.11);
	--accent: #264d42;
	--accent-strong: #18352d;
	--accent-soft: rgba(38, 77, 66, 0.09);
	--glow: rgba(192, 216, 203, 0.55);
	--peach: rgba(232, 199, 171, 0.38);
	--shadow: 0 28px 70px rgba(38, 27, 16, 0.1);
}

@media (prefers-color-scheme: dark) {
	:root {
		color-scheme: dark;
		--bg: #111311;
		--surface: rgba(24, 26, 24, 0.82);
		--surface-strong: #1b1d1b;
		--text: #f5f1e9;
		--muted: #a8a095;
		--border: rgba(223, 214, 202, 0.1);
		--accent: #d8ece4;
		--accent-strong: #f3fbf7;
		--accent-soft: rgba(216, 236, 228, 0.08);
		--glow: rgba(44, 78, 68, 0.52);
		--peach: rgba(98, 70, 56, 0.35);
		--shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
	}
}

* {
	box-sizing: border-box;
}

html,
body {
	min-height: 100%;
}

body {
	margin: 0;
	background: linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.28),
			transparent 22%
		),
		radial-gradient(circle at 14% 12%, var(--peach), transparent 25%),
		radial-gradient(circle at 82% 10%, var(--glow), transparent 30%), var(--bg);
	color: var(--text);
	font-family:
		"SF Pro Text",
		"Avenir Next",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
	position: relative;
	overflow-x: hidden;
}

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

.backdrop {
	position: fixed;
	inset: auto;
	border-radius: 999px;
	filter: blur(10px);
	pointer-events: none;
	opacity: 0.8;
}

.backdrop-one {
	top: 72px;
	right: -160px;
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, var(--glow), transparent 68%);
}

.backdrop-two {
	left: -120px;
	bottom: 140px;
	width: 320px;
	height: 320px;
	background: radial-gradient(circle, var(--peach), transparent 68%);
}

.page {
	position: relative;
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
	padding: 20px 0 48px;
}

.card {
	border: 1px solid var(--border);
	border-radius: 28px;
	background: var(--surface);
	backdrop-filter: blur(18px);
	box-shadow: var(--shadow);
	animation: rise 700ms ease both;
}

.topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 12px 4px 28px;
}

.brand {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.brand-mark,
.nav a {
	font-size: 0.95rem;
	font-weight: 600;
}

.brand-meta {
	font-size: 0.9rem;
	color: var(--muted);
}

.nav {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	color: var(--muted);
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
	gap: 18px;
	align-items: stretch;
}

.eyebrow {
	margin: 0 0 16px;
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

h2,
h3,
h1 {
	margin: 0;
	font-family: "Iowan Old Style", "Baskerville", "Palatino Linotype",
		"Book Antiqua", Palatino, Georgia, serif;
}

h1 {
	max-width: 9ch;
	font-family: "Iowan Old Style", "Baskerville", "Palatino Linotype",
		"Book Antiqua", Palatino, Georgia, serif;
	font-size: clamp(3.2rem, 9vw, 6.4rem);
	line-height: 0.96;
	letter-spacing: -0.06em;
}

.hero-copy,
.hero-visual,
.principle,
.screenshot-card,
.detail-card,
.quote-card,
.final-cta {
	padding: 28px;
}

.subtitle {
	margin: 24px 0 0;
	max-width: 34rem;
	font-size: clamp(1rem, 2vw, 1.18rem);
	line-height: 1.6;
	color: var(--muted);
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border-radius: 999px;
	font-size: 0.98rem;
	font-weight: 600;
	transition:
		transform 160ms ease,
		background-color 160ms ease,
		border-color 160ms ease;
}

.button:hover {
	transform: translateY(-1px);
}

.primary {
	background: var(--accent);
	color: var(--surface-strong);
}

.secondary {
	border: 1px solid var(--border);
	background: var(--accent-soft);
	color: var(--text);
}

.tertiary {
	border: 1px solid var(--border);
	background: transparent;
	color: var(--text);
}

.chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.chip-row li {
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.34);
	border: 1px solid var(--border);
	font-size: 0.92rem;
	color: var(--muted);
}

.hero-visual {
	display: grid;
	grid-template-rows: 1fr auto;
	gap: 18px;
	align-items: end;
	background: radial-gradient(
			circle at 50% 0%,
			rgba(255, 255, 255, 0.34),
			transparent 55%
		),
		var(--surface);
}

.hero-visual img,
.screenshot-card img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 24px;
}

.visual-note {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--muted);
	font-size: 0.96rem;
}

.visual-note strong {
	color: var(--text);
	font-size: 1rem;
}

.principles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 16px;
}

.principle p:last-child,
.section-heading p,
.screenshot-copy p,
.detail-card p,
.quote-card p,
.final-cta p {
	color: var(--muted);
	line-height: 1.6;
}

h2 {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	line-height: 1.02;
	letter-spacing: -0.04em;
}

.principle h2,
.screenshot-copy h3,
.detail-card h2,
.quote-card h2,
.final-cta h2 {
	font-size: 1.35rem;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.principle p:last-child,
.screenshot-copy p,
.detail-card p,
.quote-card p,
.final-cta p {
	margin-top: 12px;
}

.showcase {
	margin-top: 18px;
}

.section-heading {
	max-width: 38rem;
	padding: 0 4px;
}

.section-heading p {
	margin: 12px 0 0;
}

.showcase-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.screenshot-wide {
	grid-column: span 2;
}

.screenshot-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
}

.screenshot-copy {
	max-width: 26rem;
}

.screenshot-copy h3 {
	margin: 0;
}

.accent-card {
	background: linear-gradient(180deg, rgba(38, 77, 66, 0.08), transparent 55%),
		var(--surface);
}

.details {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
	gap: 14px;
	margin-top: 18px;
}

.detail-list {
	margin: 16px 0 0;
	padding-left: 20px;
	color: var(--muted);
	line-height: 1.7;
}

.detail-list li + li {
	margin-top: 8px;
}

.quote-card {
	background: linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.24),
			transparent 48%
		),
		var(--surface);
}

.final-cta {
	margin-top: 18px;
}

.final-cta .actions {
	margin-top: 22px;
}

.footer {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
	padding: 22px 4px 0;
	color: var(--muted);
	font-size: 0.92rem;
}

@media (max-width: 760px) {
	.page {
		width: min(100% - 20px, 1040px);
		padding-top: 12px;
	}

	.topbar,
	.hero,
	.principles,
	.showcase-grid,
	.details {
		grid-template-columns: 1fr;
	}

	.topbar {
		padding-bottom: 18px;
	}

	.hero-copy,
	.hero-visual,
	.principle,
	.screenshot-card,
	.detail-card,
	.quote-card,
	.final-cta {
		padding: 22px 20px;
	}

	.hero-visual img,
	.screenshot-card img {
		border-radius: 18px;
	}

	.screenshot-wide {
		grid-column: span 1;
	}

	.footer {
		flex-direction: column;
		gap: 10px;
		padding-top: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.card,
	.button {
		animation: none;
		transition: none;
	}
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}
