/* cursedalchemy.com — hand-written landing styles. No framework, no external
 * fonts (system stack), light/dark via prefers-color-scheme. The accent is the
 * product's --accent-solid token (#047857). */

:root {
	--accent: #047857;
	--accent-strong: #065f46;
	--accent-contrast: #ffffff;
	--bg: #ffffff;
	--bg-tint: #f4f7f6;
	--surface: #ffffff;
	--text: #111827;
	--text-muted: #4b5563;
	--border: #e2e8f0;
	--shadow: 0 12px 32px rgb(15 23 42 / 0.1);
	--radius: 12px;
}

@media (prefers-color-scheme: dark) {
	:root {
		--accent: #10b981;
		--accent-strong: #34d399;
		--accent-contrast: #052e22;
		--bg: #0b1210;
		--bg-tint: #101a17;
		--surface: #131e1a;
		--text: #e5e7eb;
		--text-muted: #9ca3af;
		--border: #253430;
		--shadow: 0 12px 32px rgb(0 0 0 / 0.45);
	}
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

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

.shell {
	max-width: 72rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.shell--narrow {
	max-width: 46rem;
}

/* ---- header ---- */

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

.site-header__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 0.85rem;
	padding-bottom: 0.85rem;
}

.brand {
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: 0.01em;
}

.btn {
	display: inline-block;
	padding: 0.5rem 1.1rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: background-color 140ms ease, color 140ms ease;
}

.btn--ghost {
	color: var(--accent);
	border: 1.5px solid var(--accent);
}

.btn--ghost:hover {
	background: var(--accent);
	color: var(--accent-contrast);
}

/* ---- hero ---- */

.hero {
	padding: 4.5rem 0 4rem;
	background: linear-gradient(180deg, var(--bg-tint), var(--bg));
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 3rem;
	align-items: center;
}

.eyebrow {
	margin: 0 0 0.75rem;
	color: var(--accent);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
}

.hero h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.1rem, 4.5vw, 3.25rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.hero__subtitle {
	margin: 0 0 1.5rem;
	color: var(--text-muted);
	font-size: 1.1rem;
	max-width: 36rem;
}

.hero__cta {
	display: inline-block;
	margin: 0;
	padding: 0.7rem 1.4rem;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-contrast);
	font-weight: 600;
}

.hero__shot,
.feature__shot {
	margin: 0;
}

.hero__shot img,
.feature__shot img {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

/* ---- sections ---- */

.section {
	padding: 4.5rem 0;
}

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

.section__heading {
	margin: 0 0 2.25rem;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	letter-spacing: -0.01em;
}

/* ---- features ---- */

.feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 2.5rem;
	align-items: center;
	padding: 1.75rem 0;
}

.feature--reverse .feature__text {
	order: 2;
}

.feature h3 {
	margin: 0 0 0.6rem;
	font-size: 1.35rem;
}

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

/* ---- plans ---- */

.plans__note {
	margin: -1.25rem 0 2rem;
	color: var(--text-muted);
	max-width: 42rem;
}

.plans__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.plan {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.75rem 1.5rem;
}

.plan--featured {
	border-color: var(--accent);
	box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}

.plan h3 {
	margin: 0 0 0.25rem;
	font-size: 1.15rem;
}

.plan__price {
	margin: 0 0 0.85rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--accent-strong);
}

.plan__body {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.98rem;
	/* Plan copy is a newline-separated bullet list ("• …\n• …"). The value is a
	   single copy key whose overrides land via textContent, so the line breaks
	   must survive as text rather than markup. */
	white-space: pre-line;
}

/* ---- about / footer ---- */

.about__body {
	margin: 0;
	color: var(--text-muted);
	font-size: 1.05rem;
}

.site-footer {
	border-top: 1px solid var(--border);
	padding: 1.75rem 0;
	color: var(--text-muted);
	font-size: 0.92rem;
}

.site-footer__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.site-footer__link {
	color: var(--text-muted);
}

.site-footer__link:hover {
	color: var(--accent);
}

/* ---- responsive ---- */

@media (max-width: 860px) {
	.hero {
		padding: 3rem 0 2.75rem;
	}

	.hero__grid,
	.feature {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.75rem;
	}

	.feature--reverse .feature__text {
		order: 0;
	}

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

	.section {
		padding: 3rem 0;
	}
}
