:root {
	--red: #e30613;
	--red-dark: #c9000b;
	--red-soft: #f01b28;
	--text: #111827;
	--muted: #6b7280;
	--line: #e5e7eb;
	--white: #ffffff;
	--footer: #111827;
	--shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
	--radius: 16px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Inter', Arial, Helvetica, sans-serif;
	color: var(--text);
	background: #fff;
	line-height: 1.5;
}

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

img,
svg {
	max-width: 100%;
}

.container {
	width: min(100% - 32px, 1160px);
	margin: 0 auto;
}

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	color: var(--white);
	background: transparent;
	transition:
		background 0.25s ease,
		box-shadow 0.25s ease;
}

.site-header.is-solid,
body:not(.route-home) .site-header {
	background: rgba(227, 6, 19, 0.96);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
}

.nav-wrap {
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand,
.footer-brand {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--white);
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer-brand img,
.brand img {
	width: 40px;
	height: 40px;
	background: #fff;
	border-radius: 8px;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 32px;
	font-size: 13px;
	font-weight: 600;
}

.site-nav a {
	opacity: 0.92;
	transition:
		opacity 0.2s ease,
		transform 0.2s ease;
}

.site-nav a:hover {
	opacity: 1;
	transform: translateY(-1px);
}

.login-link {
	border: 1px solid rgba(255, 255, 255, 0.75);
	padding: 9px 18px;
	border-radius: 999px;
}

.mobile-menu-btn {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.12);
	padding: 9px;
	cursor: pointer;
}

.mobile-menu-btn span {
	display: block;
	height: 2px;
	margin: 5px 0;
	background: var(--white);
	border-radius: 999px;
	transition:
		transform 0.2s ease,
		opacity 0.2s ease;
}

.mobile-menu-btn.is-open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.is-open span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-btn.is-open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.page {
	display: none;
}

.page.is-active {
	display: block;
}

.section-red {
	color: var(--white);
	background: linear-gradient(135deg, var(--red) 0%, #df000c 55%, #b90009 100%);
}

.hero {
	min-height: 650px;
	padding: 148px 0 76px;
	overflow: hidden;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
	align-items: center;
	gap: 72px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	font-size: 13px;
	font-weight: 600;
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #22c55e;
}

.hero h1 {
	max-width: 640px;
	margin: 24px 0 20px;
	font-size: clamp(44px, 6vw, 72px);
	line-height: 1.08;
	letter-spacing: -0.055em;
}

.hero-desc {
	max-width: 600px;
	margin: 0 0 28px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 17px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 48px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 26px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 14px;
	border: 1px solid transparent;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary-white {
	color: var(--red);
	background: var(--white);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.btn-outline-white {
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.03);
}

.icon-download {
	display: inline-grid;
	place-items: center;
	font-weight: 900;
	transform: rotate(0deg);
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	max-width: 520px;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-stats strong {
	display: block;
	font-size: 30px;
	line-height: 1;
	letter-spacing: -0.04em;
}

.hero-stats span {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.75);
}

.hero-visual {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 420px;
}

.phone-mockup {
	width: 205px;
	height: 360px;
	border-radius: 34px;
	padding: 10px;
	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.22),
		rgba(255, 255, 255, 0.05)
	);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.3),
		0 32px 70px rgba(0, 0, 0, 0.2);
}

.phone-inner {
	height: 100%;
	display: grid;
	place-content: center;
	text-align: center;
	border-radius: 28px;
	background: linear-gradient(
		180deg,
		rgba(255, 56, 72, 0.82),
		rgba(174, 0, 13, 0.55)
	);
	box-shadow: inset 0 0 35px rgba(255, 255, 255, 0.04);
}

.phone-logo {
	margin: 0 auto 24px;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border: 2px solid rgba(255, 255, 255, 0.9);
	border-radius: 10px;
	background: #fff;
}
.phone-logo img {
	width: 100%;
	height: 100%;
}

.phone-inner h2 {
	margin: 0 0 18px;
	font-size: 26px;
}

.phone-inner p {
	margin: 0;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.72);
}

.floating-card {
	position: absolute;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 14px;
	background: var(--white);
	box-shadow: var(--shadow);
	font-size: 25px;
	font-weight: 800;
}

.check-card {
	right: 18%;
	top: 26px;
	color: #16a34a;
}

.money-card {
	left: 9%;
	bottom: 28px;
	color: var(--red);
}

.features,
.testimonials,
.download {
	padding: 72px 0;
}

.section-heading {
	text-align: center;
	margin: 0 auto 46px;
}

.section-heading h2 {
	margin: 0 0 12px;
	font-size: clamp(28px, 3.6vw, 38px);
	line-height: 1.15;
	letter-spacing: -0.045em;
}

.section-heading p {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
}

.heading-light h2,
.heading-light p {
	color: var(--white);
}

.heading-light p {
	opacity: 0.85;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.feature-card {
	min-height: 126px;
	padding: 22px;
	border: 1px solid rgba(227, 6, 19, 0.16);
	border-radius: var(--radius);
	background: linear-gradient(180deg, #fff7f7 0%, #fff 100%);
}

.feature-icon {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	margin-bottom: 18px;
	color: var(--white);
	background: var(--red);
	border-radius: 10px;
	font-size: 16px;
	font-weight: 800;
}

.feature-card h3,
.step-card h3 {
	margin: 0 0 8px;
	font-size: 17px;
}

.feature-card p,
.step-card p {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
}

.section-red-soft {
	padding: 70px 0 76px;
	color: var(--white);
	background: linear-gradient(135deg, var(--red) 0%, #cf000b 100%);
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.step-card {
	position: relative;
	min-height: 135px;
	padding: 54px 22px 24px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.12);
	overflow: hidden;
}

.step-card:not(:last-child)::after {
	content: '→';
	position: absolute;
	top: 50%;
	right: -18px;
	transform: translateY(-50%);
	color: rgba(255, 255, 255, 0.7);
	font-size: 18px;
	z-index: 2;
}

.step-number {
	position: absolute;
	left: 20px;
	top: 6px;
	color: rgba(255, 255, 255, 0.22);
	font-size: 42px;
	line-height: 1;
	font-weight: 800;
}

.step-card h3,
.step-card p {
	color: var(--white);
}

.step-card p {
	opacity: 0.75;
}

.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.testimonial-card {
	min-height: 185px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: 0 12px 24px rgba(17, 24, 39, 0.09);
}

.stars {
	color: #facc15;
	letter-spacing: 1px;
	font-size: 17px;
	line-height: 1;
}

.quote-mark {
	margin-top: 10px;
	color: rgba(227, 6, 19, 0.26);
	font-size: 42px;
	line-height: 0.6;
	font-weight: 800;
}

.testimonial-card p {
	margin: 10px 0 22px;
	color: #374151;
	font-size: 13px;
}

.author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.author > span {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	color: var(--white);
	background: var(--red);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
}

.author strong,
.author small {
	display: block;
}

.author strong {
	font-size: 13px;
}

.author small {
	color: var(--muted);
	font-size: 11px;
}

.download {
	padding-top: 44px;
}

.download-panel {
	max-width: 1060px;
	margin: 0 auto;
	padding: 58px 24px;
	color: var(--white);
	text-align: center;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--red) 0%, #c8000b 100%);
}

.download-icon {
	font-size: 42px;
	line-height: 1;
	margin-bottom: 16px;
}

.download-panel h2 {
	margin: 0 0 14px;
	font-size: clamp(32px, 4vw, 45px);
	letter-spacing: -0.05em;
}

.download-panel p {
	max-width: 560px;
	margin: 0 auto 26px;
	color: rgba(255, 255, 255, 0.85);
}

.legal-hero {
	padding: 142px 0 72px;
	text-align: center;
}

.legal-hero h1 {
	margin: 0 0 14px;
	font-size: clamp(36px, 5vw, 58px);
	letter-spacing: -0.05em;
}

.legal-hero p {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
}

.legal-container {
	padding: 70px 0 92px;
}

.legal-card {
	max-width: 920px;
	margin: 0 auto;
	padding: clamp(28px, 5vw, 54px);
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--white);
	box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
}

.legal-card h2 {
	margin: 0 0 18px;
	font-size: 30px;
	letter-spacing: -0.03em;
}

.placeholder-text,
.legal-content {
	color: #4b5563;
	font-size: 16px;
}

.legal-content h3 {
	margin-top: 32px;
	color: var(--text);
}

.site-footer {
	padding: 44px 0 28px;
	color: #cbd5e1;
	background: var(--footer);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 42px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer h3 {
	margin: 0 0 16px;
	color: var(--white);
	font-size: 14px;
}

.site-footer p,
.site-footer a {
	display: block;
	margin: 0 0 10px;
	color: #94a3b8;
	font-size: 13px;
}

.site-footer a:hover {
	color: var(--white);
}

.footer-brand {
	display: inline-block;
	margin-bottom: 16px !important;
	color: var(--white) !important;
}

.footer-bottom {
	padding-top: 26px;
	text-align: center;
	color: #64748b;
	font-size: 12px;
}

@media (max-width: 1024px) {
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 42px;
		text-align: center;
	}

	.hero-desc,
	.hero h1,
	.hero-stats {
		margin-left: auto;
		margin-right: auto;
	}

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

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

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

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

@media (max-width: 720px) {
	.container {
		width: min(100% - 24px, 1160px);
	}

	.nav-wrap {
		min-height: 66px;
	}

	.mobile-menu-btn {
		display: block;
	}

	.site-nav {
		position: absolute;
		top: 66px;
		left: 12px;
		right: 12px;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		padding: 14px;
		color: var(--text);
		background: var(--white);
		border-radius: 16px;
		box-shadow: var(--shadow);
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav a {
		padding: 13px 14px;
		border-radius: 12px;
	}

	.site-nav a:hover {
		background: #f9fafb;
		transform: none;
	}

	.login-link {
		color: var(--white);
		text-align: center;
		background: var(--red);
		border-color: var(--red);
	}

	.hero {
		min-height: auto;
		padding: 116px 0 56px;
	}

	.hero h1 {
		font-size: 42px;
	}

	.hero-actions,
	.hero-stats {
		gap: 12px;
	}

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

	.hero-visual {
		min-height: 340px;
	}

	.phone-mockup {
		width: 178px;
		height: 312px;
	}

	.check-card {
		right: 4%;
	}

	.money-card {
		left: 2%;
	}

	.features,
	.testimonials,
	.download,
	.section-red-soft {
		padding: 54px 0;
	}

	.feature-grid,
	.steps-grid,
	.testimonial-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.step-card:not(:last-child)::after {
		display: none;
	}

	.download-panel {
		padding: 42px 20px;
	}

	.btn {
		width: 100%;
	}

	.legal-hero {
		padding: 116px 0 54px;
	}

	.legal-container {
		padding: 46px 0 64px;
	}
}
