/* ==========================================================================
   Trively — Base
   Design tokens, reset y utilitarios base.
   ========================================================================== */

:root {
	/* Colores de marca */
	--tvl-brand: #002155;
	--tvl-brand-dark: #011a44;
	--tvl-brand-darker: #01112c;
	--tvl-indigo: #3f52e3;
	--tvl-indigo-dark: #2e3a87;
	--tvl-indigo-lightest: #ebedfc;

	/* Grises */
	--tvl-gray-100: #f3f4f5;
	--tvl-gray-200: #e9ecef;
	--tvl-gray-300: #dee2e6;
	--tvl-gray-600: #6c757d;
	--tvl-gray-700: #495057;
	--tvl-gray-900: #212529;

	/* Funcionales */
	--tvl-white: #ffffff;
	--tvl-black: #000000;
	--tvl-bg: #ffffff;
	--tvl-text: var(--tvl-gray-900);
	--tvl-muted: var(--tvl-gray-600);
	--tvl-border: var(--tvl-gray-200);
	--tvl-card-border: var(--tvl-gray-300);
	--tvl-star: #f5b301;

	/* Layout */
	--tvl-max-width: 1280px;
	--tvl-radius-sm: 16px;
	--tvl-radius-md: 32px;
	--tvl-radius-lg: 50px;
	--tvl-radius-pill: 100px;

	/* Tipografía */
	--tvl-font-sans:
		"Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--tvl-font-display: "Oswald", "Source Sans 3", sans-serif;

	/* Espaciado */
	--tvl-gap-1: 8px;
	--tvl-gap-2: 16px;
	--tvl-gap-3: 24px;
	--tvl-gap-4: 32px;
	--tvl-gap-5: 48px;
	--tvl-gap-6: 64px;

	/* Sombras */
	--tvl-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
	--tvl-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
	--tvl-shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.1);
}

/* ---------- Reset básico ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--tvl-font-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--tvl-text);
	background-color: var(--tvl-bg);
	overflow-x: hidden;
}

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

a {
	color: var(--tvl-indigo);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	line-height: 1.2;
	font-family: var(--tvl-font-sans);
	font-weight: 700;
	color: var(--tvl-gray-900);
}

p {
	margin: 0 0 1em;
}

button {
	font-family: inherit;
	cursor: pointer;
}

/* Accesibilidad */
.screen-reader-text,
.visually-hidden {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	width: 1px;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
}

*[hidden],
.hidden {
	display: none !important;
}

/* ---------- Layout ---------- */
.tvl-container {
	width: 100%;
	max-width: var(--tvl-max-width);
	margin: 0 auto;
	padding-left: 32px;
	padding-right: 32px;
}

.tvl-site-main {
	display: block;
}

.tvl-post-header {
	margin-top: 120px;
}

/* ---------- Tipografía de sección ---------- */
.tvl-section-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--tvl-gap-2);
	margin-bottom: var(--tvl-gap-5);
}

.tvl-section-head--center {
	align-items: center;
	text-align: center;
}

.tvl-section-head.no-margin {
	margin-bottom: 0;
}

.tvl-section-head.feature-tabs {
	margin-bottom: var(--tvl-gap-4);
}

.tvl-section-title {
	font-size: 36px;
	line-height: 1;
	font-weight: 700;
	color: var(--tvl-gray-900);
	max-width: 800px;
}

.tvl-section-head.feature-tabs .tvl-section-title {
	margin-bottom: 0;
}

.tvl-section-sub {
	font-size: 18px;
	color: var(--tvl-gray-600);
	max-width: 600px;
	margin: 0;
}

.tvl-eyebrow {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tvl-brand);
	margin: 0;
}

.tvl-section-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--tvl-gap-1);
	margin-top: var(--tvl-gap-4);
}
