/* NEOCOLLAR — 현장 실무 강의 · 인력사무소 · 베테랑 스튜디오 */

:root {
  --ink: #111318;
  --ink-2: #454b57;
  --ink-3: #7c8290;
  --line: #e6e8ee;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --dark: #0b0d12;
  --dark-2: #161a22;
  --brand: #2f6bff;
  --gov: #2f6bff;
  --ok: #0f9b6c;
  --warn: #b26a00;
  --grad: linear-gradient(90deg, #00b3c7, #2f6bff, #7a4dff, #ff3d8b, #ff7a1a, #ffc21a);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
  --font-ja: "Pretendard Variable", Pretendard, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI",
    "Yu Gothic", YuGothic, Meiryo, "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  --radius: 14px;
  --header-h: 60px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.modal-open { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}
html:lang(ja) body { font-family: var(--font-ja); word-break: normal; line-break: strict; overflow-wrap: anywhere; }
html.big-text body { zoom: 1.15; }
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
svg { flex: none; }

.wrap { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.wrap-narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; padding: 8px 12px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip:focus { left: 8px; }
.show-m { display: inline; }
.hide-m { display: none; }

/* ---------- 맨 위 띠 ---------- */
.utility { background: var(--ink); color: rgba(255, 255, 255, 0.86); font-size: 12.5px; }
.util-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; }
.util-note { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.util-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.util-btn {
  display: inline-flex; align-items: center; gap: 5px;
  height: 26px; padding: 0 9px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22); font-weight: 600; color: #fff;
}
.util-btn[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.size-ic { font-weight: 800; letter-spacing: -0.02em; }
.size-ic small { font-size: 0.72em; }
.lang { display: inline-flex; align-items: center; gap: 2px; }
.lang .globe { width: 15px; height: 15px; margin-right: 2px; fill: none; stroke: currentColor; stroke-width: 1.6; opacity: 0.8; }
.lang button { height: 26px; padding: 0 7px; border-radius: 999px; font-weight: 600; color: rgba(255, 255, 255, 0.72); white-space: nowrap; }
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: var(--header-h); }
.icon-btn { position: relative; width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; }
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg, .search svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.menu-btn { display: inline-flex; align-items: center; gap: 6px; width: auto; padding: 0 8px; font-weight: 700; font-size: 15px; }
.menu-label { display: none; }
.logo { display: inline-flex; align-items: center; margin-right: 2px; }
.logo .wordmark { font-size: 22px; }
.vet-badge {
  display: none; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: rgba(255, 255, 255, 0.12); color: #fff; white-space: nowrap;
}
.main-nav { display: none; gap: 2px; margin-left: 10px; }
.main-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 11px; border-radius: 10px;
  font-size: 15px; font-weight: 700; color: var(--ink-2); white-space: nowrap;
}
.main-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.pass-chip {
  display: inline-block; padding: 2px 6px; border-radius: 6px;
  font-size: 10px; font-weight: 900; letter-spacing: 0.06em; color: #fff;
  background: linear-gradient(120deg, #2f6bff, #7a4dff 55%, #ff3d8b);
}

.search { display: none; position: relative; flex: 1; max-width: 360px; margin-left: auto; }
.search input {
  width: 100%; height: 42px; padding: 0 44px 0 18px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft);
  font-size: 15px; outline: none; -webkit-appearance: none; appearance: none;
}
.search input:focus { border-color: var(--ink); background: #fff; }
.search button { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; }
.search.open { display: flex; order: 10; flex-basis: 100%; max-width: none; margin: 0 0 10px; }

.bar-end { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.mode {
  display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line);
}
.mode button { height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--ink-3); white-space: nowrap; }
.mode button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(17, 19, 24, 0.16); }
.saved-link { display: none; }
.saved-link .count {
  position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: #ff3d8b; color: #fff; font-size: 10.5px; font-weight: 800; line-height: 17px; text-align: center;
}
.btn-text { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.btn-text:hover { background: var(--bg-soft); color: var(--ink); }
.btn-solid { font-size: 14px; font-weight: 700; color: #fff; background: var(--ink); padding: 9px 14px; border-radius: 10px; white-space: nowrap; }
.auth-btn { display: none; }

/* 베테랑 모드: 헤더를 어둡게 */
body[data-mode="veteran"] .site-header { background: rgba(11, 13, 18, 0.97); color: #fff; border-color: rgba(255, 255, 255, 0.08); }
body[data-mode="veteran"] .icon-btn:hover { background: rgba(255, 255, 255, 0.08); }
body[data-mode="veteran"] .main-nav a { color: rgba(255, 255, 255, 0.7); }
body[data-mode="veteran"] .main-nav a:hover,
body[data-mode="veteran"] .main-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.1); }
body[data-mode="veteran"] .mode { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.12); }
body[data-mode="veteran"] .mode button { color: rgba(255, 255, 255, 0.6); }
body[data-mode="veteran"] .mode button[aria-pressed="true"] { background: #fff; color: var(--ink); }
body[data-mode="veteran"] .btn-text { color: rgba(255, 255, 255, 0.75); }
body[data-mode="veteran"] .btn-text:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
body[data-mode="veteran"] .btn-solid { background: #fff; color: var(--ink); }
body[data-mode="veteran"] .menu-btn,
body[data-mode="veteran"] .nav-student,
body[data-mode="veteran"] .search,
body[data-mode="veteran"] .search-toggle,
body[data-mode="veteran"] .saved-link { display: none !important; }
body[data-mode="student"] .nav-vet,
body[data-mode="student"] .vet-badge { display: none !important; }

/* 메가 메뉴 (PC) */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; color: var(--ink); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px -24px rgba(17, 19, 24, 0.28);
  max-height: calc(100vh - 120px); overflow-y: auto;
}
.mega-inner { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; padding: 20px 0 28px; }
.mega-list button {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-align: left; color: var(--ink-2);
}
.mega-list button:hover, .mega-list button.active { background: var(--bg-soft); color: var(--ink); }
.dot { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.mega-panel { padding-top: 6px; }
.mega-panel h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.mega-panel .desc { margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.mega-subs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.mega-subs button { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; }
.mega-subs button:hover { border-color: var(--ink); }
.mega-courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.mega-courses button {
  width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 9px 0;
  border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--ink-2); text-align: left;
}
.mega-courses button:hover { color: var(--ink); }
.mega-courses small { flex: none; font-size: 12px; color: var(--ink-3); }
.mega-all { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--brand); }

/* 모바일 메뉴 */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(10, 12, 16, 0.45); }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px);
  display: flex; flex-direction: column; background: #fff; color: var(--ink);
  animation: drawer-in 0.22s ease-out;
}
@keyframes drawer-in { from { transform: translateX(-100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--line); font-size: 17px; }
.drawer-body { overflow-y: auto; padding: 0 12px 28px; }
.drawer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.drawer-links a {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 6px;
  border-radius: 10px; background: var(--bg-soft); font-size: 14px; font-weight: 700; text-align: center;
}
.drawer-auth { display: flex; gap: 8px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.drawer-auth button { flex: 1; min-height: 42px; border-radius: 10px; font-weight: 700; border: 1px solid var(--line); }
.drawer-auth button + button { background: var(--ink); color: #fff; border-color: var(--ink); }
.drawer-cat { border-bottom: 1px solid var(--line); }
.drawer-cat > button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 6px 10px; font-size: 16px; font-weight: 700; text-align: left; }
.drawer-subs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 6px 14px; }
.drawer-subs button { padding: 6px 10px; border-radius: 999px; background: var(--bg-soft); font-size: 13px; font-weight: 600; color: var(--ink-2); }

/* ---------- 로고 ---------- */
.wordmark { font-weight: 800; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.wm-color {
  background: linear-gradient(90deg, #00b3c7, #2f6bff, #7a4dff, #ff3d8b, #ff7a1a, #ffc21a, #00b3c7);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: wm-flow 12s linear infinite;
}
@keyframes wm-flow { from { background-position: 0% 0; } to { background-position: 150% 0; } }
.chips-mini { display: inline-flex; gap: 5px; }
.chips-mini i { display: block; width: 14px; height: 14px; border-radius: 4px; animation: chip-rise 3.6s ease-in-out infinite; }
.chips-mini i:nth-child(1) { background: #00b3c7; animation-delay: 0s; }
.chips-mini i:nth-child(2) { background: #2f6bff; animation-delay: 0.15s; }
.chips-mini i:nth-child(3) { background: #7a4dff; animation-delay: 0.3s; }
.chips-mini i:nth-child(4) { background: #ff3d8b; animation-delay: 0.45s; }
.chips-mini i:nth-child(5) { background: #ff7a1a; animation-delay: 0.6s; }
.chips-mini i:nth-child(6) { background: #ffc21a; animation-delay: 0.75s; }
@keyframes chip-rise { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ---------- 메인 비주얼 ---------- */
.hero { background: var(--dark); color: #fff; }
.hero-stage { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-video-wrap { position: absolute; inset: 0; background: var(--dark); }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-wrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 13, 18, 0.12) 0%, rgba(11, 13, 18, 0.2) 40%, rgba(11, 13, 18, 0.92) 100%);
}
.hero-copy { position: relative; z-index: 1; width: 100%; padding: 0 16px 28px; }
.wordmark-xl { font-size: clamp(46px, 14vw, 84px); color: #fff; line-height: 0.92; }
.brand-sub { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.85); }
.hero h1 { margin-top: 22px; font-size: clamp(32px, 9vw, 60px); font-weight: 800; line-height: 1.14; letter-spacing: -0.035em; }
.lead { margin-top: 14px; max-width: 34em; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, 0.86); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 0 20px; border-radius: 12px; font-size: 15px; font-weight: 700; text-align: center;
}
.btn-primary { background: #fff; color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { border: 1px solid var(--line); background: #fff; }
.hero-photo { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: 16px; padding: 6px 16px 34px; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.hero-photo figcaption { font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, 0.78); }
.hero-photo strong { display: block; margin-bottom: 6px; font-size: 20px; color: #fff; letter-spacing: -0.02em; }

.sound-btn {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px 0 11px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(11, 13, 18, 0.55); backdrop-filter: blur(6px);
  color: #fff; font-size: 13px; font-weight: 700;
}
.sound-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sound-btn .ic-on { display: none; }
.sound-btn.on .ic-on { display: block; }
.sound-btn.on .ic-off { display: none; }
.sound-btn:not(.on) { animation: sound-pulse 2.4s ease-in-out infinite; }
@keyframes sound-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35); } 50% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } }

/* ---------- 공종 바로가기 ---------- */
.quick { padding: 26px 0 4px; }
.quick-grid { display: grid; grid-template-columns: repeat(var(--cols-m, 4), minmax(0, 1fr)); gap: 6px; }
.quick-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 2px; border-radius: 14px;
  font-size: 12px; font-weight: 700; line-height: 1.3; color: var(--ink-2); text-align: center;
}
.quick-item:hover { background: var(--bg-soft); color: var(--ink); }
.quick-icon {
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: var(--c); color: #fff;
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.12);
}
.quick-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.suggest { display: flex; align-items: center; gap: 10px; margin-top: 14px; overflow: hidden; }
.suggest-label { flex: none; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.suggest-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.suggest-chips::-webkit-scrollbar { display: none; }
.suggest-chips button { flex: none; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--bg-soft); font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.suggest-chips button:hover { background: var(--ink); color: #fff; }

/* ---------- 공통 블록 ---------- */
.block { padding: 44px 0; }
.block-soft { background: var(--bg-soft); }
.block-dark { background: var(--dark); color: #fff; }
.block-tight { padding: 30px 0; border-top: 1px solid var(--line); }
.block-tight:first-of-type { border-top: 0; }
.head { margin-bottom: 20px; }
.head h2 { font-size: clamp(22px, 5.6vw, 28px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; }
.head p { margin-top: 6px; font-size: 15px; color: var(--ink-3); }
.block-dark .head p { color: rgba(255, 255, 255, 0.66); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.link-more { flex: none; font-size: 14px; font-weight: 700; color: var(--brand); white-space: nowrap; padding: 6px 0; }
.block-dark .link-more { color: #8fb0ff; }
.kicker { margin-bottom: 6px; font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: 0.02em; }
.block-dark .kicker { color: #8fb0ff; }
.kicker-pass { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; letter-spacing: 0.08em; }
.source { margin-top: 14px; font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.block-dark .source { color: rgba(255, 255, 255, 0.5); }
.sub-title { margin: 28px 0 14px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.sub-lead { margin: -6px 0 16px; font-size: 15px; color: var(--ink-3); }
.sub-block { margin-top: 44px; }
.pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px;
  background: var(--bg-soft); font-size: 12px; font-weight: 700; color: var(--ink-2); white-space: nowrap;
}
.pill-gov { background: #e9f0ff; color: var(--gov); }
.pill-ok { background: #e6f6ef; color: var(--ok); }
.pill-dark { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* ---------- 일당 차트 ---------- */
.wage-layout { display: grid; gap: 16px; }
.wage-list { display: grid; gap: 4px; }
.wage-row {
  display: grid; grid-template-columns: 5.6em minmax(0, 1fr) auto; align-items: center; gap: 10px;
  width: 100%; min-height: 40px; padding: 6px 8px; border-radius: 10px; text-align: left;
}
.wage-row:hover { background: var(--bg-soft); }
.wage-row[aria-pressed="true"] { background: #eef3ff; }
.wage-name { font-size: 14px; font-weight: 700; color: var(--ink-2); line-height: 1.25; }
.wage-name small { display: block; font-size: 11px; font-weight: 700; color: var(--ink-3); }
.wage-track { position: relative; height: 12px; border-radius: 0 4px 4px 0; }
.wage-bar { display: block; height: 100%; width: var(--w); background: #9db8ff; border-radius: 0 4px 4px 0; transition: background 0.15s; }
.wage-row[aria-pressed="true"] .wage-bar { background: var(--brand); }
.wage-row.is-base .wage-bar { background: #c9ced8; }
.wage-row.is-base[aria-pressed="true"] .wage-bar { background: var(--ink-3); }
.wage-val { font-size: 13px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wage-detail { padding: 20px; border-radius: 18px; background: var(--dark); color: #fff; }
.wage-detail .wd-name { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.7); }
.wage-detail .wd-day { margin-top: 4px; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.wage-detail ul { margin-top: 14px; display: grid; gap: 8px; }
.wage-detail li { display: flex; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.86); }
.wage-detail li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: #8fb0ff; }
.wage-detail .btn { margin-top: 16px; min-height: 42px; width: 100%; }

/* ---------- 성장 사다리 ---------- */
.ladder { display: grid; gap: 10px; counter-reset: step; }
.ladder li a {
  position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 12px; align-items: center;
  padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
}
.ladder li a:hover { border-color: var(--ink-3); }
.ladder .step-no {
  grid-row: span 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  font-weight: 800; color: #fff; background: var(--ink);
}
.ladder li:nth-child(1) .step-no { background: #6b8e23; }
.ladder li:nth-child(2) .step-no { background: #e03a7a; }
.ladder li:nth-child(3) .step-no { background: #2f6bff; }
.ladder li:nth-child(4) .step-no { background: #111318; }
.ladder li:nth-child(5) .step-no { background: linear-gradient(135deg, #7a4dff, #ff3d8b); }
.ladder strong { font-size: 16px; font-weight: 800; }
.ladder span.ld { font-size: 13px; color: var(--ink-3); }
.ladder em { grid-column: 2; font-style: normal; font-size: 12px; font-weight: 700; color: var(--brand); }

/* ---------- 수강권 (작은 카드) ---------- */
.plan-mini-grid { display: grid; gap: 10px; }
.plan-mini {
  display: grid; gap: 6px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff;
}
.plan-mini:hover { border-color: var(--ink-3); }
.plan-mini .pm-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; }
.plan-mini .pm-name { font-size: 15px; font-weight: 800; }
.plan-mini .pm-price { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.plan-mini .pm-sub { font-size: 13px; color: var(--ink-3); }
.plan-mini.featured { background: var(--dark); color: #fff; border-color: var(--dark); }
.plan-mini.featured .pm-sub { color: rgba(255, 255, 255, 0.66); }

/* ---------- 강의 카드 ---------- */
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 64%); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin;
}
.scroller > * { scroll-snap-align: start; }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; border-radius: 14px; }
.card-hit { position: absolute; inset: 0; z-index: 1; border-radius: 14px; }
.card:hover .thumb { transform: translateY(-3px); }
.thumb {
  position: relative; aspect-ratio: 16 / 10; display: flex; flex-direction: column; justify-content: space-between;
  padding: 12px; border-radius: 12px; overflow: hidden; color: #fff; background-color: var(--c);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.28));
  background-size: 18px 18px, 18px 18px, 100% 100%;
  transition: transform 0.2s ease;
}
.thumb-cat { position: relative; max-width: 72%; font-size: 12px; font-weight: 700; opacity: 0.92; }
.thumb-sub { position: relative; max-width: 78%; font-size: clamp(18px, 4.8vw, 22px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.thumb-ic { position: absolute; right: -6px; bottom: -8px; width: 76px; height: 76px; opacity: 0.22; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.save-btn {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(11, 13, 18, 0.32); color: #fff; backdrop-filter: blur(4px);
}
.save-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.save-btn[aria-pressed="true"] { background: #fff; color: #ff3d8b; }
.save-btn[aria-pressed="true"] svg { fill: currentColor; }
.card-body { display: grid; gap: 6px; }
.badges { display: flex; flex-wrap: wrap; gap: 4px; }
.b { padding: 3px 7px; border-radius: 6px; background: var(--bg-soft); font-size: 11px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.b-soon { background: var(--ink); color: #fff; }
.b-gov { background: #e9f0ff; color: var(--gov); }
.b-sample { background: #fff4e0; color: var(--warn); }
.b-neo { background: linear-gradient(120deg, #2f6bff, #7a4dff); color: #fff; }
.b-vet { background: #111318; color: #fff; }
.card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; }
.card-desc { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: var(--ink-3); }
.card-meta { font-size: 12px; font-weight: 600; color: var(--ink-3); }

/* 로드맵 카드 */
.rm-card {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); text-align: left; overflow: hidden;
}
.rm-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.rm-card:hover { border-color: var(--ink-3); }
.rm-card .rm-name { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.rm-card .rm-goal { font-size: 13px; color: var(--ink-3); }
.rm-card .rm-meta { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.rm-card .rm-wage { font-size: 12px; font-weight: 700; color: var(--brand); }
.chip-row { display: flex; flex-wrap: wrap; gap: 4px; }
.cert { padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); font-size: 11px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.scroller-rm { grid-auto-columns: minmax(240px, 76%); }

/* 인력사무소 소개 (홈) */
.jobs-teaser { display: grid; gap: 18px; padding: 24px; border-radius: 22px; background: var(--bg-soft); }
.jobs-teaser-head h2 { margin-top: 10px; font-size: clamp(22px, 5.6vw, 28px); font-weight: 800; letter-spacing: -0.03em; }
.jobs-teaser-head p { margin-top: 6px; font-size: 15px; color: var(--ink-3); }
.jobs-teaser-head .btn { margin-top: 16px; }
.jobs-teaser-grid { display: grid; gap: 10px; }
.jt-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 14px; border-radius: 14px; background: #fff; }
.jt-item .jt-ic { grid-row: span 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: #fff; }
.jt-item .jt-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.jt-item strong { font-size: 16px; font-weight: 800; }
.jt-item span { font-size: 13px; color: var(--ink-3); }
.pass-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 999px;
  font-size: 12.5px; font-weight: 800; color: #fff; background: linear-gradient(120deg, #2f6bff, #7a4dff 55%, #ff3d8b);
  box-shadow: 0 6px 16px -8px rgba(122, 77, 255, 0.8);
}
.pass-pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

/* 해외 현장 */
.os-list { display: grid; gap: 10px; }
.os-row { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: var(--dark-2); }
.os-row.is-ref { background: transparent; border: 1px dashed rgba(255, 255, 255, 0.18); }
.os-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.os-country { font-size: 16px; font-weight: 800; }
.os-month { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.os-month small { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.55); margin-left: 4px; }
.os-track { height: 10px; border-radius: 0 4px 4px 0; }
.os-bar { display: block; height: 100%; width: var(--w); background: #8fb0ff; border-radius: 0 4px 4px 0; }
.os-row.is-ref .os-bar { background: rgba(255, 255, 255, 0.35); }
.os-figure { font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.os-why { font-size: 13px; color: #b9ccff; }
.os-src { font-size: 11px; color: rgba(255, 255, 255, 0.45); }

/* 베테랑 배너 (홈) */
.vet-banner {
  display: grid; gap: 18px; padding: 28px 24px; border-radius: 22px; color: #fff;
  background: radial-gradient(600px 300px at 90% 0%, rgba(122, 77, 255, 0.45), transparent 60%), var(--dark);
}
.vet-banner .kicker { color: #c4b2ff; }
.vet-banner h2 { font-size: clamp(22px, 5.6vw, 30px); font-weight: 800; letter-spacing: -0.03em; }
.vet-banner p:not(.kicker) { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, 0.75); }
.vet-banner .btn { justify-self: start; }

/* 자주 묻는 질문 */
.faq { display: grid; gap: 8px; }
.faq details { border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px;
  font-size: 15px; font-weight: 700; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 20px; font-weight: 400; color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }

/* ---------- 페이지 공통 ---------- */
.page { padding: 28px 0 56px; }
.page-head { margin-bottom: 22px; }
.page-head h1 { margin-top: 6px; font-size: clamp(26px, 6.4vw, 36px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.25; }
.page-head p { margin-top: 8px; font-size: 15px; color: var(--ink-3); }
.page-head .pass-pill { margin-bottom: 4px; }

/* 필터 칩 */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips-sub, .chips-filter { margin-top: 10px; }
.chips-sub:empty { display: none; }
.chips-sub .chip { height: 32px; font-size: 13px; background: var(--bg-soft); border-color: transparent; }
.chips-sub .chip[aria-pressed="true"] { background: #fff; border-color: var(--ink); color: var(--ink); }
.chips-filter .chip { height: 32px; font-size: 13px; }
.chips-filter .chip[aria-pressed="true"] { background: #eef3ff; border-color: var(--brand); color: var(--brand); }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; margin: 18px 0 14px; }
.result-bar p { font-size: 14px; color: var(--ink-3); }
.result-bar strong { color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
.empty { padding: 40px 0; text-align: center; color: var(--ink-3); }
.more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.btn-more { min-height: 48px; padding: 0 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 15px; font-weight: 700; }
.btn-more:hover { border-color: var(--ink); }

/* 로드맵 페이지 */
.quiz-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px; border-radius: 18px; color: #fff; margin-bottom: 18px;
  background: radial-gradient(500px 220px at 100% 0%, rgba(0, 179, 199, 0.45), transparent 60%), var(--dark);
}
.quiz-card strong { display: block; font-size: 18px; font-weight: 800; }
.quiz-card span { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.quiz-card .btn-dark { background: #fff; color: var(--ink); }
.rm-list { display: grid; gap: 14px; }
.rm-full { position: relative; padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: #fff; overflow: hidden; scroll-margin-top: 130px; }
.rm-full::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--c); }
.rm-full.flash { animation: flash 1.6s ease; }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 107, 255, 0); } 30% { box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.35); } }
.rm-full h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.rm-full .rm-goal { margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.rm-full .rm-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.rm-steps { margin-top: 14px; display: grid; gap: 4px; counter-reset: rs; }
.rm-steps button {
  width: 100%; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 10px 6px; border-radius: 10px; text-align: left;
}
.rm-steps button:hover { background: var(--bg-soft); }
.rm-steps .n { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--bg-soft); font-size: 12px; font-weight: 800; color: var(--ink-2); }
.rm-steps .t { font-size: 15px; font-weight: 700; }
.rm-steps .m { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.rm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.rm-foot .btn { min-height: 42px; }

/* ---------- 인력사무소 ---------- */
.pass-banner {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px 16px;
  padding: 18px; border-radius: 20px; color: #fff; overflow: hidden;
  background:
    radial-gradient(420px 200px at 0% 0%, rgba(47, 107, 255, 0.55), transparent 60%),
    radial-gradient(420px 200px at 100% 100%, rgba(255, 61, 139, 0.45), transparent 60%),
    var(--dark);
}
.pass-banner .btn { grid-column: 1 / -1; min-height: 44px; }
.pass-ticket {
  position: relative; width: 70px; height: 70px; display: grid; place-content: center; text-align: center;
  border-radius: 16px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22);
}
.pass-ticket::before, .pass-ticket::after {
  content: ""; position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--dark);
}
.pass-ticket::before { left: -7px; }
.pass-ticket::after { right: -7px; }
.pt-top { font-size: 10px; font-weight: 800; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.7); }
.pt-main { font-size: 18px; font-weight: 900; letter-spacing: 0.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.pass-text strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.4; }
.pass-text span { display: block; margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, 0.72); }

.seg { display: flex; gap: 4px; margin-top: 22px; padding: 4px; border-radius: 14px; background: var(--bg-soft); }
.seg button { flex: 1; min-height: 44px; border-radius: 10px; font-size: 15px; font-weight: 800; color: var(--ink-3); }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(17, 19, 24, 0.12); }
.job-tools { display: grid; gap: 12px; margin: 16px 0; }
.demo-note { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #fff7e8; color: #7a4a00; font-size: 13px; }
.demo-note svg, .vet-note svg { width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.job-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.job-filters label, .up-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
select, .up-form input[type="text"] {
  width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 15px;
}
select:focus, .up-form input:focus { outline: none; border-color: var(--ink); }
.cta-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px; border-radius: 16px; border: 1px solid var(--line); margin-bottom: 14px;
}
.cta-card strong { display: block; font-size: 16px; font-weight: 800; }
.cta-card span { font-size: 13px; color: var(--ink-3); }
.cta-card .btn { min-height: 44px; }
.cta-card-dark { background: var(--dark); color: #fff; border-color: var(--dark); margin-top: 22px; }
.cta-card-dark span { color: rgba(255, 255, 255, 0.7); }
.job-grid { display: grid; gap: 10px; }
.job {
  display: grid; gap: 8px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff;
}
.job-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.job-type { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.job-title { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.job-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tags span { padding: 3px 8px; border-radius: 999px; background: var(--bg-soft); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.job-act { justify-self: start; min-height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.job-act:hover { border-color: var(--ink); }
.safety { display: flex; gap: 12px; padding: 16px; border-radius: 16px; background: #eaf7f1; margin-bottom: 14px; }
.safety > svg { width: 28px; height: 28px; color: var(--ok); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.safety strong { display: block; font-size: 15px; font-weight: 800; }
.safety p { margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.text-link { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--ok); text-decoration: underline; text-underline-offset: 3px; }
.info-note { padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.flow { display: grid; gap: 8px; counter-reset: fl; }
.flow li {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft);
  font-size: 15px; font-weight: 700;
}
.flow li::before {
  counter-increment: fl; content: counter(fl); flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800;
}
.partner-grid { display: grid; gap: 10px; }
.partner { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 16px; border-radius: 16px; border: 1px solid var(--line); }
.partner .p-ic { grid-row: span 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--bg-soft); }
.partner .p-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.partner strong { font-size: 16px; font-weight: 800; }
.partner span { font-size: 13px; color: var(--ink-3); }
.region-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.region { padding: 12px 14px; border-radius: 14px; border: 1px dashed #cfd4de; }
.region strong { display: block; font-size: 14px; font-weight: 800; }
.region span { font-size: 12px; font-weight: 700; color: var(--warn); }

/* ---------- 수강권 ---------- */
.plans-grid { display: grid; gap: 14px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.plan.featured {
  color: #fff; border-color: transparent;
  background:
    linear-gradient(var(--dark), var(--dark)) padding-box,
    linear-gradient(120deg, #00b3c7, #2f6bff, #7a4dff, #ff3d8b) border-box;
  border: 2px solid transparent;
}
.plan-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.plan-pass { font-size: 12px; font-weight: 900; letter-spacing: 0.1em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.plan h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.plan-price { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 15px; font-weight: 700; margin-left: 4px; color: var(--ink-3); }
.plan.featured .plan-price small { color: rgba(255, 255, 255, 0.6); }
.plan-sub { font-size: 14px; color: var(--ink-3); }
.plan.featured .plan-sub { color: rgba(255, 255, 255, 0.72); }
.plan-perday { font-size: 13px; font-weight: 700; color: var(--brand); }
.plan ul { display: grid; gap: 8px; }
.plan li { display: flex; gap: 8px; font-size: 14px; }
.plan li svg { width: 18px; height: 18px; margin-top: 1px; color: var(--ok); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.plan.featured li svg { color: #7fe3c0; }
.plan li.hl { font-weight: 800; }
.plan .btn { margin-top: auto; }
.plan .btn-dark { background: var(--ink); }
.plan.featured .btn-dark { background: #fff; color: var(--ink); }
.country-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.country-chips button { height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.country-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.country-label { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.pick { margin-top: 10px; }
.pick-list { display: grid; gap: 8px; }
.pick-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); }
.pick-list span { font-size: 14px; color: var(--ink-2); }
.pick-list strong { font-size: 15px; font-weight: 800; }
.pick-list strong::before { content: "→ "; color: var(--brand); }
.wrap-narrow-left { max-width: 820px; }

/* ---------- 베테랑 스튜디오 ---------- */
.vet-hero {
  padding: 48px 0 40px; color: #fff;
  background:
    radial-gradient(700px 360px at 85% 10%, rgba(122, 77, 255, 0.4), transparent 60%),
    radial-gradient(600px 320px at 0% 100%, rgba(255, 122, 26, 0.22), transparent 60%),
    var(--dark);
}
.vet-tag { display: inline-block; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); font-size: 13px; font-weight: 800; }
.vet-hero h1 { margin-top: 16px; font-size: clamp(30px, 8vw, 54px); font-weight: 800; line-height: 1.18; letter-spacing: -0.035em; }
.vet-note { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 4px; padding: 10px 12px; border-radius: 12px; background: #f1edff; color: #4b2fb3; font-size: 13px; }
.ways { display: grid; gap: 10px; }
.way { display: grid; gap: 8px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); }
.way .w-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--c); }
.way .w-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.way strong { font-size: 17px; font-weight: 800; }
.way p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 16px; border-radius: 16px; background: var(--bg-soft); }
.kpi span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.kpi strong { display: block; margin-top: 6px; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.steps-strip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; }
.steps-strip li { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--bg-soft); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.steps-strip li b { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; }
.upload { display: grid; gap: 14px; }
.dropzone {
  display: grid; justify-items: center; gap: 8px; padding: 30px 16px; border-radius: 18px; text-align: center; cursor: pointer;
  border: 2px dashed #c7ccd8; background: var(--bg-soft); font-size: 15px; font-weight: 600; color: var(--ink-2);
}
.dropzone svg { width: 34px; height: 34px; fill: none; stroke: var(--ink-3); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dropzone small { font-size: 12px; color: var(--ink-3); }
.up-form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-grid { display: grid; gap: 10px; }
.pay { padding: 18px; border-radius: 16px; border: 1px solid var(--line); }
.pay strong { display: block; font-size: 16px; font-weight: 800; }
.pay p { margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.formula { margin-top: 14px; padding: 16px 18px; border-radius: 16px; background: var(--dark); color: #fff; }
.formula p { font-size: 15px; font-weight: 700; line-height: 1.6; }
.formula small { display: block; margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.calc { margin-top: 18px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); }
.calc h3 { font-size: 17px; font-weight: 800; }
.calc-grid { display: grid; gap: 18px; margin-top: 14px; }
.calc-inputs { display: grid; gap: 16px; }
.calc-inputs label { display: grid; gap: 8px; }
.calc-inputs label > span { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.calc-inputs output { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-inputs input[type="range"] { width: 100%; accent-color: var(--brand); height: 28px; }
.calc-result { display: grid; align-content: center; gap: 4px; padding: 18px; border-radius: 16px; background: var(--bg-soft); }
.calc-result > span { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.calc-result strong { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc-year { font-size: 14px; color: var(--ink-2); }
.calc-year b { font-weight: 800; color: var(--ink); }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.perk { padding: 16px; border-radius: 16px; background: var(--bg-soft); }
.perk strong { display: block; font-size: 15px; font-weight: 800; line-height: 1.4; }
.perk p { margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.personas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.personas li { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; line-height: 1.4; }
.personas li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, #7a4dff, #ff3d8b); }
.guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tip { padding: 14px; border-radius: 14px; border: 1px solid var(--line); }
.tip b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--bg-soft); font-size: 12px; }
.tip strong { display: block; margin-top: 8px; font-size: 15px; font-weight: 800; }
.tip p { margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.vet-apply {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 24px; border-radius: 20px; color: #fff;
  background: radial-gradient(500px 240px at 100% 0%, rgba(122, 77, 255, 0.5), transparent 60%), var(--dark);
}
.vet-apply strong { display: block; font-size: 19px; font-weight: 800; }
.vet-apply span { font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.soon-tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 6px; background: #fff4e0; color: var(--warn); font-size: 11px; font-weight: 800; vertical-align: middle; }

/* ---------- 푸터 ---------- */
.site-footer { padding: 40px 0 48px; background: var(--dark); color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.foot-top { display: grid; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.foot-brand .wordmark { display: inline-block; font-size: 28px; color: #fff; }
.foot-brand p { margin-top: 6px; }
.foot-cats { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot-cats button { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.foot-cats button:hover { color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.foot-copy { margin-top: 16px; font-size: 12px; color: rgba(255, 255, 255, 0.45); }

/* ---------- 하단 메뉴 (휴대폰) ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.tab-set { display: flex; }
body[data-mode="student"] .tab-vet, body[data-mode="veteran"] .tab-student { display: none; }
body[data-mode="veteran"] .tabbar { background: rgba(11, 13, 18, 0.97); border-color: rgba(255, 255, 255, 0.08); }
.tab-set a {
  position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  height: 60px; font-size: 11px; font-weight: 700; color: var(--ink-3); text-align: center; line-height: 1.2;
}
.tab-set a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
.tab-set a svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab-set a[aria-current="page"] { color: var(--ink); }
body[data-mode="veteran"] .tab-set a { color: rgba(255, 255, 255, 0.55); }
body[data-mode="veteran"] .tab-set a[aria-current="page"] { color: #fff; }
.tab-pass { position: absolute; top: 9px; left: calc(50% + 8px); width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #2f6bff, #ff3d8b); }

/* ---------- 상세 창 ---------- */
dialog.sheet {
  width: min(760px, 100%); max-width: 100%; max-height: min(90vh, 900px); padding: 0; border: 0;
  border-radius: 22px; background: #fff; color: var(--ink); overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);
}
dialog.sheet-sm { width: min(520px, 100%); }
dialog.sheet::backdrop { background: rgba(10, 12, 16, 0.55); }
dialog.sheet[open] { animation: sheet-in 0.22s ease-out; }
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } }
.sheet-inner { position: relative; max-height: inherit; overflow-y: auto; overscroll-behavior: contain; }
.sheet-close { position: sticky; top: 10px; float: right; margin: 10px 10px -50px 0; z-index: 3; background: rgba(255, 255, 255, 0.9); }
.sheet-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cm-hero { position: relative; padding: 28px 22px 22px; color: #fff; background-color: var(--c); overflow: hidden;
  background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px), linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.32));
  background-size: 20px 20px, 20px 20px, 100% 100%; }
.cm-hero .thumb-ic { width: 140px; height: 140px; right: -14px; bottom: -22px; }
.cm-crumb { position: relative; font-size: 13px; font-weight: 700; opacity: 0.9; }
.cm-hero h2 { position: relative; margin-top: 8px; max-width: 90%; font-size: clamp(22px, 5.6vw, 28px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; }
.cm-hero p { position: relative; margin-top: 6px; font-size: 15px; opacity: 0.92; }
.cm-hero .badges { position: relative; margin-top: 12px; }
.cm-hero .b { background: rgba(255, 255, 255, 0.92); }
.cm-hero .b-soon { background: var(--ink); color: #fff; }
.cm-body { display: grid; gap: 20px; padding: 22px; }
.cm-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cm-meta div { padding: 12px; border-radius: 12px; background: var(--bg-soft); }
.cm-meta dt { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.cm-meta dd { margin-top: 2px; font-size: 14px; font-weight: 700; }
.cm-sec h3 { margin-bottom: 8px; font-size: 15px; font-weight: 800; }
.cm-sec ul.dots { display: grid; gap: 6px; }
.cm-sec ul.dots li { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); }
.cm-sec ul.dots li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--ink-3); }
.cm-wage { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding: 14px; border-radius: 14px; background: #eef3ff; }
.cm-wage strong { font-size: 20px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.cm-wage span { font-size: 13px; color: var(--ink-2); }
.cm-wage small { flex-basis: 100%; font-size: 11px; color: var(--ink-3); }
.tool-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-list span { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.cm-practice { padding: 14px; border-radius: 14px; background: #eaf7f1; font-size: 14px; color: var(--ink-2); }
.cm-practice .text-link { display: inline-block; }
.cm-links { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-links button { padding: 8px 12px; border-radius: 10px; background: var(--bg-soft); font-size: 13px; font-weight: 700; }
.cm-related { display: grid; gap: 4px; }
.cm-related button { display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 4px; border-bottom: 1px dashed var(--line); font-size: 14px; text-align: left; }
.cm-related small { flex: none; color: var(--ink-3); }
.cm-note { font-size: 13px; color: var(--ink-3); }
.cm-actions { position: sticky; bottom: 0; display: flex; gap: 8px; padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); }
.cm-actions .btn { flex: 1; min-height: 46px; }
.cm-actions .btn-line[aria-pressed="true"] { color: #ff3d8b; border-color: #ffc2d8; background: #fff0f6; }

/* 기술 찾기 */
.quiz { padding: 26px 22px 22px; }
.quiz h2 { font-size: 13px; font-weight: 800; color: var(--brand); }
.quiz .q-step { margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.quiz .q-bar { margin-top: 10px; height: 6px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.quiz .q-bar i { display: block; height: 100%; width: var(--p); background: var(--grad); transition: width 0.25s; }
.quiz h3 { margin-top: 18px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.quiz .q-opts { display: grid; gap: 8px; margin-top: 16px; }
.quiz .q-opts button { min-height: 54px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); font-size: 15px; font-weight: 700; text-align: left; }
.quiz .q-opts button:hover { border-color: var(--ink); background: var(--bg-soft); }
.quiz .q-back { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.quiz .q-result { display: grid; gap: 10px; margin-top: 16px; }
.quiz .q-result .rm-card { cursor: pointer; }
.quiz .q-result .alt-label { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--ink-3); }

/* 알림 */
.toast {
  position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 400; max-width: calc(100% - 32px);
  padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; text-align: center;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5); opacity: 0; pointer-events: none; transform: translate(-50%, 20px);
  transition: opacity 0.2s, transform 0.2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.noscript { padding: 16px; text-align: center; }

/* ---------- 휴대폰 전용 ---------- */
@media (max-width: 719px) {
  dialog.sheet { margin: auto 0 0; width: 100%; max-height: 92vh; max-height: 92svh; border-radius: 22px 22px 0 0; }
  dialog.sheet[open] { animation: sheet-up 0.24s ease-out; }
  @keyframes sheet-up { from { transform: translateY(40px); opacity: 0.4; } }
}
@media (max-width: 379px) {
  .util-note { display: none; }
  .util-inner { justify-content: flex-end; }
  .mode button { padding: 0 9px; }
}
/* 휴대폰 머리줄이 두 줄로 밀리지 않게
 * - 영어·일본어는 학생/베테랑 버튼 글자가 길어서 조금 좁힌다 (좁은 화면에선 로고도 살짝 작게)
 * - '글자 크게'일 때 머리줄까지 커지면 한 줄에 안 들어가므로 머리줄만 원래 크기로 (1.15 × 0.87 ≈ 1) */
@media (max-width: 719px) {
  html:not([lang="ko"]) .mode button { padding: 0 8px; }
  html.big-text .site-header { zoom: 0.87; }
}
@media (max-width: 379px) {
  html:not([lang="ko"]) .bar { gap: 4px; }
  html:not([lang="ko"]) .logo .wordmark { font-size: 19px; }
  html:not([lang="ko"]) .mode button { padding: 0 6px; font-size: 12px; }
}

/* ---------- 태블릿 이상 ---------- */
@media (min-width: 720px) {
  .show-m { display: none; }
  .hide-m { display: inline; }
  .saved-link { display: inline-grid; }
  .scroller { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; }
  .scroller-rm { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
  .thumb-sub { font-size: 21px; }
  .wage-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
  .wage-detail { position: sticky; top: 130px; }
  .wage-row { grid-template-columns: 7.5em minmax(0, 1fr) auto; }
  .ladder { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ladder li a { height: 100%; grid-template-columns: 1fr; align-content: start; gap: 8px; }
  .ladder .step-no { grid-row: auto; }
  .ladder em { grid-column: auto; }
  .plan-mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jobs-teaser { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; padding: 32px; }
  .os-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vet-banner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 36px; }
  .pass-banner { grid-template-columns: auto minmax(0, 1fr) auto; padding: 22px 24px; }
  .pass-banner .btn { grid-column: auto; }
  .job-tools { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: end; }
  .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .flow li { flex-direction: column; align-items: flex-start; font-size: 14px; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .region-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .rm-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .upload { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .pay-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .perks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .personas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .guide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cm-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- PC ---------- */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .toast { bottom: 28px; }
  :root { --header-h: 68px; }
  .bar { flex-wrap: nowrap; gap: 10px; }
  .menu-label { display: inline; }
  .main-nav { display: flex; }
  .vet-badge { display: inline-block; }
  .search { display: flex; }
  .search-toggle { display: none; }
  .auth-btn { display: inline-flex; }
  .bar-end { gap: 6px; margin-left: 4px; }
  body[data-mode="veteran"] .bar-end { margin-left: auto; }

  .hero {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.5fr) minmax(0, 0.5fr); column-gap: 24px; align-items: center;
    padding: 64px max(32px, calc((100% - 1200px) / 2)) 72px;
    background:
      radial-gradient(1000px 520px at 82% 18%, rgba(47, 107, 255, 0.26), transparent 60%),
      radial-gradient(760px 460px at 8% 92%, rgba(255, 122, 26, 0.16), transparent 60%),
      var(--dark);
  }
  .hero-stage { display: contents; }
  .hero-copy { grid-column: 1; grid-row: 1; padding: 0 32px 0 0; }
  .hero-video-wrap {
    position: relative; inset: auto; grid-column: 2; grid-row: 1; aspect-ratio: 9 / 16;
    border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  }
  .hero-video-wrap::after { background: linear-gradient(180deg, transparent 70%, rgba(11, 13, 18, 0.35)); }
  .hero-photo { grid-column: 3; grid-row: 1; display: block; padding: 0; margin-top: 110px; }
  .hero-photo img { border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
  .hero-photo figcaption { margin-top: 14px; font-size: 13px; }
  .hero-photo strong { font-size: 18px; }
  .lead { font-size: 18px; }

  .quick-grid { grid-template-columns: repeat(var(--cols-d, 11), minmax(0, 1fr)); gap: 8px; }
  .quick-item { font-size: 13px; }
  .quick-icon { width: 56px; height: 56px; }

  .block { padding: 60px 0; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .os-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: 280px minmax(0, 1fr); }
  .rm-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vet-hero { padding: 72px 0 60px; }
}
@media (min-width: 960px) and (max-width: 1119px) {
  .btn-solid.auth-btn { display: none; }
  .main-nav a { padding: 0 8px; font-size: 14px; }
  .search { max-width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 상황별 클립 · 수준 탭 · 커뮤니티 · 현장 용어 ---------- */
.b-clip { background: #e6f7f9; color: #00808f; }
.b-know { background: #f1edff; color: #5b37d6; }
.level-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 16px; }
.level-tabs button { display: grid; gap: 2px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-align: left; }
.level-tabs button strong { font-size: 15px; font-weight: 800; }
.level-tabs button span { font-size: 12px; line-height: 1.35; color: var(--ink-3); }
.level-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.level-tabs button[aria-selected="true"] span { color: rgba(255, 255, 255, 0.72); }

.comm-teaser { display: grid; gap: 18px; padding: 24px; border-radius: 22px; border: 1px solid var(--line); }
.comm-teaser-head h2 { font-size: clamp(22px, 5.6vw, 28px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; }
.comm-teaser-head p:not(.kicker) { margin-top: 6px; font-size: 15px; color: var(--ink-3); }
.comm-teaser-head .btn { margin-top: 16px; }
.comm-teaser-body { display: grid; gap: 14px; }
.board-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.board-chips a { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--bg-soft); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.board-chips a:hover { background: var(--ink); color: #fff; }
.term-peek { padding: 16px; border-radius: 16px; background: var(--dark); color: #fff; }
.term-peek-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 800; color: rgba(255, 255, 255, 0.7); }
.term-peek-title a { font-size: 12px; color: #8fb0ff; }
.term-peek-list { display: grid; gap: 10px; margin-top: 10px; }
.term-peek-list div { display: grid; gap: 2px; }
.term-peek-list strong { font-size: 16px; font-weight: 800; }
.term-peek-list strong small { margin-left: 6px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.5); }
.term-peek-list span { font-size: 13px; color: rgba(255, 255, 255, 0.78); }

.comm-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.comm-toolbar .btn { min-height: 42px; }
.board-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.board { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: #fff; text-align: left; }
.board:hover { border-color: var(--ink-3); }
.board .bd-ic { grid-row: span 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--c); color: #fff; }
.board .bd-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.board strong { font-size: 15px; font-weight: 800; line-height: 1.3; }
.board .bd-d { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.4; color: var(--ink-3); }
.post-list { display: grid; border-top: 1px solid var(--line); }
.post-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.post-board { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.post-title { flex-basis: 100%; font-size: 15px; font-weight: 700; }

.term-tools { display: grid; gap: 10px; margin: 16px 0 12px; }
.term-search { width: 100%; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); font-size: 15px; -webkit-appearance: none; appearance: none; }
.term-search:focus { outline: none; border-color: var(--ink); background: #fff; }
.term-count { margin: 14px 0 10px; font-size: 14px; color: var(--ink-3); }
.term-grid { display: grid; gap: 10px; }
.term { display: grid; gap: 6px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.term-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.term-word { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.term-rom { font-size: 13px; color: var(--ink-3); }
.term-cat { margin-left: auto; }
.term-mean { font-size: 15px; line-height: 1.5; }
.term-extra { display: flex; flex-wrap: wrap; gap: 6px; }
.term-extra span { padding: 3px 8px; border-radius: 999px; background: var(--bg-soft); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.term-extra span.jp { background: #fff0f6; color: #b0225d; }

.plan.featured .country-label { color: rgba(255, 255, 255, 0.6); }
.cm-actions .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.cm-actions .btn[aria-pressed="true"] svg { fill: currentColor; }
[id^="vet-"] { scroll-margin-top: 90px; }

@media (min-width: 720px) {
  .comm-teaser { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; padding: 32px; }
  .board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .term-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .level-tabs { max-width: 720px; }
}
@media (min-width: 960px) {
  .board-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .term-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post-title { flex-basis: auto; }
}

/* ---------- 광고 한 칸 (홈 · 예시) ---------- */
.ad-slot { padding: 0; }
.ad {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 60px minmax(0, 1fr); align-items: center; gap: 10px 14px;
  max-width: 970px; margin-inline: auto; padding: 16px 16px 18px; border-radius: 18px; color: #fff;
  background: radial-gradient(420px 160px at 0% 50%, rgba(92, 242, 143, 0.14), transparent 70%), linear-gradient(100deg, #0e1217, #161b22);
}
.ad::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #5cf28f 18%, #5cf28f 62%, transparent); box-shadow: 0 0 10px rgba(92, 242, 143, 0.75); opacity: 0.8;
}
.ad-art svg { width: 60px; height: 60px; }
.ad-beam { stroke: #5cf28f; stroke-width: 1.4; filter: drop-shadow(0 0 2px #5cf28f); }
.ad-beam-v { opacity: 0.45; }
.ad-copy { display: grid; gap: 3px; min-width: 0; }
.ad-top { display: flex; align-items: center; gap: 8px; }
.ad-brand { order: -1; margin-right: auto; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; color: #5cf28f; }
.ad-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(255, 255, 255, 0.5); white-space: nowrap; }
.ad-tag b { padding: 1px 6px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 5px; font-size: 10.5px; font-weight: 700; color: rgba(255, 255, 255, 0.8); }
.ad-title { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.ad-desc { font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.66); }
.ad-cta { grid-column: 2; display: inline-flex; align-items: center; gap: 2px; justify-self: start; font-size: 13px; font-weight: 700; color: #5cf28f; }
.ad-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ad:hover .ad-cta span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 광고 안내 ---------- */
.ads-hero {
  position: relative; overflow: hidden; padding: 28px 22px 30px; border-radius: 22px; color: #fff;
  background: radial-gradient(520px 260px at 100% 0%, rgba(92, 242, 143, 0.16), transparent 60%), var(--dark);
}
.ads-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #5cf28f 22%, #5cf28f 70%, transparent); box-shadow: 0 0 12px rgba(92, 242, 143, 0.8); opacity: 0.8;
}
.ads-hero .kicker { color: #5cf28f; }
.ads-hero h1 { font-size: clamp(26px, 6.4vw, 38px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.25; }
.ads-lead { margin-top: 10px; max-width: 36em; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.8); }
.ads-sample { display: inline-block; margin-top: 12px; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.ads-why { display: grid; gap: 10px; }
.ads-why > div { padding: 18px; border-radius: 16px; border: 1px solid var(--line); }
.ads-why strong { font-size: 16px; font-weight: 800; }
.ads-why p { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.ads-places { display: grid; gap: 8px; }
.ads-places li { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); }
.ads-places b { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; }
.ads-places strong { font-size: 15px; font-weight: 800; }
.ads-places p { margin-top: 2px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.ads-rule { margin-top: 18px; }

/* ---------- 방문자 통계 ---------- */
.stat-list { display: grid; gap: 2px; }
.stat-row { display: grid; grid-template-columns: 8em minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 40px; padding: 6px 4px; }
.stat-name { font-size: 14px; font-weight: 700; color: var(--ink-2); line-height: 1.25; }
.stat-name small { margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--ink-3); }
.stat-row .wage-bar { background: var(--brand); }
.stat-val { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.stat-val small { margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.stat-count { margin-left: 6px; font-size: 13px; font-weight: 700; color: var(--ink-3); }

.foot-links a { color: rgba(255, 255, 255, 0.8); text-decoration: underline; text-underline-offset: 3px; }
.foot-links a:hover { color: #fff; }

@media (min-width: 720px) {
  .ad { grid-template-columns: 72px minmax(0, 1fr) auto; padding: 16px 22px 18px; gap: 18px; }
  .ad-art svg { width: 72px; height: 72px; }
  .ad-title { font-size: 17px; }
  .ad-cta { grid-column: auto; height: 38px; padding: 0 12px 0 14px; border-radius: 999px; border: 1px solid rgba(92, 242, 143, 0.55); }
  .ad:hover .ad-cta { background: #5cf28f; color: #0b0e12; }
  .ad:hover .ad-cta span { text-decoration: none; }
  .ads-hero { padding: 40px 40px 38px; }
  .ads-why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ads-places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: 11em minmax(0, 1fr) auto; }
}

/* 영어는 단어가 길어서 일당 차트 이름 칸을 넓힘 */
html:lang(en) .wage-row { grid-template-columns: 7.4em minmax(0, 1fr) auto; }
html:lang(en) .wage-name { font-size: 13px; }

/* 영상 올리기: 로그인 전에는 잠금 */
.dropzone.is-locked { cursor: default; gap: 8px; }
.dropzone.is-locked strong { font-size: 16px; font-weight: 800; color: var(--ink); }
.dropzone.is-locked small { max-width: 26em; line-height: 1.5; }
.dropzone.is-locked .btn { margin-top: 6px; min-height: 44px; }
.up-form fieldset { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.up-form.is-locked fieldset { opacity: 0.5; }
.up-form fieldset:disabled input, .up-form fieldset:disabled select, .up-form fieldset:disabled .btn { cursor: not-allowed; }

/* 서비스 준비 중 표시 (베테랑 영상 올리기·정산) */
.prep-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: #fff4e0; color: var(--warn); font-size: 13px; font-weight: 800; white-space: nowrap; }
.prep-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dropzone.is-locked .prep-badge { margin-top: 6px; }
.prep-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; background: #fffaf0; border: 1px solid #f6e2bd; font-size: 14px; line-height: 1.55; color: var(--ink-2); }

/* 슬로건: 색 칩 아래 한 줄로 (영어 슬로건이 길어서) */
.brand-sub { flex-wrap: wrap; row-gap: 8px; }
.brand-sub [data-i18n="hero.tag"] { flex-basis: 100%; font-size: 14px; font-weight: 700; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.92); }
@media (min-width: 720px) { .brand-sub [data-i18n="hero.tag"] { font-size: 16px; } }

/* ---------- 나라별 월 구독료 표 (수강권) ---------- */
.price-table { margin-top: 30px; scroll-margin-top: 90px; }
.pt-groups { display: grid; gap: 18px; }
.pt-group h3 { margin-bottom: 8px; font-size: 15px; font-weight: 800; color: var(--ink-2); }
.pt-list { display: grid; gap: 4px; }
.pt-list .pt-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "name approx"; align-items: center; gap: 0 12px;
  padding: 10px 12px; border-radius: 12px; background: var(--bg-soft);
}
.pt-list .pt-row.is-you { background: #eef3ff; box-shadow: inset 0 0 0 1.5px var(--brand); }
.pt-name { grid-area: name; font-size: 14px; font-weight: 700; color: var(--ink); }
.pt-name em { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-style: normal; font-weight: 800; white-space: nowrap; }
.pt-price { grid-area: price; justify-self: end; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pt-approx { grid-area: approx; justify-self: end; font-size: 12px; color: var(--ink-3); white-space: nowrap; }

/* 월 구독 카드: 나라 고르는 칸 */
.country-pick { display: grid; gap: 6px; }
.country-pick select { width: 100%; }
.country-pick small { font-size: 12px; color: var(--ink-3); }

@media (min-width: 720px) {
  .pt-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
}
@media (min-width: 1120px) { .pt-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 로그인 · 회원가입 ---------- */
.user-wrap { position: relative; }
@media (max-width: 959px) { .user-wrap { display: none; } }
.user-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 5px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 700; max-width: 180px; }
.user-ava { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; font-size: 13px; font-weight: 800; }
.user-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 80; min-width: 220px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(17, 19, 24, 0.14); }
.user-email { margin-bottom: 8px; font-size: 13px; color: var(--ink-3); word-break: break-all; }
.user-menu button { width: 100%; min-height: 40px; border-radius: 10px; background: var(--bg-soft); font-size: 14px; font-weight: 700; }
body[data-mode="veteran"] .user-btn { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.drawer-user { flex: 1; display: flex; align-items: center; min-height: 42px; font-size: 14px; font-weight: 700; }

#authBody h2 { margin: 4px 36px 16px 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.auth-sub { margin: -8px 0 14px; font-size: 14px; color: var(--ink-3); line-height: 1.55; }
.auth-social { display: grid; gap: 8px; }
.auth-social button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 12px; font-size: 15px; font-weight: 700; }
.auth-social svg { width: 20px; height: 20px; }
.auth-google { background: #fff; border: 1px solid #dadce0; color: #1f1f1f; }
.auth-social button:disabled, .auth-submit:disabled { opacity: 0.6; cursor: default; }
.auth-or { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; font-size: 12px; color: var(--ink-3); }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-form { display: grid; gap: 10px; }
.auth-field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.auth-field input { height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 16px; -webkit-appearance: none; appearance: none; }
.auth-field input:focus { outline: none; border-color: var(--ink); }
.auth-submit { width: 100%; margin-top: 4px; }
.auth-msg { padding: 10px 12px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.auth-msg.is-err { background: #fff0f0; color: #b42318; }
.auth-msg.is-ok { background: #eaf7f1; color: var(--ok); }
.auth-note { font-size: 12px; color: var(--ink-3); text-align: center; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 14px; }
.auth-links button { padding: 6px 0; font-size: 14px; font-weight: 700; color: var(--brand); }

/* ---------- 구글 애드센스 칸 (설정값이 있을 때만 보임) ---------- */
.ad-g { max-width: 970px; margin: 8px auto 32px; }
.ad-g-label { display: block; margin-bottom: 4px; font-size: 11px; color: var(--ink-3); }
#authBody { padding: 22px 22px 24px; }
@media (min-width: 720px) { #authBody { padding: 28px 30px 30px; } }

/* 수강권: 단품 결제 칸 */
.single-buy { margin-top: 12px; }

/* 개인정보처리방침 링크 (법에 따라 눈에 잘 띄게) */
.foot-links .foot-privacy { font-weight: 800; color: #fff; }
.auth-note a { color: var(--ink-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 회원 탈퇴 */
.user-menu .user-delete { margin-top: 6px; min-height: 32px; background: none; color: var(--ink-3); font-size: 12.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.drawer-delete { display: block; margin: 6px 0 4px auto; padding: 6px 2px; font-size: 12.5px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.auth-check { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); font-size: 14px; line-height: 1.5; cursor: pointer; }
.auth-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #d92d20; }
.btn.auth-danger { background: #d92d20; color: #fff; }
.btn.auth-danger:hover { background: #b42318; }

/* 문의하기 (고객센터) */
.contact-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.contact-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; background: #fff; }
.cc-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--bg-soft); color: var(--ink); }
.cc-ic svg, .ci { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cc-ic svg { width: 24px; height: 24px; }
.ci { width: 16px; height: 16px; flex: none; }
.cc-body { display: flex; flex-direction: column; min-width: 0; }
.cc-label { font-size: 13px; color: var(--ink-3); }
.cc-value { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); overflow-wrap: anywhere; }
.cc-sub { margin-top: 2px; font-size: 13.5px; color: var(--ink-2); }
.cc-actions { grid-column: 1 / -1; display: flex; gap: 8px; }
.cc-actions .btn { flex: 1; min-height: 48px; }
.cc-actions .btn-line { flex: none; }
.contact-note { margin-top: 6px; }
@media (min-width: 720px) {
  .contact-card { grid-template-columns: auto minmax(0, 1fr) auto; }
  .cc-actions { grid-column: auto; }
  .cc-actions .btn { flex: none; }
}
.home-contact { margin: 22px 0 0; background: #fff; }
/* 푸터·광고 안내의 한 줄 연락처 */
.foot-contact, .ads-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.foot-contact { margin-top: 18px; font-size: 14px; }
.foot-contact a, .ads-contact a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; text-decoration: none; }
.fc-label { font-weight: 800; color: rgba(255, 255, 255, 0.55); }
.fc-intl { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.ads-contact { position: relative; z-index: 1; margin-top: 16px; font-size: 15px; }
/* 이메일 주소: 소문자 l 과 대문자 I 가 똑같이 보이지 않게 구분되는 글꼴로 (lkysakana) */
.email-text { font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", "Noto Sans Mono", "DejaVu Sans Mono", monospace; letter-spacing: -0.02em; }

/* (neo-collar 전용) 로고가 한 글자 길어서 휴대폰에서는 조금 작게 → 머리줄 한 줄 유지 */
@media (max-width: 719px) { .site-header .logo .wordmark { font-size: 20px; } }
@media (max-width: 379px) {
  .site-header .logo .wordmark { font-size: 19px; }
  html:not([lang="ko"]) .site-header .logo .wordmark { font-size: 17px; }
}
