*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	/* scroll-behavior managed by Lenis — do NOT set `smooth` here,
	   it would fight with Lenis's own interpolation. */
	-webkit-text-size-adjust: 100%;
}

html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	color: var(--ciclic-dark);
	background-color: var(--ciclic-cream);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

button {
	font-family: inherit;
	cursor: pointer;
	border: 0;
	background: transparent;
}

.site-main {
	position: relative;
}

.text-balance {
	text-wrap: balance;
}

/* Anchor targets used by the floating menu & CTAs. Offsets the scroll
   position so the section title is not hidden under the fixed menu pill. */
#hero,
#ventajas,
#como-funciona,
#caso-de-exito,
#basetis,
#demo {
	scroll-margin-top: 5rem;
}

/* ============================================================
   Custom type scale — mirror of app/globals.css text-* utilities
   All use em-based clamp to scale with the root font size.
   ============================================================ */

.text-120 {
	font-size: clamp(2em, 1.5em + 2.5vw, 6.25em);
	line-height: 1;
	letter-spacing: -0.05em;
}

.text-86 {
	font-size: clamp(1.5em, 1em + 2vw, 4.5em);
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.text-80 {
	font-size: clamp(1.25em, 0.875em + 1.75vw, 4.25em);
	line-height: 1.1;
	letter-spacing: -0.035em;
}

.text-70 {
	font-size: clamp(1.125em, 0.75em + 1.5vw, 3.5em);
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.text-56 {
	font-size: clamp(1em, 0.625em + 1.25vw, 2.75em);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.text-40 {
	font-size: clamp(0.875em, 0.5em + 0.875vw, 2em);
	line-height: 1.4;
	letter-spacing: -0.01em;
}

.text-30 {
	font-size: clamp(0.75em, 0.5em + 0.625vw, 1.5em);
	line-height: 1.5;
	letter-spacing: 0;
}
