:root {
	--bg: #f3f4f6;
	--surface: #ffffff;
	--surface-soft: #f8f9fb;
	--text: #161b22;
	--muted: #5c6773;
	--line: #dde2e8;
	--green: #84bc22;
	--green-dark: #6ea117;
	--green-soft: #f1f8df;
	--shadow: 0 18px 40px rgba(16, 22, 31, 0.08);
	--radius-xl: 26px;
	--radius-lg: 18px;
	--radius-md: 12px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
	color: var(--text);
	background: linear-gradient(180deg, #f7f8fb 0%, #edf0f4 100%);
}

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

.site-strip {
	height: 34px;
	background: linear-gradient(90deg, var(--green-dark) 0%, var(--green) 100%);
	color: #fff;
	display: flex;
	align-items: center;
}

.site-strip__inner {
	width: min(1220px, calc(100% - 24px));
	margin: 0 auto;
	display: flex;
	justify-content: flex-end;
	gap: 20px;
	font-size: 0.86rem;
	font-weight: 600;
}

.site-strip__item {
	opacity: 0.95;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	width: min(1220px, calc(100% - 24px));
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 14px 0;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo img {
	height: 40px;
	width: auto;
	display: block;
}

.shell {
	width: min(1220px, calc(100% - 24px));
	margin: 0 auto;
	padding: 28px 0 56px;
}

.hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(120deg, #ffffff 0%, #f4f7fb 60%, #eef4df 100%);
	border: 1px solid #e2e7ed;
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow);
	padding: 40px clamp(20px, 4vw, 48px);
}

.hero::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -120px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(132, 188, 34, 0.26) 0%, rgba(132, 188, 34, 0) 68%);
	pointer-events: none;
}

.hero-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 26px;
}

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

.brand-mark {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: #fff;
	display: grid;
	place-items: center;
	border: 1px solid var(--line);
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(16, 22, 31, 0.08);
}

.brand-mark img {
	width: 78%;
	height: auto;
	display: block;
}

.brand-sec p,
.hero-copy p,
.tutorial-card p,
.empty-state p,
.error-box p {
	margin: 0;
	color: var(--muted);
	line-height: 1.62;
}

.eyebrow {
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--green-dark);
	margin-bottom: 8px;
	font-weight: 700;
}

h1,
h2,
h3 {
	margin: 0;
	font-weight: 700;
	line-height: 1.1;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 4px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 20px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-size: 0.95rem;
	font-weight: 600;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
	background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
	color: #fff;
	box-shadow: 0 10px 26px rgba(95, 143, 20, 0.34);
}

.btn-secondary {
	background: #fff;
	color: var(--text);
	border-color: var(--line);
}

.btn-secondary:hover {
	border-color: #bfc8d2;
}

.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	margin: 30px 0 16px;
}

.section-head h2 {
	font-size: clamp(1.45rem, 2vw, 2.25rem);
}

.tutorial-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.tutorial-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tutorial-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 22px 36px rgba(16, 22, 31, 0.13);
}

.tutorial-number {
	width: 38px;
	height: 38px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: var(--green-soft);
	color: var(--green-dark);
	font-size: 0.92rem;
	font-weight: 700;
}

.tutorial-card h3 {
	font-size: 1.3rem;
}

.tutorial-meta {
	font-size: 0.9rem;
	color: var(--muted);
}

.tutorial-actions {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.empty-state,
.error-box {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: 24px;
}

.empty-state h2,
.error-box h2 {
	font-size: 1.6rem;
	margin-bottom: 10px;
}

@media (min-width: 1700px) {
	.site-strip__inner,
	.site-header__inner,
	.shell {
		width: min(1440px, calc(100% - 40px));
	}

	.hero {
		padding: 50px clamp(28px, 4vw, 62px);
	}

	.tutorial-grid {
		grid-template-columns: 1fr 1fr;
		gap: 18px;
	}
}

@media (min-width: 2300px) {
	.site-strip__inner,
	.site-header__inner,
	.shell {
		width: min(1720px, calc(100% - 56px));
	}

	.hero h2 {
		font-size: 2.25rem;
	}
}

@media (max-width: 860px) {
	.site-strip {
		height: auto;
		padding: 8px 0;
	}

	.site-strip__inner {
		justify-content: center;
		flex-wrap: wrap;
		gap: 10px 16px;
	}

	.site-header__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.hero-top,
	.section-head {
		align-items: start;
		flex-direction: column;
	}
}

@media (max-width: 560px) {
	.shell {
		width: min(100% - 16px, 1220px);
		padding-top: 16px;
	}

	.hero,
	.tutorial-card,
	.empty-state,
	.error-box {
		padding: 18px;
	}
}
