@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

:root {
	--brand: #c94f63;
	--brand-strong: #d15d6d;
	--brand-soft: rgba(201, 79, 99, 0.14);
	--canvas: #f7f5f4;
	--canvas-deep: #efecea;
	--ink: #1c1718;
	--ink-muted: #6b6365;
	--surface: #ffffff;
	--dark: #121011;
	--dark-muted: #a39a9c;
	--max: 42rem;
	--max-wide: 68rem;
	--radius: 1.25rem;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
	color: var(--ink);
	background:
		radial-gradient(120% 80% at 0% 0%, rgba(201, 79, 99, 0.12), transparent 55%),
		radial-gradient(90% 60% at 100% 10%, rgba(201, 79, 99, 0.08), transparent 50%),
		var(--canvas);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

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

a:hover {
	text-decoration: underline;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--brand);
	color: white;
	padding: 0.75rem 1rem;
	z-index: 100;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

.wrap {
	width: min(100% - 2rem, var(--max));
	margin-inline: auto;
}

.wrap-wide {
	width: min(100% - 2rem, var(--max-wide));
	margin-inline: auto;
}

/* Nav */
.site-header {
	padding: 1.25rem 0 0.5rem;
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--ink);
	text-decoration: none;
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: -0.02em;
}

.brand:hover {
	text-decoration: none;
}

.brand img {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 0.55rem;
}

.nav-link {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--brand);
	text-decoration: none;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	background: var(--brand-soft);
}

.nav-link:hover {
	text-decoration: none;
	background: rgba(201, 79, 99, 0.22);
}

/* Hero — stacked on mobile, split on large screens */
.hero {
	padding: 1.5rem 0 2.75rem;
}

.hero-grid {
	display: grid;
	gap: 1.75rem;
	align-items: center;
}

.hero-copy {
	text-align: center;
}

.eyebrow {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--brand);
	margin-bottom: 0.65rem;
	animation: rise 0.8s var(--ease) both;
}

.hero h1 {
	margin: 0;
	font-size: clamp(2.4rem, 10vw, 3.75rem);
	line-height: 1.05;
	letter-spacing: -0.04em;
	font-weight: 800;
	animation: rise 0.85s var(--ease) 0.05s both;
}

.tagline {
	margin: 0.85rem 0 0;
	font-size: clamp(1.15rem, 4vw, 1.5rem);
	font-weight: 600;
	color: var(--ink);
	animation: rise 0.9s var(--ease) 0.1s both;
}

.support {
	margin: 0.75rem auto 0;
	max-width: 28rem;
	color: var(--ink-muted);
	font-size: 1.02rem;
	animation: rise 0.95s var(--ease) 0.15s both;
}

.cta-row {
	margin-top: 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
	animation: rise 1s var(--ease) 0.2s both;
}

.app-store-badge img {
	width: 10rem;
}

.cta-note {
	margin: 0;
	font-size: 0.85rem;
	color: var(--ink-muted);
}

.hero-visual {
	margin: 0 auto;
	width: min(100%, 18rem);
	animation: rise 1s var(--ease) 0.15s both;
}

.hero-visual img {
	width: 100%;
	border-radius: 1.75rem;
	box-shadow: 0 28px 64px rgba(28, 23, 24, 0.18);
}

/* Sections */
.section {
	padding: 3rem 0;
}

.section-label {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--brand);
}

.section h2 {
	margin: 0;
	font-size: clamp(1.7rem, 6vw, 2.35rem);
	line-height: 1.15;
	letter-spacing: -0.03em;
	font-weight: 800;
}

.section-copy {
	margin: 0.75rem 0 0;
	color: var(--ink-muted);
	font-size: 1.02rem;
	max-width: 36rem;
}

.section.soft {
	background:
		radial-gradient(80% 60% at 100% 0%, rgba(201, 79, 99, 0.1), transparent 50%),
		var(--canvas-deep);
}

.section.dark {
	background:
		radial-gradient(90% 70% at 50% 0%, rgba(201, 79, 99, 0.28), transparent 55%),
		var(--dark);
	color: #f7f5f4;
}

.section.dark .section-copy {
	color: var(--dark-muted);
}

.section.dark .section-label {
	color: #f0a0ab;
}

/* How it works */
.how-grid {
	display: grid;
	gap: 1.75rem;
	margin-top: 1.75rem;
	align-items: start;
}

.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
	counter-reset: step;
}

.steps li {
	counter-increment: step;
	background: var(--surface);
	border-radius: var(--radius);
	padding: 1rem 1.1rem 1rem 3.25rem;
	position: relative;
	box-shadow: 0 1px 0 rgba(28, 23, 24, 0.04);
}

.steps li::before {
	content: counter(step);
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 999px;
	background: var(--brand);
	color: white;
	font-size: 0.8rem;
	font-weight: 700;
	display: grid;
	place-items: center;
}

.steps strong {
	display: block;
	font-size: 1rem;
	margin-bottom: 0.15rem;
}

.steps span {
	color: var(--ink-muted);
	font-size: 0.95rem;
}

.how-visual {
	width: min(100%, 16rem);
	margin: 0 auto;
}

.how-visual img {
	width: 100%;
	border-radius: 1.5rem;
	box-shadow: 0 18px 48px rgba(28, 23, 24, 0.14);
}

/* Features — one section */
.features-intro {
	text-align: center;
	max-width: 34rem;
	margin: 0 auto;
}

.features-intro .section-copy {
	margin-inline: auto;
}

.feature-mosaic {
	margin-top: 1.75rem;
	display: grid;
	gap: 0.85rem;
	grid-template-columns: 1fr 1fr;
}

.feature-mosaic .phone {
	grid-column: 1 / -1;
	width: min(100%, 16rem);
	margin: 0 auto;
}

.feature-mosaic img {
	width: 100%;
	border-radius: 1.15rem;
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.feature-points {
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.75rem;
}

.feature-points li {
	padding: 0.85rem 1rem;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-points strong {
	display: block;
	margin-bottom: 0.2rem;
}

.feature-points span {
	color: var(--dark-muted);
	font-size: 0.95rem;
}

/* FAQ */
.faq {
	padding: 3rem 0 2rem;
}

.faq h2 {
	text-align: center;
	margin: 0 0 1.5rem;
	font-size: clamp(1.7rem, 6vw, 2.15rem);
	letter-spacing: -0.03em;
}

.faq details {
	background: var(--surface);
	border-radius: 1rem;
	padding: 1rem 1.15rem;
	margin-bottom: 0.75rem;
	box-shadow: 0 1px 0 rgba(28, 23, 24, 0.04);
}

.faq summary {
	cursor: pointer;
	font-weight: 700;
	letter-spacing: -0.01em;
	list-style: none;
}

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

.faq summary::after {
	content: "+";
	float: right;
	color: var(--brand);
	font-weight: 700;
}

.faq details[open] summary::after {
	content: "–";
}

.faq details p {
	margin: 0.75rem 0 0;
	color: var(--ink-muted);
}

/* Download band */
.download {
	padding: 3rem 0;
	text-align: center;
	background:
		radial-gradient(70% 80% at 50% 100%, rgba(201, 79, 99, 0.18), transparent 60%),
		var(--canvas-deep);
}

.download .wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.download h2 {
	margin: 0;
	font-size: clamp(1.7rem, 6vw, 2.2rem);
	letter-spacing: -0.03em;
}

.download p {
	margin: 0.65rem auto 1.25rem;
	max-width: 26rem;
	color: var(--ink-muted);
}

.download .app-store-badge {
	display: inline-flex;
	justify-content: center;
}

.download .app-store-badge img {
	margin-inline: auto;
}

/* Footer */
.site-footer {
	padding: 1.75rem 0 2.25rem;
	border-top: 1px solid rgba(28, 23, 24, 0.08);
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	align-items: center;
	justify-content: space-between;
	color: var(--ink-muted);
	font-size: 0.92rem;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.1rem;
}

.footer-links a {
	color: var(--ink-muted);
}

.footer-links a:hover {
	color: var(--brand);
}

/* Legal pages */
.legal {
	padding: 2rem 0 3.5rem;
	width: min(100% - 2rem, 42rem);
	margin-inline: auto;
}

.legal h1 {
	margin: 0 0 0.5rem;
	font-size: clamp(2rem, 7vw, 2.6rem);
	letter-spacing: -0.03em;
}

.legal .updated {
	color: var(--ink-muted);
	margin-bottom: 1.5rem;
}

.legal h2 {
	margin: 2rem 0 0.65rem;
	font-size: 1.2rem;
}

.legal h3 {
	margin: 1.25rem 0 0.5rem;
	font-size: 1.05rem;
}

.legal p,
.legal li {
	color: #3a3335;
}

.legal ul {
	padding-left: 1.2rem;
}

.legal-nav {
	padding: 1.25rem 0 0;
}

.legal-nav a {
	font-weight: 600;
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* Tablet+ — how-it-works side by side */
@media (min-width: 720px) {
	.wrap {
		width: min(100% - 3rem, var(--max));
	}

	.wrap-wide {
		width: min(100% - 3rem, var(--max-wide));
	}

	.how-grid {
		grid-template-columns: 0.85fr 1.15fr;
		align-items: center;
		gap: 2.5rem;
	}

	.how-visual {
		margin: 0;
		width: 100%;
		max-width: 18rem;
		justify-self: start;
	}

	/* Phone + 2×2 cards: card width sized so two rows ≈ phone height */
	.feature-mosaic {
		--phone-w: 16.5rem;
		--card-w: calc(var(--phone-w) * 0.77);
		grid-template-columns: var(--phone-w) var(--card-w) var(--card-w);
		gap: 0.75rem;
		align-items: start;
		justify-content: center;
		width: fit-content;
		max-width: 100%;
		margin-inline: auto;
	}

	.feature-mosaic .phone {
		grid-column: 1;
		grid-row: 1 / span 2;
		width: 100%;
		max-width: none;
		margin: 0;
		height: auto;
		object-fit: contain;
		align-self: start;
	}

	.feature-mosaic .card {
		width: 100%;
		height: auto;
		object-fit: contain;
	}

	.feature-points {
		grid-template-columns: 1fr 1fr;
		gap: 0.85rem;
	}
}

/* Desktop hero — two columns */
@media (min-width: 900px) {
	.hero {
		padding: 2.5rem 0 3.5rem;
	}

	.hero-grid {
		grid-template-columns: 1.05fr 0.95fr;
		gap: 3rem;
		min-height: min(70vh, 40rem);
	}

	.hero-copy {
		text-align: left;
	}

	.support {
		margin-left: 0;
		margin-right: 0;
	}

	.cta-row {
		align-items: flex-start;
	}

	.hero-visual {
		width: min(100%, 22rem);
		margin: 0;
		justify-self: end;
	}

	.hero h1 {
		font-size: clamp(3rem, 5vw, 4rem);
	}
}
