/**
 * Component: Catch Log Feature — styles
 * Figma: node 11383:3038 — "02 CAPTURE" section with overlapping 3-panel app UI mockup.
 * Scoped to .catch-log-feature (BEM root). No global selectors.
 */

/* ── Section root ─────────────────────────────────────────── */
.catch-log-feature {
	background-color: var(--color-bg);
	padding-block: 7.5rem;
	padding-inline: clamp(1.5rem, 9vw, 8.125rem);
}

/* ── Inner container (1180 px centred) ───────────────────── */
.catch-log-feature__inner {
	max-width: 1180px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: 4rem; /* 64 px — header → mockup */
}

/* ── Section header ──────────────────────────────────────── */
.catch-log-feature__header {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 680px;
}

.catch-log-feature__heading-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* ── Label ───────────────────────────────────────────────── */
.catch-log-feature__label {
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-brand);
	margin: 0;
}

/* ── Section heading ─────────────────────────────────────── */
.catch-log-feature__heading {
	font-family: var(--font-title);
	font-size: var(--text-h3);
	font-weight: 400; /* Regular — Figma spec */
	line-height: 44px;
	letter-spacing: -2px;
	color: var(--color-text-pri);
	margin: 0;
}

/* ── Section subhead ─────────────────────────────────────── */
.catch-log-feature__subhead {
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-text-sec);
	margin: 0;
}

/* ── 3-card cascade ──────────────────────────────────────── */
.catch-log-feature__cascade-wrap {
	width: 100%;
	overflow: hidden;
}

.catch-log-feature__cascade {
	display: flex;
	gap: var(--space-md);
	align-items: flex-start;
	width: 100%;
}

.catch-log-feature__card {
	flex: 1;
	min-width: 0;
	width: 0;
	height: auto;
	display: block;
	border-radius: var(--radius-md);
}

/* Stagger matches Figma y-offsets as % of container width */
.catch-log-feature__card--1 { margin-top: 19%; }
.catch-log-feature__card--2 { margin-top: 5.3%; }
.catch-log-feature__card--3 { margin-top: 0; }

.catch-log-feature__mobile-img { display: none; }

/* ── Tablet ≤ 900 px ─────────────────────────────────────── */
@media (max-width: 900px) {
	.catch-log-feature {
		padding-block: 4rem;
	}

	.catch-log-feature__inner {
		gap: 2.5rem;
	}

	.catch-log-feature__label,
	.catch-log-feature__subhead {
		font-size: var(--text-body-lg);
	}
}

/* ── Mobile ≤ 480 px ─────────────────────────────────────── */
@media (max-width: 480px) {
	.catch-log-feature {
		padding-block: 3rem;
		padding-inline: 1.25rem;
	}

	.catch-log-feature__label,
	.catch-log-feature__subhead {
		font-size: var(--text-body);
	}

	.catch-log-feature__cascade    { display: none; }
	.catch-log-feature__mobile-img {
		display: block;
		width: 100%;
		height: auto;
		border-radius: var(--radius-md);
	}
}
