/* ============================================================
   [원예원] 신입생 온보딩 — 공통 스타일 (index / student / parent)
   브랜드 메인 컬러: 초록
   ============================================================ */

:root {
  --green-900: #0b3d2b;
  --green-800: #0f5138;
  --green-700: #14663f;
  --green-600: #1a7a4c;
  --green-500: #22995c;
  --green-400: #34b473;
  --green-100: #e6f5ec;
  --green-50: #f3faf6;

  --ink: #16241d;
  --ink-soft: #4d5f56;
  --muted: #7d8d85;
  --line: #e3ece7;
  --line-strong: #d5e3db;
  --white: #ffffff;

  --danger: #cf3f3f;
  --danger-soft: #fdeeee;

  --shadow-sm: 0 2px 10px rgba(11, 61, 43, 0.06);
  --shadow-md: 0 10px 28px rgba(11, 61, 43, 0.09);
  --shadow-lg: 0 20px 50px rgba(11, 61, 43, 0.14);

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --pad-x: 18px;
}

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", Pretendard,
    "Malgun Gothic", "맑은 고딕", system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--green-50);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure, table {
  margin: 0;
}

ul, ol {
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green-700);
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(34, 153, 92, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--green-800);
  color: #fff;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ============================================================
   헤더 / 로고
   ============================================================ */
.site-header {
  position: relative;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
}

.site-header__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 10px var(--pad-x);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--green-900);
}

.brand__img {
  display: block;
  height: 36px;
  width: auto;
}

.brand__fallback {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--green-800);
  white-space: nowrap;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green-500), var(--green-800));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 4px 12px rgba(15, 81, 56, 0.22);
}

.brand__name {
  font-size: 17.5px;
  font-weight: 800;
}

.header-note {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 999px;
  padding: 7px 12px;
  white-space: nowrap;
}

/* ============================================================
   공통 타이포 / 섹션
   ============================================================ */
.eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--green-600);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section {
  padding: 30px 0 0;
}

.section-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green-900);
  margin-bottom: 14px;
}

.page-head {
  padding: 26px 0 6px;
}

.page-head h1 {
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--green-900);
}

.page-head .lead {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ============================================================
   버튼
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 24px;
  border: 0;
  border-radius: 14px;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn--primary {
  background: linear-gradient(135deg, var(--green-600) 0%, var(--green-800) 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(15, 81, 56, 0.24);
}

.btn--primary:hover {
  box-shadow: 0 14px 32px rgba(15, 81, 56, 0.3);
}

.btn--primary:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: #fff;
  color: var(--green-800);
  border: 1.5px solid var(--line-strong);
  box-shadow: none;
}

.btn--ghost:hover {
  border-color: var(--green-400);
  background: var(--green-50);
}

.btn--block {
  width: 100%;
}

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

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
  flex: 0 0 auto;
}

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

/* ============================================================
   index — 히어로 / 배지 / 선택 카드 / 이용 순서
   ============================================================ */
.page-index {
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 34px;
  text-align: center;
  background: radial-gradient(120% 90% at 50% -25%, #d8f2e4 0%, rgba(216, 242, 228, 0) 62%),
    linear-gradient(180deg, #f6fdf9 0%, #ffffff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -140px;
  width: 420px;
  height: 260px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 180, 115, 0.16), rgba(52, 180, 115, 0));
  pointer-events: none;
}

.hero__eyebrow {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--green-600);
}

.hero__title {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  font-size: 30px;
  line-height: 1.32;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: var(--green-900);
}

.hero__desc {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-soft);
}

.hero__meta {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hero__meta-item {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green-700);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #cfe9db;
  border-radius: 999px;
  padding: 7px 12px;
}

.badge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.badge-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--green-900);
  letter-spacing: -0.01em;
}

.badge-card__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green-100);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.choice {
  position: relative;
  display: block;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}

.choice::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--green-400), var(--green-700));
  opacity: 0.9;
}

.choice:hover,
.choice:focus-visible {
  transform: translateY(-2px);
  border-color: var(--green-400);
  box-shadow: var(--shadow-md);
}

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

.choice__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--green-100);
  display: grid;
  place-items: center;
  font-size: 23px;
}

.choice__tag {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid #d8ebdf;
  border-radius: 999px;
  padding: 5px 11px;
}

.choice__title {
  margin-top: 14px;
  font-size: 19.5px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--green-900);
}

.choice__desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.choice__cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--green-700);
}

.steps__list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.steps__list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.steps__num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-800);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.steps__list strong {
  display: block;
  font-size: 15px;
  color: var(--green-900);
  letter-spacing: -0.01em;
}

.steps__list p {
  margin-top: 2px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.site-footer {
  margin-top: 44px;
  padding: 28px var(--pad-x) 40px;
  border-top: 1px solid var(--line);
  background: #fbfdfc;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
}

.site-footer__brand {
  font-size: 15px;
  font-weight: 800;
  color: var(--green-800);
  letter-spacing: -0.01em;
}

.site-footer__note {
  margin-top: 6px;
}

/* ============================================================
   폼 공통
   ============================================================ */
.page-student {
  background: #f4fbf7;
}

.page-parent {
  background: #f6f9f7;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
}

.card + .card,
.card + .submit-area,
.notice + .card {
  margin-top: 14px;
}

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

.card__num {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(20, 102, 63, 0.22);
}

.card__title {
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--green-900);
  line-height: 1.4;
}

.card__sub {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.field {
  margin-bottom: 20px;
  scroll-margin-top: 104px;
}

.option-list,
.pledge,
.time-grid {
  scroll-margin-top: 104px;
}

.input--invalid:focus {
  box-shadow: 0 0 0 4px rgba(207, 63, 63, 0.12);
}

.field:last-child {
  margin-bottom: 0;
}

.label {
  display: block;
  margin-bottom: 8px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.req {
  color: var(--green-600);
  font-weight: 900;
}

.hint {
  font-weight: 600;
  font-size: 12.5px;
  color: var(--muted);
}

.input,
.select {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  -webkit-appearance: none;
  appearance: none;
}

.input::placeholder {
  color: #a6b4ac;
  font-size: 15px;
}

.input:focus,
.select:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(34, 153, 92, 0.13);
}

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

.has-error .input,
.has-error .select {
  border-color: var(--danger);
  background: #fffafa;
  box-shadow: 0 0 0 4px rgba(207, 63, 63, 0.09);
}

.error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--danger);
}

.error::before {
  content: "!";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 11px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

/* ---------- 라디오/체크 카드형 옵션 ---------- */
.option-list {
  display: grid;
  gap: 9px;
}

.option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 54px;
  padding: 14px 15px;
  border: 1.5px solid var(--line-strong);
  border-radius: 13px;
  background: #fff;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.option:hover {
  border-color: var(--green-400);
}

.option input {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
}

.option__mark {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  margin-top: 1px;
  border: 2px solid #c7d7ce;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.option input:checked ~ .option__mark {
  border-color: var(--green-600);
  background: var(--green-600);
}

.option input:checked ~ .option__mark::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.option input:checked ~ .option__text {
  font-weight: 700;
  color: var(--green-900);
}

.option:has(input:checked) {
  border-color: var(--green-500);
  background: var(--green-50);
  box-shadow: 0 6px 16px rgba(20, 102, 63, 0.08);
}

.option:has(input:focus-visible) {
  outline: 3px solid rgba(34, 153, 92, 0.35);
  outline-offset: 2px;
}

.option--check .option__mark {
  border-radius: 7px;
}

.option--check input:checked ~ .option__mark::after {
  content: "";
  width: 5px;
  height: 9px;
  border-radius: 0;
  background: transparent;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: translateY(-1px) rotate(45deg);
}

.option-list--row {
  grid-template-columns: 1fr 1fr;
}

.option-list--row .option {
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 13px 12px;
  text-align: center;
}

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

.chip {
  min-height: 40px;
  padding: 9px 15px;
  border: 1.5px solid #d7e7de;
  border-radius: 999px;
  background: #fff;
  color: var(--green-800);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.chip:hover {
  background: var(--green-100);
  border-color: var(--green-400);
}

.chip:active {
  transform: scale(0.97);
}

/* ---------- 규칙 다짐 (강조) ---------- */
.pledge {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px 16px;
  border-radius: var(--radius-md);
  border: 2px solid var(--green-500);
  background: linear-gradient(135deg, #eaf9f0 0%, #f8fdfa 100%);
  box-shadow: 0 8px 22px rgba(20, 102, 63, 0.1);
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.pledge input {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.pledge__box {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border: 2px solid var(--green-500);
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
}

.pledge input:checked ~ .pledge__box {
  background: var(--green-600);
  border-color: var(--green-600);
}

.pledge input:checked ~ .pledge__box::after {
  content: "";
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: translateY(-1px) rotate(45deg);
}

.pledge input:checked ~ .pledge__text {
  color: var(--green-900);
}

.pledge:has(input:checked) {
  border-color: var(--green-700);
  box-shadow: 0 10px 26px rgba(20, 102, 63, 0.16);
}

.pledge:has(input:focus-visible) {
  outline: 3px solid rgba(34, 153, 92, 0.35);
  outline-offset: 3px;
}

.pledge__text {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: var(--green-800);
}

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

/* ---------- 진행률 바 (학생용, sticky) ---------- */
.progress {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 251, 247, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0 11px;
}

.progress__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.progress__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 7px;
}

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

.progress__track {
  height: 9px;
  border-radius: 999px;
  background: #dfeee6;
  overflow: hidden;
}

.progress__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-400), var(--green-700));
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 안내 / 제출 ---------- */
.notice {
  display: flex;
  gap: 9px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.6;
}

.notice--warn {
  background: #fff7e8;
  border: 1px solid #f2dcb4;
  color: #8a5a12;
  margin-bottom: 14px;
}

.submit-area {
  padding: 22px 0 10px;
}

.form-note {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- 접근성 보조 텍스트 ---------- */
.field-note {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ============================================================
   완료 화면
   ============================================================ */
.complete {
  margin-top: 20px;
  padding: 36px 20px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.complete__icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green-700);
  background: radial-gradient(circle at 30% 25%, #ffffff, var(--green-100) 70%);
  box-shadow: 0 0 0 8px rgba(230, 245, 236, 0.7);
  animation: pop 0.42s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}

@keyframes pop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.complete__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--green-900);
}

.complete__desc {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.complete__desc strong {
  color: var(--green-800);
}

.complete__list {
  list-style: none;
  margin: 20px 0 24px;
  padding: 16px;
  text-align: left;
  background: var(--green-50);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  display: grid;
  gap: 7px;
}

.complete__list li {
  display: flex;
  gap: 8px;
}

.complete__list li::before {
  content: "✓";
  flex: 0 0 auto;
  font-weight: 900;
  color: var(--green-600);
}

/* ============================================================
   parent — 학부모용 (차분한 톤)
   ============================================================ */
.page-parent .page-head h1 {
  font-size: 24px;
}

.page-parent .card {
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: none;
  border: 1px solid #e2ebe6;
}

.page-parent .card__num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--green-800);
  box-shadow: none;
  font-size: 13px;
}

.page-parent .card__title {
  font-size: 17px;
}

.page-parent .field {
  margin-bottom: 22px;
}

.info-card {
  padding: 16px;
  border-radius: 12px;
  background: #fbfdfc;
  border: 1px solid var(--line);
}

.info-card + .info-card {
  margin-top: 10px;
}

.info-card__title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--green-900);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.info-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.info-card--accent {
  background: linear-gradient(135deg, #f0faf4 0%, #fbfdfc 100%);
  border-color: #cfe8d9;
}

.info-card__note {
  margin-top: 8px;
  font-size: 12.5px !important;
  color: var(--green-700) !important;
  font-weight: 700;
}

.bullet-list {
  list-style: none;
  display: grid;
  gap: 7px;
}

.bullet-list li {
  position: relative;
  padding-left: 13px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

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

/* ---------- 보강 시간 선택 ---------- */
.time-group + .time-group {
  margin-top: 14px;
}

.time-group__title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--green-800);
}

.time-group__title::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
}

.time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.time-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.time-chip input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green-600);
  cursor: pointer;
}

.time-chip:has(input:checked) {
  border-color: var(--green-500);
  background: var(--green-50);
  font-weight: 700;
  color: var(--green-900);
}

.time-chip:has(input:focus-visible) {
  outline: 3px solid rgba(34, 153, 92, 0.35);
  outline-offset: 2px;
}

.time-panel {
  margin-top: 4px;
  padding: 16px;
  border-radius: 12px;
  background: #f9fcfb;
  border: 1px dashed #cfe4d9;
}

/* ---------- 수강료 표 ---------- */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  font-size: 14.5px;
}

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

.fee-table thead th {
  background: var(--green-800);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 11px 13px;
  text-align: left;
}

.fee-table tbody th {
  padding: 12px 13px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: #fbfdfc;
}

.fee-table tbody td {
  padding: 12px 13px;
  text-align: right;
  font-size: 15px;
  font-weight: 800;
  color: var(--green-800);
  border-top: 1px solid var(--line);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.fee-note {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- 강조 박스 ---------- */
.highlight-box {
  position: relative;
  margin-top: 16px;
  padding: 17px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f5138 0%, #14663f 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(15, 81, 56, 0.2);
}

.highlight-box__tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.highlight-box p {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.discount-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 10px;
  background: #fffaf0;
  border: 1px solid #f2e2c4;
  font-size: 13.5px;
  line-height: 1.65;
  color: #7c5a1c;
}

.discount-row strong {
  color: #6a4a10;
}

/* ---------- 접이식 안내 ---------- */
.disclosure {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  padding: 13px 15px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--green-900);
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

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

.disclosure summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 15px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}

.disclosure[open] summary::after {
  content: "−";
}

.disclosure[open] summary {
  border-bottom: 1px solid var(--line);
}

.disclosure__body {
  padding: 14px 15px 16px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.disclosure__body p + p {
  margin-top: 9px;
}

.fine-print {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.calc-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.calc-list li {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fbf9;
  border: 1px solid #e8f1ec;
  font-size: 13px;
  line-height: 1.7;
}

.calc-list strong {
  color: var(--green-800);
}

/* ---------- 전체 동의 스위치 ---------- */
.switch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1.5px solid #cfe7d9;
  background: linear-gradient(135deg, #eef9f2 0%, #f8fdfa 100%);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.switch__label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--green-900);
  letter-spacing: -0.015em;
}

.switch__label small {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.switch__track {
  position: relative;
  flex: 0 0 auto;
  width: 54px;
  height: 30px;
  border-radius: 999px;
  background: #c9d8d0;
  transition: background 0.2s ease;
}

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

.switch input:checked ~ .switch__track {
  background: var(--green-600);
}

.switch input:checked ~ .switch__track::after {
  transform: translateX(24px);
}

.switch:has(input:checked) {
  border-color: var(--green-500);
  box-shadow: 0 8px 20px rgba(20, 102, 63, 0.1);
}

.switch:has(input:focus-visible) {
  outline: 3px solid rgba(34, 153, 92, 0.35);
  outline-offset: 2px;
}

/* ============================================================
   토스트
   ============================================================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: max-content;
  max-width: min(560px, calc(100% - 32px));
  padding: 14px 18px;
  border-radius: 13px;
  background: #93302f;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.toast--info {
  background: var(--green-800);
}

/* ============================================================
   반응형 (≥560 / ≥680)
   ============================================================ */
@media (min-width: 560px) {
  :root {
    --pad-x: 24px;
  }

  .hero {
    padding: 52px 0 42px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__desc {
    font-size: 16px;
  }

  .badge-grid {
    grid-template-columns: 1fr 1fr;
  }

  .choice-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .card {
    padding: 26px 24px;
  }

  .page-head h1 {
    font-size: 30px;
  }

  .page-parent .card {
    padding: 26px 24px;
  }

  .time-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 680px) {
  .section {
    padding-top: 38px;
  }

  .fee-table {
    font-size: 15px;
  }
}

/* ---------- 모션 최소화 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
