/* ===================================================================
   [잉글리쉬 온] 신입생 온보딩 — 공통 스타일시트
   브랜드: 네이비(#0f2a54) + 옐로우(#ffcf2e)
   모바일 우선(max-width 720px), 터치 영역 최소 44px, 기준 글자 16px
=================================================================== */

/* ------------------------------ 토큰 ------------------------------ */
:root {
  --navy-900: #081a33;
  --navy-800: #0d2444;
  --navy-700: #123059;
  --navy-600: #1a3f70;
  --navy-500: #27538e;
  --yellow-600: #e8b400;
  --yellow-500: #ffcf2e;
  --yellow-400: #ffdd63;
  --yellow-100: #fff6d6;
  --ink: #16243b;
  --ink-soft: #4d5b73;
  --ink-muted: #74819a;
  --line: #e2e8f2;
  --line-strong: #cfd8e6;
  --bg: #f4f6fb;
  --bg-card: #ffffff;
  --danger: #d93b48;
  --danger-bg: #fff1f2;
  --success: #16805f;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(12, 31, 58, .06), 0 2px 8px rgba(12, 31, 58, .05);
  --shadow: 0 6px 18px rgba(12, 31, 58, .08), 0 2px 6px rgba(12, 31, 58, .05);
  --shadow-lg: 0 14px 40px rgba(12, 31, 58, .14), 0 4px 12px rgba(12, 31, 58, .07);

  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;

  --tap: 48px;
}

/* ----------------------------- 리셋 ----------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--navy-500);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --------------------------- 레이아웃 --------------------------- */
.page {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 18px 56px;
}

.page--full { padding-bottom: 0; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

/* ---------------------------- 헤더 ---------------------------- */
.site-header {
  padding: 18px 0 10px;
}

.site-header--plain { padding-top: 14px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
}

.brand__img {
  height: 38px;
  width: auto;
  border-radius: 8px;
}

.brand__logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  color: var(--yellow-500);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.4px;
  box-shadow: 0 4px 10px rgba(9, 25, 48, .22);
}

.brand__word {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--navy-800);
}

.brand__word span { color: var(--navy-500); font-weight: 700; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--tap);
  padding-right: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}
.back-link:hover { color: var(--navy-700); }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.header-note {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: .2px;
}

/* ----------------------------- 히어로 ----------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  padding: 34px 22px 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 207, 46, .22) 0%, rgba(255, 207, 46, 0) 46%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.hero::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -76px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 2px solid rgba(255, 207, 46, .28);
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 207, 46, .14);
  border: 1px solid rgba(255, 207, 46, .38);
  color: var(--yellow-400);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
}

.hero__title {
  font-size: 25px;
  line-height: 1.42;
  font-weight: 800;
  letter-spacing: -.7px;
}

.hero__title em {
  font-style: normal;
  color: var(--yellow-500);
}

.hero__desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255, 255, 255, .82);
  max-width: 46ch;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
  min-height: 34px;
}

/* -------------------------- 섹션 타이틀 -------------------------- */
.section { margin-top: 34px; }
.section--tight { margin-top: 24px; }

.section__head { margin-bottom: 14px; }
.section__head--row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.section__kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--navy-500);
  text-transform: uppercase;
}

.section__title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--navy-800);
}

.section__desc {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ------------------------ 핵심 강점 배지 ------------------------ */
.badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 13px 14px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.badge__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--yellow-100);
  font-size: 17px;
  line-height: 1;
}

.badge__text {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.25px;
  color: var(--navy-800);
  word-break: keep-all;
}

/* --------------------------- 선택 카드 --------------------------- */
.choice-grid {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.choice {
  position: relative;
  display: block;
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.choice:hover,
.choice:focus-visible {
  transform: translateY(-2px);
  border-color: var(--navy-500);
  box-shadow: var(--shadow-lg);
}

.choice__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.choice__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--yellow-100);
  font-size: 25px;
  line-height: 1;
}

.choice--student .choice__icon { background: #fff4c9; }
.choice--parent .choice__icon { background: #eaf0fa; }

.choice__go {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--yellow-500);
  font-size: 17px;
  font-weight: 800;
  flex: 0 0 auto;
}

.choice__title {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--navy-800);
}

.choice__desc {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-soft);
  word-break: keep-all;
}

.choice__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.choice__tags li {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: #f2f5fb;
  color: var(--navy-600);
  font-size: 12px;
  font-weight: 700;
}

.choice--parent .choice__tags li { background: #eef3fa; }

/* --------------------------- 이용 순서 --------------------------- */
.steps {
  display: grid;
  gap: 10px;
  counter-reset: step;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 16px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.step__num {
  counter-increment: step;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--yellow-500);
  font-size: 13px;
  font-weight: 800;
}

.step__num::before { content: counter(step); }

.step__title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -.3px;
}

.step__desc {
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--ink-soft);
  word-break: keep-all;
}

/* --------------------------- 인덱스 노트 --------------------------- */
.notice-strip {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--yellow-100);
  border: 1px solid #f5e3a4;
  font-size: 13px;
  line-height: 1.6;
  color: #6a5312;
  word-break: keep-all;
}

.notice-strip strong { font-weight: 800; }

/* ------------------------- 진행률 바 (sticky) ------------------------- */
.progress {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0 -18px 16px;
  padding: 10px 18px 11px;
  background: rgba(244, 246, 251, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.progress__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}

.progress__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-700);
  letter-spacing: -.2px;
}

.progress__value {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
}

.progress__value b { color: var(--navy-600); }

.progress__track {
  position: relative;
  height: 8px;
  border-radius: var(--radius-pill);
  background: #e3e9f4;
  overflow: hidden;
}

.progress__fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--navy-600), var(--navy-800) 62%, var(--yellow-500));
  transition: width .35s cubic-bezier(.22, .8, .3, 1);
}

/* ----------------------------- 카드 ----------------------------- */
.card {
  position: relative;
  margin-bottom: 14px;
  padding: 20px 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.card__head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 16px;
}

.card__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-top: 2px;
  border-radius: 9px;
  background: var(--navy-800);
  color: var(--yellow-500);
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.card__title {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--navy-800);
  line-height: 1.4;
}

.card__desc {
  margin-top: 3px;
  font-size: 13px;
  color: var(--ink-muted);
  word-break: keep-all;
}

.card--accent {
  background: linear-gradient(180deg, #fffdf4, #ffffff 62%);
  border-color: #f0e2b6;
}

/* ----------------------------- 필드 ----------------------------- */
.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }

.field__label {
  display: block;
  margin-bottom: 7px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--ink);
  word-break: keep-all;
}

.req {
  display: inline-block;
  margin-left: 3px;
  color: var(--danger);
  font-weight: 800;
}

.opt {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  background: #eef2f9;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  vertical-align: 1px;
}

.field__hint {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-muted);
  word-break: keep-all;
}

.input,
.select,
.textarea {
  display: block;
  width: 100%;
  min-height: var(--tap);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: #fbfcfe;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
  appearance: none;
}

.input::placeholder,
.textarea::placeholder { color: #9aa6bc; }

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(39, 83, 142, .13);
}

.select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23123059' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 13px 9px;
  cursor: pointer;
}

.select:invalid { color: #9aa6bc; }
.select option { color: var(--ink); }

.textarea { min-height: 92px; resize: vertical; }

/* 오류 상태 */
.error-msg {
  display: none;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--danger);
  line-height: 1.5;
}

.field.has-error .error-msg,
.choice-block.has-error .error-msg,
.consent.has-error .error-msg { display: block; }

.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea {
  border-color: var(--danger);
  background: var(--danger-bg);
}

.field.has-error .input:focus,
.field.has-error .select:focus,
.field.has-error .textarea:focus {
  box-shadow: 0 0 0 4px rgba(217, 59, 72, .14);
}

/* --------------------------- 빠른 선택 칩 --------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip {
  min-height: 44px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-700);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}

.chip:hover { border-color: var(--navy-500); background: #f6f9ff; }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--yellow-500);
}

/* --------------------------- 라디오 그룹 --------------------------- */
.choice-block { margin-bottom: 20px; }
.choice-block:last-child { margin-bottom: 0; }

.radio-group {
  display: grid;
  gap: 9px;
  margin-top: 9px;
}

.radio-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.radio-card__body {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 52px;
  padding: 13px 14px;
  border-radius: 13px;
  border: 1.5px solid var(--line);
  background: #fbfcfe;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  word-break: keep-all;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.radio-card__dot {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: #fff;
  transition: border-color .16s ease;
}

.radio-card__dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--yellow-500);
  transform: scale(0);
  transition: transform .16s cubic-bezier(.34, 1.56, .64, 1);
}

.radio-card__text { flex: 1 1 auto; padding-top: 0; }

.radio-card:hover .radio-card__body { border-color: var(--navy-500); background: #fff; }

.radio-card input:checked + .radio-card__body {
  border-color: var(--navy-700);
  background: #fffdf3;
  box-shadow: 0 0 0 3px rgba(18, 48, 89, .08);
  font-weight: 700;
  color: var(--navy-800);
}

.radio-card input:checked + .radio-card__body .radio-card__dot {
  border-color: var(--navy-800);
}

.radio-card input:checked + .radio-card__body .radio-card__dot::after {
  transform: scale(1);
}

.radio-card input:focus-visible + .radio-card__body {
  outline: 3px solid var(--navy-500);
  outline-offset: 2px;
}

.choice-block.has-error .radio-card__body {
  border-color: #f0b7bd;
  background: #fffafb;
}

.choice-block.has-error .radio-card input:checked + .radio-card__body {
  border-color: var(--danger);
}

/* --------------------------- 조건부 영역 --------------------------- */
.conditional {
  margin-top: 10px;
  padding: 14px;
  border-radius: 13px;
  background: #f7f9fe;
  border: 1px dashed var(--line-strong);
  animation: reveal .22s ease both;
}

.conditional[hidden] { display: none; }

@keyframes reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 시간 선택 (체크박스 그리드) */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.slot {
  position: relative;
  display: block;
  cursor: pointer;
}

.slot input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.slot__body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 8px;
  border-radius: 11px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: center;
  font-variant-numeric: tabular-nums;
  transition: all .15s ease;
}

.slot input:checked + .slot__body {
  border-color: var(--navy-800);
  background: var(--navy-800);
  color: var(--yellow-500);
  box-shadow: 0 4px 10px rgba(9, 25, 48, .18);
}

.slot input:focus-visible + .slot__body {
  outline: 3px solid var(--navy-500);
  outline-offset: 2px;
}

.slot-group__day {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy-700);
  letter-spacing: -.2px;
}

.slot-group__day::before {
  content: "";
  width: 5px;
  height: 14px;
  border-radius: 3px;
  background: var(--yellow-500);
}

.slot-group:first-of-type .slot-group__day { margin-top: 8px; }

/* --------------------------- 규칙 다짐 --------------------------- */
.commit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 15px;
  background: linear-gradient(160deg, #fffdf4, #fff8dd);
  border: 2px solid var(--yellow-500);
  cursor: pointer;
  transition: box-shadow .16s ease, background .16s ease;
}

.commit:hover { box-shadow: 0 6px 16px rgba(232, 180, 0, .22); }

.commit input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.commit__box {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 8px;
  border: 2px solid var(--navy-700);
  background: #fff;
  color: transparent;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.commit__text {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--navy-800);
  word-break: keep-all;
}

.commit__text b { color: var(--navy-900); font-weight: 800; }

.commit input:checked + .commit__box {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--yellow-500);
}

.commit input:focus-visible + .commit__box {
  outline: 3px solid var(--navy-500);
  outline-offset: 3px;
}

.commit.has-error { border-color: var(--danger); background: var(--danger-bg); }

/* --------------------------- 체크박스 리스트 --------------------------- */
.check-list { display: grid; gap: 9px; }

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: var(--tap);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fbfcfe;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}

.check:hover { border-color: var(--navy-500); background: #fff; }

.check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.check__box {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 6px;
  border: 2px solid var(--line-strong);
  background: #fff;
  color: transparent;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.check__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  word-break: keep-all;
}

.check input:checked + .check__box {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--yellow-500);
}

.check input:checked ~ .check__text { color: var(--navy-800); font-weight: 600; }

.check input:focus-visible + .check__box {
  outline: 3px solid var(--navy-500);
  outline-offset: 3px;
}

.check.has-error,
.check-list.has-error .check { border-color: #f0b7bd; }

/* --------------------------- 전체 동의 스위치 --------------------------- */
.consent-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding: 15px 16px;
  border-radius: 14px;
  background: linear-gradient(160deg, #0f2a4d, #0a1e37);
  color: #fff;
  box-shadow: var(--shadow);
  min-height: 62px;
}

.consent-all__text {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.3px;
}

.consent-all__sub {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, .66);
}

.switch {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  width: 56px;
  height: 32px;
  cursor: pointer;
}

.switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.switch__track {
  position: relative;
  display: block;
  width: 56px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .22);
  transition: background .2s ease;
}

.switch__track::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .24);
  transition: transform .2s cubic-bezier(.34, 1.4, .64, 1);
}

.switch input:checked + .switch__track { background: var(--yellow-500); }
.switch input:checked + .switch__track::after { transform: translateX(24px); background: var(--navy-900); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--yellow-400); outline-offset: 3px; }

/* --------------------------- 안내 카드 --------------------------- */
.guide {
  display: grid;
  gap: 11px;
}

.guide__item {
  padding: 15px 16px;
  border-radius: 13px;
  background: #f8fafd;
  border: 1px solid var(--line);
}

.guide__item--soft { background: #fbfcfe; }

.guide__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -.3px;
  word-break: keep-all;
}

.guide__title .tag {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--yellow-500);
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 800;
}

.guide__body {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink-soft);
  word-break: keep-all;
}

.guide__body strong { color: var(--navy-800); font-weight: 800; }

.guide__list {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.guide__list li {
  position: relative;
  padding-left: 13px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  word-break: keep-all;
}

.guide__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--navy-500);
}

/* --------------------------- 수강료 표 --------------------------- */
.fee-table-wrap {
  overflow-x: auto;
  border-radius: 13px;
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 300px;
}

.fee-table caption {
  padding: 0 0 8px;
  font-size: 12.5px;
  color: var(--ink-muted);
  text-align: left;
  caption-side: top;
}

.fee-table th,
.fee-table td {
  padding: 12px 13px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.fee-table thead th {
  background: var(--navy-800);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  border-bottom: 0;
}

.fee-table thead th:last-child { text-align: right; }

.fee-table tbody th {
  font-weight: 700;
  color: var(--ink);
  font-size: 13.5px;
}

.fee-table tbody td {
  text-align: right;
  font-weight: 800;
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
}

.fee-table tbody tr:nth-child(even) { background: #fafbfe; }
.fee-table tbody tr:last-child th,
.fee-table tbody tr:last-child td { border-bottom: 0; }

.fee-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-muted);
}

/* --------------------------- 강조 박스 --------------------------- */
.callout {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(155deg, #fff8dc, #fffdf4);
  border: 1.5px solid var(--yellow-500);
}

.callout__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--navy-800);
  color: var(--yellow-500);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .02em;
}

.callout__text {
  font-size: 13.5px;
  line-height: 1.7;
  color: #5c4a12;
  font-weight: 600;
  word-break: keep-all;
}

.callout__text strong {
  color: var(--navy-900);
  font-weight: 800;
  background: linear-gradient(transparent 58%, rgba(255, 207, 46, .62) 58%);
}

.mini-note {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f2f5fb;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  word-break: keep-all;
}

.mini-note strong { color: var(--navy-800); font-weight: 800; }

/* --------------------------- 접이식 details --------------------------- */
.acc {
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fbfcfe;
  overflow: hidden;
}

.acc + .acc { margin-top: 8px; }

.acc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--tap);
  padding: 13px 15px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-700);
  cursor: pointer;
  list-style: none;
  word-break: keep-all;
}

.acc > summary::-webkit-details-marker { display: none; }

.acc > summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8eefa;
  color: var(--navy-700);
  font-size: 15px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}

.acc[open] > summary::after {
  content: "–";
  background: var(--navy-800);
  color: var(--yellow-500);
}

.acc__body {
  padding: 2px 15px 15px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  word-break: keep-all;
}

.acc__body p + p { margin-top: 8px; }
.acc__body strong { color: var(--navy-800); font-weight: 800; }
.acc__body .tiny {
  display: block;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px dashed var(--line-strong);
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-muted);
}

.acc__list { display: grid; gap: 6px; }
.acc__list li {
  position: relative;
  padding-left: 12px;
  font-size: 13.5px;
  line-height: 1.7;
}
.acc__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--navy-500);
}

/* 계산 예시 */
.example {
  margin-top: 10px;
  padding: 13px 14px;
  border-radius: 11px;
  background: #f2f5fb;
  border-left: 3px solid var(--navy-600);
}

.example__row {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.example__row + .example__row { margin-top: 6px; padding-top: 6px; border-top: 1px dashed #d8e0ed; }
.example__row b { flex: 0 0 auto; color: var(--navy-700); font-weight: 800; }

/* ----------------------------- 제출 ----------------------------- */
.actions {
  margin-top: 22px;
  padding-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 56px;
  padding: 14px 22px;
  border: 0;
  border-radius: 15px;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -.3px;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .16s ease, background .16s ease, opacity .16s ease;
  position: relative;
}

.btn--primary {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  color: #fff;
  box-shadow: 0 8px 20px rgba(9, 25, 48, .26);
}

.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(9, 25, 48, .3); }
.btn--primary:active { transform: translateY(0); }

.btn--primary .btn__accent { color: var(--yellow-500); }

.btn:disabled {
  cursor: not-allowed;
  opacity: .82;
  transform: none;
  box-shadow: none;
}

.btn.is-loading { pointer-events: none; }

.btn--ghost {
  width: auto;
  min-height: var(--tap);
  padding: 10px 18px;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  color: var(--navy-700);
  font-size: 14.5px;
  box-shadow: none;
}

.btn--ghost:hover { border-color: var(--navy-600); }

.actions__note {
  margin-top: 11px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  text-align: center;
  word-break: keep-all;
}

.actions__note b { color: var(--navy-700); }

/* 스피너 */
.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .32);
  border-top-color: var(--yellow-500);
  animation: spin .7s linear infinite;
  flex: 0 0 auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------- 완료 화면 --------------------------- */
.success {
  margin-top: 10px;
  padding: 40px 22px 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: pop .3s cubic-bezier(.22, .9, .3, 1) both;
}

.success[hidden] { display: none; }

@keyframes pop {
  from { opacity: 0; transform: translateY(10px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.success__icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  color: var(--yellow-500);
  box-shadow: 0 10px 26px rgba(9, 25, 48, .26);
}

.success__icon svg { width: 38px; height: 38px; }

.success__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.6px;
  color: var(--navy-800);
}

.success__desc {
  margin: 10px auto 0;
  max-width: 30ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  word-break: keep-all;
}

.success__card {
  margin-top: 22px;
  padding: 16px;
  border-radius: 14px;
  background: #f7f9fe;
  border: 1px solid var(--line);
  text-align: left;
}

.success__card dt {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-muted);
}

.success__card dd {
  margin: 2px 0 12px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy-800);
}

.success__card dd:last-child { margin-bottom: 0; }

.success__actions {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.success__hint {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ----------------------------- 토스트 ----------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 200;
  width: calc(100% - 32px);
  max-width: 420px;
  padding: 14px 18px;
  border-radius: 13px;
  background: #16243b;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 12px 30px rgba(9, 25, 48, .32);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  word-break: keep-all;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast--error { background: #b32733; }
.toast--success { background: #12654a; }
.toast--warn { background: #8a5a00; }

/* ----------------------------- 푸터 ----------------------------- */
.site-footer {
  margin-top: 36px;
  padding: 22px 0 8px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -.2px;
}

.site-footer__mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--navy-800);
  color: var(--yellow-500);
  font-size: 9px;
  font-weight: 800;
}

.site-footer__text {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-muted);
  word-break: keep-all;
}

/* ----------------------------- 유틸 ----------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

[hidden] { display: none !important; }

/* ---------------------- 태블릿 / 데스크톱 보정 ---------------------- */
@media (min-width: 560px) {
  .page { padding: 0 24px 64px; }
  .progress { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }
  .hero { padding: 42px 34px 38px; }
  .hero__title { font-size: 30px; }
  .hero__desc { font-size: 15.5px; }
  .badges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .badge { flex-direction: column; align-items: flex-start; gap: 9px; min-height: 104px; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice { padding: 24px; }
  .section { margin-top: 40px; }
  .section__title { font-size: 21px; }
  .card { padding: 24px 24px 24px; margin-bottom: 16px; }
  .slot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .success__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide__item--wide { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step { flex-direction: column; }
}

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