:root {
	--bg: #0e1116;
	--panel: #171c24;
	--panel-2: #202735;
	--text: #f6f8fb;
	--muted: #a9b2c3;
	--line: #2d3544;
	--accent: #a7f307;
	--accent-dark: #75aa00;
	--danger: #ff6b6b;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.6;
}

a {
	color: inherit;
}

.site-header,
.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
	padding: 24px 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	font-weight: 800;
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background: var(--accent);
	color: #111;
}

.header-link,
.site-footer a {
	color: var(--muted);
	text-decoration: none;
}

main {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	gap: 28px;
	align-items: stretch;
	padding: 42px 0 28px;
}

.hero-copy,
.product-panel,
.details > div,
.faq {
	border: 1px solid var(--line);
	background: linear-gradient(180deg, var(--panel), #11151c);
	border-radius: 8px;
}

.hero-copy {
	padding: clamp(28px, 5vw, 56px);
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--accent);
	font-weight: 800;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0;
}

h1,
h2 {
	line-height: 1.12;
	letter-spacing: 0;
}

h1 {
	max-width: 760px;
	margin: 0;
	font-size: clamp(40px, 6vw, 76px);
}

h2 {
	margin: 0 0 14px;
	font-size: 24px;
}

.lead {
	max-width: 720px;
	margin: 22px 0 0;
	color: var(--muted);
	font-size: 19px;
}

.buy-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	margin-top: 34px;
}

.price {
	display: flex;
	align-items: baseline;
	gap: 12px;
}

.price span {
	font-size: 34px;
	font-weight: 900;
}

.price del {
	color: var(--muted);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 7px;
	background: var(--accent);
	color: #10140a;
	font-weight: 900;
	text-decoration: none;
	border: 0;
}

.button:hover {
	background: var(--accent-dark);
	color: #fff;
}

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

.product-panel {
	padding: 28px;
}

.product-panel ul {
	margin: 0;
	padding-left: 20px;
	color: var(--muted);
}

.product-panel li + li {
	margin-top: 10px;
}

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

.details > div,
.faq {
	padding: 24px;
}

.details p,
.faq p {
	margin: 0;
	color: var(--muted);
}

.faq {
	margin-bottom: 36px;
}

details {
	border-top: 1px solid var(--line);
	padding: 16px 0;
}

details:last-child {
	padding-bottom: 0;
}

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

summary + p {
	margin-top: 10px;
}

.site-footer {
	border-top: 1px solid var(--line);
	color: var(--muted);
}

.thank-you {
	display: grid;
	min-height: 70vh;
	place-items: center;
}

.checkout-page {
	padding-bottom: 36px;
}

.checkout-layout {
	display: grid;
	grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1.25fr);
	gap: 24px;
	align-items: start;
	padding: 28px 0;
}

.checkout-panel {
	min-height: 680px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #0d0d0d;
	overflow: hidden;
}

#checkout-loading,
.checkout-error {
	padding: 22px;
	color: var(--muted);
}

.checkout-error {
	color: var(--danger);
}

#dodo-inline-checkout {
	min-height: 680px;
}

.thank-you .product-panel {
	max-width: 760px;
}

.license-box {
	display: grid;
	gap: 8px;
	margin: 24px 0;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--panel-2);
}

.license-box span {
	color: var(--muted);
	font-size: 14px;
}

.license-box code {
	overflow-wrap: anywhere;
	font-size: 18px;
}

@media (max-width: 860px) {
	.hero,
	.details,
	.checkout-layout {
		grid-template-columns: 1fr;
	}

	.site-header,
	.site-footer {
		align-items: flex-start;
		flex-direction: column;
	}
}
