/*
	Promesas landing
	Keeps the Dimension look (sunset background, Source Sans Pro,
	uppercase letter-spaced UI, outlined buttons) in a scrolling layout.
*/

:root {
	--text: #ffffff;
	--text-soft: rgba(255, 255, 255, 0.82);
	--text-muted: rgba(255, 255, 255, 0.6);
	--ink: #1b1f22;
	--panel: rgba(27, 31, 34, 0.55);
	--panel-strong: rgba(27, 31, 34, 0.8);
	--line: rgba(255, 255, 255, 0.35);
	--line-soft: rgba(255, 255, 255, 0.15);
	--accent: #ffb070;
	--radius: 14px;
	--max: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
	margin: 0;
	background: #1b1f22;
	color: var(--text);
	font-family: "Source Sans Pro", sans-serif;
	font-weight: 300;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

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

h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; margin: 0; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.container.narrow { max-width: 820px; }

/* Background (same image + overlay as before, fixed behind the page) */

	#bg {
		position: fixed;
		inset: 0;
		z-index: -1;
		background-image:
			linear-gradient(to bottom, rgba(12, 14, 18, 0.45), rgba(12, 14, 18, 0.7)),
			url("../../images/overlay.png"),
			url("../../images/bg.jpg");
		background-size: auto, 256px 256px, cover;
		background-repeat: no-repeat, repeat, no-repeat;
		background-position: center;
	}

/* Buttons (Dimension style) */

	.button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 0.6rem;
		height: 2.75rem;
		padding: 0 1.4rem;
		border-radius: 4px;
		box-shadow: inset 0 0 0 1px var(--text);
		background: transparent;
		color: var(--text);
		font-weight: 600;
		font-size: 0.8rem;
		letter-spacing: 0.2rem;
		text-transform: uppercase;
		white-space: nowrap;
		cursor: pointer;
		transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
	}

	.button:hover { background-color: rgba(255, 255, 255, 0.08); }

	.button.primary { background: var(--text); color: var(--ink); }

	.button.primary:hover { background: rgba(255, 255, 255, 0.88); transform: translateY(-1px); }

	.button.small { height: 2.25rem; padding: 0 1rem; font-size: 0.7rem; letter-spacing: 0.15rem; }

	.button.large { height: 3.25rem; padding: 0 1.8rem; font-size: 0.85rem; }

	.button .fab { font-size: 1.35em; letter-spacing: 0; }

	.actions { display: flex; flex-wrap: wrap; gap: 1rem; }

	.actions.center { justify-content: center; }

/* Nav */

	.nav {
		position: sticky;
		top: 0;
		z-index: 10;
		transition: background-color 0.3s ease, box-shadow 0.3s ease;
	}

	.nav.is-scrolled {
		background: rgba(19, 21, 25, 0.75);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		box-shadow: 0 1px 0 var(--line-soft);
	}

	.nav-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1.5rem;
		height: 4.5rem;
	}

	.brand {
		display: inline-flex;
		align-items: center;
		gap: 0.6rem;
		font-weight: 600;
		letter-spacing: 0.2rem;
		text-transform: uppercase;
	}

	.brand img { width: 2.4rem; height: 2.4rem; }

	.nav-links { display: flex; gap: 2rem; }

	.nav-links a {
		font-size: 0.75rem;
		font-weight: 600;
		letter-spacing: 0.2rem;
		text-transform: uppercase;
		opacity: 0.85;
		transition: opacity 0.2s ease;
	}

	.nav-links a:hover { opacity: 1; }

/* Hero */

	.hero { padding: 3rem 0 4rem; }

	.hero-inner {
		display: grid;
		grid-template-columns: 1.05fr 0.95fr;
		align-items: center;
		gap: 3rem;
	}

	.hero-title {
		font-size: clamp(2.8rem, 6vw, 4.75rem);
		line-height: 1.05;
		letter-spacing: -0.01em;
		margin-bottom: 1.5rem;
	}

	.hl {
		display: inline-block;
		padding: 0 0.3em 0.06em;
		margin: 0.08em 0;
		border-radius: 0.18em;
		background: var(--text);
		color: var(--ink);
	}

	.hero-subtitle {
		max-width: 32rem;
		font-size: 1.15rem;
		color: var(--text-soft);
		margin-bottom: 2rem;
	}

	.hero-note {
		margin-top: 1.25rem;
		font-size: 0.85rem;
		color: var(--text-muted);
	}

	.hero-note i { margin-right: 0.35rem; }

	.hero-media {
		position: relative;
		display: flex;
		justify-content: center;
		min-height: 520px;
	}

	.phone { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); }

	.hero-media .phone { position: absolute; width: 250px; }

	.hero-media .phone-front { left: 50%; top: 0; transform: translateX(-75%) rotate(-4deg); z-index: 2; }

	.hero-media .phone-back { left: 50%; top: 40px; transform: translateX(-15%) rotate(5deg); opacity: 0.95; }

/* Verse marquee */

	.marquee {
		overflow: hidden;
		padding: 1rem 0 2rem;
		-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
		mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	}

	.marquee-track {
		display: flex;
		gap: 1.25rem;
		width: max-content;
		animation: marquee 60s linear infinite;
	}

	.marquee:hover .marquee-track { animation-play-state: paused; }

	@keyframes marquee {
		to { transform: translateX(calc(-50% - 0.625rem)); }
	}

	.quote {
		margin: 0;
		width: 300px;
		padding: 1.4rem 1.5rem;
		border-radius: var(--radius);
		background: var(--panel);
		border: 1px solid var(--line-soft);
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
	}

	.quote blockquote { margin: 0 0 0.9rem; font-style: italic; color: var(--text-soft); }

	.quote figcaption {
		font-size: 0.7rem;
		font-weight: 600;
		letter-spacing: 0.2rem;
		text-transform: uppercase;
	}

/* Sections */

	.section { padding: 5rem 0; }

	.section-title {
		text-align: center;
		font-size: clamp(1.8rem, 3.5vw, 2.6rem);
		margin-bottom: 3rem;
	}

	.eyebrow {
		display: inline-block;
		margin-bottom: 0.9rem;
		font-size: 0.75rem;
		font-weight: 600;
		letter-spacing: 0.25rem;
		text-transform: uppercase;
		color: var(--accent);
	}

/* Feature cards */

	.grid {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 1.25rem;
	}

	.card {
		padding: 2rem 1.5rem;
		border-radius: var(--radius);
		background: var(--panel);
		border: 1px solid var(--line-soft);
		transition: transform 0.25s ease, border-color 0.25s ease;
	}

	.card:hover { transform: translateY(-4px); border-color: var(--line); }

	.card-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 3rem;
		height: 3rem;
		margin-bottom: 1.25rem;
		border-radius: 50%;
		border: 1px solid var(--text);
		font-size: 1.1rem;
	}

	.card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }

	.card p { color: var(--text-soft); font-size: 0.98rem; }

/* Alternating feature rows */

	.feature-row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		align-items: center;
		gap: 4rem;
	}

	.feature-row + .feature-row { margin-top: 6rem; }

	.feature-row.reverse .feature-media { order: 2; }

	.feature-media {
		display: flex;
		justify-content: center;
		padding: 2.5rem;
		background: radial-gradient(closest-side, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
	}

	.feature-media .phone { width: 260px; }

	.feature-media.pair { gap: 1rem; align-items: flex-start; }

	.feature-media.pair .phone { width: 220px; height: auto; }

	.feature-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 1.1rem; }

	.feature-copy p { color: var(--text-soft); font-size: 1.1rem; margin-bottom: 1.5rem; }

	.checks li { display: flex; gap: 0.75rem; align-items: baseline; padding: 0.35rem 0; }

	.checks i { color: var(--accent); font-size: 0.85rem; }

/* Topics band */

	.band {
		text-align: center;
		padding: 3.5rem 2rem;
		border-radius: 24px;
		background: var(--panel-strong);
		border: 1px solid var(--line-soft);
	}

	.band h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 0.6rem; }

	.band p { color: var(--text-soft); margin-bottom: 2rem; }

	.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

	.chips li {
		padding: 0.55rem 1.25rem;
		border-radius: 999px;
		box-shadow: inset 0 0 0 1px var(--line);
		font-size: 0.75rem;
		font-weight: 600;
		letter-spacing: 0.2rem;
		text-transform: uppercase;
	}

/* FAQ */

	.faq details { border-bottom: 1px solid var(--line-soft); }

	.faq details:first-child { border-top: 1px solid var(--line-soft); }

	.faq summary {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 1rem;
		padding: 1.3rem 0.25rem;
		font-weight: 600;
		font-size: 1.1rem;
		cursor: pointer;
		list-style: none;
	}

	.faq summary::-webkit-details-marker { display: none; }

	.faq summary::after {
		content: "+";
		font-size: 1.5rem;
		font-weight: 300;
		line-height: 1;
		transition: transform 0.2s ease;
	}

	.faq details[open] summary::after { transform: rotate(45deg); }

	.faq details p { padding: 0 0.25rem 1.4rem; color: var(--text-soft); }

	.faq a { border-bottom: 1px dotted var(--text); }

/* Final CTA */

	.cta { text-align: center; }

	.cta-logo { width: 5rem; height: 5rem; margin: 0 auto 1.5rem; }

	.cta h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 0.75rem; }

	.cta p { color: var(--text-soft); font-size: 1.15rem; margin-bottom: 2rem; }

/* Footer */

	.footer {
		background: rgba(19, 21, 25, 0.8);
		border-top: 1px solid var(--line-soft);
		padding-top: 3.5rem;
	}

	.footer-inner {
		display: grid;
		grid-template-columns: 2fr 1fr 1fr;
		gap: 2rem;
		padding-bottom: 2.5rem;
	}

	.footer-brand p { margin-top: 0.75rem; color: var(--text-muted); }

	.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }

	.footer-col h4 {
		font-size: 0.75rem;
		letter-spacing: 0.2rem;
		text-transform: uppercase;
		margin-bottom: 0.4rem;
	}

	.footer-col a { color: var(--text-soft); }

	.footer-col a:hover { color: var(--text); }

	.footer-bottom {
		padding-top: 1.25rem;
		padding-bottom: 1.5rem;
		border-top: 1px solid var(--line-soft);
		font-size: 0.75rem;
		letter-spacing: 0.15rem;
		text-transform: uppercase;
		color: var(--text-muted);
	}

/* Legal page */

	.legal { padding: 3rem 0 5rem; }

	.legal-card {
		padding: 3rem 2.5rem;
		border-radius: var(--radius);
		background: var(--panel-strong);
		border: 1px solid var(--line-soft);
	}

	.legal h1 {
		font-size: 1.6rem;
		letter-spacing: 0.4rem;
		text-transform: uppercase;
		padding-bottom: 0.75rem;
		margin-bottom: 1.5rem;
		border-bottom: 1px solid var(--text);
		display: inline-block;
	}

	.legal h3 { font-size: 1.05rem; letter-spacing: 0.1rem; text-transform: uppercase; margin: 2rem 0 0.6rem; }

	.legal p, .legal li { color: var(--text-soft); }

	.legal p + p { margin-top: 1rem; }

	.legal ul { list-style: disc; padding-left: 1.4rem; margin-top: 0.6rem; }

	.legal li { padding: 0.2rem 0; }

	.legal strong { color: var(--text); font-weight: 600; }

/* Responsive */

	@media (max-width: 980px) {
		.nav-links { display: none; }

		.hero-inner { grid-template-columns: 1fr; text-align: center; }

		.hero-subtitle { margin-left: auto; margin-right: auto; }

		.hero .actions { justify-content: center; }

		.hero-media { min-height: 480px; }

		.grid { grid-template-columns: repeat(2, 1fr); }

		.feature-row { grid-template-columns: 1fr; gap: 2rem; text-align: center; }

		.feature-row.reverse .feature-media { order: 0; }

		.checks { display: inline-block; text-align: left; }
	}

	@media (max-width: 600px) {
		body { font-size: 16px; }

		.container { padding: 0 1rem; }

		.hero { padding-top: 1.5rem; }

		.hero .button.large { width: 100%; }

		.hero-media { min-height: 400px; }

		.hero-media .phone { width: 190px; }

		.grid { grid-template-columns: 1fr; }

		.section { padding: 3.5rem 0; }

		.feature-row + .feature-row { margin-top: 4rem; }

		.feature-media { padding: 1.5rem; }

		.feature-media .phone { width: 220px; }

		.feature-media.pair { padding: 1.5rem 0; gap: 0.75rem; }

		.feature-media.pair .phone { width: calc(50% - 0.375rem); max-width: 170px; }

		.button.large { font-size: 0.72rem; letter-spacing: 0.12rem; padding: 0 1.2rem; }

		.footer-inner { grid-template-columns: 1fr 1fr; }

		.footer-brand { grid-column: 1 / -1; }

		.legal-card { padding: 2rem 1.25rem; }
	}

	@media (prefers-reduced-motion: reduce) {
		html { scroll-behavior: auto; }

		.marquee-track { animation: none; }

		.marquee { overflow-x: auto; }
	}
