/* BidInfer marketing site — design system.
 * Token architecture mirrors cleat.ai: a small brand layer over a neutral ramp,
 * with every component reading tokens rather than literals. Swap the :root block
 * to re-skin the whole site.
 */

/* ---------- tokens ---------- */
:root {
	/* brand */
	--brand-ink: #182a4a; /* deep navy — headings, primary buttons */
	--brand: #2563eb; /* accent blue — links, gradients */
	--brand-lift: #60a5fa; /* lighter stop for gradients */
	--brand-wash: #edf3ff; /* tinted chip/section background */

	/* neutrals */
	--fg: #1e293b;
	--fg-muted: #64748b;
	--fg-subtle: #94a3b8;
	--bg: #ffffff;
	--bg-alt: #fbfbfc;
	--card: #ffffff;
	--stroke: #e6e9ef;
	--stroke-strong: #cbd5e1;

	/* semantic */
	--ok: #10b981;
	--off: #cbd5e1;

	/* type scale */
	--step-0: 0.9375rem;
	--step-1: 1.0625rem;
	--step-2: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
	--step-3: clamp(2rem, 1.3rem + 3vw, 3.25rem);
	--step-4: clamp(2.4rem, 1.4rem + 4.4vw, 4.25rem);

	/* rhythm */
	--radius: 14px;
	--radius-lg: 20px;
	--gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
	--section-y: clamp(3.5rem, 2rem + 7vw, 7rem);

	--shadow-sm: 0 1px 2px rgb(16 24 40 / 0.05);
	--shadow-md: 0 4px 14px -4px rgb(16 24 40 / 0.1), 0 2px 4px -2px rgb(16 24 40 / 0.05);
	--shadow-lg: 0 18px 40px -12px rgb(16 24 40 / 0.18);

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 5rem;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: var(--step-1);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img,
svg {
	display: block;
	max-width: 100%;
}
h1,
h2,
h3 {
	color: var(--brand-ink);
	line-height: 1.12;
	letter-spacing: -0.02em;
	text-wrap: balance;
	margin: 0;
}
p {
	margin: 0;
	text-wrap: pretty;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}
:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ---------- layout ---------- */
.container {
	width: min(100% - (var(--gutter) * 2), 1200px);
	margin-inline: auto;
}
.section {
	padding-block: var(--section-y);
}
.section--alt {
	background: var(--bg-alt);
	border-block: 1px solid var(--stroke);
}
.stack > * + * {
	margin-top: var(--stack, 1rem);
}
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--brand-ink);
	color: #fff;
	padding: 0.75rem 1rem;
	border-radius: 0 0 8px 0;
}
.skip-link:focus {
	left: 0;
}

/* ---------- type helpers ---------- */
.eyebrow {
	display: inline-block;
	background: var(--brand-wash);
	color: var(--brand-ink);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
}
/* Gradient text — the cleat.ai technique: paint a gradient into the glyph box
 * and knock out the fill. Needs display:inline-block to bound the gradient. */
.grad {
	display: inline-block;
	background: linear-gradient(90deg, var(--brand) 0%, var(--brand-ink) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}
.lede {
	color: var(--fg-muted);
	font-size: var(--step-1);
	max-width: 60ch;
}
.muted {
	color: var(--fg-muted);
}
.section-head {
	text-align: center;
	max-width: 46rem;
	margin-inline: auto;
	margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
}
.section-head h2 {
	font-size: var(--step-2);
	margin-block: 0.6rem 0.75rem;
}
.section-head .lede {
	margin-inline: auto;
}

/* ---------- buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 44px; /* touch target */
	padding: 0.6rem 1.35rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font-size: var(--step-0);
	font-weight: 600;
	white-space: nowrap;
	transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease);
}
.btn:hover {
	transform: translateY(-1px);
}
.btn:active {
	transform: translateY(0);
}
.btn--primary {
	background: var(--brand-ink);
	color: #fff;
	box-shadow: var(--shadow-md);
}
.btn--primary:hover {
	background: #22375e;
	box-shadow: var(--shadow-lg);
}
.btn--ghost {
	background: var(--card);
	color: var(--brand-ink);
	border-color: var(--stroke-strong);
}
.btn--ghost:hover {
	border-color: var(--brand);
	color: var(--brand);
}
.btn--block {
	display: flex;
	width: 100%;
}

/* Animated gradient CTA — cleat.ai drifts an oversized gradient and overlays a
 * white veil on hover, so one element reads as both alive and interactive. */
.btn--gradient {
	position: relative;
	overflow: hidden;
	color: #fff;
	background-image: linear-gradient(-45deg, var(--brand), var(--brand-lift), var(--brand-ink), var(--brand-lift));
	background-size: 400% 400%;
	animation: gradient-drift 10s linear infinite;
	box-shadow: var(--shadow-md);
}
.btn--gradient::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #fff;
	opacity: 0;
	transition: opacity 0.2s var(--ease);
	pointer-events: none;
}
.btn--gradient:hover::after {
	opacity: 0.18;
}
.btn--gradient > * {
	position: relative;
	z-index: 1;
}
@keyframes gradient-drift {
	0%,
	100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
}

/* ---------- header ---------- */
.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--stroke);
}
.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 68px;
}
.logo {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--brand-ink);
}
.logo__mark {
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--brand), var(--brand-ink));
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 0.9rem;
}
.nav {
	display: none;
	gap: 0.25rem;
}
.nav a {
	padding: 0.5rem 0.85rem;
	border-radius: 8px;
	font-size: var(--step-0);
	font-weight: 500;
	color: var(--fg-muted);
	transition: color 0.15s, background-color 0.15s;
}
.nav a:hover,
.nav a[aria-current="page"] {
	color: var(--brand-ink);
	background: var(--brand-wash);
}
.header__cta {
	display: none;
	align-items: center;
	gap: 0.75rem;
}
.nav-toggle {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--stroke-strong);
	border-radius: 10px;
	background: var(--card);
}
.mobile-nav {
	display: grid;
	gap: 0.25rem;
	padding: 0.75rem 0 1.25rem;
	border-top: 1px solid var(--stroke);
}
.mobile-nav[hidden] {
	display: none;
}
.mobile-nav a {
	padding: 0.8rem 0.5rem;
	border-radius: 8px;
	font-weight: 500;
}
.mobile-nav a:hover {
	background: var(--brand-wash);
}
@media (min-width: 960px) {
	.nav,
	.header__cta {
		display: flex;
	}
	.nav-toggle {
		display: none;
	}
	.mobile-nav {
		display: none !important;
	}
}

/* ---------- hero ---------- */
.hero {
	position: relative;
	padding-block: clamp(3rem, 1.5rem + 7vw, 6.5rem) var(--section-y);
	text-align: center;
	overflow: hidden;
}
.hero::before {
	/* soft radial wash behind the headline */
	content: "";
	position: absolute;
	inset: -40% 0 auto;
	height: 70%;
	background: radial-gradient(60% 60% at 50% 40%, var(--brand-wash) 0%, transparent 70%);
	pointer-events: none;
}
.hero > * {
	position: relative;
}
.hero h1 {
	font-size: var(--step-4);
	font-weight: 800;
	margin-bottom: 1.1rem;
}
.hero .lede {
	margin-inline: auto;
	font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem);
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 2rem;
}
.hero__proof {
	margin-top: 2.5rem;
	color: var(--fg-muted);
	font-size: var(--step-0);
}
.hero__proof strong {
	color: var(--brand-ink);
}

/* pill badge above the headline */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.5rem 0.4rem 0.4rem;
	border: 1px solid var(--stroke);
	border-radius: 999px;
	background: var(--card);
	box-shadow: var(--shadow-sm);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--fg-muted);
	margin-bottom: 1.5rem;
}
.badge__tag {
	background: var(--brand);
	color: #fff;
	border-radius: 999px;
	padding: 0.1rem 0.55rem;
	font-size: 0.75rem;
	font-weight: 700;
}

/* ---------- stat row ---------- */
.stats {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.stat {
	background: var(--card);
	border: 1px solid var(--stroke);
	border-radius: var(--radius);
	padding: 1.5rem;
	text-align: center;
	transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.stat:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-2px);
}
.stat__num {
	font-size: 2.25rem;
	font-weight: 800;
	color: var(--brand-ink);
	font-variant-numeric: tabular-nums;
	line-height: 1;
}
.stat__label {
	font-weight: 600;
	margin-top: 0.5rem;
}
.stat__note {
	font-size: 0.8125rem;
	color: var(--fg-muted);
	margin-top: 0.25rem;
}

/* ---------- how it works ---------- */
.steps {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	counter-reset: step;
}
.step {
	position: relative;
	background: var(--card);
	border: 1px solid var(--stroke);
	border-radius: var(--radius);
	padding: 2rem 1.35rem 1.35rem;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.step:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: var(--brand-lift);
}
.step__num {
	position: absolute;
	top: 0;
	left: 1.35rem;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 2.25rem;
	aspect-ratio: 1;
	border-radius: 999px;
	background: var(--card);
	border: 1px solid var(--brand-ink);
	color: var(--brand-ink);
	font-size: 0.8125rem;
	font-weight: 700;
}
.step__icon {
	display: grid;
	place-items: center;
	width: 56px;
	aspect-ratio: 1;
	border-radius: 16px;
	background: var(--brand-wash);
	color: var(--brand);
	margin-bottom: 1rem;
	transition: transform 0.5s var(--ease);
}
.step:hover .step__icon {
	transform: scale(1.08) rotate(-4deg);
}
.step h3 {
	font-size: 1.0625rem;
	margin-bottom: 0.4rem;
}
.step p {
	font-size: var(--step-0);
	color: var(--fg-muted);
}

/* ---------- pricing ---------- */
.billing-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.3rem;
	border: 1px solid var(--stroke);
	border-radius: 999px;
	background: var(--bg-alt);
	margin-inline: auto;
}
.billing-toggle button {
	position: relative;
	border: 0;
	background: transparent;
	border-radius: 999px;
	padding: 0.5rem 1.1rem;
	font-size: var(--step-0);
	font-weight: 600;
	color: var(--fg-muted);
	transition: color 0.2s var(--ease);
}
.billing-toggle button[aria-pressed="true"] {
	background: var(--brand-ink);
	color: #fff;
}
.billing-toggle .save {
	display: inline-block;
	margin-left: 0.4rem;
	font-size: 0.6875rem;
	font-weight: 700;
	color: var(--ok);
}
.billing-toggle button[aria-pressed="true"] .save {
	color: #6ee7b7;
}

.plans {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	align-items: start;
}
@media (min-width: 1100px) {
	.plans {
		grid-template-columns: repeat(4, 1fr);
	}
}
.plan {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--card);
	border: 1px solid var(--stroke);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.plan:hover {
	box-shadow: var(--shadow-lg);
	border-color: var(--stroke-strong);
}
@media (min-width: 1100px) {
	.plan:hover {
		transform: translateY(-4px);
	}
}
.plan--featured {
	border-color: var(--brand);
	box-shadow: var(--shadow-lg);
}
@media (min-width: 1100px) {
	.plan--featured {
		transform: scale(1.02);
	}
	.plan--featured:hover {
		transform: scale(1.02) translateY(-4px);
	}
}
/* Corner ribbon — cleat.ai's "POPULAR" flag. A rotated bar clipped by the card's
 * overflow:hidden, so it needs no extra geometry. */
.plan__ribbon {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	transform: translate(29%, 24%) rotate(45deg);
	background: linear-gradient(90deg, var(--brand), var(--brand-ink));
	color: #fff;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 0.3rem 2.25rem;
}
.plan__head {
	padding: 1.5rem 1.35rem 1.35rem;
	background: linear-gradient(180deg, var(--brand-wash) 0%, transparent 100%);
}
.plan--featured .plan__head {
	background: linear-gradient(180deg, #fdf2f8 0%, #eff6ff 100%);
}
.plan__name {
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.plan__price {
	display: flex;
	align-items: baseline;
	gap: 0.35rem;
	margin-top: 0.5rem;
	color: var(--brand-ink);
}
.plan__amount {
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
}
.plan__unit {
	font-size: 0.8125rem;
	color: var(--fg-muted);
}
.plan__terms {
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--fg-muted);
	/* reserve the row even when empty so every card's CTA lands on one line */
	min-height: 1.1rem;
	margin-top: 0.35rem;
}
.plan__pitch {
	font-size: 0.8125rem;
	color: var(--fg-muted);
	min-height: 2.6rem; /* row-align pitches across cards */
	margin-top: 0.75rem;
}
.plan__cta {
	margin-top: 1rem;
}
.plan__note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-height: 22px;
	margin-top: 0.6rem;
	font-size: 0.75rem;
	color: var(--fg-muted);
}

/* Slot-machine price digits. Each digit is a 0–9 column translated by -Nem.
 * The visual columns are aria-hidden; the wrapper carries the real value. */
.odo {
	display: inline-flex;
	font-variant-numeric: tabular-nums;
}
.odo__digit {
	position: relative;
	display: inline-block;
	width: 1ch;
	height: 1em;
	overflow: hidden;
	vertical-align: baseline;
}
.odo__reel {
	display: flex;
	flex-direction: column;
	transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}
.odo__reel span {
	display: flex;
	height: 1em;
	flex-shrink: 0;
	align-items: flex-end;
	justify-content: center;
	line-height: 1;
}

.plan__features {
	padding: 0 1.35rem 1.5rem;
}
.feature-group + .feature-group {
	margin-top: 1.1rem;
}
.feature-group__title {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	width: 100%;
	border: 0;
	background: transparent;
	padding: 0 0 0.5rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--fg-subtle);
}
.feature-group__title svg {
	transition: transform 0.2s var(--ease);
}
.feature-group__title[aria-expanded="false"] svg {
	transform: rotate(-90deg);
}
.feature-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.4rem;
}
.feature {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.8125rem;
	line-height: 1.45;
}
.feature__icon {
	flex-shrink: 0;
	width: 15px;
	height: 15px;
	margin-top: 0.15rem;
	color: var(--ok);
}
.feature__value {
	margin-left: auto;
	padding-left: 0.5rem;
	font-weight: 700;
	font-size: 0.75rem;
	color: var(--brand-ink);
	white-space: nowrap;
}
/* Excluded features stay visible but recede — the grid reads as one shape and
 * the upgrade delta is legible at a glance. */
.feature--off {
	color: var(--fg-subtle);
}
.feature--off .feature__icon {
	color: var(--off);
}

/* mobile disclosure for the long feature lists */
.plan__disclose {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	width: 100%;
	border: 0;
	border-top: 1px solid var(--stroke);
	background: transparent;
	padding: 0.9rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--fg-muted);
}
.plan__disclose svg {
	transition: transform 0.2s var(--ease);
}
.plan__disclose[aria-expanded="true"] svg {
	transform: rotate(180deg);
}
@media (min-width: 1100px) {
	.plan__disclose {
		display: none;
	}
	.plan__features[data-collapsed="true"] {
		display: block;
	}
}
@media (max-width: 1099px) {
	.plan__features[data-collapsed="true"] {
		display: none;
	}
}

/* ---------- comparison table ---------- */
.table-scroll {
	overflow-x: auto;
	border: 1px solid var(--stroke);
	border-radius: var(--radius);
	background: var(--card);
}
.cmp {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: var(--step-0);
}
.cmp th,
.cmp td {
	padding: 0.85rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--stroke);
}
.cmp thead th {
	position: sticky;
	top: 0;
	background: var(--bg-alt);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--fg-subtle);
}
.cmp td:not(:first-child),
.cmp th:not(:first-child) {
	text-align: center;
}
.cmp tbody tr:hover {
	background: var(--brand-wash);
}
.cmp tr:last-child td {
	border-bottom: 0;
}

/* ---------- faq ---------- */
.faq {
	max-width: 46rem;
	margin-inline: auto;
	display: grid;
	gap: 0.6rem;
}
.faq details {
	border: 1px solid var(--stroke);
	border-radius: var(--radius);
	background: var(--card);
	overflow: hidden;
}
.faq details[open] {
	border-color: var(--brand-lift);
}
.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.05rem 1.25rem;
	font-weight: 600;
	font-size: var(--step-0);
	color: var(--brand-ink);
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: "+";
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--fg-subtle);
	transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after {
	transform: rotate(45deg);
}
.faq p {
	padding: 0 1.25rem 1.15rem;
	font-size: var(--step-0);
	color: var(--fg-muted);
}

/* ---------- cta band ---------- */
.cta-band {
	background: linear-gradient(135deg, var(--brand-ink) 0%, #24406f 55%, var(--brand) 100%);
	border-radius: var(--radius-lg);
	padding: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
	text-align: center;
	color: #fff;
}
.cta-band h2 {
	color: #fff;
	font-size: var(--step-2);
	margin-bottom: 0.75rem;
}
.cta-band p {
	color: #c7d7f0;
	max-width: 46ch;
	margin-inline: auto;
}
.cta-band .btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgb(255 255 255 / 0.35);
}
.cta-band .btn--ghost:hover {
	background: rgb(255 255 255 / 0.1);
	color: #fff;
	border-color: #fff;
}
.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 1.75rem;
}
.cta-band .btn--primary {
	background: #fff;
	color: var(--brand-ink);
}
.cta-band .btn--primary:hover {
	background: #eef4ff;
}

/* ---------- footer ---------- */
.footer {
	border-top: 1px solid var(--stroke);
	background: var(--bg-alt);
	padding-block: 3rem 2rem;
	font-size: var(--step-0);
}
.footer__grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}
.footer__brand p {
	color: var(--fg-muted);
	font-size: 0.8125rem;
	margin-top: 0.75rem;
	max-width: 32ch;
}
.footer h3 {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--fg-subtle);
	margin-bottom: 0.85rem;
}
.footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}
.footer a {
	color: var(--fg-muted);
}
.footer a:hover {
	color: var(--brand);
}
.footer__base {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--stroke);
	color: var(--fg-subtle);
	font-size: 0.8125rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	justify-content: space-between;
}

/* ---------- scroll reveal ----------
 * Ported from cleat.ai: one class, four custom properties, and a data attribute
 * an IntersectionObserver flips. Direction/delay/duration are set per-element
 * inline, so a single rule drives every entrance on the site.
 * The <noscript> fallback in each page forces the visible state.
 */
.reveal {
	opacity: 0;
	transform: translate3d(var(--reveal-x, 0), var(--reveal-y, 16px), 0) scale(var(--reveal-scale, 1));
	transition: opacity var(--reveal-dur, 600ms) var(--ease), transform var(--reveal-dur, 600ms) var(--ease);
	transition-delay: var(--reveal-delay, 0ms);
	will-change: opacity, transform;
}
.reveal[data-reveal-in="true"] {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.odo__reel,
	.btn,
	.step,
	.step__icon,
	.plan,
	.stat {
		transition: none !important;
		animation: none !important;
	}
	.btn--gradient {
		animation: none !important;
	}
}

/* screen-reader-only, used for the LLM/SEO summary block */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}
