:root {
	--bg: #f3f4f6;
	--panel: rgba(255, 255, 255, 0.84);
	--text: #111827;
	--muted: #6b7280;
	--primary: #2e90fb;
	--primary-deep: #1753b4;
	--border: rgba(17, 24, 39, 0.08);
	--shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
	--radius-lg: 28px;
	--radius-md: 20px;
	--max: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	min-height: 100vh;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
	color: var(--text);
	background:
		radial-gradient(circle at top left, rgba(46, 144, 251, 0.14), transparent 34%),
		radial-gradient(circle at right 15%, rgba(23, 83, 180, 0.12), transparent 30%),
		linear-gradient(180deg, #f8fbff 0%, var(--bg) 38%, #eef2f7 100%);
}

.wrap {
	position: relative;
	overflow: hidden;
}

.wrap::before,
.wrap::after {
	content: "";
	position: fixed;
	width: 340px;
	height: 340px;
	border-radius: 999px;
	filter: blur(28px);
	opacity: 0.5;
	pointer-events: none;
	z-index: 0;
}

.wrap::before {
	top: -120px; left: -120px;
	background: rgba(46, 144, 251, 0.18);
}

.wrap::after {
	right: -130px; top: 180px;
	background: rgba(23, 83, 180, 0.14);
}

.shell {
	position: relative;
	z-index: 1;
	width: min(var(--max), calc(100% - 32px));
	margin: 0 auto;
	padding: 28px 0 40px;
}

/* 카드 */
.card {
	background: var(--panel);
	backdrop-filter: blur(18px);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

/* 카드 헤더 */
.card-header {
	padding: 24px 28px 20px;
	border-bottom: 1px solid var(--border);
}

.page-eyebrow {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(46, 144, 251, 0.08);
	color: var(--primary-deep);
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 10px;
}

.page-title {
	margin: 0 0 4px;
	font-size: clamp(20px, 3.5vw, 28px);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.page-date {
	font-size: 13px;
	color: var(--muted);
	margin: 0;
}

/* iframe 래퍼 */
.card-body {
	padding: 0;
}

.card-body iframe {
	display: block;
	width: 100%;
	border: none;
	min-height: 200px;
}

/* 뒤로가기 */
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 14px;
	color: var(--primary-deep);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.back-link:hover { text-decoration: underline; }

/* footer */
.footer {
	display: grid;
	gap: 8px;
	margin-top: 18px;
	padding: 20px 22px;
	border-radius: var(--radius-md);
	background: rgba(17, 24, 39, 0.92);
	color: #fff;
}

.footer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.footer-top strong { font-size: 15px; }

.footer-links {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.footer-links a {
	color: #d6eaff;
	text-decoration: none;
	font-weight: 600;
}

.footer-links a:hover { text-decoration: underline; }

.footer-sep {
	color: rgba(255, 255, 255, 0.35);
	font-size: 12px;
}

.footer xsmall, .f-small {
	color: rgba(255, 255, 255, 0.60);
	font-size: 12px;
	line-height: 1.5;
}

.footer small, .f-copy {
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	line-height: 1.7;
}

.footer a { color: #d6eaff; text-decoration: none; font-weight: 700; }

@media (max-width: 560px) {
	.shell {
		width: min(var(--max), calc(100% - 20px));
		padding: 16px 0 28px;
	}
	.card { border-radius: 22px; }
	.card-header { padding: 18px 18px 16px; }
	.footer-top {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}
