:root {
	--p-ink: #f4f8ff;
	--p-muted: #b8c6e6;
	--p-bg1: #070b26;
	--p-bg2: #12205c;
	--p-cyan: #27d3ff;
	--p-blue: #2f7bff;
	--p-pink: #ff4fd8;
	--p-yellow: #ffd23f;
	--p-card: rgba(255, 255, 255, 0.07);
	--p-card-line: rgba(255, 255, 255, 0.16);
	--p-key-top: #ffffff;
	--p-key-side: #c9d6f2;
	--p-key-ink: #0b1533;
	--p-page: #dfe6f2;
}

@page { size: A4; margin: 0; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
	background: var(--p-page);
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}

.kw-toolbar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px;
	padding: 12px 16px; font-size: 14px; color: #33415c; text-align: center;
}
.kw-toolbar button {
	font: 600 15px "Inter", sans-serif; color: #fff; background: #0a84d0; border: 0; border-radius: 10px;
	padding: 10px 18px; cursor: pointer;
}
.kw-toolbar button:hover { background: #0870b2; }
.kw-stage { margin: 0 auto 24px; }

.kw-poster {
	position: relative; overflow: hidden;
	width: 210mm; height: 297mm; padding: 11mm 12mm 7mm;
	transform-origin: 0 0;
	color: var(--p-ink);
	background:
		radial-gradient(circle at 8% 4%, rgba(39, 211, 255, 0.32), rgba(39, 211, 255, 0) 38%),
		radial-gradient(circle at 96% 70%, rgba(255, 79, 216, 0.30), rgba(255, 79, 216, 0) 42%),
		linear-gradient(165deg, var(--p-bg1) 0%, var(--p-bg2) 58%, #2a1a6e 100%);
	display: flex; flex-direction: column; justify-content: space-between; gap: 4mm;	 
	box-shadow: 0 10px 40px rgba(11, 21, 51, 0.35);
}
.kw-poster > * { position: relative; z-index: 1; }
.kw-grid {	 
	position: absolute; z-index: 0; left: 0; right: 0; top: 0; height: 95mm;
	background-image: linear-gradient(rgba(255, 255, 255, 0.045) 0.25mm, transparent 0.25mm), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0.25mm, transparent 0.25mm);
	background-size: 10mm 10mm;
}

.kw-head { display: flex; align-items: center; gap: 5mm; }
.kw-title { flex: 1; min-width: 0; }
.kw-lockup { display: flex; align-items: center; gap: 0.47em; font-size: 12.6mm; }	 
.kw-logo { height: 1.96em; width: auto; flex: none; }
.kw-kicker {
	display: inline-block; font-size: 3.1mm; font-weight: 600; letter-spacing: 0.02em; color: var(--p-cyan);
	border: 0.3mm solid rgba(39, 211, 255, 0.5); border-radius: 10mm; padding: 1mm 3mm; margin-bottom: 2mm;
}
.kw-title h1 {
	margin: 0; font-size: 1em; line-height: 0.98; font-weight: 800; letter-spacing: -0.035em;
	color: #ffffff; white-space: nowrap;
}
.kw-title h1 .kw-wm-1, .kw-title h1 .kw-wm-2 { display: block; }	 
.kw-title h1 .kw-wm-2 { height: 0.98em; overflow: visible; }
.kw-badge {
	flex: none; width: 25mm; height: 25mm; border-radius: 50%;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	background: radial-gradient(circle at 35% 30%, #ff8ae9, var(--p-pink) 55%, #b4129a);
	box-shadow: 0 0 0 1.2mm rgba(255, 79, 216, 0.28), 0.8mm 1.4mm 0 rgba(0, 0, 0, 0.35);
	transform: rotate(8deg);
	font-size: 3.4mm; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1;
}
.kw-badge span { font-size: 9mm; font-weight: 900; letter-spacing: 0; margin-bottom: 0.6mm; }

.kw-hero { text-align: center; }
.kw-question { margin: 0; font-size: 9.4mm; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.kw-question em { font-style: normal; color: var(--p-yellow); }
.kw-sub { margin: 2mm auto 0; max-width: 165mm; font-size: 4mm; line-height: 1.4; color: var(--p-muted); }

.kw-start { text-align: center; }
.kw-start-label { font-size: 3.6mm; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--p-cyan); margin-bottom: 2mm; }
.kw-keys { display: flex; justify-content: center; gap: 3.5mm; }
.kw-key {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 22mm; height: 18.5mm; padding: 0 4mm;
	font: 700 9mm/1 "Fira Mono", monospace; color: var(--p-key-ink);
	background: linear-gradient(180deg, var(--p-key-top), #e8eefb);
	border-radius: 3.5mm;
	box-shadow: 0 2mm 0 var(--p-key-side), 0 3.2mm 0 rgba(0, 0, 0, 0.35);
}
.kw-key-wide { min-width: 54mm; font-size: 7.6mm; }
.kw-key-hot {
	color: #fff; background: linear-gradient(180deg, #6fe6ff, var(--p-cyan) 45%, var(--p-blue));
	box-shadow: 0 2mm 0 #1957c9, 0 3.2mm 0 rgba(0, 0, 0, 0.35), 0 0 0 1mm rgba(39, 211, 255, 0.3);
}
.kw-start-note { margin-top: 4mm; font-size: 4mm; font-weight: 600; color: var(--p-ink); }

.kw-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3mm; }
.kw-fact {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1mm;
	padding: 3.2mm 2.5mm; border-radius: 4mm; background: var(--p-card); border: 0.3mm solid var(--p-card-line);
}
.kw-fact svg, .kw-card h2 svg { fill: none; stroke: var(--p-cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kw-fact svg { width: 8mm; height: 8mm; margin-bottom: 0.6mm; }
.kw-fact strong { font-size: 4mm; line-height: 1.15; }
.kw-fact span { font-size: 3.2mm; line-height: 1.3; color: var(--p-muted); }

.kw-audience { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; }
.kw-card { padding: 4mm 4.5mm 2.5mm; border-radius: 5mm; background: var(--p-card); border: 0.3mm solid var(--p-card-line); }
.kw-card-student { border-top: 1.2mm solid var(--p-yellow); }
.kw-card-teacher { border-top: 1.2mm solid var(--p-pink); }
.kw-card h2 { display: flex; align-items: center; gap: 2.5mm; margin: 0 0 2.5mm; font-size: 5.2mm; font-weight: 800; }
.kw-card h2 svg { width: 8mm; height: 8mm; flex: none; }
.kw-card-student h2 svg { stroke: var(--p-yellow); }
.kw-card-teacher h2 svg { stroke: var(--p-pink); }
.kw-card ul { margin: 0; padding: 0; list-style: none; }
.kw-card li { position: relative; padding-left: 5.5mm; margin: 0 0 1.8mm; font-size: 3.7mm; line-height: 1.32; }
.kw-card li::before {
	content: ""; position: absolute; left: 0; top: 1.3mm; width: 2.6mm; height: 2.6mm; border-radius: 0.8mm;
	background: var(--p-cyan);
}

.kw-cta {
	display: flex; align-items: center; gap: 6mm;
	padding: 4.5mm 6mm; border-radius: 6mm;
	background: linear-gradient(110deg, rgba(39, 211, 255, 0.18), rgba(255, 79, 216, 0.18));
	border: 0.4mm solid rgba(255, 255, 255, 0.25);
}
.kw-cta-text { flex: 1; min-width: 0; }
.kw-stamp {
	display: inline-block; margin-bottom: 2.5mm; padding: 1.2mm 4mm; border-radius: 2mm;
	font-size: 4.2mm; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
	color: var(--p-key-ink); background: var(--p-yellow); transform: rotate(-3deg);
	box-shadow: 0.8mm 1mm 0 rgba(0, 0, 0, 0.35);
}
.kw-cta-go { font-size: 4.6mm; color: var(--p-muted); font-weight: 600; }
.kw-url { font-size: 8.6mm; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; color: #fff; word-break: break-word; }
.kw-mail { margin-top: 2mm; font-size: 3.6mm; color: var(--p-muted); }
.kw-qr {
	flex: none; width: 36mm; padding: 2.6mm; border-radius: 4mm; background: #fff; color: var(--p-key-ink);
	display: flex; flex-direction: column; align-items: center; gap: 1.5mm; text-align: center;
	box-shadow: 1mm 1.4mm 0 rgba(0, 0, 0, 0.3);
}
.kw-qr svg { display: block; width: 30.5mm; height: 30.5mm; shape-rendering: crispEdges; }
.kw-qr svg .dark { fill: var(--p-key-ink); }	 
.kw-qr span { font-size: 2.9mm; font-weight: 700; line-height: 1.2; }

.kw-foot { text-align: center; font-size: 3.1mm; color: var(--p-muted); }

@media print {
	body { background: none; }
	.kw-toolbar { display: none; }
	.kw-stage { margin: 0; width: auto !important; height: auto !important; }
	.kw-poster { transform: none !important; box-shadow: none; }
}
