/* CaPOS landing — compact, aligned layout */
:root {
	--brand: #f07474;
	--brand-deep: #e05555;
	--brand-soft: #ffe6e6;
	--accent: #2dd1ac;
	--accent-deep: #1fb894;
	--ink: #1a1f2e;
	--muted: #5a6272;
	--line: #e6e8ee;
	--paper: #f7f8fb;
	--card: #ffffff;
	--radius: 14px;
	--shadow: 0 10px 28px rgba(26, 31, 46, 0.07);
	--max: 1040px;
	--font-display: "Archivo Black", "Arial Black", system-ui, sans-serif;
	--font-body: "Source Sans 3", system-ui, sans-serif;
	--title-xl: clamp(3rem, 8vw, 4.5rem);
	--title-lg: clamp(2.5rem, 6vw, 3.5rem);
	--title-md: clamp(1.85rem, 4vw, 2.4rem);
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--paper);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }

.site-wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 20px;
}

/* ——— Topbar ——— */
.topbar {
	position: sticky;
	top: 0;
	z-index: 40;
	background: #fff;
	border-bottom: 1px solid var(--line);
}
.topbar-inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 16px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	position: relative;
}
.brand {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.35rem;
	color: var(--ink);
	letter-spacing: -0.02em;
	text-decoration: none;
	flex-shrink: 0;
	line-height: 1;
}
.brand:hover { text-decoration: none; }
.brand span { color: var(--brand); }

.nav-links {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
}
.nav-links a {
	color: var(--muted);
	text-decoration: none;
	font-size: 0.84rem;
	font-weight: 600;
	padding: 6px 8px;
	border-radius: 8px;
	white-space: nowrap;
	line-height: 1.2;
}
.nav-links a:hover {
	color: var(--brand);
	background: var(--brand-soft);
	text-decoration: none;
}
.nav-links .btn {
	margin-left: 6px;
	padding: 7px 12px;
	font-size: 0.82rem;
	border-radius: 8px;
	border-width: 0;
	box-shadow: none;
}
.nav-links .btn:hover { transform: none; }

.nav-toggle {
	display: none;
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 8px;
	padding: 7px 12px;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
	flex-shrink: 0;
}

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.nav-links {
		display: none;
		position: absolute;
		left: 12px;
		right: 12px;
		top: calc(100% + 6px);
		flex-direction: column;
		align-items: stretch;
		flex-wrap: wrap;
		gap: 2px;
		padding: 10px;
		background: #fff;
		border: 1px solid var(--line);
		border-radius: 12px;
		box-shadow: var(--shadow);
	}
	.nav-links.is-open { display: flex; }
	.nav-links a {
		padding: 10px 12px;
		white-space: normal;
	}
	.nav-links .btn {
		margin: 6px 0 0;
		justify-content: center;
	}
}

/* ——— Buttons ——— */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font: inherit;
	font-weight: 700;
	padding: 10px 16px;
	border-radius: 10px;
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none !important;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-primary {
	background: var(--brand);
	color: #fff !important;
}
.btn-primary:hover { background: var(--brand-deep); }
.btn-accent {
	background: var(--accent);
	color: #123 !important;
}
.btn-accent:hover { background: var(--accent-deep); color: #fff !important; }
.btn-ghost {
	background: transparent;
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.85);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-outline {
	background: #fff;
	color: var(--brand-deep) !important;
	border-color: var(--brand);
}
.btn-outline:hover { background: var(--brand-soft); }

/* ——— Hero ——— */
.hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		linear-gradient(115deg, rgba(26, 31, 46, 0.82) 0%, rgba(240, 116, 116, 0.78) 55%, rgba(45, 209, 172, 0.5) 100%),
		url("../../images/bg.jpg") center / cover no-repeat;
}
.hero-inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 48px 20px 40px;
	display: grid;
	gap: 24px;
	align-items: center;
}
@media (min-width: 800px) {
	.hero-inner {
		grid-template-columns: 1.25fr 0.75fr;
		padding: 56px 20px 48px;
	}
}
.hero-copy .eyebrow {
	display: inline-block;
	margin: 0 0 10px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.25);
	font-size: 0.8rem;
	font-weight: 600;
}
.hero-brand {
	font-family: var(--font-display);
	font-size: clamp(4rem, 11vw, 6.25rem);
	line-height: 0.88;
	margin: 0 0 20px;
	letter-spacing: -0.03em;
	font-weight: 400;
	text-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
}
.hero-brand span { color: #ffd0d0; }
.hero h1 {
	font-family: var(--font-display);
	font-size: var(--title-md);
	font-weight: 400;
	line-height: 1.08;
	margin: 0 0 16px;
	max-width: 16ch;
	letter-spacing: -0.025em;
	text-wrap: balance;
}
.hero p {
	margin: 0 0 20px;
	max-width: 32rem;
	font-size: 0.98rem;
	color: rgba(255, 255, 255, 0.92);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-visual {
	justify-self: center;
}
.hero-visual img {
	width: 160px;
	max-width: 42vw;
	filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.3));
}
@media (min-width: 800px) {
	.hero-visual img { width: 190px; }
}

/* ——— Sections ——— */
.section {
	padding: 48px 0;
	scroll-margin-top: 64px;
}
.section-alt {
	background: #fff;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.section-head {
	text-align: center;
	max-width: 42rem;
	margin: 0 auto 36px;
}
.section-head h2 {
	font-family: var(--font-display);
	font-size: var(--title-xl);
	font-weight: 400;
	margin: 0 0 18px;
	letter-spacing: -0.03em;
	line-height: 0.95;
	color: var(--ink);
	position: relative;
	display: inline-block;
	padding-bottom: 16px;
}
.section-head h2::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 56px;
	height: 5px;
	border-radius: 4px;
	transform: translateX(-50%);
	background: linear-gradient(90deg, var(--brand), var(--accent));
}
.section-head p {
	margin: 0 auto;
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.55;
	max-width: 34rem;
}

.feature-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) {
	.feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 920px) {
	.feature-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.feature {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px;
	box-shadow: var(--shadow);
}
.feature .icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: var(--brand-soft);
	color: var(--brand-deep);
	font-size: 1rem;
	margin-bottom: 10px;
}
.feature h3 {
	margin: 0 0 6px;
	font-family: var(--font-body);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--ink);
	line-height: 1.3;
}
.feature p {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
}

/* Preview — smaller phone frames */
.preview-strip {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding: 4px 2px 12px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}
.preview-strip figure {
	scroll-snap-align: start;
	margin: 0;
	flex: 0 0 120px;
	width: 120px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: #fff;
	box-shadow: var(--shadow);
}
.preview-strip img {
	width: 120px;
	height: 214px;
	object-fit: cover;
	object-position: top center;
}

/* Split blocks — constrain marketing images */
.split {
	display: grid;
	gap: 24px;
	align-items: center;
}
@media (min-width: 800px) {
	.split {
		grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
		gap: 36px;
	}
	.split.reverse {
		grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
	}
	.split.reverse .split-media { order: 2; }
}
.split h2 {
	font-family: var(--font-display);
	font-size: var(--title-lg);
	font-weight: 400;
	margin: 0 0 16px;
	letter-spacing: -0.03em;
	line-height: 0.98;
	color: var(--ink);
}
.split p {
	color: var(--muted);
	margin: 0 0 16px;
	font-size: 0.98rem;
}
.split-media {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	background: #fff;
	max-width: 280px;
	margin: 0 auto;
	width: 100%;
}
.split-media img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	object-position: center top;
}

/* Feature packs */
.pack-grid {
	display: grid;
	gap: 12px;
}
@media (min-width: 800px) {
	.pack-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.pack {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 16px;
	box-shadow: var(--shadow);
}
.pack h3 {
	margin: 0 0 12px;
	font-family: var(--font-body);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.25;
	color: var(--brand-deep);
}
.pack.premium h3 { color: var(--accent-deep); }
.pack ul { display: grid; gap: 6px; }
.pack li {
	position: relative;
	padding-left: 22px;
	color: var(--muted);
	font-size: 0.9rem;
}
.pack li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.4em;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: inset 0 0 0 3px #fff;
}

/* Pricing */
.price-grid {
	display: grid;
	gap: 12px;
}
@media (min-width: 800px) {
	.price-grid.plans,
	.price-grid.extras { grid-template-columns: repeat(3, 1fr); }
}
.price-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 16px;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 100%;
}
.price-card.featured {
	border-color: var(--brand);
	background: linear-gradient(180deg, #fff8f8 0%, #fff 45%);
}
.price-card .badge {
	align-self: flex-start;
	padding: 4px 8px;
	border-radius: 999px;
	background: var(--brand-soft);
	color: var(--brand-deep);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.price-card.featured .badge {
	background: var(--brand);
	color: #fff;
}
.price-card h3 {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.25;
}
.price-card .amount {
	font-family: var(--font-display);
	font-size: clamp(2rem, 3.5vw, 2.6rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1;
	margin: 0;
	color: var(--ink);
}
.price-card .amount s {
	display: block;
	font-size: 0.85rem;
	color: var(--muted);
	font-weight: 500;
}
.price-card .meta {
	color: var(--muted);
	font-size: 0.88rem;
	margin: 0;
}
.price-card ul {
	display: grid;
	gap: 6px;
	margin: 4px 0 10px;
	flex: 1;
}
.price-card li {
	padding-left: 18px;
	position: relative;
	color: var(--muted);
	font-size: 0.88rem;
}
.price-card li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--accent-deep);
	font-weight: 700;
}
.price-card .btn {
	width: 100%;
	margin-top: auto;
	padding: 9px 12px;
	font-size: 0.9rem;
}
.price-card img {
	width: auto;
	max-height: 64px;
	margin: 0 auto 4px;
}

/* CTA */
.cta-band {
	border-radius: 16px;
	padding: 28px 22px;
	text-align: center;
	color: #fff;
	background: linear-gradient(120deg, #f07474, #2dd1ac);
	box-shadow: var(--shadow);
}
.cta-band h2 {
	font-family: var(--font-display);
	font-size: var(--title-lg);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 0.98;
	margin: 0 0 14px;
}
.cta-band p {
	margin: 0 0 16px;
	opacity: 0.95;
	font-size: 0.95rem;
}
.cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

/* Teasers */
.teaser-grid {
	display: grid;
	gap: 12px;
}
@media (min-width: 700px) {
	.teaser-grid { grid-template-columns: 1fr 1fr; }
}
.teaser {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px 18px;
	box-shadow: var(--shadow);
}
.teaser h3 {
	font-family: var(--font-display);
	margin: 0 0 10px;
	font-size: var(--title-md);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.05;
}
.teaser p {
	margin: 0 0 14px;
	color: var(--muted);
	font-size: 0.94rem;
}

/* Footer */
.site-footer {
	padding: 28px 0 36px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.88rem;
	text-align: center;
	background: #fff;
}
.site-footer a { color: var(--brand-deep); font-weight: 600; }

/* Light reveal */
.reveal {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}
.reveal.is-in {
	opacity: 1;
	transform: none;
}
