/* 참가자 신청 페이지 — 토큰은 tokens.css. 8px 리듬, 다크 단일 테마. */

/* ── 기본 ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
[tabindex="-1"]:focus:not(:focus-visible), .card__title:focus { outline: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }

.wrap { width: 100%; max-width: 1344px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 600px) { .wrap { padding-inline: 24px; } }
@media (min-width: 1024px) { .wrap { padding-inline: 32px; } }

.skip {
  position: absolute; left: 16px; top: -120px; z-index: 100;
  padding: 12px 16px; background: var(--bg); color: var(--text);
  border: 1px solid var(--cyan); border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 8px; }

/* ── 상단 바 ── */
.topbar { border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.topbar__brand {
  display: flex; flex-direction: column; gap: 0;
  min-height: 44px; justify-content: center;
  text-decoration: none; border-radius: 4px;
}
.topbar__name { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.topbar__dates { font-size: 13px; font-weight: 600; color: var(--text-muted); font-variant-numeric: tabular-nums; }
@media (min-width: 600px) {
  .topbar__brand { flex-direction: row; align-items: center; gap: 16px; }
  .topbar__dates { padding-left: 16px; border-left: 1px solid var(--line-neutral); line-height: 1.1; }
}
.lang {
  min-width: 56px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-neutral); border-radius: 999px;
  background: transparent; font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  transition: border-color .15s ease, color .15s ease;
}
.lang:hover { border-color: var(--cyan); }

/* ── 2단 레이아웃 ── */
.layout { display: grid; gap: 48px; padding-block: 24px 64px; }
.intro { min-width: 0; container-type: inline-size; container-name: intro; }
.apply { min-width: 0; scroll-margin-top: 16px; }
@media (min-width: 901px) {
  .layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; padding-block: 48px 96px; }
}
@media (min-width: 1200px) {
  .layout { grid-template-columns: minmax(0, 1fr) 448px; gap: 72px; }
}
/* 폼 카드가 화면에 다 들어올 때만 고정 */
@media (min-width: 901px) and (min-height: 1040px) {
  .apply { position: sticky; top: 24px; }
}

/* ── 히어로 ── */
.rfw { display: block; width: 100%; margin-bottom: 24px; line-height: 0; }
.rfw svg { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .rfw { max-height: 25vh; max-height: 25svh; margin-bottom: 16px; }
  .rfw svg { max-height: 25vh; max-height: 25svh; }
}
.rfw-fallback {
  display: inline-block;
  font-size: clamp(72px, 22vw, 200px);
  font-size: clamp(72px, min(26cqi, 22vh), 220px);
  font-weight: 900; line-height: 0.9; letter-spacing: -0.03em;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.hero__title { display: block; font-weight: 800; }
.hero__ko {
  display: block;
  font-size: clamp(18px, 4.8vw, 26px);
  font-size: clamp(18px, 3.4cqi, 30px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.3;
}
.hero__en {
  display: block; margin-top: 4px;
  font-size: clamp(34px, 9.6vw, 96px); /* 컨테이너 단위 미지원 브라우저용 */
  font-size: clamp(34px, 11cqi, 120px);
  font-weight: 900; line-height: 1; letter-spacing: -0.035em;
}

.hero__when {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.8em; row-gap: 0;
  margin-top: 12px;
  font-size: clamp(20px, 5.4vw, 34px);
  font-size: clamp(20px, 4.5cqi, 42px);
  font-weight: 800; line-height: 1.35; letter-spacing: -0.025em;
}
.hero__date { font-variant-numeric: tabular-nums; }
.hero__tilde { font-weight: 600; }

/* 접수 마감 상태 — 일시·장소 바로 아래 한 줄 (휴대폰 첫 화면 안) */
.hero__status {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 16px; max-width: 40em;
  font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--text);
}
.hero__status .i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--cyan); }
.hero__when sup, .prog__date sup {
  position: relative; top: -0.8em;
  margin-left: 0.1em; font-size: 0.46em; font-weight: 700; letter-spacing: 0;
  vertical-align: baseline; line-height: 0;
}

.hero__body { display: grid; gap: 24px; margin-top: 40px; }
@container intro (min-width: 640px) {
  .hero__body { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 40px; align-items: end; }
  .hero__intro { text-align: right; }
}

.tagline {
  padding-top: 0.32em;
  font-size: clamp(28px, 7.6vw, 44px);
  font-size: clamp(28px, 6.4cqi, 52px);
  font-weight: 800; line-height: 1.32; letter-spacing: -0.025em;
}
.tagline__line { display: block; }
.tagline__rest { color: var(--tagline-rest); }
.tagline__em {
  position: relative; white-space: nowrap;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.tagline__dots {
  position: absolute; inset: 0; white-space: nowrap; pointer-events: none;
  color: transparent; -webkit-text-fill-color: transparent;
}
.tagline__dots > span { position: relative; }
.tagline__dots > span::before {
  content: ""; position: absolute; left: 50%; top: -0.14em;
  width: 0.15em; height: 0.15em; margin-left: -0.075em;
  border-radius: 50%; background: var(--cyan);
}
.slogan { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.01em; }

.hero__intro { font-size: 15px; line-height: 1.75; color: var(--text-sub); }

.facts {
  display: flex; flex-wrap: wrap; gap: 4px 32px;
  margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 16px; font-weight: 600;
}

/* ── 프로그램 표 ── */
.program { margin-top: 64px; }
.program__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: 20px; }
.section-title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.program__note { font-size: 14px; color: var(--text-muted); }
.program__grid { display: grid; gap: 32px; }
@container intro (min-width: 680px) {
  .program__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.prog { min-width: 0; border-bottom: 3px solid var(--cyan); }
.prog__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 12px; }
.prog__heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: inherit; }
.prog__where { margin-left: auto; font-size: 15px; font-weight: 600; color: var(--text-sub); }
.prog__date { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.prog__title { font-size: 17px; font-weight: 700; }
.prog__table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; line-height: 1.45; }
.prog__table th {
  padding: 8px 12px; background: var(--cyan); color: #000;
  font-size: 14px; font-weight: 700; text-align: center;
}
.prog__table th.prog__th-time { width: 33%; }
.prog__table th.prog__th-place { width: 21%; }
.prog__table td { padding: 14px 10px; vertical-align: top; border-top: 1px solid var(--line); }
.prog__table tbody tr:first-child td { border-top: 0; }
.prog__time { font-variant-numeric: tabular-nums; color: var(--text-sub); font-size: 14px; white-space: nowrap; padding-inline: 8px !important; }
.prog__place { text-align: center; color: var(--text-sub); }
.prog__table tr.is-hl td { color: var(--cyan); font-weight: 700; }
.prog__tbd { color: var(--text-muted) !important; font-weight: 500; }
.prog__speaker { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--text-muted); }

/* 모바일: 날짜별 카드, 행은 2줄 구성 — 가로 스크롤 없음 */
@media (max-width: 600px) {
  .prog { background: var(--surface); border-top: 3px solid var(--cyan); border-bottom: 0; border-radius: 0; padding: 16px 16px 4px; }
  .prog__head { border-bottom: 1px solid var(--line); }
  .prog__table, .prog__table tbody, .prog__table tr, .prog__table td { display: block; }
  .prog__table thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .prog__table tr {
    display: flex; flex-wrap: wrap; align-items: baseline;
    gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--line);
  }
  .prog__table tbody tr:first-child { border-top: 0; }
  .prog__table td { padding: 0; border: 0; }
  .prog__time { order: 1; flex: 1 1 auto; font-size: 13px; padding: 0 !important; }
  .prog__place { order: 2; margin-left: auto; font-size: 13px; text-align: right; }
  .prog__what { order: 3; flex: 1 0 100%; font-size: 16px; }
  /* 시간 미정 행은 '추후 안내'를 반복하지 않는다 — 머리 안내문이 대신한다 */
  .prog__time.is-empty { display: none; }
}

/* ── 폼 카드 ── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
}
@media (min-width: 600px) { .card { padding: 32px; } }
@media (min-width: 1200px) { .card { padding: 40px 36px 36px; } }
.card__loading { min-height: 480px; }
.card__head { margin-bottom: 32px; }
.card__eyebrow { margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--cyan); }
.card__title { font-size: 22px; font-weight: 800; line-height: 1.38; letter-spacing: -0.025em; text-wrap: balance; }
@media (min-width: 1200px) { .card__title { font-size: 24px; } }
.card__lead { margin-top: 8px; font-size: 15px; color: var(--text-sub); line-height: 1.6; }

.field { margin: 0 0 24px; min-width: 0; }
fieldset.field { border: 0; padding: 0; }
.field__label {
  display: flex; align-items: center; gap: 10px; padding: 0;
  font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--text);
}
.field__no {
  flex: none; display: inline-grid; place-items: center;
  width: 22px; height: 22px; border: 1px solid var(--cyan); border-radius: 50%;
  font-size: 12px; font-weight: 800; color: var(--cyan); font-variant-numeric: tabular-nums; line-height: 1;
}
.field__hint { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.input {
  display: block; width: 100%; min-height: 52px; margin-top: 8px; padding: 0 16px;
  font-size: max(var(--input-font), 17px); font-weight: 500;
  background: var(--surface-input); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: var(--placeholder); opacity: 1; }
.input:hover { border-color: var(--line-hover); }
.input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 180, 240, 0.28); }
.input--tel { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.is-invalid .input { border-color: var(--error); }
.is-invalid .input:focus { border-color: var(--cyan); }
.field__error {
  display: flex; align-items: flex-start; gap: 6px; margin-top: 8px;
  font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--error);
}
.field__error .i { flex: none; width: 18px; height: 18px; margin-top: 1px; }

/* 참석일 카드 (라디오 그룹) */
.days { display: grid; gap: 8px; margin-top: 12px; }
.day { position: relative; display: block; cursor: pointer; }
.day__input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.day__box {
  display: flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 12px 16px;
  border: 1px solid var(--line-neutral); border-radius: var(--radius-sm);
  transition: border-color .15s ease, background-color .15s ease;
}
.day:hover .day__box { border-color: var(--line-neutral-hover); }
.day__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.day__label { font-size: 16px; font-weight: 600; line-height: 1.4; }
.day__status { font-size: 13px; line-height: 1.3; }
.day__remain { color: var(--text-muted); font-weight: 600; }
.day__check {
  flex: none; display: grid; place-items: center;
  width: 24px; height: 24px; border: 1.5px solid var(--line-neutral); border-radius: 50%;
  color: transparent; transition: background-color .15s ease, border-color .15s ease;
}
.day__check .i { width: 16px; height: 16px; }
.day__input:checked + .day__box {
  border-color: var(--cyan); box-shadow: inset 0 0 0 1px var(--cyan); background: rgba(0, 180, 240, 0.06);
}
.day__input:checked + .day__box .day__label { font-weight: 700; }
.day__input:checked + .day__box .day__check { background: var(--cyan); border-color: var(--cyan); color: #000; }
.day__input:focus-visible + .day__box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.day.is-full { cursor: not-allowed; }
.day.is-full .day__box { border-style: dashed; background: transparent; }
.day.is-full:hover .day__box { border-color: var(--line-neutral); }
.day.is-full .day__label { color: var(--text-muted); }
.day.is-full .day__check { visibility: hidden; }
.is-invalid .day__box { border-color: rgba(255, 107, 107, 0.6); }
.badge {
  display: inline-flex; align-items: center; padding: 1px 8px;
  border: 1px solid var(--line-neutral); border-radius: 4px;
  font-size: 12px; font-weight: 700; color: var(--text-sub); letter-spacing: 0.02em;
}

/* 개인정보 동의 */
.field--consent { padding-top: 16px; border-top: 1px solid var(--line); }
.consent { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0 8px; }
.check { flex: 1 1 220px; display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; cursor: pointer; }
.check__input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.check__box {
  flex: none; display: grid; place-items: center;
  width: 24px; height: 24px; border: 1.5px solid var(--line-neutral); border-radius: 6px;
  color: transparent; transition: background-color .15s ease, border-color .15s ease;
}
.check__box .i { width: 16px; height: 16px; }
.check:hover .check__box { border-color: var(--cyan); }
/* 수정 모드: 동의는 신청 때 받았으므로 잠근다 */
.check.is-locked { cursor: default; }
.consent__note { margin: -6px 0 4px 36px; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.check__input:checked + .check__box { background: var(--cyan); border-color: var(--cyan); color: #000; }
.check__input:focus-visible + .check__box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.is-invalid .check__box { border-color: var(--error); }
.check__text { font-size: 16px; font-weight: 600; line-height: 1.5; }
.check__req { color: var(--cyan); font-weight: 700; }
.disclose {
  display: inline-flex; align-items: center; gap: 2px;
  min-height: 44px; padding: 0 4px 0 8px; margin-left: auto;
  background: none; border: 0; border-radius: 4px;
  font-size: 14px; font-weight: 600; color: var(--text-sub);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--underline);
}
.disclose:hover { color: var(--text); }
/* '내용 보기'/'접기'를 겹쳐 두어 버튼 폭을 고정 — 펼쳐도 동의 행이 흔들리지 않는다 */
.disclose__text { display: inline-grid; }
.disclose__text > span { grid-area: 1 / 1; text-align: right; }
.disclose[aria-expanded="false"] .disclose__less,
.disclose[aria-expanded="true"] .disclose__more { visibility: hidden; }
.disclose .i { width: 18px; height: 18px; transition: transform .15s ease; }
.disclose[aria-expanded="true"] .i { transform: rotate(180deg); }
.consent__panel {
  margin-top: 4px; padding: 16px;
  background: var(--surface-sunk); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.consent__title { margin-bottom: 4px; font-size: 14px; font-weight: 700; }

.ptable { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
.ptable th {
  width: 7.5em; padding: 10px 12px 10px 0; vertical-align: top; text-align: left;
  font-weight: 600; color: var(--text-muted);
}
.ptable td { padding: 10px 0; color: var(--text-sub); }
.ptable tr + tr > * { border-top: 1px solid var(--line); }
@media (max-width: 380px) {
  .ptable th, .ptable td { display: block; width: auto; padding: 0; }
  .ptable th { padding-top: 10px; }
  .ptable td { padding-bottom: 10px; }
  .ptable tr + tr > td { border-top: 0; }
}

/* 허니팟 — 화면·보조기기 모두에서 숨김 */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* 알림 */
.notice-slot:empty { display: none; }
.notice {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 16px; padding: 14px 16px;
  border: 1px solid; border-radius: var(--radius-sm);
  font-size: 15px; line-height: 1.55; font-weight: 500;
}
.notice > .i { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.notice__body { flex: 1; min-width: 0; }
.notice__body .btn-outline { margin-top: 12px; }
.notice--warn { border-color: var(--cyan); background: rgba(0, 180, 240, 0.06); }
.notice--warn > .i { color: var(--cyan); }
.notice--ok { border-color: var(--green); background: rgba(31, 179, 122, 0.08); }
.notice--ok > .i { color: var(--green); }
.notice--error { border-color: var(--error); background: rgba(255, 107, 107, 0.07); }
.notice--error > .i { color: var(--error); }
#top-notice .notice { margin: -8px 0 24px; }

/* ── 버튼 ── */
.btn-primary {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 56px; margin-top: 8px; padding: 0 24px;
  border: 0; border-radius: var(--radius-sm);
  background: var(--gradient); color: #000;
  font-size: 17px; font-weight: 800; letter-spacing: -0.01em;
  transition: filter .15s ease;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.btn-primary:disabled { cursor: progress; filter: saturate(0.6) brightness(0.85); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px;
  background: transparent; color: var(--text);
  border: 1px solid var(--cyan); border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 700; text-decoration: none;
  transition: background-color .15s ease;
}
.btn-outline:hover { background: rgba(0, 180, 240, 0.08); }
.btn-outline:disabled { opacity: 0.6; cursor: progress; }
.btn-outline--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-outline--danger { border-color: var(--error); color: var(--error); }
.btn-outline--danger:hover { background: rgba(255, 107, 107, 0.08); }

.btn-text {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px;
  background: none; border: 0; border-radius: 4px;
  font-size: 15px; font-weight: 600; color: var(--text-sub);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--underline);
}
.btn-text:hover { color: var(--text); }

.cancel-zone { margin-top: 16px; text-align: center; }
.cancel-zone--confirm {
  text-align: left; padding: 16px;
  border: 1px solid rgba(255, 107, 107, 0.55); border-radius: var(--radius-sm);
}
.cancel-zone__msg { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; line-height: 1.55; }
.cancel-zone__msg .i { flex: none; color: var(--error); margin-top: 1px; }
.cancel-zone__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ── 완료·상태 카드 ── */
.done__mark {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px;
  border: 1.5px solid var(--cyan); border-radius: 50%; color: var(--cyan);
}
.done__mark .i { width: 24px; height: 24px; }
.receipt { margin-top: 24px; padding: 20px 0; border-block: 1px solid var(--line); }
.receipt__label { font-size: 13px; font-weight: 700; color: var(--cyan); letter-spacing: 0.02em; }
.receipt__no {
  margin-top: 4px; font-size: clamp(30px, 8.4vw, 40px); font-weight: 800; line-height: 1.15;
  letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.summary { display: grid; gap: 12px; margin-top: 20px; }
.summary > div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 12px; }
:lang(en) .summary > div { grid-template-columns: 6.5em minmax(0, 1fr); }
.summary dt { font-size: 14px; font-weight: 600; color: var(--text-muted); line-height: 1.6; }
.summary dd { font-size: 16px; font-weight: 600; line-height: 1.5; }
.done__sms {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; padding: 14px 16px;
  background: var(--surface-2); border-radius: var(--radius-sm);
  font-size: 14.5px; line-height: 1.6; color: var(--text-sub);
}
.done__sms .i { flex: none; color: var(--cyan); margin-top: 2px; }
.done .btn-outline { width: 100%; margin-top: 20px; }

.state { padding-block: 8px; }
.state__body { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--text-sub); }
.state .btn-outline { width: 100%; margin-top: 24px; }
.card--closed { border-color: var(--line-neutral); }
.card--closed .card__title { font-size: clamp(22px, 2.4vw, 28px); }

/* ── 푸터 ── */
.footer { border-top: 1px solid var(--line); padding-block: 40px 48px; }
.footer__inner { display: grid; gap: 24px; }
@media (min-width: 901px) {
  .footer__inner { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 64px; align-items: start; }
}
.footer__logo { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: #fff; line-height: 1.3; }
.footer__apply {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; padding: 0 16px;
  border: 1px solid var(--cyan); border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: background-color .15s ease;
}
.footer__apply:hover { background: rgba(0, 180, 240, 0.08); }
.footer__meta { display: grid; gap: 8px; }
.footer__meta > div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 12px; font-size: 14px; line-height: 1.6; }
:lang(en) .footer__meta > div { grid-template-columns: 6.5em minmax(0, 1fr); }
.footer__meta dt { color: var(--text-muted); font-weight: 600; }
.footer__meta dd { color: var(--text-sub); }
.footer__meta a { color: var(--text); text-underline-offset: 3px; }
.footer__privacy {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 14px; font-weight: 700; text-underline-offset: 4px;
}
.footer__policy {
  grid-column: 1 / -1; max-width: 720px; padding: 20px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.footer__policy-title { margin-bottom: 4px; font-size: 16px; font-weight: 700; }

/* ── 모바일 하단 CTA ── */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--bg); border-top: 1px solid var(--line);
}
.cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; max-width: 568px; margin-inline: auto;
  border: 1.5px solid var(--cyan); border-radius: var(--radius-sm);
  font-size: 17px; font-weight: 800; text-decoration: none; color: var(--text);
}
.cta svg { color: var(--cyan); }
@media (max-width: 900px) { body { padding-bottom: 80px; } }
@media (min-width: 901px) { .cta-bar { display: none !important; } }

/* ── 동작 줄이기 ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
}
