/* Base layout and typography --------------------------------------------- */
:root {
	/* Bright theme tokens requested: #81C7D4, #E87A90, #FEDFE1 */
	--accent-a: #81C7D4;
	/* cool cyan */
	--accent-b: #E87A90;
	/* warm pink */
	--accent-c: #FEDFE1;
	/* pale highlight */
	--bg: #fff;
	--card: #ffffff;
	--muted: #55606a;
	--glass: rgba(0, 0, 0, 0.03);
	--max-width: 980px;
	--radius: 12px;

	/* Spacing scale (t-shirt sizes) */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 64px;

	/* Container padding clamp for responsive gutters */
	--container-pad: clamp(var(--space-4), 4vw, var(--space-6));

	/* Typographic scale */
	--base-size: 16px;
	/* used as reference */
	--lead: 1.5;
	/* line-height multiplier for lead paragraphs */
	--measure: 66ch;
	/* comfortable measure for text blocks */
}

* {
	box-sizing: border-box
}

html,
html {
	font-size: var(--base-size);
}

body {
	height: 100%
}

body {
	margin: 0;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
	background: linear-gradient(180deg, var(--accent-a) 0%, var(--accent-c) 100%);
	color: #0b1520;
	/* dark text for contrast on bright background */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.45;
	font-size: 1rem;
	/* equals --base-size */
}

.container {
	max-width: var(--max-width);
	margin: var(--space-7) auto var(--space-6);
	padding: var(--space-6) var(--container-pad) var(--space-5);
}

.breadcrumb {
	margin-bottom: var(--space-5);
}

.home-link {
	display: inline-block;
	color: #0b1520;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: color .2s ease, transform .16s ease;
}

.home-link:hover {
	color: var(--accent-b);
	transform: translateX(-2px);
}

header {
	display: flex;
	/* fix invalid value */
	flex-direction: column;
	/* stack icon and text */
	align-items: center;
	/* center horizontally */
	justify-content: center;
	text-align: center;
	/* center text inside */
	gap: var(--space-4);
	margin-bottom: var(--space-6);
}

.header-meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	/* center inner elements */
	gap: 6px;
}

.header-text .slogan {
	margin: 0;
	font-size: 1rem;
	color: #0b1520;
	font-weight: 600
}

.header-text .tagline {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem
}

.app-icon {
	width: 64px;
	height: 64px;
	background: linear-gradient(180deg, var(--accent-c), #ffffff);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(24, 36, 50, 0.06);
	border: 1px solid rgba(11, 21, 32, 0.06);
}

.app-icon-img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	display: block
}

.app-name {
	font-size: 1.25rem;
	margin: 0;
	font-weight: 700;
	letter-spacing: 0.2px;
}

/* Hero --------------------------------------------------------------- */
.hero {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
	border-radius: calc(var(--radius) + 4px);
	padding: var(--space-6) clamp(var(--space-5), 5vw, var(--space-7));
	margin: 0 auto var(--space-6);
	max-width: 760px;
}

.slogan {
	margin: 0 0 10px 0;
	font-size: 1.3rem;
	color: var(--accent-a);
	font-weight: 700;
	letter-spacing: 0.1px;
}

.tagline {
	margin: 0 0 12px 0;
	color: var(--muted);
	max-width: var(--measure);
}

.description {
	margin: 0 0 10px 0;
	color: #14262f;
	max-width: var(--measure);
	line-height: var(--lead);
}

.gallery-link {
	display: inline-block;
	margin-top: var(--space-3);
	text-decoration: none;
	background: linear-gradient(180deg, var(--accent-a), var(--accent-b));
	color: #fff;
	padding: var(--space-3) var(--space-5);
	border-radius: var(--radius);
	font-weight: 600;
	letter-spacing: .3px;
	transition: transform .16s ease, box-shadow .18s ease, opacity .12s ease;
}

.gallery-link:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(129, 199, 212, 0.16);
	opacity: 0.98
}

/* Center the wrapper that contains the gallery link */
section>div:has(> .gallery-link) {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 12px 0;
}

/* Cards CTA --------------------------------------------------------- */
.cards-cta {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: var(--space-5) 0;
}

.cards-link {
	display: inline-block;
	text-decoration: none;
	background: linear-gradient(180deg, var(--accent-b), rgba(232, 122, 144, 0.85));
	color: #fff;
	padding: var(--space-3) var(--space-5);
	border-radius: var(--radius);
	font-weight: 600;
	letter-spacing: .3px;
	transition: transform .16s ease, box-shadow .18s ease, opacity .12s ease;
}

.cards-link:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(232, 122, 144, 0.16);
	opacity: 0.98
}

/* CTA / App store --------------------------------------------------- */
.cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-3);
	margin: var(--space-7) 0 var(--space-6);
}

.app-store-button img {
	display: block;
	border-radius: 10px;
	max-width: 240px;
	width: 100%;
	height: auto;
}

.app-info {
	color: var(--muted);
	margin: 0;
	text-align: center;
}

/* Features and cards ------------------------------------------------ */
.features {
	margin-top: var(--space-7);
}

.features h3 {
	margin: 8px 0 14px 0
}

.feature-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--space-4);
}

.card {
	background: linear-gradient(180deg, #fff, #fff);
	padding: var(--space-5) var(--space-5) var(--space-4);
	border-radius: var(--radius);
	box-shadow: 0 4px 14px rgba(14, 28, 40, 0.05);
	border: 1px solid rgba(11, 21, 32, 0.06);
	position: relative;
}

.card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(120deg, rgba(129, 199, 212, 0.08), rgba(232, 122, 144, 0.08) 60%, rgba(254, 223, 225, 0.08));
	opacity: 0;
	transition: opacity .3s ease;
}

.card:hover::after {
	opacity: 1;
}

.card-title {
	margin: 0 0 var(--space-2) 0;
	font-size: 1.04rem;
	color: #10202a;
}

.card-body {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem
}

.promo {
	margin: var(--space-5) 0 var(--space-3) 0;
	color: #123243;
}

.keywords {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem
}

/* Footer ------------------------------------------------------------ */
footer {
	margin-top: var(--space-8);
	padding-top: var(--space-4);
	border-top: 1px solid rgba(11, 21, 32, 0.08);
	color: var(--muted);
	font-size: 0.88rem;
}

footer a {
	color: var(--accent-b);
	text-decoration: none;
	font-weight: 600
}

footer a:hover {
	text-decoration: underline
}

/* Responsive tweaks ------------------------------------------------- */
@media (max-width:860px) {
	.container {
		margin: var(--space-6) auto var(--space-5);
		padding: var(--space-5) var(--space-5) var(--space-4);
	}

	.hero {
		padding: var(--space-5) var(--space-5) var(--space-5);
	}
}

@media (max-width:420px) {
	.app-name {
		font-size: 1.08rem
	}

	.slogan {
		font-size: 1rem
	}

	header {
		gap: var(--space-3);
	}

	.app-icon {
		width: 52px;
		height: 52px
	}

	.app-icon-img {
		width: 40px;
		height: 40px
	}

	.card {
		padding: var(--space-4) var(--space-4) var(--space-3);
	}
}

/* Accessibility helpers -------------------------------------------- */
a:focus,
button:focus {
	outline: 3px solid rgba(232, 185, 138, 0.18);
	outline-offset: 3px
}

/* Small utility classes --------------------------------------------- */
.muted {
	color: var(--muted)
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0
}

/* End of file ------------------------------------------------------- */