/* =========================================================
   에스코딩 아카데미 - 디자인 시스템
   색상/간격은 :root 변수만 바꾸면 전체에 반영됩니다.
   ========================================================= */
:root {
	/* 로고(S 리본) 그라데이션에서 가져온 브랜드 컬러 */
	--violet: #5a12ff;
	--blue: #2b8cff;
	--cyan: #55c7fa;
	--navy: #07083a;
	--navy-2: #0d0f55;
	--brand-grad: linear-gradient(135deg, var(--violet) 0%, var(--blue) 62%, var(--cyan) 100%);
	--accent: #ffc233;          /* 포인트(강조 밑줄·뱃지) */
	--kids: #14c8a0;
	--kids-2: #2b8cff;

	--ink: #0e1033;
	--muted: #5d6180;
	--line: #e6e8f5;
	--bg: #ffffff;
	--bg-soft: #f5f6ff;
	--card: #ffffff;

	--radius: 22px;
	--radius-sm: 14px;
	--shadow: 0 10px 30px rgba(40, 30, 140, .08);
	--shadow-lg: 0 24px 60px rgba(40, 30, 140, .18);
	--header-h: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0; font-family: "Pretendard", -apple-system, "Malgun Gothic", sans-serif;
	color: var(--ink); background: var(--bg); line-height: 1.65; word-break: keep-all;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 버튼 ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 22px; border-radius: 999px; border: 1.5px solid transparent;
	font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: 0 8px 22px rgba(90, 18, 255, .35); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(90, 18, 255, .5); }
.btn-light { background: #fff; color: var(--violet); }
.btn-outline { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline:hover { background: rgba(255, 255, 255, .15); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }
.btn-lg { padding: 15px 30px; font-size: 17px; }

/* ---------- 헤더 ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100; height: var(--header-h);
	border-bottom: 1px solid rgba(230, 232, 245, .8); transition: box-shadow .25s;
}
/* 블러는 가상 요소에 둔다: 헤더 자체에 backdrop-filter를 걸면 내부 fixed 메뉴의 기준이 헤더로 바뀐다 */
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(40, 30, 140, .08); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.logo img { height: 40px; width: auto; }
.logo small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-top: -2px; }
.gnav { flex: 1; }
.gnav > ul { display: flex; justify-content: center; gap: 2px; }
.gnav > ul > li { position: relative; }
.gnav > ul > li > a {
	display: block; padding: 0 14px; line-height: var(--header-h); white-space: nowrap;
	font-weight: 600; font-size: 15.5px; color: var(--ink); position: relative;
}
.gnav > ul > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 16px; height: 3px; border-radius: 3px;
	background: var(--brand-grad); transform: scaleX(0); transition: transform .25s var(--ease);
}
.gnav > ul > li:hover > a::after, .gnav > ul > li.active > a::after { transform: scaleX(1); }
.gnav > ul > li:hover > a, .gnav > ul > li.active > a { color: var(--violet); }
.gnav .sub {
	position: absolute; top: calc(100% - 6px); left: 50%; min-width: 210px; padding: 10px;
	background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
	transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.gnav li:hover > .sub, .gnav li:focus-within > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnav .sub a { display: block; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.gnav .sub a:hover { background: var(--bg-soft); color: var(--violet); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.header-tel { font-weight: 800; font-size: 15px; margin-right: 6px; color: var(--ink); white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 공통 섹션 ---------- */
.section { padding: 96px 0 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-bottom: 12px; }
.sec-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.035em; line-height: 1.25; }
.sec-desc { margin-top: 12px; color: var(--muted); font-size: 17px; }
.sec-head { margin-bottom: 44px; }
.sec-head.center { text-align: center; }
.grad-text { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 홈: 히어로 ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 88px 0 120px; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); z-index: -1; }
.hero::before { width: 560px; height: 560px; background: var(--violet); opacity: .55; top: -180px; right: -120px; }
.hero::after { width: 480px; height: 480px; background: var(--blue); opacity: .4; bottom: -220px; left: -140px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px 10px; border-radius: 999px;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600; color: #dfe3ff;
}
.hero-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(85, 199, 250, .25); }
.hero h1 { margin: 22px 0 20px; font-size: clamp(36px, 5.6vw, 66px); font-weight: 800; line-height: 1.16; letter-spacing: -.045em; }
.hero h1 .mark { background: linear-gradient(transparent 62%, rgba(255, 194, 51, .85) 62%); padding: 0 4px; }
.hero h1 .grad-text { background-image: linear-gradient(100deg, #b9a4ff, var(--cyan)); }
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); color: #c6cbf5; max-width: 520px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; color: #aab0e6; font-size: 14.5px; font-weight: 500; }
.hero-points li::before { content: "✓"; margin-right: 7px; color: var(--cyan); font-weight: 800; }

.hero-visual { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.hero-visual .logo-big { position: absolute; width: 78%; max-width: 380px; opacity: .95; filter: drop-shadow(0 30px 60px rgba(90, 18, 255, .55)); animation: float 7s ease-in-out infinite; }
.code-card {
	position: absolute; left: -2%; bottom: 4%; width: 78%; max-width: 340px; padding: 18px 20px; border-radius: 18px;
	background: rgba(13, 15, 85, .72); border: 1px solid rgba(255, 255, 255, .16);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-lg);
	font-family: Consolas, "D2Coding", monospace; font-size: 13.5px; line-height: 1.7; color: #dfe3ff; animation: float 8s ease-in-out -2s infinite;
}
.code-card .dots { display: flex; gap: 6px; margin-bottom: 10px; }
.code-card .dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.code-card .dots i:nth-child(2) { background: #ffc233; }
.code-card .dots i:nth-child(3) { background: #3ddc97; }
.code-card .k { color: #c3a6ff; } .code-card .s { color: #8ee6c0; } .code-card .f { color: #7cc4ff; }
.float-chip {
	position: absolute; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 700;
	background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite;
}
.float-chip.c1 { top: 6%; right: 2%; animation-delay: -1s; }
.float-chip.c2 { top: 40%; left: -4%; animation-delay: -3s; }
.float-chip.c3 { bottom: 14%; right: -2%; animation-delay: -2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- 홈: 롤링 띠 ---------- */
.marquee { background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 8px 20px; border-radius: 999px; background: var(--bg-soft); color: #3a3f78; font-weight: 700; font-size: 15px; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- 홈: 대상 선택 ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud-card { position: relative; overflow: hidden; display: block; padding: 40px; min-height: 280px; border-radius: 28px; color: #fff; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.aud-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.aud-card.adult { background: linear-gradient(135deg, #1a0f8f 0%, var(--violet) 55%, var(--blue) 100%); }
.aud-card.kids { background: linear-gradient(135deg, #0aa68a 0%, var(--kids) 45%, var(--kids-2) 120%); }
.aud-card::after { content: ""; position: absolute; width: 300px; height: 300px; right: -60px; bottom: -80px; border-radius: 50%; background: rgba(255, 255, 255, .12); z-index: -1; transition: transform .5s var(--ease); }
.aud-card:hover::after { transform: scale(1.3); }
.aud-card .tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 13px; font-weight: 700; }
.aud-card h3 { margin: 16px 0 10px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.aud-card p { max-width: 360px; color: rgba(255, 255, 255, .86); }
.aud-card .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 700; }
.aud-card .go::after { content: "→"; transition: transform .25s; }
.aud-card:hover .go::after { transform: translateX(6px); }

/* ---------- 홈: 벤토 그리드 ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 18px; }
.b-card { position: relative; overflow: hidden; padding: 28px; border-radius: var(--radius); background: var(--bg-soft); transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column; justify-content: space-between; }
.b-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.b-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin: 14px 0 6px; }
.b-card p { color: var(--muted); font-size: 15px; }
.b-card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); color: var(--violet); }
.b-card .ico svg { width: 24px; height: 24px; }
.b-card .arrow { position: absolute; top: 24px; right: 24px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 16px; transition: background .2s, color .2s; }
.b-card:hover .arrow { background: var(--violet); color: #fff; }
.b-card.span2 { grid-column: span 2; }
.b-card.rows2 { grid-row: span 2; }
.b-card.wide { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 20px; padding-right: 76px; background: linear-gradient(100deg, var(--bg-soft), #e8f4ff); }
.b-card.wide > div { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; }
.b-card.wide .ico { grid-row: span 2; }
.b-card.wide h3 { margin: 0 0 2px; }
.b-card.dark { background: var(--navy); color: #fff; }
.b-card.dark p { color: #b8bdee; }
.b-card.dark .ico { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; }
.b-card.dark .arrow { background: rgba(255, 255, 255, .14); color: #fff; }
.b-card.grad { background: var(--brand-grad); color: #fff; }
.b-card.grad p { color: rgba(255, 255, 255, .85); }
.b-card.grad .ico { background: rgba(255, 255, 255, .2); color: #fff; box-shadow: none; }
.b-card.mint { background: var(--kids-soft, #e1f8f2); }
.b-card.mint .ico { color: #0aa68a; }
.b-card .pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.b-card .pill-row span { padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 13px; font-weight: 600; }
.b-card.light .pill-row span { background: #fff; color: #3a3f78; }

/* ---------- 홈: 특징 ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 34px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.feature:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.feature .num { font-size: 15px; font-weight: 800; color: var(--blue); letter-spacing: .1em; }
.feature h3 { margin: 14px 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.feature p { color: var(--muted); }

/* ---------- 홈: 진행 단계 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--bg-soft); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%; background: var(--brand-grad); color: #fff; font-weight: 800; }
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- 홈: 게시 영역 ---------- */
.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.board { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.board-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.board-head h3 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.board-head a { font-size: 14px; font-weight: 700; color: var(--violet); }
.board li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.board li:last-child { border-bottom: 0; }
.board li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board time { color: var(--muted); font-size: 14px; flex: none; }

/* ---------- 홈: CTA 띠 ---------- */
.cta-wrap { padding: 96px 0; }
.cta-band { position: relative; overflow: hidden; padding: 64px 48px; border-radius: 32px; background: var(--brand-grad); color: #fff; text-align: center; isolation: isolate; }
.cta-band img { position: absolute; width: 360px; right: -60px; bottom: -90px; opacity: .18; z-index: -1; transform: rotate(-12deg); }
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -.035em; }
.cta-band p { margin: 12px 0 28px; color: rgba(255, 255, 255, .88); font-size: 17px; }
.cta-band .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- 서브 페이지 ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 56px 0 0; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--violet); opacity: .5; filter: blur(90px); top: -160px; right: -80px; z-index: -1; }
.page-hero::after { content: ""; position: absolute; right: 4%; top: 10px; width: 150px; height: 190px; background: url("../img/logo-mark.png") center / contain no-repeat; opacity: .16; z-index: -1; }
.crumb { font-size: 14px; color: #aab0e6; margin-bottom: 14px; }
.crumb a:hover { color: #fff; }
.crumb span { margin: 0 8px; opacity: .6; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1.25; }
.page-hero .lead { margin-top: 10px; color: #c6cbf5; font-size: 17px; }
.subtabs { display: flex; gap: 6px; margin-top: 36px; overflow-x: auto; scrollbar-width: none; }
.subtabs::-webkit-scrollbar { display: none; }
.subtabs a { flex: none; padding: 13px 20px; border-radius: 14px 14px 0 0; font-weight: 600; font-size: 15px; color: #b9bfee; transition: background .2s, color .2s; }
.subtabs a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.subtabs a.on { background: #fff; color: var(--violet); font-weight: 800; }
.sec-kids .page-hero { background: #06323a; }
.sec-kids .page-hero::before { background: var(--kids); }
.sec-kids .crumb, .sec-kids .page-hero .lead { color: #a6e8da; }
.sec-kids .subtabs a { color: #a6e8da; }
.sec-kids .subtabs a.on { color: #0aa68a; }
.page-body { padding: 56px 24px 96px; min-height: 360px; }
.placeholder { display: grid; place-items: center; gap: 10px; padding: 72px 24px; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--bg-soft); text-align: center; color: var(--muted); }
.placeholder img { width: 56px; opacity: .85; }
.placeholder strong { color: var(--ink); font-size: 19px; }

/* ---------- 레벨 테스트 ---------- */
.lt-intro { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.lt-intro h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.04em; line-height: 1.3; }
.lt-intro p { margin: 14px auto 0; max-width: 560px; color: var(--muted); font-size: 17px; }
.lt-intro p strong { color: var(--violet); }
.lt-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.lt-facts li { display: flex; flex-direction: column; min-width: 130px; padding: 12px 18px; border-radius: 16px; background: var(--bg-soft); font-size: 14px; color: var(--muted); }
.lt-facts b { color: var(--ink); font-size: 16px; }
.lt-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin: 0 auto; }
.lt-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 32px; border-radius: 26px; color: #fff; background: linear-gradient(135deg, #1a0f8f 0%, var(--violet) 55%, var(--blue) 100%); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.lt-card.kids { background: linear-gradient(135deg, #0aa68a 0%, var(--kids) 45%, var(--kids-2) 120%); }
.lt-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.lt-card.off { opacity: .55; pointer-events: none; }
.lt-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -50px; bottom: -70px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.lt-tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 13px; font-weight: 700; }
.lt-card strong { margin-top: 10px; font-size: 22px; letter-spacing: -.03em; }
.lt-sub { color: rgba(255, 255, 255, .85); font-size: 14.5px; }
.lt-go { margin-top: 18px; font-weight: 800; }
.lt-go::after { content: " →"; }
.lt-note { max-width: 820px; margin: 26px auto 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.lt-note a { color: var(--violet); font-weight: 700; text-decoration: underline; }

.lt-form { max-width: 760px; margin: 0 auto; }
.lt-progress { position: sticky; top: var(--header-h); z-index: 20; margin: -10px 0 18px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lt-progress-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 15px; }
.lt-progress-top span { color: var(--muted); }
.lt-progress-top b { color: var(--violet); font-size: 18px; }
.lt-bar { height: 10px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.lt-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--brand-grad); transition: width .35s var(--ease); }
.lt-area { margin: 34px 0 12px; font-size: 21px; font-weight: 800; letter-spacing: -.03em; color: var(--violet); }
.lt-q { margin: 0 0 14px; padding: 22px; border: 1.5px solid var(--line); border-radius: 20px; background: #fff; transition: border-color .2s, background .2s; min-width: 0; }
.lt-q.done { border-color: #cfd3f5; background: #fbfbff; }
.lt-q legend { display: flex; gap: 10px; align-items: flex-start; float: left; width: 100%; padding: 0; margin-bottom: 14px; font-size: 17.5px; font-weight: 700; line-height: 1.55; }
.lt-q legend + * { clear: both; }
.lt-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-grad); color: #fff; font-size: 14px; font-weight: 800; }
.lt-choice { display: block; margin-bottom: 8px; cursor: pointer; }
.lt-choice input { position: absolute; opacity: 0; }
.lt-choice span { display: block; padding: 13px 16px 13px 46px; position: relative; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font-size: 16px; line-height: 1.5; transition: border-color .15s, background .15s; }
.lt-choice span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid #c3c7e6; background: #fff; transition: all .15s; }
.lt-choice:hover span { border-color: #b8bdf0; background: var(--bg-soft); }
.lt-choice input:checked + span { border-color: var(--violet); background: #f1edff; font-weight: 700; }
.lt-choice input:checked + span::before { border-color: var(--violet); background: var(--violet); box-shadow: inset 0 0 0 3px #fff; }
.lt-choice input:focus-visible + span { outline: 3px solid rgba(90, 18, 255, .35); }
.lt-submit { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }

.lt-result { position: relative; max-width: 760px; margin: 0 auto 30px; padding: 40px 32px; border-radius: 30px; color: #fff; text-align: center; background: linear-gradient(135deg, #1a0f8f, var(--violet) 60%, var(--blue)); overflow: hidden; }
.lt-result.lv-1 { background: linear-gradient(135deg, #5b6bd9, #7c8cf0 60%, #5ec8f5); }
.lt-result.lv-2 { background: linear-gradient(135deg, #2b53d4, var(--blue) 70%, var(--cyan)); }
.lt-result.lv-3 { background: linear-gradient(135deg, #1a0f8f, var(--violet) 60%, var(--blue)); }
.lt-result.lv-4 { background: linear-gradient(135deg, #0b0b5e, #4b12e6 50%, #b04bff); }
.lt-aud { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 14px; font-weight: 700; }
.lt-level { margin: 16px 0 6px; }
.lt-level small { display: block; font-size: 14px; opacity: .85; }
.lt-level strong { display: block; font-size: clamp(48px, 9vw, 72px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.lt-desc { max-width: 520px; margin: 0 auto; font-size: 17px; line-height: 1.7; opacity: .95; }
.lt-score { margin-top: 18px; font-size: 18px; }
.lt-score b { font-size: 34px; }
.lt-score span { opacity: .85; }
.lt-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-width: 420px; margin: 24px auto 0; }
.lt-steps i { padding: 7px 0; border-radius: 10px; background: rgba(255, 255, 255, .16); font-style: normal; font-size: 13.5px; font-weight: 700; opacity: .6; }
.lt-steps i.on { background: #fff; color: var(--violet); opacity: 1; }
.lt-block { max-width: 760px; margin: 0 auto 30px; }
.lt-block h2 { margin-bottom: 14px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.lt-areas { display: grid; gap: 14px; padding: 22px; border-radius: 20px; background: var(--bg-soft); }
.lt-area-top { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 15px; }
.lt-area-top span { color: var(--muted); }
.lt-recs { display: grid; gap: 12px; }
.lt-rec { display: grid; gap: 3px; padding: 18px 22px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.lt-rec:hover { border-color: var(--violet); transform: translateY(-3px); box-shadow: var(--shadow); }
.lt-rec strong { font-size: 18px; }
.lt-rec span { color: var(--muted); font-size: 15px; }
.lt-rec em { margin-top: 4px; font-style: normal; font-weight: 800; color: var(--violet); font-size: 14px; }
.lt-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; max-width: 760px; margin: 0 auto 34px; padding: 24px 28px; border-radius: 22px; background: var(--navy); color: #fff; }
.lt-cta strong { display: block; font-size: 19px; }
.lt-cta span { display: block; margin-top: 3px; color: #b8bdee; font-size: 14px; }
.lt-cta-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.lt-cta .btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); color: #fff; }
.lt-cta .btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: #fff; }
.lt-items { display: grid; gap: 8px; }
.lt-item { border: 1.5px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.lt-item.ok { border-color: #bfe8d2; }
.lt-item.no { border-color: #f3c9cb; }
.lt-item summary { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 600; line-height: 1.5; }
.lt-item summary::-webkit-details-marker { display: none; }
.lt-mark { flex: none; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; }
.ok .lt-mark { background: #e6f8ef; color: #12794a; }
.no .lt-mark { background: #ffe9e9; color: #c0262d; }
.lt-opts { margin: 0; padding: 0 18px 12px 18px; display: grid; gap: 6px; }
.lt-opts li { padding: 9px 14px; border-radius: 10px; background: var(--bg-soft); font-size: 15px; }
.lt-opts li.right { background: #e6f8ef; font-weight: 700; }
.lt-opts li.mine:not(.right) { background: #ffe9e9; }
.lt-opts em { margin-left: 8px; font-style: normal; font-size: 12.5px; font-weight: 800; color: #12794a; }
.lt-opts em.bad { color: #c0262d; }
.lt-exp { margin: 0 18px 16px; padding: 12px 14px; border-radius: 10px; background: #f1edff; color: #3a3f78; font-size: 14.5px; line-height: 1.65; }
@media (max-width: 700px) {
	.lt-cards { grid-template-columns: 1fr; }
	.lt-q { padding: 18px 16px; }
	.lt-q legend { font-size: 16.5px; }
	.lt-result { padding: 32px 20px; border-radius: 24px; }
	.lt-cta { padding: 22px 20px; }
	.lt-cta-btns .btn { flex: 1 1 100%; }
	.lt-submit .btn { flex: 1 1 100%; }
}

/* ---------- 홈: 레벨 테스트 진입 배너 ---------- */
.lt-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 30px 36px; border-radius: 28px; background: linear-gradient(100deg, #eceefc, #e1f8f2); border: 1px solid var(--line); }
.lt-banner strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.lt-banner span { display: block; margin-top: 4px; color: var(--muted); }
@media (max-width: 700px) { .lt-banner { padding: 24px 22px; } .lt-banner .btn { width: 100%; } }

/* ---------- 고정 페이지 본문 (커리큘럼 등, 관리자가 입력한 표기법을 변환한 결과) ---------- */
.ct { max-width: 880px; margin: 0 auto; }
.ct-h2 { margin: 52px 0 18px; font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -.035em; line-height: 1.3; }
.ct-h2:first-child { margin-top: 0; }
.ct-h3 { margin: 30px 0 10px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--violet); }
.ct-p { margin: 0 0 14px; font-size: 17px; line-height: 1.85; color: #1f2347; }
.ct-p strong, .ct-list strong, .ct-note strong { color: var(--violet); }
.ct-list { margin: 0 0 18px; display: grid; gap: 10px; }
.ct-list li { position: relative; padding: 14px 18px 14px 46px; border-radius: 14px; background: var(--bg-soft); font-size: 16.5px; line-height: 1.6; }
.ct-list li::before { content: "✓"; position: absolute; left: 18px; top: 13px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-grad); color: #fff; font-size: 12px; font-weight: 800; }
.ct-note { margin: 22px 0; padding: 20px 24px; border-radius: 16px; background: linear-gradient(100deg, #eceefc, #e8f4ff); border-left: 5px solid var(--violet); font-size: 16.5px; line-height: 1.7; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.ct-chips li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1.5px solid #d8dcf8; color: #3a3f78; font-weight: 700; font-size: 15px; }
.ct-steps { counter-reset: step; position: relative; display: grid; gap: 14px; margin: 0 0 20px; padding: 0; list-style: none; }
.ct-steps > li { counter-increment: step; position: relative; padding-left: 62px; }
.ct-steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-grad); color: #fff; font-weight: 800; font-size: 17px; box-shadow: 0 8px 18px rgba(90, 18, 255, .3); z-index: 1; }
.ct-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: -14px; width: 2px; background: linear-gradient(#c9ccf5, #e8eaf9); }
.ct-step-body { padding: 18px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 16px rgba(40, 30, 140, .05); }
.ct-step-body > strong { display: block; font-size: 18.5px; letter-spacing: -.02em; }
.ct-step-body > span { display: block; margin-top: 2px; color: var(--muted); font-size: 15px; }
.ct-step-body ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ct-step-body ul li { padding: 4px 12px; border-radius: 999px; background: var(--bg-soft); color: #3a3f78; font-size: 13.5px; font-weight: 600; }
.sec-kids .ct-h3, .sec-kids .ct-p strong, .sec-kids .ct-list strong, .sec-kids .ct-note strong { color: #0a8f76; }
.sec-kids .ct-steps > li::before, .sec-kids .ct-list li::before { background: linear-gradient(135deg, #14c8a0, #2b8cff); }
.sec-kids .ct-note { background: linear-gradient(100deg, #e1f8f2, #e8f4ff); border-left-color: var(--kids); }
.ct-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; max-width: 880px; margin: 56px auto 0; padding: 28px 32px; border-radius: 24px; background: var(--navy); color: #fff; }
.ct-cta strong { display: block; font-size: 19px; letter-spacing: -.02em; }
.ct-cta span { display: block; margin-top: 4px; color: #b8bdee; font-size: 14.5px; }
.ct-cta-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-cta .btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); color: #fff; }
.ct-cta .btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: #fff; }
@media (max-width: 600px) {
	.ct-steps > li { padding-left: 52px; }
	.ct-steps > li::before { width: 38px; height: 38px; font-size: 15px; }
	.ct-steps > li:not(:last-child)::after { left: 18px; top: 38px; }
	.ct-step-body { padding: 16px 18px; }
	.ct-cta { padding: 24px 20px; }
	.ct-cta-btns .btn { flex: 1 1 100%; }
}

/* ---------- 홈 게시 영역 링크 ---------- */
.board .bd-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; transition: color .15s; }
.board .bd-title:hover { color: var(--violet); }
.board li.bd-empty { color: var(--muted); justify-content: center; }

/* ---------- 게시판 목록 / 페이지 이동 ---------- */
.board-list { border-top: 2px solid var(--ink); }
.board-list li { border-bottom: 1px solid var(--line); }
.board-list li.pinned { background: var(--bg-soft); }
.board-list a { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 14px; transition: background .15s; }
.board-list a:hover { background: var(--bg-soft); }
.bl-tag { color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; }
.pinned .bl-tag { color: var(--violet); font-weight: 800; }
.bl-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 17px; }
.bl-meta { color: var(--muted); font-size: 14px; white-space: nowrap; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.pager a { min-width: 40px; padding: 9px 12px; text-align: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 700; transition: border-color .15s, color .15s; }
.pager a:hover { border-color: var(--violet); color: var(--violet); }
.pager a.on { background: var(--violet); border-color: var(--violet); color: #fff; }

/* ---------- 갤러리 ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.g-card { display: block; overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.g-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.g-thumb { display: block; aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.g-card:hover .g-thumb img { transform: scale(1.06); }
.g-thumb img.g-empty { width: 38%; height: 100%; margin: 0 auto; object-fit: contain; opacity: .5; }
.g-body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.g-body strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; }
.g-body small { color: var(--muted); }

/* ---------- 수강 후기 ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.review-card strong { font-size: 18px; letter-spacing: -.02em; }
.review-card p { flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; color: #2b2f55; font-size: 15px; white-space: pre-line; }
.rv-meta { color: var(--muted); font-size: 14px; font-weight: 600; }
.stars { display: inline-flex; gap: 1px; letter-spacing: 0; }
.stars i { font-style: normal; color: #d9dbe8; font-size: 17px; }
.stars i.on { color: #ffb020; }

/* ---------- 게시글 상세 ---------- */
.post-view { max-width: 860px; margin: 0 auto; }
.post-view h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; letter-spacing: -.035em; line-height: 1.35; }
.pv-meta { margin: 10px 0 24px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); color: var(--muted); font-size: 14.5px; }
.pv-img { margin: 0 0 18px; }
.pv-img img { width: 100%; border-radius: var(--radius-sm); background: var(--bg-soft); }
.pv-content { white-space: pre-wrap; word-break: break-word; font-size: 17px; line-height: 1.85; color: #1f2347; }
.pv-files { margin-top: 36px; padding: 22px 24px; border-radius: var(--radius-sm); background: var(--bg-soft); }
.pv-files h3 { margin-bottom: 10px; font-size: 16px; font-weight: 800; }
.pv-files li { padding: 6px 0; }
.pv-files a { font-weight: 700; color: var(--violet); word-break: break-all; }
.pv-files a:hover { text-decoration: underline; }
.pv-files small { color: var(--muted); font-weight: 500; }
.pv-actions { margin-top: 40px; text-align: center; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-cat { margin: 36px 0 12px; font-size: 20px; font-weight: 800; letter-spacing: -.03em; color: var(--violet); }
.faq-cat:first-child { margin-top: 0; }
.faq-list details { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; transition: box-shadow .2s; }
.faq-list details[open] { box-shadow: var(--shadow); border-color: #cfd3f5; }
.faq-list summary { position: relative; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; margin-right: 10px; color: var(--violet); font-weight: 800; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--muted); }
.faq-list details[open] summary::after { content: "−"; }
.faq-a { padding: 0 22px 20px 54px; white-space: pre-wrap; color: #2b2f55; }
.faq-more { margin: 36px auto 0; text-align: center; color: var(--muted); }
.faq-more a { color: var(--violet); font-weight: 700; text-decoration: underline; }

/* ---------- 개강 일정 ---------- */
.sched-wrap { overflow-x: auto; }
.sched-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.sched-table th { padding: 14px 16px; text-align: left; background: var(--bg-soft); font-size: 14px; color: var(--muted); white-space: nowrap; }
.sched-table td { padding: 16px; border-top: 1px solid var(--line); vertical-align: top; }
.sched-table td small { display: block; margin-top: 2px; color: var(--muted); }
.sched-table tr.closed td { color: #9a9eb8; }
.sched-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.sched-badge.open { background: #e6f8ef; color: #12794a; }
.sched-badge.planned { background: #e8eeff; color: #2b53d4; }
.sched-badge.closed { background: #eceef5; color: #6a6f8c; }

/* ---------- 합격 현황 ---------- */
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.result-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.result-card::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--brand-grad); }
.rc-badge { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: #e6f8ef; color: #12794a; font-size: 12.5px; font-weight: 800; }
.result-card strong { margin-top: 6px; font-size: 18px; letter-spacing: -.02em; }
.rc-who { color: var(--violet); font-weight: 700; }
.result-card p { color: var(--muted); font-size: 14.5px; }
.result-card small { margin-top: 4px; color: var(--muted); }

@media (max-width: 900px) {
	.gallery-grid, .review-grid { grid-template-columns: 1fr 1fr; }
	.result-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.gallery-grid, .review-grid, .result-grid { grid-template-columns: 1fr; }
	.board-list a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 16px 6px; }
	.bl-tag { grid-column: 1 / -1; text-align: left; font-size: 13px; }
	.bl-title { white-space: normal; }
	.sched-table thead { display: none; }
	.sched-table, .sched-table tbody, .sched-table tr, .sched-table td { display: block; width: 100%; }
	.sched-table tr { padding: 14px 16px; border-top: 1px solid var(--line); }
	.sched-table tr:first-child { border-top: 0; }
	.sched-table td { display: flex; gap: 12px; padding: 4px 0; border: 0; }
	.sched-table td::before { content: attr(data-l); flex: none; width: 56px; color: var(--muted); font-size: 13px; font-weight: 700; }
	.faq-list summary { font-size: 16px; padding-right: 48px; }
	.faq-a { padding-left: 22px; }
}

/* ---------- 접수 폼 ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.form-card { padding: 36px; border-radius: 26px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.form-alert { margin-bottom: 22px; padding: 14px 18px; border-radius: var(--radius-sm); background: #fff1f1; color: #c0262d; font-weight: 600; }
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field[hidden] { display: none; }
.field > label, .field > legend { display: block; margin-bottom: 8px; padding: 0; font-weight: 700; font-size: 15px; }
.field em { color: #e5484d; font-style: normal; }
.field small { color: var(--muted); font-weight: 500; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"], .field select, .field textarea {
	width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
	font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(90, 18, 255, .12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e5484d; }
.err { margin: 6px 2px 0; color: #e5484d; font-size: 14px; font-weight: 600; }
.hint { margin: 6px 2px 0; color: var(--muted); font-size: 14px; }
.hint[hidden] { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: var(--bg-soft); }
.seg label { position: relative; margin: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 12px 8px; border-radius: 12px; text-align: center; font-weight: 700; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.seg input:checked + span { background: #fff; color: var(--violet); box-shadow: 0 4px 14px rgba(40, 30, 140, .12); }
.seg input:focus-visible + span { outline: 3px solid rgba(90, 18, 255, .35); }
.consent { margin: 6px 0 24px; padding: 20px; border-radius: var(--radius-sm); background: var(--bg-soft); }
.consent.has-error { outline: 2px solid #e5484d; }
.consent-table { width: 100%; margin-bottom: 14px; border-collapse: collapse; font-size: 14px; }
.consent-table th, .consent-table td { padding: 8px 0; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line); }
.consent-table th { width: 98px; color: var(--muted); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--violet); flex: none; }
.check a { color: var(--violet); text-decoration: underline; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-aside { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card { padding: 28px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.aside-card h2 { font-size: 20px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; }
.aside-card p { color: #b8bdee; font-size: 15px; }
.aside-tel { display: block; margin: 14px 0 16px; font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--cyan); }
.aside-card ul { display: grid; gap: 4px; font-size: 15px; color: #dfe3ff; }
.aside-card ul b { display: inline-block; width: 64px; color: #fff; }
.aside-card.soft { background: var(--bg-soft); color: var(--ink); }
.aside-card.soft h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.aside-card.soft ol { margin: 0 0 12px; padding-left: 20px; color: #2b2f55; }
.aside-card.soft p { color: var(--muted); font-size: 14px; }

.done-card { max-width: 620px; margin: 24px auto 0; padding: 56px 32px; border-radius: 28px; text-align: center; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.done-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: var(--brand-grad); color: #fff; font-size: 38px; font-weight: 800; box-shadow: 0 12px 28px rgba(90, 18, 255, .35); }
.done-card h2 { margin-bottom: 10px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.done-card p { color: #2b2f55; }
.done-detail { display: inline-block; margin-bottom: 8px; padding: 6px 16px; border-radius: 999px; background: var(--bg-soft); color: var(--violet) !important; font-weight: 800; }
.done-note { margin-top: 18px; font-size: 14.5px; color: var(--muted) !important; }
.done-note a { color: var(--violet); font-weight: 800; }
.done-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

@media (max-width: 900px) {
	.form-grid { grid-template-columns: 1fr; }
	.form-aside { position: static; order: -1; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.form-card { padding: 24px 20px; border-radius: 22px; }
	.field-row { grid-template-columns: 1fr; gap: 0; }
	.form-aside { grid-template-columns: 1fr; }
	.aside-card.soft { display: none; }
	.done-card { padding: 40px 20px; }
}

/* ---------- 오시는 길 ---------- */
.location-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: stretch; }
.map-wrap { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.map { position: absolute; inset: 0; }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 24px; text-align: center; background: var(--bg-soft); }
.map-fallback[hidden] { display: none; }
.map-fallback img { width: 56px; margin-bottom: 6px; }
.map-fallback strong { font-size: 19px; }
.map-fallback span { color: var(--muted); margin-bottom: 10px; }
.card-box { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.loc-info h2 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 18px; }
.loc-info dl { margin: 0 0 24px; display: grid; grid-template-columns: 76px 1fr; gap: 14px 12px; }
.loc-info dt { font-weight: 700; color: var(--violet); }
.loc-info dd { margin: 0; }
.loc-info a[href^="tel"] { font-weight: 800; }
.loc-btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) {
	.location-grid { grid-template-columns: 1fr; }
	.map-wrap { min-height: 320px; }
}

/* ---------- 개인정보처리방침 ---------- */
.policy { max-width: 860px; margin: 0 auto; font-size: 16px; }
.policy-intro { padding: 22px 24px; border-radius: var(--radius-sm); background: var(--bg-soft); color: #3a3f78; }
.policy h2 { margin: 44px 0 12px; font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.policy p { margin: 0 0 12px; color: #2b2f55; }
.policy ul { margin: 0 0 12px; padding-left: 20px; list-style: disc; color: #2b2f55; }
.policy li { margin-bottom: 6px; }
.policy-table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; border-top: 2px solid var(--ink); }
.policy-table th, .policy-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.policy-table thead th { background: var(--bg-soft); }
.policy-table tbody th { width: 28%; background: var(--bg-soft); }
.policy-date { margin-top: 40px; text-align: right; color: var(--muted); font-weight: 600; }
@media (max-width: 600px) {
	.policy-table th, .policy-table td { padding: 10px; font-size: 14px; }
}

/* ---------- 푸터 ---------- */
.site-footer { background: var(--navy); color: #a9afe0; padding: 64px 0 28px; font-size: 14.5px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1.6fr 1fr; gap: 40px; }
.footer-brand img { height: 44px; margin-bottom: 14px; }
.footer-brand strong { display: block; color: #fff; font-size: 19px; margin-bottom: 8px; }
.footer-info li { margin-bottom: 6px; }
.footer-info b { color: #fff; font-weight: 600; margin-right: 8px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: #fff; }
.copyright { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }

.mobile-bar { display: none; }

/* ---------- 스크롤 등장 효과 (JS가 있을 때만 적용) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* ---------- 반응형 ---------- */
@media (max-width: 1180px) {
	.header-tel { display: none; }
}
@media (max-width: 1060px) {
	.header-cta { display: none; }
	.nav-toggle { display: block; margin-left: auto; }
	.gnav {
		position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; padding: 12px 24px 100px;
		background: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden;
		transition: transform .35s var(--ease), visibility .35s;
	}
	.gnav.open { transform: none; visibility: visible; }
	.gnav > ul { flex-direction: column; gap: 0; }
	.gnav > ul > li { border-bottom: 1px solid var(--line); }
	.gnav > ul > li > a { line-height: 56px; padding: 0; font-size: 18px; font-weight: 700; }
	.gnav > ul > li > a::after { display: none; }
	.gnav .sub { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; border: 0; box-shadow: none; padding: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
	.gnav li:hover > .sub, .gnav li:focus-within > .sub { transform: none; }
	.gnav .sub a { padding: 8px 4px; color: var(--muted); font-size: 15px; }
	.hero-grid { grid-template-columns: 1fr; gap: 24px; }
	.hero { padding: 64px 0 88px; }
	.hero-visual { min-height: 340px; }
	.hero-visual .logo-big { width: 52%; max-width: 280px; }
	.code-card { left: 4%; bottom: 0; }
	.bento { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
	.section { padding-top: 72px; }
	.audience, .board-grid, .features { grid-template-columns: 1fr; }
	.aud-card { padding: 30px; min-height: 230px; }
	.footer-inner { grid-template-columns: 1fr; gap: 28px; }
	.cta-band { padding: 48px 24px; border-radius: 26px; }
	.cta-wrap { padding: 72px 0; }
}
@media (max-width: 600px) {
	:root { --header-h: 64px; }
	.container { padding: 0 20px; }
	.logo img { height: 34px; }
	.logo { font-size: 17px; }
	.hero-btns .btn { flex: 1 1 100%; }
	.hero-visual { min-height: 300px; }
	.float-chip.c2 { left: 0; }
	.float-chip.c3 { right: 0; }
	.bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
	.b-card.span2, .b-card.rows2 { grid-column: auto; grid-row: auto; }	.b-card { min-height: 170px; }
	.steps { grid-template-columns: 1fr; }
	.gnav .sub { grid-template-columns: 1fr 1fr; }
	.page-hero { padding-top: 40px; }
	.page-body { padding: 36px 20px 72px; }
	.mobile-bar {
		display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; gap: 8px; padding: 8px;
		background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
		border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
	}
	.mobile-bar a { flex: 1; text-align: center; padding: 12px 4px; border-radius: 14px; font-weight: 700; font-size: 14px; background: var(--bg-soft); }
	.mobile-bar a.primary { flex: 1.4; background: var(--brand-grad); color: #fff; }
	body { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}
