/* aijalers Design Tokens v1.0 — 에잘러스 · "AI로 일 잘하는 사람들" — generated from tokens.json */
:root {
  color-scheme: light;
  --ej-color-ink: #0B0D12;
  --ej-color-cobalt-50: #EEF2FF;
  --ej-color-cobalt-100: #DCE4FF;
  --ej-color-cobalt-200: #B9C8FF;
  --ej-color-cobalt-300: #8BA4FF;
  --ej-color-cobalt-400: #5C7DFF;
  --ej-color-cobalt-500: #2F5BFF;
  --ej-color-cobalt-600: #1F45E6;
  --ej-color-cobalt-700: #1736B8;
  --ej-color-cobalt-800: #132C8F;
  --ej-color-cobalt-900: #0F2266;
  --ej-color-neutral-0: #FFFFFF;
  --ej-color-neutral-50: #F6F7FA;
  --ej-color-neutral-100: #E7EAF0;
  --ej-color-neutral-200: #D5DAE3;
  --ej-color-neutral-300: #B6BDCA;
  --ej-color-neutral-400: #8C94A5;
  --ej-color-neutral-500: #6B7385;
  --ej-color-neutral-600: #4D5466;
  --ej-color-neutral-700: #343A48;
  --ej-color-neutral-800: #1C2029;
  --ej-color-neutral-900: #11141A;
  --ej-color-neutral-950: #0B0D12;
  --ej-color-success-fg: #067A55;
  --ej-color-success-bg: #E7F6EF;
  --ej-color-warning-fg: #B54708;
  --ej-color-warning-bg: #FFF4E5;
  --ej-color-danger-fg: #B42318;
  --ej-color-danger-bg: #FEECEB;
  --ej-color-info-fg: #1F45E6;
  --ej-color-info-bg: #EEF2FF;
  --ej-bg: #FFFFFF;
  --ej-bg-subtle: #F6F7FA;
  --ej-surface: #FFFFFF;
  --ej-surface-muted: #E7EAF0;
  --ej-text: #0B0D12;
  --ej-text-muted: #4D5466;
  --ej-text-subtle: #6B7385;
  --ej-border: #E7EAF0;
  --ej-border-strong: #D5DAE3;
  --ej-accent: #2F5BFF;
  --ej-accent-hover: #1F45E6;
  --ej-accent-text: #1F45E6;
  --ej-on-accent: #FFFFFF;
  --ej-focus: #2F5BFF;
  --ej-font-sans: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --ej-font-display-latin: 'Space Grotesk', 'Pretendard', sans-serif;
  --ej-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ej-weight-regular: 400;
  --ej-weight-medium: 500;
  --ej-weight-semibold: 600;
  --ej-weight-bold: 700;
  --ej-weight-extrabold: 800;
  --ej-text-display-size: 64px; --ej-text-display-lh: 72px; --ej-text-display-weight: 800; --ej-text-display-tracking: -0.04em;
  --ej-text-h1-size: 48px; --ej-text-h1-lh: 58px; --ej-text-h1-weight: 800; --ej-text-h1-tracking: -0.035em;
  --ej-text-h2-size: 36px; --ej-text-h2-lh: 46px; --ej-text-h2-weight: 700; --ej-text-h2-tracking: -0.03em;
  --ej-text-h3-size: 24px; --ej-text-h3-lh: 34px; --ej-text-h3-weight: 700; --ej-text-h3-tracking: -0.02em;
  --ej-text-body-lg-size: 18px; --ej-text-body-lg-lh: 30px; --ej-text-body-lg-weight: 400; --ej-text-body-lg-tracking: -0.01em;
  --ej-text-body-size: 16px; --ej-text-body-lh: 27px; --ej-text-body-weight: 400; --ej-text-body-tracking: -0.005em;
  --ej-text-small-size: 14px; --ej-text-small-lh: 22px; --ej-text-small-weight: 400; --ej-text-small-tracking: 0;
  --ej-text-caption-size: 12px; --ej-text-caption-lh: 18px; --ej-text-caption-weight: 500; --ej-text-caption-tracking: 0;
  --ej-text-overline-size: 12px; --ej-text-overline-lh: 16px; --ej-text-overline-weight: 500; --ej-text-overline-tracking: 0.12em;
  --ej-space-0: 0px;
  --ej-space-1: 4px;
  --ej-space-2: 8px;
  --ej-space-3: 12px;
  --ej-space-4: 16px;
  --ej-space-5: 20px;
  --ej-space-6: 24px;
  --ej-space-8: 32px;
  --ej-space-10: 40px;
  --ej-space-12: 48px;
  --ej-space-16: 64px;
  --ej-space-20: 80px;
  --ej-space-24: 96px;
  --ej-space-32: 128px;
  --ej-radius-xs: 4px;
  --ej-radius-sm: 6px;
  --ej-radius-md: 10px;
  --ej-radius-lg: 16px;
  --ej-radius-xl: 24px;
  --ej-radius-full: 9999px;
  --ej-border-hairline: 1px;
  --ej-border-strong: 1.5px;
  --ej-border-focus: 2px;
  --ej-shadow-sm: 0 1px 2px rgba(11,13,18,.06), 0 1px 3px rgba(11,13,18,.08);
  --ej-shadow-md: 0 4px 12px -2px rgba(11,13,18,.10), 0 2px 4px rgba(11,13,18,.06);
  --ej-shadow-lg: 0 16px 32px -8px rgba(11,13,18,.18), 0 4px 8px rgba(11,13,18,.06);
  --ej-shadow-focus: 0 0 0 3px rgba(47,91,255,.28);
  --ej-container-max: 1200px; --ej-grid-columns: 12; --ej-gutter: 24px; --ej-page-margin: 40px;
  --ej-header-height: 72px; --ej-logo-height: 28px;
  --ej-btn-height-sm: 32px; --ej-btn-height-md: 40px; --ej-btn-height-lg: 48px; --ej-btn-radius: 10px;
  --ej-input-height: 48px; --ej-input-radius: 10px; --ej-card-radius: 16px; --ej-card-padding: 24px; --ej-badge-height: 24px;
}
@media (max-width: 767px) {
  :root {
    --ej-text-display-size: 40px; --ej-text-display-lh: 48px;
    --ej-text-h1-size: 32px; --ej-text-h1-lh: 40px;
    --ej-text-h2-size: 26px; --ej-text-h2-lh: 34px;
    --ej-text-h3-size: 20px; --ej-text-h3-lh: 28px;
    --ej-text-body-lg-size: 17px; --ej-text-body-lg-lh: 28px;
    --ej-text-body-size: 16px; --ej-text-body-lh: 26px;
    --ej-text-small-size: 14px; --ej-text-small-lh: 22px;
    --ej-text-caption-size: 12px; --ej-text-caption-lh: 18px;
    --ej-text-overline-size: 11px; --ej-text-overline-lh: 16px;
    --ej-gutter: 16px; --ej-page-margin: 20px; --ej-header-height: 60px; --ej-logo-height: 24px;
  }
}
[data-theme="dark"] {
  color-scheme: dark;
  --ej-bg: #0B0D12;
  --ej-bg-subtle: #11141A;
  --ej-surface: #1C2029;
  --ej-surface-muted: #343A48;
  --ej-text: #FFFFFF;
  --ej-text-muted: #B6BDCA;
  --ej-text-subtle: #8C94A5;
  --ej-border: #343A48;
  --ej-border-strong: #4D5466;
  --ej-accent: #2F5BFF;
  --ej-accent-hover: #5C7DFF;
  --ej-accent-text: #8BA4FF;
  --ej-on-accent: #FFFFFF;
  --ej-focus: #5C7DFF;
  --ej-shadow-sm: 0 1px 2px rgba(0,0,0,.4); --ej-shadow-md: 0 6px 16px -4px rgba(0,0,0,.5); --ej-shadow-lg: 0 18px 36px -8px rgba(0,0,0,.6);
}

/* Base helpers (optional) */
body { font-family: var(--ej-font-sans); color: var(--ej-text); background: var(--ej-bg); font-size: var(--ej-text-body-size); line-height: var(--ej-text-body-lh); -webkit-font-smoothing: antialiased; word-break: keep-all; }
.ej-container { max-width: var(--ej-container-max); margin-inline: auto; padding-inline: var(--ej-page-margin); }
.ej-num, .ej-latin { font-family: var(--ej-font-display-latin); }
.ej-mono { font-family: var(--ej-font-mono); }

:root {
  --bg: var(--ej-bg);
  --ink: var(--ej-color-ink);
  --body: var(--ej-text-muted);
  --soft: var(--ej-text-subtle);
  --panel: var(--ej-bg-subtle);
  --line: var(--ej-border);
  --accent: var(--ej-accent);
  --danger: var(--ej-color-danger-fg);
  --wrap: 1040px;
  --measure: 660px;
  --gutter: 20px;
  --header: var(--ej-header-height);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ej-font-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: var(--ej-text-body-tracking);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p, ul, ol, figure, dl, h1, h2, h3 { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.04em; line-height: 1.2; }
:focus-visible { outline: none; box-shadow: var(--ej-shadow-focus); }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 12px; top: 8px; z-index: 50;
  transform: translateY(-140%);
  background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 10px;
}
.skip:focus { transform: none; }

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.eyebrow, .overline, .target-row p, .doc-path, .done-kicker {
  font-family: var(--ej-font-mono);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow {
  margin-bottom: 10px;
  font-size: 12px; line-height: 16px; color: var(--soft);
}
.overline { margin-bottom: 12px; font-size: 12px; line-height: 16px; color: var(--ej-text-subtle); }
.brand-line { margin: 0 0 12px; font-family: var(--ej-font-mono); font-size: 12px; line-height: 16px; letter-spacing: 0.02em; text-transform: none; color: var(--ej-text-subtle); }
.nowrap { white-space: nowrap; }
.eyebrow.light { color: rgba(255, 255, 255, 0.62); }
h1 { font-size: var(--ej-text-display-size); line-height: var(--ej-text-display-lh); font-weight: 800; letter-spacing: -0.04em; }
h1 em { font-style: normal; color: var(--ej-accent); }
.hero h1 span { display: block; }
h2 { font-size: var(--ej-text-h1-size); line-height: var(--ej-text-h1-lh); letter-spacing: -0.035em; }
h2 span { display: block; }
.sec { padding: 68px 0 0; }
.sec-lead, .def, .day-list p, .faq details p, .stat-note, .intro-text, .sub, .made-step span, .program.sub p, .fit-box li, .prompt-head p {
  max-width: var(--measure);
}
.sec-lead { margin-top: 14px; color: var(--body); font-size: 17px; line-height: 1.75; }
.definition { padding-top: 48px; }
.def { font-size: 18px; line-height: 1.75; color: var(--ink); }
.sec-lead.quiet { color: var(--soft); font-size: 15px; }
.kicker { font-size: 15px; font-weight: 700; color: var(--body); }

.ph {
  display: inline-flex; align-items: center;
  margin: 2px 0; padding: 2px 8px;
  border: 1px dashed #c4bfb4; border-radius: 999px;
  background: #fffdf6; color: var(--soft);
  font-size: 13px; font-weight: 650; line-height: 1.45; letter-spacing: -0.02em;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; min-height: 48px; padding: 0 24px;
  border: 0; border-radius: 10px;
  background: var(--ink); color: #fff;
  font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: #343A48; }
.btn:disabled { background: #E7EAF0; color: #8C94A5; cursor: not-allowed; }
.btn-primary { background: var(--ej-accent); color: #fff; }
.btn-primary:hover { background: var(--ej-accent-hover); }
.btn-primary:disabled { background: #E7EAF0; color: #8C94A5; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ej-bg-subtle); }
.header-cta { height: 40px; min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.text-link {
  margin-top: 16px; padding: 0; border: 0; background: none;
  color: var(--ej-accent-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  height: var(--header);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ej-border);
}
.header-row { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; line-height: 0; }
.brand img { height: var(--ej-logo-height); width: auto; }
.nav { display: flex; gap: 18px; color: var(--soft); font-size: 15px; }
.nav a:not(.nav-apply) { display: none; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--ink); }

.target-bar {
  position: fixed; z-index: 29; top: var(--header); left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  opacity: 0; pointer-events: none;
  transition: opacity 180ms ease;
}
.target-bar.show { opacity: 1; pointer-events: auto; }
.target-row { min-height: 52px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 8px 0; }
.target-row p { margin-right: auto; font-size: 13px; font-weight: 700; color: var(--soft); }
.target-switch { display: flex; gap: 6px; }
.target-switch button {
  min-height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--body); font-size: 14px; font-weight: 650;
}
.target-switch button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.hero { padding: 28px 0 12px; }
.hero-grid { display: grid; gap: 22px; }
.sub { margin-top: 16px; font-size: 18px; color: var(--body); max-width: 38rem; }
.board {
  padding: 22px 20px 18px; border: 1px solid var(--line); border-radius: 22px; background: #fff;
}
.doc-path { font-size: 13px; color: var(--soft); }
.doc-title { margin-top: 6px; font-size: 28px; font-weight: 800; letter-spacing: -0.04em; }
.todos { margin-top: 16px; display: grid; gap: 10px; }
.todos li { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.todos li::before {
  content: ""; width: 18px; height: 18px; flex: none;
  border: 1.5px solid var(--ink); border-radius: 5px;
}
.todos li.done { color: #a9a59c; text-decoration: line-through; }
.todos li.done::before {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.board-note { margin-top: 16px; font-size: 13px; color: var(--soft); }

.gate { display: grid; gap: 12px; }
.gate-card {
  position: relative; border: 1px solid var(--line); border-radius: 24px; background: #fff; overflow: hidden;
}
.gate-card.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.gate-hit {
  display: grid; gap: 8px; width: 100%;
  padding: 22px 22px 76px; border: 0; background: transparent; color: inherit; text-align: left;
}
.idx { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; color: var(--soft); }
.gate-card.is-on .idx { color: var(--ej-color-cobalt-300); }
.who { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.2; }
.desc { color: var(--body); font-size: 16px; }
.gate-card.is-on .desc, .gate-card.is-on .hint { color: rgba(255,255,255,0.78); }
.hint { font-size: 13px; color: var(--soft); }
.gate-go { position: absolute; left: 22px; bottom: 18px; }
.gate-card.is-on .gate-go { background: #fff; color: var(--ink); }
.gate-card:not(.is-on) .gate-go { background: var(--ink); color: #fff; }

.band { margin-top: 72px; padding: 48px 0; background: var(--ink); color: #fff; }
.been-grid { display: grid; gap: 28px; }
.been-photo img, .intro-photo img, .tutors-photo img { width: 100%; border-radius: 22px; object-fit: cover; }
.been-photo img { aspect-ratio: 4 / 3; }
.been-photo figcaption, .intro-photo figcaption { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,0.62); }
.band h2 { margin-top: 8px; }
.stats-row { margin-top: 28px; display: grid; grid-template-columns: 1fr; gap: 18px; }
.stats-row dd { font-family: var(--ej-font-display-latin); font-size: clamp(32px, 8vw, 48px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stats-row dd span { margin-left: 2px; font-size: 0.42em; font-weight: 700; }
.stats-row dt { margin-top: 8px; font-size: 13px; line-height: 1.4; color: rgba(255,255,255,0.68); }
.stat-note { margin-top: 22px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.74); }
.band .ph, .schedule .ph {
  border-color: rgba(255,255,255,0.4); background: transparent; color: #fff;
}

.pains { margin-top: 28px; display: grid; gap: 12px; }
.pains li {
  padding: 22px 20px; border-radius: 22px; background: var(--panel);
  font-size: 18px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.45;
}

.program { position: relative; margin-top: 22px; padding: 26px 22px; border-radius: 28px; }
.program.main { background: var(--ink); color: #fff; }
.program .tag { font-size: 14px; font-weight: 700; color: var(--soft); }
.program.main .tag { color: var(--ej-color-cobalt-300); }
.program h3 { margin-top: 8px; font-size: clamp(28px, 6vw, 40px); }
.program.sub h3 { font-size: 24px; }
.program p { margin-top: 10px; }
.program.main p { color: rgba(255,255,255,0.82); }
.program.main .badge { color: #fff; }
.program.sub { background: var(--panel); }
.program.sub p { color: var(--body); }
.program .flags { display: flex; flex-wrap: wrap; gap: 6px; }
.course-facts { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,0.16); }
.course-facts div { padding-top: 12px; }
.course-facts dt { font-size: 13px; color: rgba(255,255,255,0.6); }
.course-facts dd { margin: 2px 0 0; font-weight: 700; }
.course-facts dd.tbd { font-weight: 500; color: rgba(255,255,255,0.62); }
.program-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.program-sub { display: grid; gap: 12px; }
.badge {
  position: absolute; top: 18px; right: 18px;
  height: 24px; padding: 0 10px; border-radius: 999px;
  display: inline-flex; align-items: center;
  background: var(--ej-accent); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: 0;
}
.program.is-recommended.sub { box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }

.split, .day-grid, .mine-grid, .intro, .tutors, .apply-grid, .faq { display: grid; gap: 22px; }
.made-steps { margin-top: 22px; display: grid; gap: 8px; }
.made-step {
  display: grid; gap: 4px; width: 100%; padding: 16px 16px; text-align: left;
  border: 1px solid transparent; border-radius: 18px; background: transparent; color: var(--soft);
}
.made-step h3 { margin: 0; font-size: 18px; letter-spacing: -0.03em; line-height: 1.45; }
.made-step span { font-size: 15px; }
.made-step[aria-pressed="true"] { background: var(--panel); color: var(--ink); }
.shot {
  display: grid; place-items: center; min-height: 240px;
  padding: 16px; border-radius: 24px; background: var(--panel);
}
.shot img { width: 100%; border-radius: 16px; }
.shot img.phone { width: min(220px, 70%); border-radius: 24px; }

.mine-form, .card-fig, .prompt, .fit-box, .slot, .form-card {
  padding: 22px; border-radius: 24px; background: var(--panel);
}
.mine-form { display: grid; gap: 22px; }
.mine-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.mine-form legend, .name-field span, .label-line, .field label {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px; font-size: 15px; font-weight: 750;
}
.chips, .radios { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .radio {
  min-height: 42px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--body);
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.radio { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; white-space: nowrap; }
.name-field input, .field input, .field select, .field textarea {
  width: 100%; height: 48px; min-height: 48px; padding: 0 16px;
  border: 1px solid var(--ej-border-strong); border-radius: 10px; background: #fff; font-size: 16px;
}
.name-field input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ej-accent); box-shadow: var(--ej-shadow-focus);
}
.field input::placeholder, .field textarea::placeholder, .name-field input::placeholder { color: #8C94A5; }
.field textarea { height: auto; }
.field input[type="radio"], .field input[type="checkbox"] {
  width: 18px; min-height: 18px; height: 18px; padding: 0; border-radius: 50%;
}
.field textarea { min-height: 110px; resize: vertical; }
.name-field small, .help, .fine, .channel-note, .format-hint { display: block; margin-top: 8px; font-size: 13px; color: var(--soft); }
.mine-made { padding-top: 8px; border-top: 1px solid var(--line); }
.mine-made span, .card-fig figcaption { color: var(--soft); font-size: 14px; }
.mine-made strong { display: block; margin-top: 4px; font-size: 18px; letter-spacing: -0.03em; }
.card-col { display: grid; gap: 12px; align-content: start; }
.card-fig { display: grid; justify-items: center; gap: 14px; text-align: center; }
.card-fig img { width: min(100%, 340px); border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.card-fig figcaption strong { display: block; margin-bottom: 4px; color: var(--ink); }
.preview-cta, .prompt .btn, .submit { width: 100%; }
.prompt { margin-top: 28px; display: grid; gap: 14px; border: 1px solid var(--line); background: #fff; }
.prompt h3 { font-size: 22px; }
.prompt pre {
  margin: 0; padding: 16px; border-radius: 14px; background: var(--panel);
  font: inherit; font-size: 15px; line-height: 1.75; white-space: pre-wrap;
}
.prompt pre span { font-weight: 700; color: var(--ej-accent-text); background: var(--ej-color-cobalt-50); }

.day-list { display: grid; gap: 22px; margin: 8px 0 0; padding-left: 18px; border-left: 2px solid var(--line); }
.day-list li { position: relative; }
.num {
  position: absolute; left: -31px; top: 0;
  width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800;
}
.day-list strong { display: block; font-size: 18px; }
.day-list p { margin-top: 4px; color: var(--body); }

.intro-text { font-size: 18px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.75; }
mark.hl { background: none; color: var(--ej-accent-text); }
.intro-photo figcaption { color: var(--soft); }
.tutors { margin-top: 48px; align-items: center; }
.tutors-photo img { aspect-ratio: 4 / 5; object-position: center 30%; }
.slots { margin-top: 18px; display: grid; gap: 12px; }
.slot { border: 1px dashed #c4bfb4; background: #fffdf8; }
.slot-photo {
  display: grid; place-items: center; height: 140px; margin-bottom: 12px;
  border-radius: 16px; background: repeating-linear-gradient(135deg, #f6f5f2, #f6f5f2 12px, #fff 12px, #fff 24px);
  color: var(--soft); font-size: 13px; font-weight: 700;
}
.slot .tag { font-size: 13px; font-weight: 800; color: var(--soft); }
.slot .flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.review-block { margin-top: 48px; }
.review-block h3 { font-size: 28px; }
.reviews { margin-top: 16px; }
.fit { margin-top: 56px; }
.fit-grid { display: grid; gap: 12px; margin-top: 22px; }
.fit-box h3 { font-size: 20px; }
.fit-box ul { margin-top: 14px; display: grid; gap: 10px; }
.fit-box li { position: relative; padding-left: 28px; font-weight: 750; }
.fit-box li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3L14.6 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.fit-box.no { background: transparent; border: 1px solid var(--line); }
.fit-box.no h3, .fit-box.no li { color: var(--soft); font-weight: 500; }
.fit-box.no li::before { background: #cfcabf url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10h8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.fit-title { margin: 0 0 12px; font-size: 22px; letter-spacing: -0.03em; }
.fit-title span, .apply h3 span { display: block; }
.fit-note { margin-top: 28px; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.5; max-width: var(--measure); }

.faq-list { border-top: 1px solid var(--line); }
.faq summary h3 { margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit; }
.faq summary {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 18px 0; font-size: 18px; font-weight: 750; letter-spacing: -0.03em; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 10px; height: 10px; flex: none; margin-top: -4px;
  border-right: 2px solid var(--soft); border-bottom: 2px solid var(--soft); transform: rotate(45deg);
}
.faq details[open] summary::after { margin-top: 4px; transform: rotate(225deg); }
.faq details p { padding: 0 28px 18px 0; color: var(--body); }

.schedule, .form-card { border-radius: 28px; }
.schedule { padding: 26px 22px; background: var(--ink); color: #fff; }
.schedule .tag { color: var(--ej-color-cobalt-300); font-family: var(--ej-font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.schedule h3 { margin-top: 10px; color: #fff; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.035em; }
.apply-facts { margin-top: 22px; }
.apply-facts div { display: grid; grid-template-columns: 5.2em 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.16); }
.apply-facts dt { color: rgba(255,255,255,0.62); }
.apply-facts dd { margin: 0; font-weight: 700; }
.apply-facts dd.tbd { font-weight: 500; color: rgba(255,255,255,0.66); }
.schedule-cta { margin-top: 8px; padding-top: 18px; }
.schedule-cta h3 { font-size: 22px; }
.schedule-cta p { margin-top: 8px; color: rgba(255,255,255,0.8); }
.schedule-cta .btn { margin-top: 16px; }
.form-card { background: #fff; border: 1px solid var(--line); }
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 16px; background: var(--panel); }
.form-tab {
  min-height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--soft); font-weight: 750;
}
.form-tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(25,25,24,0.06); }
.form-lead { margin: 16px 0; color: var(--body); }
.inquiry { display: grid; gap: 14px; }
.form-fields { display: grid; gap: 14px; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field-error { margin-top: 6px; color: var(--danger); font-size: 13px; font-weight: 700; }
.req, .opt {
  padding: 1px 6px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0;
}
.req { background: #fff4f1; color: var(--danger); }
.opt { background: #fff; color: var(--soft); border: 1px solid var(--line); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 650; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.just-filled { background: var(--ej-color-cobalt-50) !important; }
.done { display: grid; gap: 10px; padding: 8px 0 4px; }
.done-kicker { font-size: 13px; font-weight: 800; color: var(--soft); }
.done h3 { font-size: 28px; }
.done h3:focus { outline: none; }
.summary { display: grid; gap: 8px; margin-top: 6px; }
.summary div { display: grid; gap: 2px; padding-top: 8px; border-top: 1px solid var(--line); }
.summary dt { font-size: 12px; color: var(--soft); }
.summary dd { margin: 0; font-weight: 700; }
.apply { padding-bottom: 72px; }

.site-footer { margin-top: 96px; padding: 48px 0 120px; background: #0B0D12; color: #fff; }
.footer-logo { width: min(280px, 100%); height: auto; min-width: 200px; }
.site-footer .fine { margin-top: 20px; max-width: 36rem; color: var(--ej-color-neutral-300); font-size: 14px; font-weight: 400; line-height: 22px; }
.site-footer .en-name { margin-top: 12px; color: var(--ej-color-neutral-400); font-family: var(--ej-font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: none; }
.site-footer .ph { border-color: rgba(255,255,255,0.35); background: transparent; color: var(--ej-color-neutral-200); }

.toast {
  position: fixed; z-index: 40; left: 50%; top: 128px;
  max-width: calc(100% - 32px);
  padding: 12px 16px; border-radius: 14px;
  background: var(--ink); color: #fff; font-weight: 700; text-align: center;
  box-shadow: 0 10px 30px rgba(25, 25, 24, 0.16);
  transform: translateX(-50%) translateY(-6px); opacity: 0; pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}
.toast.show { opacity: 1; transform: translateX(-50%); }

.sticky-cta {
  display: none; position: fixed; z-index: 28; left: 0; right: 0; bottom: 0;
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,252,248,0.96); border-top: 1px solid var(--line);
}
.sticky-cta p { display: flex; flex-direction: column; line-height: 1.3; }
.sticky-cta strong { font-size: 15px; }
.sticky-cta span { font-size: 13px; color: var(--soft); }
.sticky-cta .btn { min-width: 108px; }
.noscript { padding: 24px; }

@media (max-width: 959px) {
  .sticky-cta.show { display: flex; }
  .toast { top: 120px; }
}

@media (min-width: 720px) {
  .pains, .slots, .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr 1fr; }
  .gate { grid-template-columns: 1fr 1fr; }
  .program.sub:last-child { grid-column: 1 / -1; }
}

@media (min-width: 960px) {
  :root { --gutter: 32px; }
  .nav a:not(.nav-apply) { display: inline; }
  h1 { font-size: 64px; line-height: 72px; }
  h2 { font-size: 48px; line-height: 58px; }
  html { scroll-padding-top: 120px; }
  .sec { padding-top: 112px; }
  .hero { padding-top: 36px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    grid-template-areas: "copy board" "gate gate";
    gap: 28px 40px; align-items: start;
  }
  .hero-copy { grid-area: copy; }
  .board { grid-area: board; }
  .gate { grid-area: gate; }
  .been-grid, .split, .day-grid, .mine-grid, .intro, .apply-grid, .faq {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px; align-items: center;
  }
  .faq, .apply-grid, .day-grid { align-items: start; }
  .day-head { position: sticky; top: 124px; }
  .tutors { grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.1fr); gap: 48px; }
  .program-sub { grid-template-columns: repeat(3, 1fr); }
  .program.sub:last-child { grid-column: auto; }
  .program.main { padding: 40px; }
  .program-actions .btn { width: auto; }
  .preview-cta, .prompt .btn, .submit { width: auto; justify-self: start; min-width: 220px; }
  .prompt { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
  .prompt .btn { grid-column: 2; }
  .prompt-head { grid-row: 1 / span 2; }
  .card-fig { padding: 28px; }
  .mine-form { padding: 32px; }
  .stats-row dd { font-size: 56px; }
  .fit { display: block; }
  .fit-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; margin-top: 28px; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .site-footer { padding-bottom: 36px; }
  .band { margin-top: 120px; padding: 72px 0; }
}

@media (min-width: 720px) and (max-width: 959px) {
  .reviews { grid-template-columns: 1fr; }
  .program-sub { grid-template-columns: 1fr; }
  .program.sub:last-child { grid-column: auto; }
}

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

.story { position: relative; background: #FAFBFC; color: #0B0D12; overflow: clip; }
.story-pin {
  position: absolute; left: 0; right: 0; top: 0; z-index: 1;
  height: 100svh; overflow: clip; pointer-events: none;
}
.story-stage { position: relative; height: 100%; overflow: clip; }
.story-flow { position: relative; z-index: 4; }
.story-hero {
  position: relative; z-index: 2; min-height: 100svh; display: grid; place-items: start center;
  padding: 96px 20px 72px; text-align: center;
}
.hero-safe { width: min(1040px, 100%); }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 22px; padding: 6px 12px 6px 10px;
  border: 1px solid #D5DAE3; border-radius: 999px;
  background: rgba(255,255,255,.72);
}
.eyebrow-pill i { width: 6px; height: 6px; border-radius: 50%; background: #2F5BFF; }
.eyebrow-pill strong { font-family: var(--ej-font-display-latin); font-weight: 700; font-size: 13px; color: #0B0D12; letter-spacing: 0; }
.eyebrow-pill span { font-family: var(--ej-font-sans); font-weight: 500; font-size: 13px; color: #343A48; }
.story-hero h1 {
  margin: 0 auto; max-width: 16em;
  font-size: clamp(28px, 7.6vw, 42px); line-height: 1.25; font-weight: 800;
  letter-spacing: -0.045em; color: #0B0D12; word-break: keep-all;
}
.story-hero h1 span { display: block; }
.story-hero h1 em { font-style: normal; color: #2F5BFF; }
.hero-sub {
  margin: 18px auto 0; max-width: 36em;
  font-size: 20px; line-height: 30px; font-weight: 500; color: #4D5466;
}
.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 16px 22px; margin-top: 28px;
}
.hero-primary {
  height: 56px; min-height: 56px; padding: 0 28px; border-radius: 14px;
  background: #2F5BFF; color: #fff; font-size: 17px; font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(47,91,255,.55);
}
.hero-primary:hover { background: #1F45E6; }
.hero-more {
  font-size: 16px; font-weight: 600; color: #0B0D12; text-decoration: none;
  border-bottom: 1.5px solid #B6BDCA; padding-bottom: 3px;
}
.scroll-cue {
  position: absolute; left: 0; right: 0; bottom: 14px; margin: 0;
  font-size: 12px; letter-spacing: 0;
  color: #8C94A5; transition: opacity 280ms ease;
}
.story.is-scrolled .scroll-cue { opacity: 0; }
#hero-story ~ section { position: relative; z-index: 20; }
#stats { margin-top: 0; background: #0B0D12; }
#problems { background: var(--bg); }

/* 히어로에서는 제목 아래로 깔린 작업 화면, 스크롤하면 왼쪽 컴팩트 창. 위치·크기는 app.js bindScroll()이 정합니다. */
.code-dock {
  position: absolute; left: 12px; right: 12px; top: max(54svh, 440px); bottom: 14px;
  --fog: 96px;
}
.code-dock > .code-win {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fog));
  mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fog));
}
.code-win {
  height: 100%; display: flex; flex-direction: column;
  background: #0B0D12; color: #E7EAF0; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 60px -28px rgba(11,13,18,.55);
  font-family: var(--ej-font-mono); font-size: 11px; line-height: 1.45;
}
.win-bar, .win-tabs, .win-status { display: flex; align-items: center; gap: 8px; flex: none; }
.win-bar { height: 34px; padding: 0 12px; background: #12151C; }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #FF5F57; }
.dots i:nth-child(2) { background: #FEBC2E; }
.dots i:nth-child(3) { background: #28C840; }
.win-title { color: #C5CAD6; font-size: 11px; }
.win-badge { margin-left: auto; color: #8C94A5; font-size: 10px; }
.win-tabs { height: 30px; padding: 0 8px; gap: 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
.win-tabs span { padding: 4px 8px; border-radius: 7px; color: #8C94A5; }
.win-tabs span.is-on { color: #fff; background: rgba(47,91,255,.18); box-shadow: inset 0 -2px 0 #2F5BFF; }
.code-body { position: relative; flex: 1; min-height: 0; }
.code-pane { position: absolute; inset: 0; padding: 10px 12px; overflow: hidden; transition: opacity 260ms ease; }
.pane-diff { opacity: 0; }
.term-muted { color: #8C94A5; }
.term-muted span, .term-connected { color: #6E7689; }
.term-cmd { margin-top: 6px; color: #fff; }
.term-label { margin: 8px 0 4px; color: #C5CAD6; }
.model-row {
  display: flex; align-items: center; gap: 8px;
  margin-top: 4px; padding: 4px 8px; border: 1px solid transparent; border-radius: 8px;
}
.model-row b { font-weight: 600; color: #fff; }
.model-row span { color: #8C94A5; }
.model-row em { margin-left: auto; color: transparent; font-style: normal; }
.model-row.is-on { border-color: #2F5BFF; background: rgba(47,91,255,.16); }
.model-row.is-on em { color: #8BA4FF; }
.term-try { margin-top: 10px; color: #C5CAD6; }
.term-connected { margin-top: 4px; font-size: 10px; }
.diff-box { margin-top: 6px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; overflow: hidden; }
.diff-file { padding: 4px 8px; background: #12151C; color: #C5CAD6; }
.diff-file b { color: #8BA4FF; }
.diff-file s { color: #F07178; text-decoration: none; }
.diff { margin: 0; padding: 6px 8px; white-space: pre-wrap; font: inherit; font-size: 10px; line-height: 1.4; }
.diff .del { display: block; color: #F07178; text-decoration: line-through; background: rgba(240,113,120,.12); }
.diff .add { display: block; color: #D6E0FF; background: rgba(47,91,255,.2); }
.term-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.term-chips span { padding: 2px 7px; border-radius: 999px; background: rgba(47,91,255,.16); color: #D6E0FF; }
.win-status { height: 28px; padding: 0 12px; border-top: 1px solid rgba(255,255,255,.06); color: #B9C8FF; font-size: 10px; }
.status-diff { display: none; }
.code-dock.is-diff .pane-model { opacity: 0; }
.code-dock.is-diff .pane-diff { opacity: 1; }
.code-dock.is-diff .status-model { display: none; }
.code-dock.is-diff .status-diff { display: inline; }
.code-dock.is-diff .tab-diff { color: #fff; background: rgba(47,91,255,.18); box-shadow: inset 0 -2px 0 #2F5BFF; }
.code-dock:not(.is-diff) .tab-model { color: #fff; background: rgba(47,91,255,.18); box-shadow: inset 0 -2px 0 #2F5BFF; }
.live-card {
  position: absolute; z-index: 4; right: 12px; bottom: 38px; width: 216px;
  padding: 10px; border-radius: 14px; background: #fff; color: #0B0D12;
  border: 1px solid #2F5BFF; box-shadow: 0 16px 40px -16px rgba(47,91,255,.55);
  font-family: var(--ej-font-sans); opacity: 0; transform: scale(.92); transform-origin: 100% 100%;
}
.live-card header span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.live-card header b { flex: none; margin-left: 8px; }
.live-card header { display: flex; justify-content: space-between; align-items: center; font-family: var(--ej-font-mono); font-size: 10px; color: #4D5466; }
.live-card header b { color: #2F5BFF; letter-spacing: .04em; }
.live-top { display: grid; grid-template-columns: 36px 1fr auto; gap: 8px; align-items: center; margin-top: 8px; }
.qr { width: 36px; height: 36px; }
.live-top strong, .live-q { display: block; font-size: 12px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.35; }
.live-top span { color: #8C94A5; font-size: 11px; }
.live-top em { font-style: normal; font-family: var(--ej-font-mono); font-size: 12px; color: #2F5BFF; }
.live-q { margin-top: 8px; }
.votes { display: grid; gap: 5px; margin-top: 8px; }
.votes div { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; font-size: 11px; }
.votes i { grid-column: 1 / -1; }
.votes i, .board i { display: block; height: 4px; border-radius: 99px; background: #E7EAF0; }
.votes i span { display: block; height: 100%; border-radius: inherit; background: #C5CAD6; }
.votes .win i span, .board i span { display: block; height: 100%; border-radius: inherit; background: #2F5BFF; }
.votes b { font-variant-numeric: tabular-nums; }
.votes .win b, .votes .win span { color: #2F5BFF; }
.board { margin-top: 8px; display: grid; gap: 4px; }
.board li { display: grid; grid-template-columns: 58px 1fr; gap: 6px; align-items: center; font-size: 11px; font-weight: 700; }
.step-window:not(.is-diff) .tab-model,
.step-window.is-diff .tab-diff { color: #fff; background: rgba(47,91,255,.18); box-shadow: inset 0 -2px 0 #2F5BFF; }
.step-window .model-row.is-choice { border-color: #2F5BFF; background: rgba(47,91,255,.16); }
.step-window .model-row.is-choice em { color: #8BA4FF; }
.step-window.is-diff .status-model { display: none; }
.step-window.is-diff .status-diff { display: inline; }

.cur-layer { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.cur { position: absolute; width: 22px; height: 22px; }
.cur i {
  display: block; width: 18px; height: 20px;
  background: #94A3B8;
  clip-path: polygon(0 0, 0 100%, 32% 74%, 52% 100%, 70% 90%, 50% 66%, 100% 64%);
}
.cur b {
  position: absolute; left: 16px; top: 16px; height: 20px; padding: 0 8px;
  border-radius: 999px; background: #475569; color: #fff;
  font-size: 11px; font-weight: 600; line-height: 20px; white-space: nowrap;
}
.cur.coach i, .cur.coach b { background: #2F5BFF; }
.cur.flip b { left: auto; right: 18px; }
.cur .pulse {
  position: absolute; left: -7px; top: -6px; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid #2F5BFF; opacity: 0; pointer-events: none;
}
@keyframes pulse-46 {
  from { transform: scale(1); opacity: .7; }
  to { transform: scale(2.875); opacity: 0; }
}
.coach-tip {
  position: absolute; max-width: 190px; margin: 0; padding: 7px 10px;
  border-radius: 10px; background: #2F5BFF; color: #fff;
  font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: -0.03em;
  opacity: 0;
}
.cm-edge {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 72px; pointer-events: none;
  background: linear-gradient(transparent, #0B0D12);
}
.story.is-past .cur,
.story.is-past .pulse,
.story.is-past .coach-tip { display: none !important; }

.cm-step { padding: 8px 20px 40px; }
.step-window { width: min(480px, 100%); margin: 0 auto 18px; }
.step-window .code-win { height: auto; }
.step-window .code-body { min-height: 220px; }
.step-window.is-diff .code-body { min-height: 266px; }
.step-window .pane-diff { opacity: 1; }
.step-window .live-card { position: relative; right: auto; bottom: auto; width: 240px; opacity: 1; transform: none; margin: 12px 0 0 auto; }
.step-copy { text-align: left; }
.step-progress { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.step-progress i { width: 28px; height: 3px; border-radius: 99px; background: #D5DAE3; }
.step-progress i.on { background: #2F5BFF; }
.step-progress span { margin-left: 6px; font-family: var(--ej-font-mono); font-size: 12px; color: #8C94A5; letter-spacing: .04em; }
.step-progress b { color: #2F5BFF; }
.step-badge { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: #2F5BFF; }
.step-badge i { width: 7px; height: 7px; border-radius: 50%; background: #2F5BFF; }
.cm-step h2 { margin: 0; max-width: 12em; font-size: clamp(28px, 7vw, 36px); line-height: 1.28; font-weight: 800; letter-spacing: -0.04em; text-align: left; }
.cm-step h2 span { display: block; }
.cm-step h2 em { font-style: normal; color: #2F5BFF; }
.cm-step .step-copy > p { margin-top: 14px; max-width: 34em; font-size: 16px; line-height: 1.7; color: #4D5466; }
.step-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; }
.step-chips li { padding: 6px 12px; border: 1px solid #D5DAE3; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 650; color: #343A48; }
.step-bridge { margin-top: 22px; padding-top: 14px; border-top: 1px solid #E7EAF0; color: #8C94A5; font-size: 14px; }

@media (min-width: 768px) {
  .story { height: 340vh; }
  /* 핀과 문구가 같은 지점에서 고정이 풀리도록, 음수 여백은 문구 쪽에 둡니다. */
  .story-pin { position: sticky; top: 0; height: 100vh; }
  .story-flow { position: sticky; top: 0; height: 100vh; margin-top: -100vh; pointer-events: none; }
  .story-hero { position: absolute; inset: 0; height: 100%; min-height: 0; padding-top: max(92px, 13vh); pointer-events: none; }
  .story-hero.is-live { pointer-events: auto; }
  .story-hero h1 { max-width: none; font-size: min(clamp(42px, 5.1vw, 74px), 8.2vh); line-height: 1.19; }
  .split-copy { position: absolute; top: 0; right: 0; width: 50%; height: 100%; }
  .cm-step {
    position: absolute; inset: 0; display: flex; align-items: center;
    padding: 8vh 6vw 8vh 28px; opacity: 0; pointer-events: none; will-change: opacity, transform;
  }
  .step-window { display: none; }
  .cm-step h2 { font-size: clamp(36px, 3.3vw, 52px); }
  .cm-step .step-copy > p { font-size: 17px; }
  .code-dock { right: auto; bottom: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story { height: auto; }
  .story-pin { display: none; }
  .story-flow { position: static; height: auto; pointer-events: auto; }
  .story-hero, .split-copy, .cm-step {
    position: relative; inset: auto; width: auto; height: auto; min-height: 0;
    opacity: 1; transform: none; pointer-events: auto;
  }
  .story-hero { padding: 88px 24px 28px; }
  .cm-step { display: block; padding: 12px 24px 48px; }
  .step-window { display: block; }
  .scroll-cue { display: none; }
  .cur, .coach-tip { display: none !important; }
  .cur .pulse { animation: none; }
}

.guest-badge, #cur-student, #cur-coach, .coach-tip {
  position: fixed; left: 0; top: 0; z-index: 8; margin: 0;
  pointer-events: none; opacity: 0; will-change: transform, opacity;
}
.guest-badge {
  display: inline-flex; align-items: center; height: 20px; padding: 0 8px;
  border-radius: 999px; background: #475569; color: #fff;
  font-size: 11px; font-weight: 600; line-height: 20px; white-space: nowrap;
}
.replay {
  margin-left: auto; border: 0; background: transparent; color: #C5CAD6;
  font: inherit; font-size: 10px; cursor: pointer; pointer-events: auto;
}
.replay:hover { color: #fff; }
.caret { display: inline-block; width: 6px; height: 11px; margin-left: 2px; background: #8BA4FF; vertical-align: -1px; }
.seq-host:not(.seq-typing) .caret { opacity: 0; }
.seq-host:not(.is-final):not(.is-calm):not(.seq-open) .model-list { display: none; }
.seq-host:not(.is-final):not(.is-calm) .diff .add:not(.on),
.seq-host:not(.is-final):not(.is-calm) .term-chips span:not(.on) { display: none; }
.seq-host:not(.is-final):not(.is-calm) .del { text-decoration: none; background: transparent; }
.seq-host .del.struck { text-decoration: line-through; background: rgba(240,113,120,.12); }
.seq-host:not(.is-final):not(.is-calm) .status-model,
.seq-host:not(.is-final):not(.is-calm) .status-diff { opacity: 0; }
.seq-host.seq-status.is-diff .status-diff,
.seq-host.seq-status:not(.is-diff) .status-model { opacity: 1; }

/* 히어로 작업 화면(pane-home): 흐르는 작업 로그 + 마우스를 올리는 지점 3곳(.hot) */
.code-dock .pane-home { opacity: 0; }
.code-dock.is-home .pane-home { opacity: 1; }
.code-dock.is-home .pane-model,
.code-dock.is-home .pane-diff,
.code-dock.is-home .win-tabs > span,
.code-dock.is-home .win-status > * { opacity: 0 !important; }
.win-tabs > span, .win-status > * { transition: opacity 260ms ease; }
.code-dock.has-live .pane-diff { opacity: .45; }
.code-dock .live-card .board li:nth-child(3) { display: none; }
.pane-home { display: grid; grid-template-columns: 1fr; padding: 0; font-size: 12px; line-height: 1.5; }
.home-side { display: none; }
.home-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 0 14px 12px; }
.stream { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.stream-track { position: absolute; left: 0; right: 0; top: 0; animation: stream-up 26s linear infinite; }
.stream p { height: 26px; margin: 0; line-height: 26px; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
@keyframes stream-up { to { transform: translateY(-50%); } }
.ln-user { color: #fff; }
.ln-tool { color: #8C94A5; }
.ln-ok { color: #8BA4FF; }
.home-input {
  display: flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; padding: 0 30px 0 14px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: #12151C; color: #E7EAF0;
}
.in-mark { color: #8BA4FF; }
.home-status { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 8px 0 0; color: #6E7689; font-size: 11px; }
.side-label { margin: 0 0 6px; padding: 0 10px; color: #6E7689; font-size: 11px; }
.tree { margin: 0; padding: 0; list-style: none; }
.tree li { height: 26px; padding: 0 26px 0 10px; border-radius: 6px; line-height: 26px; color: #8C94A5; white-space: nowrap; }
.tree li.tree-sub { margin-left: 14px; }
.hot { position: relative; transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
.hot-after { display: none; }
.hot.is-after .hot-before { display: none; }
.hot.is-after .hot-after { display: inline-flex; align-items: center; gap: 6px; }
.beacon { position: absolute; right: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #2F5BFF; }
.beacon::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid #5B7DFF;
  animation: beacon 1.8s ease-out infinite;
}
@keyframes beacon { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.hot.is-after .beacon { display: none; }
.s-folder { color: #C5CAD6 !important; }
.s-folder.is-after { background: rgba(47,91,255,.2); color: #fff !important; }
.s-prompt.is-after { border-color: #2F5BFF; background: rgba(47,91,255,.1); }
.s-prompt .hot-after b { padding: 2px 8px; border-radius: 6px; background: rgba(47,91,255,.24); color: #D6E0FF; font-weight: 500; white-space: nowrap; }
.s-model { display: inline-flex; align-items: center; height: 24px; padding: 0 24px 0 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #C5CAD6; white-space: nowrap; }
.s-model.is-after { padding-right: 10px; border-color: #2F5BFF; background: rgba(47,91,255,.2); color: #D6E0FF; }
.story.is-past .guest-badge { display: none !important; }

@media (max-width: 767px) {
  .story-hero { place-items: start center; }
  .scroll-cue { display: none; }
}
@media (min-width: 768px) {
  .pane-home { grid-template-columns: 236px 1fr; font-size: 13px; }
  .home-side {
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0 10px 14px; border-right: 1px solid rgba(255,255,255,.06);
  }
  .home-main { padding: 0 18px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .replay { display: none; }
  .stream-track, .beacon::after { animation: none; }
}
