/* KMA 라인업 — 등록 화면을 소개 페이지(about)와 같은 글씨체 · 톤으로 맞춘다.
   index.html 의 <body class="reg"> 에만 걸린다. 이 파일을 빼면 예전 모습으로 돌아간다. */

@font-face { font-family: "KMA"; font-weight: 300; font-display: swap; src: url("fonts/KMA-Light.woff2") format("woff2"); }
@font-face { font-family: "KMA"; font-weight: 400; font-display: swap; src: url("fonts/KMA-Regular.woff2") format("woff2"); }
@font-face { font-family: "KMA"; font-weight: 700; font-display: swap; src: url("fonts/KMA-Bold.woff2") format("woff2"); }

body.reg {
  --grad: linear-gradient(120deg, #1b64da 0%, #6d4bff 55%, #d14fc4 100%);
  --grad-soft: linear-gradient(100deg, #8ab6ff, #b8a0ff 55%, #ff9fd6);
  --night: #0f1217;
}

/* 큰 제목 · 숫자에만 KMA 글씨체 (본문은 프리텐다드) */
body.reg .yr b, body.reg .lu {
  font-family: "KMA", "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }

/* ── LINEUP 글자 — LINE 아래 줄이 UP 에서 한 칸 올라선다 ── */
.reg .lu { display: inline-flex; align-items: flex-end; font-size: 19px; font-weight: 700; letter-spacing: .03em; line-height: 1;
  white-space: nowrap; color: var(--ink); }
.reg .lu > span, .reg .lu > b { position: relative; padding-bottom: .26em; }
.reg .lu > span::after, .reg .lu > b::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: .11em;
  background: currentColor; }
.reg .lu > b { margin-left: .06em; transform: translateY(-.3em); background: var(--grad); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.reg .lu > b::after { background: var(--grad); }
.reg .lu > b::before { content: ""; position: absolute; left: -.06em; bottom: -.3em; width: .11em; height: .41em; background: var(--ink); }
.reg .top .name { padding-left: 12px; border-left: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-3);
  white-space: nowrap; }

/* ── 머리 ── */
body.reg .top.fit { height: 64px; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); }
body.reg .top.fit .btn { height: 38px; padding: 0 16px; border-radius: 99px; font-size: 14px; }

/* ── 단추 ── */
body.reg .btn { border-radius: 12px; }
body.reg .btn.small { border-radius: 99px; }
body.reg .btn.primary { border-radius: 99px; padding: 0 24px; }
body.reg .btn.blue { position: relative; overflow: hidden; border: 0; border-radius: 99px; padding: 0 28px; color: #fff;
  background: var(--grad); box-shadow: 0 12px 30px -8px rgba(109, 75, 255, .7), 0 4px 12px -4px rgba(27, 100, 218, .5);
  transition: transform .2s, box-shadow .2s, filter .2s; }
body.reg .btn.blue:hover { background: var(--grad); transform: translateY(-2px);
  box-shadow: 0 18px 40px -8px rgba(109, 75, 255, .9), 0 6px 16px -4px rgba(27, 100, 218, .6); }
body.reg .btn.blue:disabled { background: var(--line); color: var(--ink-4); box-shadow: none; transform: none; }
body.reg .btn.blue.block { height: 54px; font-size: 16.5px; }

/* ── 등록 전 첫 화면 머리 — 어두운 바탕에 빛 ── */
body.reg .hero { position: relative; overflow: hidden; margin-bottom: 14px; padding: 40px 36px 38px; border-radius: 24px;
  background: var(--night); color: #fff; isolation: isolate; }
body.reg .hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -220px; width: 1100px; height: 520px;
  margin-left: -550px; filter: blur(70px); pointer-events: none;
  background:
    radial-gradient(closest-side at 22% 50%, rgba(27, 100, 218, .65), transparent),
    radial-gradient(closest-side at 54% 40%, rgba(109, 75, 255, .55), transparent),
    radial-gradient(closest-side at 82% 56%, rgba(0, 196, 160, .40), transparent); }
body.reg .hero small { font-size: 14px; font-weight: 700; color: #b9d3ff; }
body.reg .hero h1 { margin-top: 12px; font-size: 32px; font-weight: 800; line-height: 1.38; letter-spacing: -.03em; }
body.reg .hero h1 .hl { background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.reg .hero p { margin-top: 14px; font-size: 16px; color: rgba(255, 255, 255, .78); }
body.reg .resume-bar.page { border-radius: 16px; padding: 14px 18px; }

/* ── 단계 ── */
body.reg .step.on { border-bottom-color: transparent; border-image: var(--grad) 1; }
body.reg .step.on b { background: var(--grad); }
body.reg .step.done b { background: #6d4bff; }

/* ── 상자 ── */
body.reg .card { border-radius: 18px; }
body.reg .card-head.plain h2 { font-size: 24px; font-weight: 700; }
body.reg .need { border-radius: 16px; }

/* ── 안내 창 — 2026 / 2027 머리를 같은 밤색 톤으로 ── */
body.reg .modal { border-radius: 22px; overflow: hidden; }
body.reg .modal.intro { overflow-y: auto; }
body.reg .yr.past { background: var(--night); color: rgba(255, 255, 255, .72); border-bottom: 1px solid rgba(255, 255, 255, .1); }
body.reg .yr.past b { color: rgba(255, 255, 255, .55); }
body.reg .yr.next { background: var(--night); background-image:
    radial-gradient(closest-side at 12% 120%, rgba(27, 100, 218, .8), transparent),
    radial-gradient(closest-side at 55% 130%, rgba(109, 75, 255, .75), transparent),
    radial-gradient(closest-side at 95% 110%, rgba(0, 196, 160, .5), transparent);
  background-size: 70% 150%, 70% 150%, 60% 150%; background-repeat: no-repeat;
  background-position: 0 100%, 55% 100%, 100% 100%; padding-top: 28px; padding-bottom: 28px; }
body.reg .yr.next::after { display: none; }
body.reg .yr.next b { background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.reg .yr.next h2 { padding-right: 0; font-weight: 700; }
body.reg .yr.next h2 .nb { color: #cfe0ff; }
body.reg .resume-bar .btn { border-color: #6d4bff; color: #5b3df0; }

@media (max-width: 640px) {
  body.reg .top.fit { height: 56px; }
  .reg .top .name { display: none; }
  body.reg .hero { padding: 28px 22px 26px; border-radius: 20px; }
  body.reg .hero h1 { font-size: 23px; }
  body.reg .hero p { font-size: 15px; }
  body.reg .card-head.plain h2 { font-size: 21px; }
}

/* 안내 창 — 소개 페이지로 가는 한 줄 (좋은 점 · 질문은 소개 페이지에만 둔다) */
.intro-more { margin: 2px 0 22px; padding: 14px 16px; border-radius: 12px; background: var(--fill); font-size: 14.5px; color: var(--ink-2); }
.intro-more a { font-weight: 700; color: #5b3df0; text-underline-offset: 3px; }

/* 등록 화면의 주 단추는 검정 (그라데이션은 소개 페이지의 큰 단추에만) */
body.reg .btn.blue, body.reg .btn.blue:hover { background: var(--ink); box-shadow: none; }
body.reg .btn.blue:hover { background: #000; transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgba(25, 31, 40, .45); }
body.reg .btn.blue:disabled { background: var(--line); color: var(--ink-4); box-shadow: none; transform: none; }
/* ══ [등록 화면 — 읽기 쉽게] 바탕은 옅은 회색, 상자는 흰색, 입력 칸은 테두리를 진하게 ══ */
body.reg { background: #f1f3f6; }
body.reg .card { background: #fff; border: 1px solid #e3e7ec; box-shadow: 0 1px 2px rgba(25, 31, 40, .04), 0 10px 28px -18px rgba(25, 31, 40, .18); }
body.reg input[type=text], body.reg input[type=email], body.reg input[type=password], body.reg input[type=tel],
body.reg input[type=number], body.reg input[type=search], body.reg select, body.reg textarea {
  background: #fff; border: 1.5px solid #c5ccd5; border-radius: 10px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
body.reg input:hover, body.reg select:hover, body.reg textarea:hover { border-color: #9aa4b1; }
body.reg input:focus, body.reg select:focus, body.reg textarea:focus { border-color: var(--primary); outline: 0;
  box-shadow: 0 0 0 4px rgba(27, 100, 218, .14); }
body.reg ::placeholder { color: #a3acb8; }
body.reg .f-label { font-size: 14px; color: var(--ink); }
body.reg .f-hint { font-size: 13px; color: var(--ink-3); }
body.reg .card-head .sub, body.reg .card-head.plain .sub { color: var(--ink-3); }
body.reg .photo { border: 1.5px dashed #c5ccd5; border-radius: 12px; background: #f7f8fa; }
body.reg .resume-bar.page { background: #fff; border-color: #e3e7ec; }
body.reg .steps { border-bottom-color: #dfe3e8; }
/* 묶음 제목(학력 · 경력 · 주요 이력 …) — 검정으로, 조금 크게. '필수' 표시만 블루 */
body.reg .section h3 { color: var(--ink); font-size: 17px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
body.reg .section h3 em { color: var(--primary); font-size: 13px; font-weight: 600; }
body.reg .section + .section { margin-top: 30px; padding-top: 28px; border-top: 1px solid #edf0f3; }

/* ══ [등록 화면 머리 — 다시 짬] 왼쪽 큰 제목(KMA 글씨체 두 줄), 오른쪽 숫자 세 줄 ══ */
body.reg .hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; padding: 46px 48px 44px;
  border-radius: 28px; }
body.reg .hero-eye { display: inline-flex; align-items: center; gap: 10px; font-family: "KMA", "Pretendard Variable", sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; color: #fff; }
body.reg .hero-eye i { width: 20px; height: 1px; background: rgba(255, 255, 255, .5); }
body.reg .hero-eye span { color: #9cc0ff; }
body.reg .hero h1 { margin-top: 18px; font-family: "KMA", "Pretendard Variable", "Pretendard", sans-serif; font-size: 42px; font-weight: 700;
  line-height: 1.24; letter-spacing: -.01em; }
body.reg .hero small { display: block; margin-top: 20px; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .62); }
body.reg .hero-r { margin: 0; padding: 0; list-style: none; min-width: 250px; }
body.reg .hero-r li { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
body.reg .hero-r li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
body.reg .hero-r b { flex: none; width: 104px; font-family: "KMA", "Pretendard Variable", sans-serif; font-size: 30px; font-weight: 700;
  line-height: 1; color: #fff; }
body.reg .hero-r li:nth-child(1) b { color: #8ab6ff; } body.reg .hero-r li:nth-child(2) b { color: #b8a0ff; }
body.reg .hero-r li:nth-child(3) b { color: #7fd4ff; }
body.reg .hero-r sup { font-size: .5em; vertical-align: top; position: relative; top: .2em; }
body.reg .hero-r b i { margin-left: 3px; font-style: normal; font-size: .46em; }
body.reg .hero-r span { font-size: 14.5px; color: rgba(255, 255, 255, .82); white-space: nowrap; }
@media (max-width: 860px) {
  body.reg .hero { grid-template-columns: 1fr; gap: 26px; padding: 34px 28px 30px; }
  body.reg .hero h1 { font-size: 34px; }
}
@media (max-width: 640px) {
  body.reg .hero { padding: 28px 22px 24px; border-radius: 22px; gap: 22px; }
  body.reg .hero h1 { margin-top: 14px; font-size: 26px; line-height: 1.3; }
  body.reg .hero small { margin-top: 14px; font-size: 13px; }
  body.reg .hero-r { min-width: 0; }
  body.reg .hero-r li { padding: 10px 0; }
  body.reg .hero-r b { width: 84px; font-size: 24px; }
  body.reg .hero-r span { font-size: 13.5px; }
}

/* 머리 상자 — 숫자 세 줄을 빼고 제목만 */
body.reg .hero { grid-template-columns: 1fr; }


/* 등록 화면 꼬리 — 문의처 */
.reg-foot { max-width: 1000px; margin: -56px auto 0; padding: 0 16px 48px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline;
  font-size: 13.5px; color: var(--ink-3); }
.reg-foot b { font-weight: 700; color: var(--ink-2); }
.reg-foot i { font-style: normal; margin: 0 3px; color: #c5ccd5; }
.reg-foot a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.reg-foot a:hover { color: var(--primary); text-decoration: underline; }

/* 등록 단추 — 누른 뒤 '등록 완료' */
body.reg .btn.blue.done-ok, body.reg .btn.blue.done-ok:disabled { background: var(--primary); color: #fff; opacity: 1; }
