/* ==========================================================================
   젠토(Zento) 디자인 시스템 — "퇴근 후의 시트"
   토큰(색·글꼴·간격·모서리·그림자·모션)은 :root 한 곳에서만 정의한다.
   ========================================================================== */
:root {
  /* 색 */
  --c-ink: #10162B;
  --c-ink-2: #1B2340;
  --c-ink-3: #2A3355;
  --c-paper: #F6F3EC;
  --c-paper-2: #EEE8DC;
  --c-surface: #FFFFFF;
  --c-text: #1D2333;
  --c-muted: #535A6B;
  --c-line: #DDD6C7;
  --c-line-strong: #B9B09C;
  --c-green: #17694F;
  --c-green-700: #0F523D;
  --c-green-300: #7CC4A4;
  --c-green-50: #E5F1EB;
  --c-amber: #F2B53C;
  --c-amber-600: #E0A021;
  --c-amber-50: #FCF1D8;
  --c-amber-800: #6E4A00;
  --c-red: #B42318;
  --c-red-50: #FCEBE9;
  --c-info: #1E4E86;
  --c-info-50: #E7EEF7;
  --c-on-dark: #F4F1EA;
  --c-on-dark-muted: #C3C8D6;
  --c-focus: #0F523D;

  /* 글꼴 */
  --f-sans: "IBM Plex Sans KR", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem);
  --fs-2xl: clamp(2rem, 1.3rem + 3vw, 3.5rem);

  /* 간격·모양 */
  --gap: 24px;
  --sec-y: clamp(64px, 6vw + 24px, 120px);
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
  --sh-1: 0 1px 2px rgba(16, 22, 43, .06), 0 1px 0 rgba(16, 22, 43, .03);
  --sh-2: 0 18px 40px -20px rgba(16, 22, 43, .35);
  --sh-3: 0 30px 60px -24px rgba(5, 8, 20, .55);

  /* 모션 */
  --t-fast: 150ms;
  --t-base: 300ms;
  --t-slow: 600ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ───────── 기본 ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--f-sans); font-size: 1rem; line-height: 1.65; color: var(--c-text); background: var(--c-paper); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-green-700); text-underline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }
main:focus { outline: none; }
.mono { font-family: var(--f-mono); font-feature-settings: "tnum"; letter-spacing: -.01em; }
.muted { color: var(--c-muted); }
.strong { font-weight: 600; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--c-ink); color: #fff; padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.ic { flex: none; vertical-align: middle; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 40px; }
.wrap.narrow { max-width: 880px; }
.br-pc { display: none; }
@media (min-width: 900px) { .br-pc { display: inline; } }

/* ───────── 버튼 ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r); border: 1px solid transparent; font-weight: 600; font-size: var(--fs-sm); line-height: 1.2; text-decoration: none; cursor: pointer; transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-green); color: #fff; }
.btn--primary:hover { background: var(--c-green-700); }
.btn--amber { background: var(--c-amber); color: var(--c-ink); }
.btn--amber:hover { background: var(--c-amber-600); }
.btn--ghost { background: var(--c-surface); color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--ghost:hover { border-color: var(--c-ink); background: var(--c-paper); }
.btn--ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn--sm { min-height: 38px; padding: 0 14px; }
.btn--xs { min-height: 34px; padding: 0 10px; font-size: var(--fs-xs); gap: 6px; }
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.icon-btn:hover { border-color: var(--c-ink); }
.icon-btn--sm { width: 32px; height: 32px; }
.icon-btn[disabled] { opacity: .35; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--c-green-700); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow .ic { transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-row--end { justify-content: flex-end; }

/* ───────── 배지·태그·알약 ───────── */
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; background: var(--c-paper-2); color: var(--c-text); line-height: 1.6; }
.pill--amber { background: var(--c-amber); color: var(--c-ink); }
.pill--green { background: var(--c-green-50); color: var(--c-green-700); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: var(--r-sm); font-size: var(--fs-xs); font-weight: 600; background: var(--c-paper-2); color: #3B4252; white-space: nowrap; line-height: 1.4; }
.badge--ok, .badge--green { background: var(--c-green-50); color: var(--c-green-700); }
.badge--err { background: var(--c-red-50); color: var(--c-red); }
.badge--amber { background: var(--c-amber-50); color: var(--c-amber-800); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 12px; border: 1px solid var(--c-line-strong); border-radius: 999px; font-size: var(--fs-sm); background: var(--c-surface); }
.icon-box { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--r); background: var(--c-green-50); color: var(--c-green-700); }
.icon-box--lg { width: 48px; height: 48px; }
.icon-box--amber { background: var(--c-amber-50); color: var(--c-amber-800); }

/* ───────── 헤더·푸터 ───────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 236, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color var(--t-base), box-shadow var(--t-base); }
.site-header.is-scrolled { border-color: var(--c-line); box-shadow: var(--sh-1); }
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-ink); }
.brand__name { font-family: var(--f-sans); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.brand--light { color: #fff; }
.brand__mark { flex: none; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--c-text); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); border-radius: var(--r); transition: background var(--t-fast), color var(--t-fast); }
.site-nav__link:hover { background: var(--c-paper-2); }
.site-nav__link.is-current, .site-nav__link.is-active { color: var(--c-green-700); font-weight: 700; }
.site-nav__link.is-active { background: var(--c-green-50); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-surface); color: var(--c-ink); cursor: pointer; place-items: center; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
.nav-toggle--light { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }

.site-footer { background: var(--c-ink); color: var(--c-on-dark-muted); --c-focus: var(--c-amber); padding: 56px 0 40px; }
.site-footer__in { display: grid; grid-template-columns: 1.2fr 1fr 1.6fr; gap: 32px; align-items: start; }
.site-footer__tag { margin-top: 12px; font-size: var(--fs-sm); }
.site-footer__nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer__nav a { color: var(--c-on-dark); text-decoration: none; font-size: var(--fs-sm); padding: 4px 0; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__biz { font-size: var(--fs-xs); line-height: 1.8; }
.site-footer__copy { margin-top: 8px; color: #9EA5B8; }

/* ───────── 섹션 공통 ───────── */
.section { padding: var(--sec-y) 0; }
.section--paper2 { background: var(--c-paper-2); }
.section--ink { background: var(--c-ink); color: var(--c-on-dark); --c-focus: var(--c-amber); }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head--light .section__lead { color: var(--c-on-dark-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .01em; color: var(--c-green-700); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--c-amber); }
.section__title { font-size: var(--fs-xl); line-height: 1.3; letter-spacing: -.02em; font-weight: 700; }
.section__lead { margin-top: 14px; font-size: var(--fs-md); color: var(--c-muted); }

/* ───────── 히어로(홈) ───────── */
.hero { position: relative; overflow: hidden; background: var(--c-ink); color: var(--c-on-dark); --c-focus: var(--c-amber); min-height: min(760px, calc(100vh - 68px)); display: flex; align-items: center; }
.hero__bg { position: absolute; inset: -6% 0 -6% 0; will-change: transform; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; animation: kenburns 2.2s var(--ease) both; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 14, 30, .96) 0%, rgba(10, 14, 30, .86) 38%, rgba(10, 14, 30, .35) 75%, rgba(10, 14, 30, .2) 100%), linear-gradient(0deg, rgba(10, 14, 30, .55) 0%, rgba(10, 14, 30, 0) 40%); }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: end; padding-top: 72px; padding-bottom: 72px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); font-size: var(--fs-sm); font-weight: 500; margin-bottom: 24px; }
.hero__badge--dark { background: var(--c-surface); border-color: var(--c-line); color: var(--c-text); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-amber); box-shadow: 0 0 0 0 rgba(242, 181, 60, .6); animation: pulse 2.4s ease-out infinite; }
.hero__badge--dark .live-dot { background: var(--c-green); box-shadow: 0 0 0 0 rgba(23, 105, 79, .5); }
.hero__title { font-size: var(--fs-2xl); line-height: 1.18; letter-spacing: -.035em; font-weight: 700; color: #fff; }
.hero__title em { font-style: normal; color: var(--c-amber); }
.hero__sub { margin-top: 22px; max-width: 560px; font-size: var(--fs-md); color: var(--c-on-dark-muted); }
.hero__sub strong { color: #fff; font-weight: 600; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: var(--fs-sm); }
.hero__chips--dark li { background: var(--c-surface); border-color: var(--c-line); color: var(--c-text); }
.hero__chips--dark .ic { color: var(--c-green-700); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.hero__closed { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--c-on-dark-muted); }
.hero__demo { position: relative; justify-self: end; width: 100%; max-width: 400px; }

/* 자동으로 채워지는 시트(히어로 잔잔한 반복 움직임) */
.sheet { background: rgba(255, 255, 255, .97); color: var(--c-text); border-radius: var(--r-lg); box-shadow: var(--sh-3); overflow: hidden; animation: floaty 7s ease-in-out infinite; }
.sheet__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--c-paper-2); border-bottom: 1px solid var(--c-line); }
.sheet__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--c-line-strong); }
.sheet__bar p { margin-left: 8px; font-size: var(--fs-xs); color: var(--c-muted); }
.sheet__grid { padding: 6px 0; }
.sheet__row { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 8px; padding: 9px 16px; font-size: var(--fs-sm); border-bottom: 1px dashed var(--c-line); animation: fillrow 6s var(--ease) infinite; animation-delay: calc(var(--i, 0) * 450ms + 600ms); }
.sheet__row--head { font-size: var(--fs-xs); color: var(--c-muted); animation: none; border-bottom-style: solid; }
.sheet__ok { display: inline-flex; align-items: center; gap: 4px; color: var(--c-green-700); font-weight: 600; }
.sheet__foot { display: flex; align-items: center; gap: 6px; padding: 10px 16px; font-size: var(--fs-xs); color: var(--c-muted); background: var(--c-green-50); }
.sheet__foot .ic { color: var(--c-green-700); animation: spin 6s linear infinite; }
.hero__seat { position: absolute; right: -24px; bottom: -30px; background: var(--c-amber); color: var(--c-ink); border-radius: var(--r-lg); padding: 14px 18px; box-shadow: var(--sh-2); }
.hero__seat-label { font-size: var(--fs-xs); font-weight: 600; }
.hero__seat-num { font-size: 2rem; font-weight: 600; line-height: 1.1; }
.hero__seat-num small { font-size: 1rem; opacity: .75; }

/* 한눈에 보기 */
.facts { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.facts__in { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { display: flex; gap: 16px; padding: 32px 28px; border-left: 1px solid var(--c-line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__k { font-size: var(--fs-xs); color: var(--c-muted); font-weight: 600; }
.fact__v { font-size: var(--fs-lg); font-weight: 700; margin-top: 2px; }
.fact__v del { color: var(--c-muted); font-weight: 500; font-size: var(--fs-sm); }
.fact__s { font-size: var(--fs-sm); color: var(--c-muted); margin-top: 4px; }

/* 이런 분께 */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.aud-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.aud-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.aud-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-paper-2); }
.aud-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.aud-card:hover .aud-card__img { transform: scale(1.04); }
.aud-card__body { padding: 24px; }
.aud-card__title { margin-top: 16px; font-size: var(--fs-lg); font-weight: 700; }
.aud-card__desc { margin-top: 8px; color: var(--c-muted); }

/* 커리큘럼 타임라인 — 선은 점과 같은 줄(flex)에 두고 점 가운데를 지난다 */
.timeline { --tg: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--tg); }
.timeline__item { display: flex; flex-direction: column; gap: 16px; }
.timeline__rail { position: relative; display: flex; align-items: center; height: 44px; }
.timeline__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-ink); color: var(--c-amber); font-weight: 600; box-shadow: 0 0 0 6px var(--c-paper-2); }
.timeline__item:not(:last-child) .timeline__rail::after { content: ""; position: absolute; top: 50%; transform: translateY(-50%); left: 44px; right: calc(var(--tg) * -1); height: 2px; background: repeating-linear-gradient(90deg, var(--c-line-strong) 0 8px, transparent 8px 14px); }
.timeline__card { flex: 1; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-1); }
.timeline__week { font-size: var(--fs-xs); color: var(--c-green-700); font-weight: 600; letter-spacing: .06em; }
.timeline__title { margin-top: 6px; font-size: var(--fs-lg); font-weight: 700; }
.timeline__goal { margin-top: 8px; color: var(--c-muted); font-size: var(--fs-sm); }
.checklist { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--c-line); display: grid; gap: 8px; }
.checklist li { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-sm); }
.checklist .ic { margin-top: 4px; color: var(--c-green); }

/* 강사 */
.instructor { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.instructor__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 600px; background: var(--c-paper-2); box-shadow: var(--sh-2); }
.instructor__photo img { width: 100%; height: 100%; object-fit: cover; }
.instructor__cap { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(16, 22, 43, .88); color: #fff; border-radius: var(--r); font-size: var(--fs-sm); }
.instructor__cap .ic { color: var(--c-amber); }
.instructor__role { margin-top: 8px; font-weight: 600; color: var(--c-green-700); }
.instructor__bio { margin-top: 18px; font-size: var(--fs-md); }
.instructor .tags { margin-top: 22px; }
.quote { margin-top: 28px; padding: 22px 24px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); font-size: var(--fs-md); font-weight: 500; color: var(--c-ink); }

/* 수업 방식 */
.section--split { background: var(--c-surface); border-top: 1px solid var(--c-line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { margin-top: 28px; display: grid; gap: 22px; }
.feature-list li { display: flex; gap: 16px; }
.feature-list p { color: var(--c-muted); }
.feature-list .feature-list__t { color: var(--c-text); font-weight: 700; font-size: var(--fs-md); }

/* 일정·가격 */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; }
.price-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-lg); background: var(--c-ink-2); border: 1px solid var(--c-ink-3); }
.price-card--hl { background: var(--c-surface); color: var(--c-text); border-color: var(--c-amber); box-shadow: 0 0 0 3px rgba(242, 181, 60, .35); --c-focus: var(--c-green-700); }
.price-card__label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--fs-sm); color: var(--c-on-dark-muted); }
.price-card--hl .price-card__label { color: var(--c-text); }
.price-card__big { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; color: #fff; letter-spacing: -.02em; }
.price-card--hl .price-card__big { color: var(--c-ink); }
.price-card__del { font-size: 1rem; color: var(--c-muted); font-weight: 500; }
.price-card__sub { color: var(--c-on-dark-muted); font-size: var(--fs-sm); }
.price-card--hl .price-card__sub { color: var(--c-muted); }
.price-card__list { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--c-ink-3); display: grid; gap: 8px; font-size: var(--fs-sm); }
.price-card__list li { display: flex; align-items: center; gap: 8px; }
.price-card__list .ic { color: var(--c-amber); }
.price-card--hl .btn { margin-top: auto; }

/* 잔여 미터 */
.meter { display: grid; gap: 8px; }
.meter__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: var(--fs-sm); }
.meter__label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.meter__num strong { font-size: 1.125rem; }
.meter__bar { height: 8px; border-radius: 99px; background: var(--c-paper-2); overflow: hidden; }
.meter__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--c-green) 0%, var(--c-amber) 100%); transform-origin: left; animation: grow 1.2s var(--ease) both .3s; }
.meter.is-closed .meter__bar span { background: var(--c-red); }
.meter--dark { margin: 8px 0 6px; }

/* FAQ 아코디언 */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
.faq__head { position: sticky; top: 100px; }
.faq__head .link-arrow { margin-top: 20px; }
.faq__list { display: grid; gap: 12px; }
.acc { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.acc[open] { border-color: var(--c-line-strong); box-shadow: var(--sh-1); }
.acc__q { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: var(--fs-md); min-height: 44px; }
.acc__q::-webkit-details-marker { display: none; }
.acc__mark { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: var(--r-sm); background: var(--c-green-50); color: var(--c-green-700); font-size: var(--fs-sm); }
.acc__text { flex: 1; }
.acc__chev { transition: transform var(--t-base) var(--ease); color: var(--c-muted); }
.acc[open] .acc__chev { transform: rotate(180deg); }
.acc__a { padding: 0 20px 20px 62px; color: #3B4252; }

/* 끝 CTA */
.cta-band { position: relative; overflow: hidden; color: #fff; --c-focus: var(--c-amber); }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 14, 30, .93), rgba(10, 14, 30, .72)); }
.cta-band__in { position: relative; padding-top: 96px; padding-bottom: 96px; text-align: center; display: grid; justify-items: center; gap: 16px; }
.cta-band__title { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.02em; }
.cta-band__desc { color: var(--c-on-dark-muted); max-width: 560px; }
.cta-band__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }

/* ───────── 클래스 사전 신청 ───────── */
.page-hero { padding: 48px 0 72px; background: linear-gradient(180deg, var(--c-paper) 0%, var(--c-paper-2) 100%); border-bottom: 1px solid var(--c-line); }
.page-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.page-hero__title { font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3rem); line-height: 1.22; letter-spacing: -.03em; font-weight: 700; }
.page-hero__one { margin-top: 14px; font-size: var(--fs-lg); font-weight: 600; color: var(--c-green-700); }
.page-hero__desc { margin-top: 14px; color: var(--c-muted); font-size: var(--fs-md); max-width: 560px; }
.page-hero__media { position: relative; }
.page-hero__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.page-hero__meter { position: absolute; left: 24px; right: 24px; bottom: -32px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--sh-2); }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: 20px; }
.crumbs a { color: var(--c-muted); }
.crumbs a:hover { color: var(--c-ink); }
.crumbs [aria-current] { color: var(--c-text); font-weight: 600; }
.top-alert { padding-top: 16px; }

.apply__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.apply-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--sh-1); display: grid; gap: 22px; scroll-margin-top: 90px; }
.apply-card--early { border-color: var(--c-amber); box-shadow: 0 0 0 3px rgba(242, 181, 60, .25), var(--sh-1); }
.apply-card__head { display: flex; gap: 16px; align-items: flex-start; }
.apply-card__title { font-size: var(--fs-lg); font-weight: 700; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.apply-card__desc { margin-top: 4px; color: var(--c-muted); font-size: var(--fs-sm); }
.apply-card__desc strong { color: var(--c-text); }
.apply-form { display: grid; gap: 18px; }
.apply-form__note { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--c-muted); justify-content: center; }
.apply__foot { display: flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--c-muted); font-size: var(--fs-sm); }
.closed-box { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 28px 20px; border-radius: var(--r-lg); background: var(--c-red-50); border: 1px dashed #E3B1AB; }
.closed-box .icon-box { background: #fff; color: var(--c-red); }
.closed-box__title { font-weight: 700; font-size: var(--fs-md); color: #7A1810; }
.closed-box__desc { color: #5E2A24; font-size: var(--fs-sm); max-width: 380px; }

/* ───────── 입력 요소(기본 모양 대신 직접 그린 모양) ───────── */
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label { font-weight: 600; font-size: var(--fs-sm); color: var(--c-text); padding: 0; }
.req { color: var(--c-red); }
.field__help { font-size: var(--fs-xs); color: var(--c-muted); }
.field__err { display: flex; align-items: flex-start; gap: 6px; font-size: var(--fs-sm); color: var(--c-red); font-weight: 500; }
.field__err .ic { margin-top: 3px; }
.input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--c-line-strong); border-radius: var(--r); background: var(--c-surface); color: var(--c-text); transition: border-color var(--t-fast), box-shadow var(--t-fast); appearance: none; -webkit-appearance: none; }
.input::placeholder { color: #737A89; }
.input:hover { border-color: var(--c-ink-3); }
.input:focus { outline: none; border-color: var(--c-green); box-shadow: 0 0 0 3px rgba(23, 105, 79, .22); }
.has-error .input, .input[aria-invalid="true"] { border-color: var(--c-red); background: #FFFBFA; }
.has-error .input:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .18); }
.textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.input--num { max-width: 160px; }
input[type="date"].input { min-width: 0; padding: 10px 8px 10px 12px; }
input[type="date"]::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
.input-ic { position: relative; }
.input-ic > .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--c-muted); pointer-events: none; }
.input-ic .input { padding-left: 42px; }
.select { position: relative; }
.select select { width: 100%; min-height: 48px; padding: 10px 40px 10px 14px; border: 1px solid var(--c-line-strong); border-radius: var(--r); background: var(--c-surface); appearance: none; -webkit-appearance: none; cursor: pointer; }
.select select:focus { outline: none; border-color: var(--c-green); box-shadow: 0 0 0 3px rgba(23, 105, 79, .22); }
.select__chev { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--c-muted); }

.agree { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r); background: var(--c-paper); border: 1px solid var(--c-line); }
.agree.has-error { border-color: var(--c-red); background: #FFFBFA; }
.agree__more { justify-self: start; margin: -4px 0 4px 34px; font-size: var(--fs-xs); color: var(--c-green-700); }
.check { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; cursor: pointer; font-size: var(--fs-sm); }
.check input { position: absolute; left: 0; top: 10px; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.check__box { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border: 1.5px solid var(--c-line-strong); border-radius: var(--r-sm); background: var(--c-surface); color: #fff; transition: background var(--t-fast), border-color var(--t-fast); }
.check__box .ic { opacity: 0; transform: scale(.6); transition: opacity var(--t-fast), transform var(--t-fast) var(--ease); }
.check:hover .check__box { border-color: var(--c-green); }
.check input:checked + .check__box { background: var(--c-green); border-color: var(--c-green); }
.check input:checked + .check__box .ic { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--c-red); }
.check input:disabled + .check__box { opacity: .4; }
.check__text { line-height: 1.5; padding-top: 1px; }
.badge-req, .badge-opt { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: var(--r-sm); font-size: .75rem; font-weight: 700; vertical-align: 1px; }
.badge-req { background: var(--c-green-50); color: var(--c-green-700); }
.badge-opt { background: var(--c-paper-2); color: var(--c-muted); }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radio { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 12px; border: 1px solid var(--c-line-strong); border-radius: var(--r); background: var(--c-surface); cursor: pointer; font-weight: 500; transition: border-color var(--t-fast), background var(--t-fast); }
.radio input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.radio__dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--c-line-strong); background: #fff; display: grid; place-items: center; }
.radio__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c-green); transform: scale(0); transition: transform var(--t-fast) var(--ease); }
.radio:has(input:checked) { border-color: var(--c-green); background: var(--c-green-50); }
.radio input:checked + .radio__dot { border-color: var(--c-green); }
.radio input:checked + .radio__dot::after { transform: scale(1); }
.radio:has(input:focus-visible) { outline: 3px solid var(--c-focus); outline-offset: 2px; }

/* ───────── 알림·상태 ───────── */
.form-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--c-red-50); color: #7A1810; border: 1px solid #EBC0BA; font-size: var(--fs-sm); font-weight: 500; }
.form-alert .ic { margin-top: 2px; color: var(--c-red); }
.banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); border: 1px solid; font-size: var(--fs-sm); margin-bottom: 16px; }
.banner .ic { margin-top: 1px; }
.banner--error { background: var(--c-red-50); border-color: #EBC0BA; color: #7A1810; }
.banner--warn { background: var(--c-amber-50); border-color: #EDD29A; color: #5C3D00; }
.banner--info { background: var(--c-info-50); border-color: #C3D3E8; color: #173B66; }
.banner--ok { background: var(--c-green-50); border-color: #BFDCCD; color: var(--c-green-700); }
.state { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 48px 24px; }
.state__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-paper-2); color: var(--c-ink-3); margin-bottom: 8px; }
.state--error .state__icon { background: var(--c-red-50); color: var(--c-red); }
.state__title { font-weight: 700; font-size: var(--fs-lg); }
.state__desc { color: var(--c-muted); max-width: 440px; }
.state__actions { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.toast { display: flex; align-items: center; gap: 10px; padding: 14px 12px 14px 16px; border-radius: var(--r); background: var(--c-ink); color: #fff; box-shadow: var(--sh-3); font-size: var(--fs-sm); animation: toastin var(--t-base) var(--ease) both; }
.toast--success .ic:first-child { color: var(--c-green-300); }
.toast--error { background: #5B130C; }
.toast--error .ic:first-child { color: #FFB4A8; }
.toast--info .ic:first-child { color: var(--c-amber); }
.toast span { flex: 1; }
.toast__close { display: grid; place-items: center; width: 32px; height: 32px; border: 0; background: transparent; color: #fff; border-radius: var(--r-sm); cursor: pointer; opacity: .8; }
.toast__close:hover { opacity: 1; background: rgba(255, 255, 255, .1); }
.toast.is-out { animation: toastout var(--t-base) var(--ease) both; }

/* ───────── 접수 완료·접수 내용·방침 ───────── */
.page-band { background: var(--c-paper-2); border-bottom: 1px solid var(--c-line); padding: 40px 0 36px; }
.page-band .crumbs { margin-bottom: 12px; }
.page-band__title { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.02em; }
.page-band__desc { margin-top: 8px; color: var(--c-muted); }
.page-band__meta { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.page-body { padding-top: 40px; padding-bottom: 80px; display: grid; gap: 20px; }
.done-hero { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 40px 28px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.done-hero__check { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--c-green-50); color: var(--c-green); animation: popin var(--t-slow) var(--ease) both; }
.done-hero__type { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: var(--fs-sm); color: var(--c-muted); }
.done-hero__title { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.02em; }
.done-hero__desc { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--c-muted); max-width: 560px; text-align: left; }
.done-hero__desc .ic { margin-top: 4px; color: var(--c-green); }
.done-hero .banner { text-align: left; margin: 0; }
.panel { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 16px; }
.panel__title { display: flex; align-items: center; gap: 8px; font-size: var(--fs-lg); font-weight: 700; }
.panel__desc { color: var(--c-muted); font-size: var(--fs-sm); }
.panel__lead { font-weight: 700; color: var(--c-green-700); }
.panel__lead--warn { color: #7A4F00; }
.kv { display: grid; border-top: 1px solid var(--c-line); }
.kv > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--c-line); align-items: baseline; }
.kv dt { color: var(--c-muted); font-size: var(--fs-sm); font-weight: 500; }
.kv dd { font-weight: 500; overflow-wrap: anywhere; }
.kv__sub { display: block; font-size: var(--fs-xs); color: var(--c-muted); font-weight: 400; margin-top: 2px; }
.steps { display: grid; gap: 0; }
.steps__item { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding-bottom: 22px; }
.steps__item:last-child { padding-bottom: 0; }
.steps__item:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--c-line); }
.steps__dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-ink); color: var(--c-amber); font-weight: 600; position: relative; z-index: 1; }
.steps__t { font-weight: 700; margin-top: 5px; }
.steps__item p:not(.steps__t) { color: var(--c-muted); font-size: var(--fs-sm); }
.fine { display: flex; gap: 8px; align-items: flex-start; color: var(--c-muted); font-size: var(--fs-sm); }
.fine .ic { margin-top: 4px; }
.sum-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sum-cell { padding: 16px; border-radius: var(--r); background: var(--c-paper); border: 1px solid var(--c-line); }
.sum-cell__k { font-size: var(--fs-xs); color: var(--c-muted); font-weight: 600; }
.sum-cell__v { font-weight: 700; margin-top: 4px; }
.sum-cell__s { font-size: var(--fs-xs); color: var(--c-muted); margin-top: 4px; }
.policy { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.policy__toc { position: sticky; top: 96px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 20px; }
.policy__toc-t { font-weight: 700; margin-bottom: 8px; }
.policy__toc ol { display: grid; gap: 2px; }
.policy__toc a { display: block; padding: 7px 8px; border-radius: var(--r-sm); color: var(--c-text); text-decoration: none; font-size: var(--fs-sm); }
.policy__toc a:hover { background: var(--c-paper-2); }
.policy__body { display: grid; gap: 36px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 40px; }
.policy__intro { font-size: var(--fs-md); }
.policy__body section { display: grid; gap: 12px; scroll-margin-top: 90px; }
.policy__body h2 { font-size: var(--fs-lg); font-weight: 700; padding-bottom: 10px; border-bottom: 1px solid var(--c-line); }
.dots { display: grid; gap: 6px; }
.dots li { position: relative; padding-left: 16px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--c-green); }
.note { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--c-paper); color: #3B4252; font-size: var(--fs-sm); }
.note .ic { margin-top: 3px; color: var(--c-green-700); }

/* ───────── 관리자 ───────── */
body.adm { background: #F3F1EC; }
.adm-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; background: linear-gradient(90deg, var(--c-ink) 264px, transparent 264px); }
.adm-side { background: var(--c-ink); color: var(--c-on-dark); --c-focus: var(--c-amber); position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 20px 14px; }
.adm-side__top { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 20px; }
.adm-side__badge { margin-left: 4px; padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); font-size: .75rem; font-weight: 600; font-family: var(--f-sans); }
.adm-side__badge--dark { background: var(--c-ink); color: #fff; }
.adm-nav__group { padding: 18px 10px 6px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: #A3AABD; }
.adm-nav ul { display: grid; gap: 2px; }
.adm-nav__link { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border-radius: var(--r); color: #DCE0EA; text-decoration: none; font-size: var(--fs-sm); font-weight: 500; background: transparent; border: 0; cursor: pointer; text-align: left; transition: background var(--t-fast), color var(--t-fast); }
.adm-nav__link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.adm-nav__link.is-current { background: rgba(255, 255, 255, .12); color: #fff; font-weight: 700; }
.adm-nav__link.is-current .ic { color: var(--c-amber); }
.adm-nav__logout { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.adm-main { display: flex; flex-direction: column; min-width: 0; }
.adm-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 0 32px; background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.adm-top__title { font-weight: 700; }
.adm-top__who { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); flex-wrap: wrap; }
.adm-top__ttl { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 3px 8px; border-radius: 99px; background: var(--c-paper); color: var(--c-muted); font-size: var(--fs-xs); }
.adm-content { flex: 1; padding: 28px 32px 48px; display: grid; gap: 20px; align-content: start; max-width: 1360px; width: 100%; }
.adm-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 32px; border-top: 1px solid var(--c-line); font-size: var(--fs-xs); color: var(--c-muted); }
.adm-foot a { color: var(--c-muted); }
.adm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.adm-head__title { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.adm-head__desc { margin-top: 6px; color: var(--c-muted); font-size: var(--fs-sm); max-width: 760px; }
.crumbs--adm { margin-bottom: -8px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 18px 20px; display: grid; gap: 6px; align-content: start; color: inherit; text-decoration: none; }
.stat__k { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: var(--fs-sm); color: var(--c-muted); font-weight: 500; }
.stat__v { font-size: 1.75rem; font-weight: 600; line-height: 1.2; }
.stat__v small { font-size: .875rem; color: var(--c-muted); margin-left: 4px; font-weight: 500; }
.stat__s { display: inline-flex; align-items: center; gap: 2px; font-size: var(--fs-xs); color: var(--c-green-700); font-weight: 600; }
.stat--link:hover { border-color: var(--c-ink); }
.stat--warn { border-color: #EBC0BA; background: #FFFAF9; }
.stat--warn .stat__v { color: var(--c-red); }
.stat.is-closed .meter__bar span { background: var(--c-red); }
.filters { display: grid; grid-template-columns: minmax(200px, 1.6fr) minmax(130px, 1fr) minmax(110px, .9fr) minmax(340px, 2.2fr) auto; gap: 14px; align-items: end; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 18px 20px; }
.filters--faq { grid-template-columns: minmax(240px, 3fr) minmax(160px, 1fr) auto; }
.filters__dates { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.filters__btns { display: flex; gap: 8px; }
.filters__btns .btn { min-height: 48px; }
.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 22px 24px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.card--warn { border-color: #EDD29A; }
.card--note { background: var(--c-paper); }
.card--note .card__title { display: flex; align-items: center; gap: 8px; }
.card--note p { font-size: var(--fs-sm); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card__title { font-size: var(--fs-md); font-weight: 700; }
.card__title strong { font-weight: 700; }
.card__sort { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); }
.card__sub { font-size: var(--fs-sm); font-weight: 700; margin-top: 4px; }
.card__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--c-line); }
.card__foot .muted { font-size: var(--fs-xs); flex: 1; min-width: 220px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.kv--adm > div { grid-template-columns: 150px 1fr; }
.kv--wide > div { grid-template-columns: 120px 1fr; }
.big-num { font-size: 1.5rem; margin-right: 2px; }
.col-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.col-list li { display: grid; padding: 10px 12px; border-radius: var(--r); background: var(--c-paper); font-size: var(--fs-sm); }
.col-list span { color: var(--c-muted); font-size: var(--fs-xs); }
.log-list { display: grid; gap: 6px; }
.log-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--r); background: var(--c-paper); font-size: var(--fs-xs); }
.form-card { max-width: 860px; gap: 22px; padding: 28px; }
.form-card__row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); justify-self: start; }
.seg__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: var(--r); text-decoration: none; color: var(--c-text); font-weight: 500; font-size: var(--fs-sm); }
.seg__btn:hover { background: var(--c-paper); }
.seg__btn.is-current { background: var(--c-ink); color: #fff; font-weight: 700; }

/* 표 */
.table-wrap { overflow-x: auto; margin: 0 -24px; padding: 0 24px; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th { text-align: left; font-weight: 600; color: var(--c-muted); font-size: var(--fs-xs); padding: 10px 12px; border-bottom: 1px solid var(--c-line-strong); white-space: nowrap; background: var(--c-paper); }
.table td { padding: 12px; border-bottom: 1px solid var(--c-line); vertical-align: middle; }
.table tbody tr { transition: background var(--t-fast); }
.table tbody tr:hover { background: #FBFAF6; }
.table tr.is-muted td { color: var(--c-muted); }
.table__link { color: var(--c-ink); font-weight: 600; text-decoration: none; }
.table__link:hover { text-decoration: underline; color: var(--c-green-700); }
.table__q { min-width: 260px; }
.table__act { width: 52px; text-align: right; }
.order-cell { display: flex; align-items: center; gap: 6px; }
.order-cell__n { display: inline-block; min-width: 28px; font-weight: 600; }
.order-cell form, .act-row form { display: inline; }
.act-row { display: flex; gap: 6px; flex-wrap: wrap; }
.pager ul { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pager__btn { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: var(--r); border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-text); text-decoration: none; font-family: var(--f-mono); font-size: var(--fs-sm); }
.pager__btn:hover { border-color: var(--c-ink); }
.pager__btn.is-current { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }

/* 불러오는 중(스켈레톤) — 검색을 누르면 표 자리에 잠깐 보인다 */
.skeleton-table { display: none; gap: 10px; }
.skeleton-table span { height: 40px; border-radius: var(--r); background: linear-gradient(90deg, var(--c-paper-2) 0%, #F8F6F1 50%, var(--c-paper-2) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
[data-results].is-loading .skeleton-table { display: grid; }
[data-results].is-loading .table-wrap, [data-results].is-loading .pager, [data-results].is-loading .state { display: none; }

/* 확인 창 */
.dialog { border: 0; padding: 0; border-radius: var(--r-lg); box-shadow: var(--sh-3); width: min(420px, calc(100vw - 32px)); }
.dialog::backdrop { background: rgba(16, 22, 43, .55); }
.dialog__box { padding: 28px; display: grid; gap: 20px; }
.dialog__title { font-size: var(--fs-lg); font-weight: 700; }
.dialog__actions { display: flex; justify-content: flex-end; gap: 8px; }
.dialog[open] { animation: popin var(--t-base) var(--ease) both; }

/* 관리자 로그인 */
.login { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; background: var(--c-paper); }
.login__media { position: relative; overflow: hidden; background: var(--c-ink); }
.login__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.login__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 22, 43, .2), rgba(16, 22, 43, .7)); }
.login__panel { display: grid; align-content: center; gap: 18px; padding: 48px clamp(24px, 6vw, 96px); max-width: 620px; width: 100%; }
.login__title { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; margin-top: 12px; }
.login__desc { color: var(--c-muted); }
.login__form { display: grid; gap: 16px; }
.login__help { display: grid; gap: 6px; padding: 14px 16px; border-radius: var(--r); background: var(--c-surface); border: 1px solid var(--c-line); font-size: var(--fs-sm); color: var(--c-muted); }
.login__help p { display: flex; gap: 8px; align-items: flex-start; }
.login__help .ic { margin-top: 4px; }
.login__foot { display: flex; gap: 8px; font-size: var(--fs-sm); }
.login__foot a { color: var(--c-muted); }
.login .banner, .login .form-alert { margin: 0; }

/* ───────── 등장·반복 움직임 ───────── */
.rise { animation: rise var(--t-slow) var(--ease) both; animation-delay: var(--d, 0ms); }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.08); opacity: .4; } to { transform: scale(1); opacity: 1; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fillrow { 0% { background: transparent; opacity: .35; } 8% { background: var(--c-green-50); opacity: 1; } 22% { background: transparent; } 86% { opacity: 1; } 100% { opacity: .35; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 181, 60, .55); } 70% { box-shadow: 0 0 0 10px rgba(242, 181, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 181, 60, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes popin { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes toastin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes toastout { to { opacity: 0; transform: translateY(12px); } }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .sheet__row { opacity: 1; }
  [data-parallax] { transform: none !important; }
}

/* ───────── 반응형 ───────── */
@media (max-width: 1180px) {
  .filters { grid-template-columns: 1fr 1fr 1fr; }
  .filters__q { grid-column: 1 / -1; }
  .filters__period { grid-column: span 2; }
  .filters--faq { grid-template-columns: 2fr 1fr auto; }
  .filters--faq .filters__q { grid-column: auto; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .wrap { padding: 0 28px; }
  .hero__in { grid-template-columns: 1fr; align-items: start; gap: 56px; }
  .hero__demo { justify-self: start; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .timeline__item:nth-child(2) .timeline__rail::after { display: none; }
  .instructor, .split, .faq, .page-hero__in { gap: 40px; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price-card--hl { grid-column: 1 / -1; }
  .detail-grid { grid-template-columns: 1fr; }
  .adm-shell { grid-template-columns: 1fr; background: none; }
  .adm-side { position: sticky; height: auto; z-index: 40; padding: 10px 16px; }
  .adm-side__top { padding: 4px 0; }
  .adm-side .nav-toggle { display: inline-grid; }
  .adm-nav { display: none; padding-bottom: 12px; }
  .adm-nav.is-open { display: block; }
  .adm-top { padding: 0 20px; }
  .adm-content { padding: 20px 20px 40px; }
  .adm-foot { padding: 16px 20px; }
  .login { grid-template-columns: 1fr; }
  .login__media { display: none; }
}
@media (max-width: 860px) {
  .site-header__in { min-height: 60px; }
  .nav-toggle { display: inline-grid; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 20px 20px; background: var(--c-paper); border-bottom: 1px solid var(--c-line); box-shadow: var(--sh-2); max-height: calc(100vh - 60px); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .site-nav__link { padding: 0 8px; }
  .site-nav__cta { margin-top: 4px; }
  .facts__in { grid-template-columns: 1fr; }
  .fact { border-left: 0; border-top: 1px solid var(--c-line); padding: 22px 0; }
  .fact:first-child { border-top: 0; }
  .aud-grid { grid-template-columns: 1fr; }
  .aud-card { display: grid; grid-template-columns: 38% 1fr; }
  .aud-card__media { aspect-ratio: auto; height: 100%; }
  .instructor, .split, .faq, .page-hero__in, .apply__grid { grid-template-columns: 1fr; }
  .instructor__photo { max-width: 420px; }
  .faq__head { position: static; }
  .page-hero__meter { position: static; margin-top: 12px; }
  .page-hero { padding-bottom: 48px; }
  .site-footer__in { grid-template-columns: 1fr; gap: 24px; }
  .policy { grid-template-columns: 1fr; gap: 20px; }
  .policy__toc { position: static; }
  .policy__body { padding: 24px; }
  .sum-grid { grid-template-columns: 1fr; }
  .col-list { grid-template-columns: 1fr; }
  .form-card__row { grid-template-columns: 1fr; }
  /* 표 → 카드 */
  .table--cards thead { display: none; }
  .table--cards, .table--cards tbody, .table--cards tr, .table--cards td { display: block; width: 100%; }
  .table-wrap { margin: 0; padding: 0; overflow: visible; }
  .table--cards tr { border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 8px 14px; margin-bottom: 10px; background: var(--c-surface); }
  .table--cards td { display: grid; grid-template-columns: 100px 1fr; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--c-line); }
  .table--cards td:last-child { border-bottom: 0; }
  .table--cards td::before { content: attr(data-label); font-size: var(--fs-xs); color: var(--c-muted); font-weight: 600; font-family: var(--f-sans); }
  .table--cards td.table__act { display: none; }
  .table__q { min-width: 0; }
}
@media (max-width: 640px) {
  :root { --gap: 16px; }
  .wrap { padding: 0 16px; }
  .hero { min-height: 0; }
  .hero__bg { inset: 0 0 auto 0; height: 420px; }
  .hero__shade { background: linear-gradient(180deg, rgba(10, 14, 30, .55) 0%, rgba(10, 14, 30, .88) 280px, rgba(10, 14, 30, 1) 420px); }
  .hero__in { padding-top: 44px; padding-bottom: 64px; gap: 48px; }
  .hero__demo { max-width: 100%; }
  .hero__seat { right: 12px; bottom: -26px; padding: 10px 14px; }
  .hero__seat-num { font-size: 1.5rem; }
  .hero__cta .btn { width: 100%; }
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .timeline__item { flex-direction: row; gap: 16px; padding-bottom: 20px; }
  .timeline__rail { flex-direction: column; height: auto; align-items: center; align-self: stretch; }
  .timeline__item:not(:last-child) .timeline__rail::after, .timeline__item:nth-child(2) .timeline__rail::after { display: block; content: ""; position: absolute; top: 44px; bottom: -20px; left: 50%; right: auto; width: 2px; height: auto; transform: translateX(-50%); background: repeating-linear-gradient(180deg, var(--c-line-strong) 0 8px, transparent 8px 14px); }
  .timeline__item:last-child .timeline__rail::after { display: none; }
  .timeline__card { padding: 18px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card { padding: 22px; }
  .aud-card { grid-template-columns: 1fr; }
  .aud-card__media { aspect-ratio: 16 / 9; }
  .apply-card { padding: 20px 16px; }
  .acc__q { padding: 16px; font-size: 1rem; }
  .acc__a { padding: 0 16px 18px 16px; }
  .kv > div, .kv--adm > div, .kv--wide > div { grid-template-columns: 1fr; gap: 2px; }
  .panel { padding: 20px 16px; }
  .done-hero { padding: 32px 16px; }
  .btn-row .btn { flex: 1 1 auto; }
  .filters, .filters--faq { grid-template-columns: 1fr; padding: 16px; }
  .filters__q, .filters__period { grid-column: auto; }
  .filters__btns .btn { flex: 1; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 14px; }
  .stat__v { font-size: 1.375rem; }
  .card { padding: 18px 16px; }
  .adm-head__title { font-size: 1.25rem; }
  .adm-top { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 10px 16px; }
  .adm-content { padding: 16px 16px 32px; }
  .seg { justify-self: stretch; }
  .seg__btn { flex: 1; justify-content: center; padding: 0 8px; }
  .toasts { right: 16px; bottom: 16px; }
}
