/* ==========================================================
   Cralyst Starter — Brand Stylesheet v2
   Signature: an audit "scan" motif — a browser mockup with
   flagged issues — because the business is literally about
   finding what's wrong with a website.
   ========================================================== */

:root {
	--ink: #0F172A;
	--ink-soft: #1E293B;
	--blue: #2563EB;
	--blue-bright: #3B82F6;
	--white: #FFFFFF;
	--paper: #F8FAFC;
	--gray: #64748B;
	--border: #E2E8F0;
	--amber: #F59E0B;
}

* { box-sizing: border-box; }

.cralyst-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

.cralyst-section {
	padding: 104px 0;
	color: var(--ink);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.cralyst-section h1,
.cralyst-section h2,
.cralyst-section h3 {
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--ink);
	line-height: 1.15;
	margin-top: 0;
	letter-spacing: -0.02em;
}

.cralyst-section p {
	color: var(--gray);
	line-height: 1.7;
	font-size: 17px;
}

.cralyst-eyebrow {
	display: inline-block;
	font-family: 'Manrope', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--blue-bright);
	margin-bottom: 20px;
}

.cralyst-eyebrow-dark {
	color: var(--blue);
}

/* ================= HERO ================= */
.cralyst-hero {
	background: radial-gradient(ellipse 900px 500px at 15% -10%, rgba(37,99,235,0.35), transparent 60%), var(--ink);
	padding-top: 110px;
	padding-bottom: 110px;
}

.cralyst-hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 56px;
	align-items: center;
}

.cralyst-hero h1 {
	font-size: 46px;
	font-weight: 800;
	color: var(--white);
	margin-bottom: 22px;
}

.cralyst-hero .cralyst-subhead {
	color: #CBD5E1;
	font-size: 18px;
	max-width: 480px;
	margin-bottom: 36px;
}

.cralyst-hero-buttons {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.cralyst-btn {
	display: inline-block;
	padding: 14px 26px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	font-family: 'Inter', sans-serif;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.cralyst-btn:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

.cralyst-btn-primary {
	background: var(--blue);
	color: var(--white);
}

.cralyst-btn-secondary {
	background: transparent;
	color: var(--white);
	border: 1px solid rgba(255,255,255,0.25);
}

/* --- signature browser mockup --- */
.cralyst-hero-visual {
	display: flex;
	justify-content: center;
}

.cralyst-browser-mock {
	width: 100%;
	max-width: 420px;
	background: var(--ink-soft);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
	position: relative;
}

.cralyst-browser-bar {
	display: flex;
	gap: 6px;
	padding: 12px 14px;
	background: rgba(255,255,255,0.03);
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cralyst-browser-bar span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255,255,255,0.15);
}

.cralyst-browser-body {
	padding: 28px 24px 32px;
	position: relative;
	overflow: hidden;
}

.cralyst-scan-line {
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
	top: 0;
	animation: cralyst-scan 3.2s ease-in-out infinite;
	opacity: 0.9;
}

@keyframes cralyst-scan {
	0%   { top: 0; }
	50%  { top: 100%; }
	100% { top: 0; }
}

.cralyst-skel {
	background: rgba(255,255,255,0.08);
	border-radius: 5px;
	margin-bottom: 12px;
}

.cralyst-skel-title { height: 16px; width: 70%; }
.cralyst-skel-text { height: 10px; width: 100%; }
.cralyst-skel-text.short { width: 55%; }

.cralyst-skel-row {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.cralyst-skel-box {
	flex: 1;
	height: 54px;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.07);
	border-radius: 6px;
}

.cralyst-flag {
	position: absolute;
	font-family: 'Manrope', sans-serif;
	font-size: 11px;
	font-weight: 700;
	color: var(--ink);
	background: var(--amber);
	padding: 4px 9px;
	border-radius: 20px;
	white-space: nowrap;
}

.cralyst-flag-1 { top: 34px; right: 20px; }
.cralyst-flag-2 { bottom: 30px; left: 24px; }

/* ================= PROBLEM ================= */
.cralyst-problem {
	background: var(--paper);
}

.cralyst-problem h2 {
	font-size: 32px;
	font-weight: 700;
	max-width: 620px;
	margin-bottom: 40px;
}

.cralyst-problem-list {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--border);
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
}

.cralyst-problem-list li {
	background: var(--white);
	color: var(--gray);
	font-size: 15px;
	line-height: 1.6;
	padding: 24px;
}

.cralyst-problem-list li strong {
	display: block;
	color: var(--ink);
	font-family: 'Manrope', sans-serif;
	font-size: 16px;
	margin-bottom: 6px;
}

.cralyst-problem-close {
	font-weight: 600;
	color: var(--ink);
	max-width: 540px;
	font-size: 17px;
}

/* ================= HOW WE HELP ================= */
.cralyst-how-we-help {
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.cralyst-how-grid {
	max-width: 680px;
}

.cralyst-how-we-help h2 {
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 18px;
}

/* ================= SERVICES ================= */
.cralyst-services h2 {
	font-size: 32px;
	font-weight: 700;
	max-width: 560px;
	margin-bottom: 44px;
}

.cralyst-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.cralyst-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 30px 26px;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cralyst-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px -20px rgba(15,23,42,0.15);
	border-color: var(--blue);
}

.cralyst-card-icon {
	font-family: 'Manrope', sans-serif;
	font-weight: 800;
	font-size: 13px;
	color: var(--blue);
	background: #EFF6FF;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	margin-bottom: 18px;
}

.cralyst-card h3 {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 10px;
}

.cralyst-card p {
	font-size: 14.5px;
	margin: 0;
	line-height: 1.6;
}

/* ================= PROCESS ================= */
.cralyst-process {
	background: var(--paper);
}

.cralyst-process h2 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 48px;
	max-width: 560px;
}

.cralyst-process-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	position: relative;
}

.cralyst-process-steps:before {
	content: "";
	position: absolute;
	top: 20px;
	left: 20px;
	right: 20px;
	height: 1px;
	background: var(--border);
}

.cralyst-step {
	position: relative;
	padding-right: 20px;
}

.cralyst-step-number {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--blue);
	color: var(--white);
	font-family: 'Manrope', sans-serif;
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 18px;
}

.cralyst-step h3 {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 8px;
}

.cralyst-step p {
	font-size: 14px;
	line-height: 1.55;
	margin: 0;
}

/* ================= WHY US ================= */
.cralyst-why-us {
	border-top: 1px solid var(--border);
}

.cralyst-why-us h2 {
	font-size: 30px;
	font-weight: 700;
	max-width: 560px;
	margin-bottom: 16px;
}

.cralyst-why-us p {
	max-width: 560px;
}

/* ================= CTA ================= */
.cralyst-cta {
	text-align: center;
	background: var(--ink);
	background-image: radial-gradient(ellipse 700px 400px at 50% 0%, rgba(37,99,235,0.3), transparent 60%);
}

.cralyst-cta h2 {
	color: var(--white);
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 30px;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
	.cralyst-hero-grid {
		grid-template-columns: 1fr;
	}
	.cralyst-hero-visual {
		order: -1;
	}
	.cralyst-cards,
	.cralyst-process-steps {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
	.cralyst-process-steps:before {
		display: none;
	}
	.cralyst-problem-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.cralyst-hero h1 {
		font-size: 32px;
	}
	.cralyst-section {
		padding: 64px 0;
	}
	.cralyst-cards,
	.cralyst-process-steps {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cralyst-scan-line {
		animation: none;
	}
}
