/* Ston Licenses — free download page (email gate). Uses the Elementor kit colours when present. */
.ston-free {
	--sf-accent: var(--e-global-color-primary, #e3262f);
	--sf-text: var(--e-global-color-text, #f2f2f2);
	--sf-muted: #8a8a90;
	--sf-surface: var(--e-global-color-stonsurface, #141416);
	--sf-line: var(--e-global-color-stonline, #232326);
	display: flex;
	justify-content: center;
	padding: clamp(120px, 16vw, 180px) 16px clamp(64px, 10vw, 120px);
	color: var(--sf-text);
}
.ston-free__card {
	width: 100%;
	max-width: 520px;
	padding: clamp(28px, 5vw, 44px);
	background: var(--sf-surface);
	border: 1px solid var(--sf-line);
	border-radius: 20px;
	box-sizing: border-box;
}
.ston-free__eyebrow {
	margin: 0 0 12px;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sf-accent);
}
.ston-free__title {
	margin: 0 0 6px;
	font-family: Sora, system-ui, sans-serif;
	font-size: clamp(28px, 5vw, 40px);
	line-height: 1.1;
	color: var(--sf-text);
}
.ston-free__meta,
.ston-free__small {
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--sf-muted);
}
.ston-free__small { margin: 16px 0 0; font-size: 13px; }
.ston-free__lead { margin: 0 0 22px; font-size: 16px; line-height: 1.55; }
.ston-free__form { display: flex; flex-direction: column; gap: 14px; }
.ston-free__label { font-size: 14px; color: var(--sf-muted); }
.ston-free .ston-free__input {
	width: 100%;
	padding: 14px 16px;
	font-size: 16px;
	color: var(--sf-text);
	background: #000;
	border: 1px solid var(--sf-line);
	border-radius: 12px;
	box-sizing: border-box;
}
.ston-free .ston-free__input:focus { outline: 2px solid var(--sf-accent); outline-offset: 1px; border-color: transparent; }
.ston-free__check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--sf-muted); cursor: pointer; }
.ston-free__check input { margin-top: 3px; accent-color: var(--sf-accent); flex: none; }
.ston-free__check a { color: var(--sf-text); text-decoration: underline; }
.ston-free .ston-free__btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin-top: 6px;
	padding: 15px 22px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	background: var(--sf-accent);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	box-sizing: border-box;
	transition: filter .2s ease;
}
.ston-free .ston-free__btn:hover { filter: brightness(1.12); color: #fff; }
.ston-free__error {
	margin: 0 0 16px;
	padding: 12px 14px;
	font-size: 14px;
	color: #ffb4b4;
	background: rgba(227, 38, 47, .12);
	border: 1px solid rgba(227, 38, 47, .4);
	border-radius: 10px;
}
.ston-free__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* The site pages are black; match them around the card. */
body.ston-free-page { background-color: var(--e-global-color-stonbg, #000); }
