/**
 * Public landing page helpers.
 *
 * Loaded ONLY on a landing page, and printed BEFORE the AI stylesheet, so
 * every rule here is a fallback that the AI design can freely override.
 *
 * Everything is scoped to `.dd-lp-scope` — nothing here can ever affect the
 * rest of the site.
 */

.dd-lp-scope .dd-lp-cta {
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
}

.dd-lp-scope .dd-lp-cta:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Fallback look for CTA buttons that were not given an AI class. */
.dd-lp-scope .dd-lp-cta:not([class*="btn"]):not([class*="button"]) {
	padding: 0.75em 1.5em;
	border-radius: 4px;
	background: #1a1a1a;
	color: #fff;
	font-weight: 600;
	line-height: 1.2;
}

/* Admin-only placeholders (never shown to visitors). */
.dd-lp-scope .dd-lp-form-missing,
.dd-lp-scope .dd-lp-product--missing {
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.dd-lp-scope .dd-lp-form-wrap:empty {
	display: none;
}

.dd-lp-scope .dd-lp-product {
	overflow: hidden;
}

.dd-lp-scope .dd-lp-product__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.dd-lp-scope .dd-lp-product__image {
	width: 100%;
	height: auto;
	display: block;
}

/* Respect users who ask for less motion, even if the AI added animations. */
@media (prefers-reduced-motion: reduce) {
	.dd-lp-scope *,
	.dd-lp-scope *::before,
	.dd-lp-scope *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
