:root {
	--navy: #0f172a;
	--blue: #2563eb;
	--emerald: #10b981;
	--bg: #f8fafc;
	--border: #e2e8f0;
	--text: #1e293b;
	--muted: #64748b;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, sans-serif;
	line-height: 1.6;
}

.container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.hero {
	background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #2563eb 100%);
	color: #fff;
	padding: 40px 0;
	margin-bottom: 28px;
}

.hero-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

.pill {
	display: inline-block;
	background: rgba(255, 255, 255, 0.14);
	color: #fde68a;
	font-size: 11.5px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
	letter-spacing: 0.04em;
	margin-bottom: 10px;
}

.hero h1 {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.25;
}

.hero code {
	background: rgba(255, 255, 255, 0.15);
	padding: 2px 7px;
	border-radius: 6px;
	font-size: 24px;
}

.lead {
	margin: 0;
	max-width: 680px;
	color: #dbeafe;
	font-size: 15px;
}

.lead a {
	color: #fff;
	font-weight: 700;
}

.hero-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 9px;
	font-weight: 700;
	font-size: 13.5px;
	text-decoration: none;
	cursor: pointer;
	border: 0;
	transition: opacity 0.15s ease;
}

.btn:hover {
	opacity: 0.92;
}

.btn-light {
	background: #fff;
	color: var(--navy);
}

.btn-outline {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-emerald {
	background: var(--emerald);
	color: #fff;
}

.btn-sec {
	background: #eff6ff;
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
}

.main-grid {
	display: grid;
	grid-template-columns: 410px 1fr;
	gap: 22px;
	align-items: start;
}

.card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 22px;
	margin-bottom: 22px;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.card h2 {
	margin: 0 0 14px;
	font-size: 17px;
	color: var(--navy);
}

.card-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.card-head h2 {
	margin: 0;
}

label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: #334155;
	margin: 10px 0 4px;
}

input,
select,
textarea {
	width: 100%;
	padding: 8px 11px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 13.5px;
	font-family: inherit;
	color: var(--navy);
}

.row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.counter {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--muted);
}

.canvas-box {
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--navy);
}

#studio-canvas {
	display: block;
	width: 100%;
	height: auto;
}

.serp-box {
	background: #f8fafc;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 16px 18px;
}

.serp-site {
	font-size: 12.5px;
	color: #475569;
	margin-bottom: 3px;
}

.serp-title {
	font-size: 18px;
	color: #1a0dab;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 4px;
}

.serp-desc {
	font-size: 13.5px;
	color: #334155;
}

.info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

.info-grid a {
	color: var(--blue);
	font-weight: 600;
	text-decoration: none;
}

.info-grid a:hover,
.footer a:hover {
	text-decoration: underline;
}

.footer {
	border-top: 1px solid var(--border);
	background: #fff;
	padding: 20px 0;
	margin-top: 16px;
	font-size: 13.5px;
	color: var(--muted);
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.footer a {
	color: var(--blue);
	text-decoration: none;
}

@media (max-width: 920px) {
	.main-grid,
	.info-grid {
		grid-template-columns: 1fr;
	}
}
