/* =========================================================
   2D 게임 스타일 테마 (2026-10-19)
   - 색은 아래 :root 변수만 바꾸면 전체에 반영됩니다.
   - 이전 디자인: _backup-before-game/src/assets/styles.css
   ========================================================= */
:root {
  --main: #2f6b52;        /* 메인 (기존 숲 초록을 밝힘) */
  --main-dark: #1e4a39;   /* 진한 메인: 강조 글자 */
  --main-light: #dcebdd;  /* 연한 메인: 카드·칸 배경 */
  --cream: #fff8e7;       /* 크림 바탕 */
  --ink: #13261e;         /* 잉크: 글자·외곽선·그림자·푸터 */
  --yellow: #ffd54f;      /* 포인트: 주요 버튼·제목 강조만 */
  --sub: #33493f;         /* 보조 글자 (흐린 회색 대신) */
  --white: #fffefa;
  --error: #a3271b;
  --line: 4px solid var(--ink);
  --radius: 24px;
  --shadow-card: 7px 7px 0 var(--ink);
  --shadow-btn: 0 7px 0 var(--ink);
  --content: 1240px;
  --dots-white: radial-gradient(circle, rgba(255,255,255,.22) 2.5px, transparent 2.6px);
  --dots-main: radial-gradient(circle, rgba(47,107,82,.16) 2.5px, transparent 2.6px);
}

/* ---------- 기본 ---------- */
* { box-sizing: border-box; }
html { scroll-padding-top: 30px; overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif; font-size: 18px; font-weight: 500; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; overflow-x: clip; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-underline-offset: 5px; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, a.button { cursor: pointer; }
button { color: inherit; }
:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; box-shadow: 0 0 0 8px var(--ink); }
main:focus { outline: none; box-shadow: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { letter-spacing: -.03em; line-height: 1.3; font-weight: 900; }
h1 { font-size: clamp(42px, 5.6vw, 72px); }
h2 { font-size: clamp(30px, 3.8vw, 46px); }
h3 { font-size: 24px; font-weight: 800; }
strong, b { font-weight: 800; }
p + p { margin-top: 12px; }
ul, ol { padding-left: 1.4em; }
svg { max-width: 100%; }
[hidden] { display: none !important; }
.container { width: min(var(--content), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 24px; background: var(--yellow); color: var(--ink); border: var(--line); border-radius: 14px; padding: 12px 24px; z-index: 100; font-weight: 800; }
.skip-link:focus { top: 12px; }
.mobile-break { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- 상단 안내 띠 · 머리말 ---------- */
.draft-bar { background: var(--ink); color: var(--yellow); font-size: 15px; font-weight: 700; }
.draft-bar .container { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 12px; }
.draft-bar .container > span:first-child { display: flex; align-items: center; gap: 10px; }
.draft-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,213,79,.3); }
.site-header { background: var(--cream); border-bottom: var(--line); position: relative; z-index: 5; }
.header-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 96px; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; flex: 0 0 auto; line-height: 1.3; font-weight: 900; font-size: 21px; letter-spacing: -.04em; }
.brand-symbol { display: block; width: 58px; height: 58px; flex: 0 0 auto; filter: drop-shadow(3px 3px 0 var(--ink)); }
.brand-symbol svg { width: 100%; height: 100%; display: block; }
.brand small { display: block; color: var(--sub); font-size: 14px; font-weight: 700; margin-top: 3px; letter-spacing: 0; }
.brand em { margin-left: 6px; font-style: normal; background: var(--ink); color: var(--yellow); padding: 1px 8px; border-radius: 6px; font-size: 13px; }
#primary-nav { display: flex; align-items: center; gap: 6px; }
#primary-nav a { display: flex; align-items: center; gap: 5px; min-height: 50px; padding: 0 14px; border: 3px solid transparent; border-radius: 16px; text-decoration: none; font-size: 17px; font-weight: 800; white-space: nowrap; }
#primary-nav a:hover { background: var(--main-light); border-color: var(--ink); }
#primary-nav a[aria-current="page"] { background: var(--ink); color: var(--yellow); }
#primary-nav .nav-contact { margin-left: 8px; background: var(--yellow); border: var(--line); box-shadow: 0 5px 0 var(--ink); color: var(--ink); transform: translateY(-3px); }
#primary-nav a.nav-contact:hover { background: #ffe07a; }
#primary-nav a.nav-contact:active { transform: translateY(2px); box-shadow: 0 0 0 var(--ink); }
#primary-nav a.nav-contact[aria-current="page"] { color: var(--ink); background: var(--yellow); }
.menu-toggle { display: none; min-height: 50px; padding: 8px 16px; background: var(--white); border: var(--line); border-radius: 16px; box-shadow: 0 5px 0 var(--ink); font-weight: 900; font-size: 18px; }

/* ---------- 공통 부품: 배지 · 버튼 · 링크 ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--yellow); font-size: 16px; font-weight: 800; letter-spacing: 0; border-radius: 12px; padding: 5px 14px; margin-bottom: 18px; line-height: 1.5; }
.small-line { display: none; }
.badge { display: inline-flex; align-items: center; background: var(--ink); color: var(--yellow); border-radius: 10px; padding: 3px 12px; font-size: 15px; line-height: 1.5; font-weight: 800; }
.game-badge { display: inline-flex; align-items: center; background: var(--ink); color: var(--yellow); font-size: 15px; font-weight: 900; letter-spacing: .12em; border-radius: 10px; padding: 4px 12px; margin-bottom: 14px; }

.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 62px; padding: 12px 26px; border: var(--line); background: var(--yellow); color: var(--ink); border-radius: 20px; text-decoration: none; font-size: 20px; font-weight: 900; line-height: 1.4; text-align: center; box-shadow: var(--shadow-btn); transition: transform .08s, box-shadow .08s, background .15s; }
.button::before { content: "▶"; font-size: 15px; }
.button > span[aria-hidden="true"] { display: none; }
.button:hover { background: #ffe07a; }
.button:active { transform: translateY(5px); box-shadow: 0 2px 0 var(--ink); }
.button-secondary { background: var(--white); }
.button-secondary:hover { background: var(--main-light); }
.button:disabled { opacity: .6; cursor: not-allowed; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 800; text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--main); min-height: 48px; }
.text-link > span[aria-hidden="true"] { display: inline-grid; place-items: center; width: 32px; height: 32px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; font-size: 15px; text-decoration: none; }
.text-link:hover { color: var(--main-dark); text-decoration-color: var(--ink); }

/* ---------- 카드 공통 ---------- */
.card, .path-card, .example-card, .journey-board, .cta-panel, .instructor-note, .note, .faq-list details, .course-step, .error-summary, .status {
  border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.card { background: var(--white); padding: 30px; }
.card h3 { margin-bottom: 14px; }
.card p, .card li { color: var(--sub); font-size: 18px; }
.card .badge { margin-bottom: 16px; }
.card .button, .card .text-link { margin-top: 18px; }
.card ul { margin-bottom: 0; }
.muted { color: var(--sub); font-size: 16px; }
.note { padding: 20px 24px; background: var(--white); font-size: 17px; position: relative; }
.note::before { content: "!"; position: absolute; top: -18px; left: 20px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; font-weight: 900; font-size: 18px; line-height: 1; }
.note p { font-size: inherit; }
.note strong { color: var(--main-dark); }

/* 카드 꼬리표: STAGE 01 */
.stage-number { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); border-radius: 10px; padding: 1px 10px; font-size: 15px; font-weight: 900; letter-spacing: .04em; line-height: 1.5; white-space: nowrap; }
.stage-number::before { content: "STAGE\00a0"; }
.card > .stage-number { margin-bottom: 14px; }

/* 배경 무늬 */
.pattern-dots { background-color: var(--main); background-image: var(--dots-white); background-size: 26px 26px; }

/* ---------- 홈: 첫 화면 ---------- */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding-block: 72px 92px; color: var(--white); }
.hero::before, .page-intro::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background-color: var(--main); background-image: var(--dots-white); background-size: 26px 26px; border-bottom: var(--line); }
.hero .eyebrow { background: var(--ink); }
.hero h1 { color: var(--white); text-shadow: 4px 4px 0 var(--ink); line-height: 1.22; letter-spacing: -.04em; }
.hero h1 > span { color: var(--yellow); }
.hero-mobile-logo { display: none; }
.hero-promise { margin-top: 26px; font-weight: 900; font-size: 26px; letter-spacing: -.03em; color: var(--white); text-shadow: 2px 2px 0 var(--ink); }
.hero-description { max-width: 580px; margin-top: 14px; color: var(--cream); font-size: 19px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero-footnote { margin-top: 22px; font-size: 16px; color: var(--cream); font-weight: 700; }
.journey-board { position: relative; background: var(--cream); color: var(--ink); padding: 32px 34px 26px; }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.board-icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; font-size: 20px; font-weight: 900; }
.journey-board h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.35; }
.journey-line { margin-top: 18px; }
.journey-row { display: flex; gap: 18px; padding-bottom: 20px; position: relative; }
.journey-row:not(:last-child)::before { content: ""; position: absolute; width: 4px; background: var(--ink); left: 20px; top: 44px; bottom: 2px; border-radius: 2px; }
.journey-dot { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 3px solid var(--ink); border-radius: 50%; flex: 0 0 auto; font-size: 19px; font-weight: 900; background: var(--main-light); }
.journey-row:last-child .journey-dot { background: var(--yellow); }
.journey-caption { display: block; color: var(--main-dark); font-size: 16px; font-weight: 700; }
.journey-row strong { display: block; font-size: 22px; font-weight: 900; letter-spacing: -.03em; }
.journey-row p { font-size: 16px; color: var(--sub); margin-top: 2px; }
.board-link { border-top: 3px dashed var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; text-decoration: none; font-size: 18px; font-weight: 900; min-height: 52px; }
.board-link span { display: grid; place-items: center; width: 36px; height: 36px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; }
.board-link:hover { text-decoration: underline; }
.board-note { margin-top: 6px; font-size: 16px; color: var(--sub); }

/* ---------- 섹션 공통 ---------- */
.section { padding-block: 92px; }
.section-heading { margin-bottom: 40px; }
.section-heading p:not(.eyebrow) { color: var(--sub); margin-top: 16px; font-size: 18px; }
.section-heading-row { display: flex; justify-content: space-between; gap: 36px; align-items: flex-end; }
.section-tinted { background-color: var(--main-light); background-image: var(--dots-main); background-size: 26px 26px; border-block: var(--line); }
.section-note { color: var(--sub); font-size: 16px; margin-top: 26px; font-weight: 700; }

/* 이런 순간: 말풍선 */
.empathy-section { background: var(--cream); padding-block: 72px 84px; border-bottom: var(--line); }
.empathy-section .container { display: grid; grid-template-columns: .85fr 2fr; align-items: center; gap: 44px; }
.empathy-section .section-heading { margin-bottom: 0; }
.empathy-section h2 { font-size: clamp(30px, 3vw, 40px); }
.empathy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.empathy-grid > div { position: relative; background: var(--white); border: var(--line); border-radius: var(--radius); padding: 22px 22px 24px; box-shadow: 5px 5px 0 var(--ink); margin-bottom: 26px; }
.empathy-grid > div::after { content: ""; position: absolute; left: 30px; bottom: -30px; width: 36px; height: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 30'%3E%3Cpath d='M0 0H36L8 30Z' fill='%2313261e'/%3E%3Cpath d='M4.1 0H30.5L10 22Z' fill='%23fffefa'/%3E%3C/svg%3E") no-repeat; pointer-events: none; }
.empathy-grid h3 { font-size: 21px; letter-spacing: -.03em; margin-bottom: 10px; }
.empathy-grid p { font-size: 16px; color: var(--sub); }
.line-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; font-size: 20px; font-weight: 900; margin-bottom: 12px; }

/* 두 갈래 선택 카드 */
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.path-card { position: relative; padding: 36px; background: var(--white); }
.education-card { background: var(--main-light); }
.business-card { background: #fff1c9; }
.path-label { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 17px; font-weight: 900; margin-bottom: 18px; }
.path-label::before { content: "TYPE"; background: var(--yellow); border: 3px solid var(--ink); border-radius: 10px; padding: 0 10px; font-size: 15px; letter-spacing: .06em; }
.path-label span { color: var(--sub); font-size: 16px; font-weight: 700; }
.path-card h3 { font-size: clamp(30px, 3vw, 38px); font-weight: 900; }
.path-card p { margin-top: 16px; color: var(--sub); font-size: 18px; }
.path-card ul { list-style: none; padding-left: 0; margin: 22px 0 18px; font-size: 18px; }
.path-card li { position: relative; padding-left: 36px; margin-block: 10px; font-weight: 700; }
.path-card li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; display: grid; place-items: center; background: var(--main); color: var(--white); border: 3px solid var(--ink); border-radius: 8px; font-size: 14px; line-height: 1; }
.path-card .text-link { display: flex; padding-top: 16px; border-top: 3px dashed var(--ink); }
.path-card::after { content: ""; display: block; clear: both; }

/* 무엇을 만들까요: 캐릭터 칸 (무늬 + 바닥 띠) */
.outcome-section { position: relative; background-color: var(--main-light); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M14 18 v-8 M10 14 h8' stroke='%232f6b52' stroke-opacity='.22' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M46 46 c-4-6-10-6-12-3 c3 4 8 5 12 3z M46 46 c3-7 9-8 12-5 c-3 5-8 6-12 5z' fill='%232f6b52' fill-opacity='.18'/%3E%3C/svg%3E"); background-size: 64px 64px; border-block: var(--line); padding-bottom: 130px; }
.outcome-section::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: var(--main) repeating-linear-gradient(90deg, transparent 0 46px, rgba(19,38,30,.18) 46px 50px); border-top: var(--line); }
.outcome-layout { display: grid; grid-template-columns: .8fr 1.6fr; gap: 64px; align-items: start; }
.outcome-layout .section-heading { margin-bottom: 0; }
.outcome-layout .text-link { margin-top: 20px; }
.outcome-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.outcome-list > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 20px 22px 24px; }
.outcome-list .outcome-character { display: grid; place-items: center; width: 104px; height: 104px; margin-bottom: 6px; background: var(--cream); border: 3px solid var(--ink); border-radius: 50%; }
.outcome-list h3 { font-size: 22px; }
.outcome-list p { font-size: 16px; color: var(--sub); }
.outcome-list > .muted { grid-column: 1 / -1; font-size: 16px; font-weight: 700; color: var(--ink); }

/* 진행 방법 4단계 */
.method-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 0; margin: 0; counter-reset: none; }
.method-steps li { position: relative; background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 24px 22px 26px; }
.method-steps li > span { display: inline-flex; background: var(--yellow); border: 3px solid var(--ink); border-radius: 10px; padding: 1px 10px; font-size: 15px; font-weight: 900; margin-bottom: 14px; }
.method-steps li > span::before { content: "STAGE\00a0"; }
.method-steps li:not(:last-child)::after { content: "▶"; position: absolute; right: -21px; top: 50%; transform: translateY(-50%); z-index: 1; font-size: 18px; color: var(--ink); }
.method-steps h3 { font-size: 22px; }
.method-steps p { margin-top: 10px; color: var(--sub); font-size: 17px; }
.instructor-note { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: var(--white); margin-top: 40px; }
.instructor-note p { color: var(--sub); font-size: 17px; }

/* 시연 예시 (메인 색 칸) */
.examples-section { background-color: var(--main); background-image: var(--dots-white); background-size: 26px 26px; border-block: var(--line); color: var(--white); }
.examples-section h2 { color: var(--white); text-shadow: 3px 3px 0 var(--ink); }
.examples-section .section-heading p:not(.eyebrow) { color: var(--cream); }
.examples-section .section-heading-row > .text-link { color: var(--white); text-decoration-color: var(--yellow); }
.grid-2, .grid-3 { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.example-card { display: block; text-decoration: none; background: var(--white); color: var(--ink); overflow: hidden; transition: transform .12s, box-shadow .12s; }
.example-card:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
.mini-preview { height: 200px; display: flex; justify-content: center; align-items: center; padding: 26px 32px; border-bottom: var(--line); }
.paper-preview { background: #fff1c9; }
.paper-sheet { width: 70%; max-width: 200px; padding: 18px; background: var(--white); border: 3px solid var(--ink); border-radius: 10px; box-shadow: 4px 4px 0 var(--ink); transform: rotate(-4deg); }
.paper-sheet > span { display: block; font-size: 16px; font-weight: 900; margin-bottom: 10px; }
.paper-sheet i { display: block; height: 6px; background: var(--main-light); border-radius: 3px; margin: 8px 0; }
.paper-sheet i:nth-child(3) { width: 80%; }
.paper-sheet b { display: inline-block; font-size: 12px; margin-top: 10px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 6px; padding: 0 6px; }
.web-preview { background: var(--main-light); }
.mini-browser { background: var(--white); width: 92%; max-width: 250px; border: 3px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); overflow: hidden; }
.mini-browser-top { font-size: 7px; letter-spacing: 3px; background: var(--ink); color: var(--yellow); padding: 3px 10px; }
.mini-browser-content { padding: 16px; }
.mini-browser-content b { display: block; font-size: 15px; margin-bottom: 12px; }
.mini-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-columns > i { background: var(--yellow); border: 2px solid var(--ink); border-radius: 8px; height: 52px; }
.mini-columns span i { display: block; height: 6px; background: var(--main-light); border-radius: 3px; margin: 7px 0; }
.flow-preview { background: #e9f4ee; flex-direction: column; gap: 2px; }
.flow-preview span { background: var(--white); border: 3px solid var(--ink); font-size: 14px; font-weight: 800; padding: 3px 20px; border-radius: 10px; min-width: 160px; text-align: center; }
.flow-preview b { font-size: 16px; line-height: 1.2; }
.flow-preview .flow-confirm { background: var(--yellow); }
.example-card-copy { padding: 22px 24px 26px; }
.example-card-copy h3 { font-size: 21px; margin-top: 12px; display: flex; justify-content: space-between; gap: 10px; }
.example-card-copy p { color: var(--sub); font-size: 16px; margin-top: 8px; }

/* 자주 묻는 질문 */
.faq-layout { display: grid; grid-template-columns: .9fr 1.4fr; gap: 64px; }
.faq-layout .section-heading { margin-bottom: 0; }
.faq-layout .text-link { margin-top: 16px; }
.faq-list { display: grid; gap: 20px; }
.faq-list details { background: var(--white); }
summary { cursor: pointer; min-height: 64px; padding: 18px 70px 18px 24px; list-style: none; font-size: 20px; font-weight: 800; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; font-size: 24px; font-weight: 900; line-height: 1; }
details[open] > summary::after { content: "−"; background: var(--main-light); }
details > p, details > div { padding: 0 24px 22px; color: var(--sub); font-size: 18px; }

/* 마지막 안내 */
.final-section { padding-top: 0; }
.cta-panel { display: flex; justify-content: space-between; gap: 36px; align-items: center; padding: 48px; background-color: var(--main); background-image: var(--dots-white); background-size: 26px 26px; color: var(--white); }
.cta-panel .eyebrow { margin-bottom: 14px; }
.cta-panel h2 { font-size: clamp(30px, 3.4vw, 42px); color: var(--white); text-shadow: 3px 3px 0 var(--ink); }
.cta-panel p:not(.eyebrow) { margin-top: 14px; color: var(--cream); font-size: 18px; }
.cta-panel .cta-disclaimer { font-size: 16px !important; font-weight: 700; }
.cta-panel .button { flex-shrink: 0; }
.cta-panel > div { min-width: 0; flex: 1; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding-top: 44px; border-top: var(--line); }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand { text-decoration: none; font-size: 22px; font-weight: 900; color: var(--yellow); }
.footer-brand .badge { margin-left: 6px; background: var(--yellow); color: var(--ink); }
.footer-main p { font-size: 17px; margin-top: 8px; }
.site-footer .text-link { color: var(--white); text-decoration-color: var(--yellow); }
.footer-info { display: flex; flex-wrap: wrap; column-gap: 28px; row-gap: 6px; font-size: 16px; margin-top: 28px; }
.footer-bottom { margin-top: 24px; border-top: 2px solid rgba(255,248,231,.25); display: flex; justify-content: space-between; gap: 20px; font-size: 16px; padding-block: 20px; }
.footer-bottom a { color: var(--yellow); font-weight: 700; }

/* ---------- 상세 페이지 ---------- */
.page-intro { position: relative; isolation: isolate; padding-block: 64px 70px; color: var(--white); }
.page-intro h1 { max-width: 900px; color: var(--white); text-shadow: 4px 4px 0 var(--ink); line-height: 1.22; }
.lead { color: var(--cream); font-size: 20px; max-width: 820px; margin-top: 22px; }
.page-intro .button-row { margin-top: 30px; }
.page-intro > .note { margin-top: 36px; color: var(--ink); max-width: 860px; }
.page-intro::after { content: ""; display: block; clear: both; }
.course-nav { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 24px; }
.course-nav a { display: inline-flex; align-items: center; padding: 8px 18px; background: var(--white); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 0 4px 0 var(--ink); min-height: 50px; text-decoration: none; font-size: 17px; font-weight: 800; }
.course-nav a:hover { background: var(--yellow); }
.course-nav a:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.course-group { margin-top: 40px; }
.course-group > h3 { padding: 16px 24px; background: var(--main); color: var(--white); border: var(--line); border-radius: 20px; margin-bottom: 14px; }
.course-group > p { margin: 12px 0; }
.course-character-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 14px 10px 24px; background: var(--main); color: var(--white); border: var(--line); border-radius: 20px; box-shadow: 5px 5px 0 var(--ink); margin-bottom: 18px; }
.course-character-heading h3 { margin: 0; font-size: 26px; text-shadow: 2px 2px 0 var(--ink); }
.course-character-heading h3 .muted { color: var(--yellow); font-size: 18px; margin-left: 6px; text-shadow: none; }
.course-character-heading .task-mascot { background: var(--cream); border: 3px solid var(--ink); border-radius: 50%; }
.course-step { background: var(--white); margin-bottom: 16px; box-shadow: 5px 5px 0 var(--ink); }
.course-step summary { display: flex; gap: 16px; align-items: center; font-size: 20px; }
.course-step > div { padding-left: 24px; }
.course-step > div .muted { margin-top: 8px; }
.step-list, .process-list { list-style: none; counter-reset: process; padding: 0; display: grid; gap: 16px; }
.step-list > li { counter-increment: process; position: relative; padding: 4px 0 4px 54px; color: var(--sub); }
.step-list > li::before { content: counter(process); position: absolute; left: 0; top: 2px; width: 38px; height: 38px; display: grid; place-items: center; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; font-size: 17px; font-weight: 900; color: var(--ink); }
.step-list h3, .process-list h3 { font-size: 22px; margin-bottom: 6px; }
.step-list p, .process-list p { color: var(--sub); font-size: 18px; }
.process-list > li { display: flex; gap: 22px; align-items: flex-start; background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--ink); padding: 22px 24px; }
.process-list > li > .stage-number { margin-top: 2px; }
.example-preview { background: var(--cream); border: 3px dashed var(--ink); border-radius: 18px; padding: 22px; margin-top: 20px; }
.example-preview .eyebrow { margin-bottom: 10px; font-size: 15px; }
.example-preview h4 { margin-bottom: 12px; font-size: 21px; font-weight: 900; }
.example-preview p, .example-preview li { font-size: 17px; color: var(--ink); }
.example-preview dl, .example-preview ul, .example-preview ol { margin-bottom: 0; }
.example-preview dt { font-weight: 800; color: var(--ink); }
.example-preview dd { margin-left: 0; margin-bottom: 12px; }
.card details { border: 0; margin-top: 18px; background: var(--main-light); border: 3px solid var(--ink); border-radius: 18px; }
.card details > summary { font-size: 18px; min-height: 56px; padding-block: 14px; }
.card details > div { padding: 0 20px 20px; }
.review-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 28px; }
.review-flow span, .review-flow strong { font-size: 18px; font-weight: 800; }
.review-flow strong { background: var(--yellow); border: 3px solid var(--ink); border-radius: 12px; padding: 8px 16px; }

/* ---------- 상담 화면 ---------- */
.contact-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: start; }
.contact-layout aside .card + .note, .contact-layout aside .note + .card, .contact-layout aside .card + .card { margin-top: 30px; }
.contact-layout h2 { font-size: clamp(28px, 2.6vw, 34px); }
.contact-layout aside h2 { font-size: 26px; }
.contact-layout .card > .muted { margin-top: 14px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 900; font-size: 19px; margin-bottom: 12px; padding: 0; }
.form-fields { margin-top: 28px; }
.field { margin-bottom: 30px; min-width: 0; }
.field > label { display: block; font-weight: 900; font-size: 19px; margin-bottom: 8px; }
.field > .muted { margin-bottom: 12px; }
.field .badge { font-size: 14px; padding: 1px 8px; margin-left: 4px; vertical-align: 2px; }
.field small, .field-hint { font-size: 16px; color: var(--sub); margin-top: 9px; display: block; }
input[type="tel"], input[type="text"], select, textarea { display: block; width: 100%; background: var(--white); border: var(--line); border-radius: 16px; min-height: 58px; padding: 10px 16px; color: var(--ink); font-size: 18px; font-weight: 600; box-shadow: inset 0 4px 0 rgba(19,38,30,.08); }
textarea { resize: vertical; min-height: 140px; }
input::placeholder, textarea::placeholder { color: var(--sub); font-size: 16px; }
input[type="radio"] { accent-color: var(--main); width: 24px; height: 24px; flex-shrink: 0; margin: 0; }
.choice-group > .muted { margin-top: 0; }
.choice-group .choice { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 16px; background: var(--white); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink); font-size: 18px; font-weight: 700; cursor: pointer; margin-top: 12px; }
.choice:has(input:checked) { background: var(--yellow); }
.choice:hover { background: var(--main-light); }
.choice:has(input:checked):hover { background: #ffe07a; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.field-error { color: var(--error); font-size: 16px; font-weight: 800; margin-top: 8px; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.error-summary { background: #ffe9e3; padding: 18px; margin-bottom: 24px; font-size: 17px; }
.status { margin-top: 26px; padding: 22px; background: var(--main-light); font-size: 18px; font-weight: 700; }
#form-errors { background: #ffe9e3; margin-top: 30px; }
#form-errors::before { background: #ff9e8a; }
#form-errors h3 { font-size: 20px; }
#form-errors li { color: var(--error); font-size: 17px; font-weight: 700; }
#contact-status { background: var(--main-light); }
.contact-layout noscript { display: block; }
.info-list { margin-block: 22px; }
.info-list > div { padding-block: 12px; border-bottom: 3px dashed var(--main-light); }
.info-list dt { font-size: 17px; font-weight: 900; }
.info-list dd { margin: 4px 0 0; font-size: 17px; color: var(--sub); }
.button-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 26px; }
.button-row + .muted { margin-top: 14px; }
.section > .note, .section > .muted { margin-top: 36px; }

/* ---------- 캐릭터 ---------- */
.mascot { display: block; flex: 0 0 auto; pointer-events: none; user-select: none; position: relative; }
.mascot > svg { display: block; width: 100%; height: 100%; position: relative; z-index: 1; overflow: visible; }
.chapter-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.chapter-heading h2 { flex: 1; min-width: 0; }
.chapter-mascot { width: 116px; height: 126px; }
.task-mascot { width: 80px; height: 86px; }
.card-mascot { width: 130px; height: 140px; float: right; margin: -8px -6px 10px 16px; }
.outcome-layout .chapter-mascot, .faq-layout .chapter-mascot { width: 96px; height: 104px; }
.cta-panel .chapter-mascot { width: 110px; height: 120px; }
.example-mascot { float: right; width: 110px; height: 120px; margin: -6px -4px 10px 16px; }
.character-example::after { content: ""; display: block; clear: both; }
.character-example .example-preview { clear: both; }

/* 무대: 큰 캐릭터 + 천천히 도는 원판 (원판은 캐릭터 칸 안에서 가운데 정렬) */
.mascot-stage { display: block; position: relative; }
.mascot-disc { position: absolute; z-index: 0; --r: 46%; width: calc(var(--r) * 2); aspect-ratio: 1; left: calc(50% - var(--r)); top: calc(50% - var(--r)); border-radius: 50%; border: var(--line); background: repeating-conic-gradient(var(--yellow) 0 12deg, #ffe58f 12deg 24deg); animation: disc-spin 26s linear infinite; }
.hero-mascot { width: 170px; height: 184px; }
.journey-board .chapter-heading { gap: 10px; margin-bottom: 4px; }
.journey-board .hero-mascot { margin: -78px -18px 0 0; }
.intro-mascot { float: right; width: 260px; height: 280px; margin: -10px 0 20px 40px; }
.intro-mascot .mascot-disc, .hero-mascot .mascot-disc { --r: 44%; }

/* 움직임: 폴짝 · 손 흔들기 · 눈 깜빡임 */
.ch-hop { animation: ch-hop 2.4s ease-in-out infinite; }
.ch-shadow { transform-box: fill-box; transform-origin: center; animation: ch-shadow 2.4s ease-in-out infinite; }
.ch-wave { transform-box: view-box; transform-origin: 78px 176px; animation: ch-wave 1.8s ease-in-out infinite; }
.ch-eye { transform-box: fill-box; transform-origin: center; animation: ch-blink 4.6s infinite; }
.ch-glow { animation: ch-glow 1.6s ease-in-out infinite; }
.ch-work .ch-hop, .ch-work .ch-shadow { animation-delay: -.5s; }
.ch-help .ch-hop, .ch-help .ch-shadow { animation-delay: -1s; }
.ch-write .ch-hop, .ch-write .ch-shadow { animation-delay: -1.4s; }
.ch-create .ch-hop, .ch-create .ch-shadow { animation-delay: -1.8s; }
.ch-idea .ch-hop, .ch-idea .ch-shadow { animation-delay: -.8s; }
.ch-help .ch-eye, .ch-create .ch-eye { animation-delay: -2s; }
@keyframes ch-hop { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-10px); } 60% { transform: translateY(0); } 70% { transform: translateY(-3px); } }
@keyframes ch-shadow { 0%, 100% { transform: scaleX(1); } 45% { transform: scaleX(.78); } 60% { transform: scaleX(1); } }
@keyframes ch-wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(16deg); } 50% { transform: rotate(-4deg); } 75% { transform: rotate(14deg); } }
@keyframes ch-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes ch-glow { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes disc-spin { to { transform: rotate(360deg); } }

/* 움직임 멈추기 버튼 */
.motion-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-left: 4px; padding: 2px 12px; background: var(--yellow); color: var(--ink); border: 2px solid var(--yellow); border-radius: 10px; font-size: 15px; font-weight: 800; cursor: pointer; }
.motion-toggle:hover { background: #ffe07a; }
.motion-toggle[aria-pressed="true"] { background: transparent; color: var(--yellow); }
.motion-toggle:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.motion-off .ch-hop, .motion-off .ch-shadow, .motion-off .ch-wave, .motion-off .ch-eye, .motion-off .ch-glow, .motion-off .mascot-disc { animation: none !important; }
.motion-off .button, .motion-off .example-card { transition: none; }

/* ---------- 화면 크기 ---------- */
@media (max-width: 1200px) {
  .container { width: calc(100% - 64px); }
  #primary-nav a { font-size: 16px; padding: 0 10px; }
  .brand { font-size: 19px; }
  .hero { gap: 40px; }
  .empathy-section .container { gap: 30px; }
}
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .empathy-section .container { display: block; }
  .empathy-grid { margin-top: 30px; }
  .method-steps { grid-template-columns: 1fr 1fr; gap: 26px; }
  .method-steps li:nth-child(2)::after { display: none; }
  .outcome-layout, .faq-layout { gap: 40px; }
  .outcome-layout { grid-template-columns: 1fr; }
  .section-heading-row { align-items: flex-start; }
  .section-heading-row > .text-link { flex: 0 0 auto; }
  .path-card { padding: 30px; }
  .cta-panel { padding: 38px; }
  .contact-layout { grid-template-columns: 1.2fr .8fr; gap: 28px; }
}
/* 메뉴가 한 줄에 들어가지 않는 태블릿 너비에서는 접이식 메뉴를 사용합니다. */
@media (max-width: 1200px) {
  .header-inner { flex-wrap: wrap; min-height: 84px; gap: 0; padding-block: 14px; }
  #primary-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding-top: 16px; }
  #primary-nav a { min-height: 56px; font-size: 19px; padding-inline: 16px; background: var(--white); border: 3px solid var(--ink); }
  #primary-nav a[aria-current="page"] { background: var(--ink); }
  #primary-nav .nav-contact { margin: 6px 0 0; transform: none; justify-content: space-between; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: 10px; }
  .js #primary-nav { display: none; }
  .js body.nav-open #primary-nav { display: flex; }
}
@media (max-width: 900px) {
  .hero, .page-intro { padding-block: 52px 60px; }
  .hero { grid-template-columns: 1fr; gap: 80px; }
  .journey-board .hero-mascot { margin-top: -96px; }
  .path-grid, .outcome-layout, .grid-2, .faq-layout, .contact-layout { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .section-heading-row { display: block; }
  .section-heading-row > .text-link { margin-top: 14px; }
  .intro-mascot { width: 200px; height: 216px; margin-left: 20px; }
  .cta-panel { flex-direction: column; align-items: stretch; gap: 24px; }
  .cta-panel .button { align-self: flex-start; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .container { width: calc(100% - 32px); }
  .draft-bar { font-size: 14px; }
  .draft-bar .container { flex-direction: column; align-items: flex-start; gap: 0; padding-block: 6px; }
  .brand { font-size: 18px; gap: 10px; }
  .brand small { font-size: 13px; }
  .brand em { font-size: 12px; }
  .brand-symbol { width: 48px; height: 48px; }
  .menu-toggle { font-size: 17px; padding-inline: 12px; }
  .hero h1, .page-intro h1 { text-shadow: 3px 3px 0 var(--ink); }
  .hero-promise { font-size: 22px; }
  .hero-description { font-size: 17px; }
  .hero-actions, .button-row, .form-actions { flex-direction: column; align-items: stretch; }
  .button, .cta-panel .button { width: 100%; align-self: stretch; }
  .journey-board { padding: 26px 20px 22px; }
  .journey-board .hero-mascot { width: 130px; height: 140px; margin: -84px -8px 0 0; }
  .journey-row strong { font-size: 20px; }
  .section { padding-block: 60px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading p:not(.eyebrow) { font-size: 17px; }
  .eyebrow { font-size: 15px; }
  .chapter-heading { gap: 12px; }
  .chapter-mascot { width: 82px; height: 90px; }
  .outcome-layout .chapter-mascot, .faq-layout .chapter-mascot, .cta-panel .chapter-mascot { width: 76px; height: 84px; }
  .empathy-section { padding-block: 52px 60px; }
  .empathy-grid { grid-template-columns: 1fr; gap: 14px; }
  .path-card { padding: 24px 20px; }
  .card-mascot { width: 96px; height: 104px; }
  .outcome-list { grid-template-columns: 1fr 1fr; gap: 16px; }
  .outcome-list > div { padding: 16px 14px 18px; }
  .outcome-list .outcome-character { width: 76px; height: 76px; }
  .outcome-list .task-mascot { width: 62px; height: 66px; }
  .outcome-list h3 { font-size: 19px; }
  .outcome-section { padding-bottom: 100px; }
  .outcome-section::after { height: 36px; }
  .method-steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .method-steps li { padding: 18px 14px 20px; }
  .method-steps li::after { display: none !important; }
  .method-steps h3 { font-size: 19px; }
  .method-steps p { font-size: 16px; }
  .instructor-note { flex-direction: column; align-items: flex-start; gap: 10px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { gap: 26px; }
  .card { padding: 24px 20px; }
  .card h3 { font-size: 22px; }
  .card p, .card li { font-size: 17px; }
  summary { font-size: 18px; padding: 16px 62px 16px 18px; }
  summary::after { right: 14px; width: 34px; height: 34px; }
  details > p, details > div { padding-inline: 18px; font-size: 17px; }
  .cta-panel { padding: 28px 20px; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-info, .footer-bottom { flex-direction: column; }
  .footer-bottom { gap: 6px; }
  .footer-bottom a { display: flex; min-height: 44px; align-items: center; }
  .mobile-break { display: initial; }
  .desktop-break { display: none; }
  .lead { font-size: 18px; }
  .intro-mascot { float: none; width: 170px; height: 184px; margin: 0 0 18px auto; }
  .page-intro { padding-top: 36px; }
  .course-nav a { font-size: 16px; padding: 6px 12px; }
  .course-character-heading { padding: 8px 10px 8px 16px; }
  .course-character-heading h3 { font-size: 22px; }
  .course-step summary { gap: 10px; font-size: 18px; }
  .course-step > div { padding-left: 18px; }
  .process-list > li { flex-direction: column; gap: 10px; padding: 20px 18px; }
  .example-mascot { width: 84px; height: 92px; }
  .review-flow { flex-direction: column; padding: 20px; gap: 8px; }
  .review-flow > span[aria-hidden="true"] { transform: rotate(90deg); }
  .motion-toggle { margin: 4px 0 2px; min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  .draft-bar, .menu-toggle, .site-footer, .motion-toggle { display: none; }
  .container { width: 100%; }
  .hero::before, .page-intro::before { display: none; }
  .hero, .page-intro, .hero h1, .page-intro h1, .lead, .hero-promise, .hero-description { color: #111; text-shadow: none; }
  body { background: white; color: #111; }
  .card, .path-card, .example-card, .journey-board, .cta-panel, .note { box-shadow: none; }
}
.game-badge { margin-right: 8px; vertical-align: top; }
.draft-bar .container > span:nth-child(2) { margin-left: auto; }
.card .eyebrow, .card p.badge, .example-preview .eyebrow { color: var(--yellow); }
@media (max-width: 600px) { .draft-bar .container > span:nth-child(2) { margin-left: 0; } }

/* ---------- 로고 · 연락 버튼 (2026-10-20) ---------- */
.brand-symbol { width: 62px; height: 62px; filter: none; }
.brand-hl { display: inline-block; background: var(--yellow); border: 3px solid var(--ink); border-radius: 8px; padding: 0 6px; margin: 0 1px; line-height: 1.25; font-weight: 900; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo { display: inline-block; width: 52px; height: 52px; flex: 0 0 auto; }
.footer-logo svg { width: 100%; height: 100%; display: block; }
.footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.site-footer .footer-actions .button { min-height: 54px; font-size: 18px; padding: 8px 20px; box-shadow: 0 5px 0 #000; }
.footer-info a { color: var(--yellow); font-weight: 800; }
.button-call::before, .button-kakao::before { content: ""; width: 22px; height: 22px; flex: 0 0 auto; background: center / contain no-repeat; }
.button-call::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z' fill='%2313261e'/%3E%3C/svg%3E"); }
.button-kakao::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.6 2 11c0 2.8 1.8 5.3 4.6 6.7L5.6 21.4c-.1.4.3.7.6.5l4.4-2.9c.5.1.9.1 1.4.1 5.5 0 10-3.6 10-8S17.5 3 12 3z' fill='%2313261e'/%3E%3C/svg%3E"); }
.cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 16px; flex-shrink: 0; }
.cta-panel .cta-actions .text-link { color: var(--white); text-decoration-color: var(--yellow); justify-content: center; }
.quick-card h2 { font-size: 26px; margin-top: 4px; }
.quick-card .button-row { flex-direction: column; align-items: stretch; margin-top: 20px; }
.contact-layout aside .quick-card + .card { margin-top: 30px; }
.info-list dd a { color: var(--main-dark); font-weight: 800; }

/* 휴대폰·태블릿: 화면 아래 고정 연락 막대 */
.quick-contact { display: none; }
@media (max-width: 900px) {
  .site-footer { padding-bottom: 86px; }
  .quick-contact { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 4px solid var(--ink); }
  .quick-contact a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border: 3px solid var(--ink); border-radius: 16px; font-size: 19px; font-weight: 900; text-decoration: none; color: var(--ink); box-shadow: 0 4px 0 #000; }
  .quick-contact a::before { content: ""; width: 22px; height: 22px; background: center / contain no-repeat; }
  .quick-contact .qc-call { background: var(--yellow); }
  .quick-contact .qc-call::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z' fill='%2313261e'/%3E%3C/svg%3E"); }
  .quick-contact .qc-kakao { background: var(--white); }
  .quick-contact .qc-kakao::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.6 2 11c0 2.8 1.8 5.3 4.6 6.7L5.6 21.4c-.1.4.3.7.6.5l4.4-2.9c.5.1.9.1 1.4.1 5.5 0 10-3.6 10-8S17.5 3 12 3z' fill='%2313261e'/%3E%3C/svg%3E"); }
  .quick-contact a:active { transform: translateY(3px); box-shadow: 0 1px 0 #000; }
  .cta-actions { align-items: stretch; }
}
@media (max-width: 600px) {
  .brand-symbol { width: 52px; height: 52px; }
  .footer-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .site-footer .footer-actions .button { width: 100%; }
}
@media print { .quick-contact { display: none !important; } }

/* ---------- 정식 공개용 정리 (2026-10-20) ---------- */
.top-contact { display: inline-flex; flex-wrap: wrap; gap: 6px 16px; }
.top-contact a { color: var(--yellow); font-weight: 900; text-decoration: none; }
.top-contact a:hover { text-decoration: underline; }
.help-options { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.help-options li { display: flex; align-items: center; gap: 14px; background: var(--white); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink); padding: 14px 16px; font-size: 19px; }
.help-options .stage-number::before { content: "TYPE\00a0"; }
.contact-layout > .card > .button-row { margin-top: 22px; }
.contact-layout > .card > .note { margin-top: 34px; }
.cta-panel .cta-actions .button { min-width: 280px; }
@media (max-width: 600px) {
  .help-options li { font-size: 17px; flex-wrap: wrap; gap: 8px; }
  .cta-panel .cta-actions .button { min-width: 0; }
}
.card .help-options { margin-bottom: 24px; }
@media (max-width: 900px) { .top-contact { display: none; } }
@media (max-width: 600px) {
  .draft-bar .container { flex-direction: row; align-items: center; justify-content: space-between; padding-block: 6px; }
  .motion-toggle { margin: 0; min-height: 40px; flex: 0 0 auto; }
}

/* ---------- 편하게 읽고 누르기 ---------- */
:root { --reading-body: 1.25rem; --reading-small: 1.125rem; }
body { font-size: var(--reading-body); line-height: 1.8; }
p + p { margin-top: 16px; }
.hero-description, .lead, .card p, .card li, .path-card p, .path-card ul,
.section-heading p:not(.eyebrow), .step-list p, .process-list p,
details > p, details > div, .cta-panel p:not(.eyebrow),
.info-list dt, .info-list dd, .example-preview p, .example-preview li {
  font-size: var(--reading-body);
}
.muted, .note, .hero-footnote, .journey-caption, .journey-row p, .board-note,
.section-note, .empathy-grid p, .path-label span, .outcome-list p,
.outcome-list > .muted, .method-steps p, .instructor-note p,
.example-card-copy p, .footer-main p, .footer-info, .footer-bottom {
  font-size: var(--reading-small);
}
.hero-description, .lead, .section-heading p:not(.eyebrow) { max-width: 38em; }
.card p, .card li, .path-card p, .section-heading p:not(.eyebrow),
.empathy-grid p, .outcome-list p, .method-steps p, .example-card-copy p,
.info-list dd, details > p, details > div { color: var(--ink); }
.cta-panel .section-heading p, .site-footer p { color: var(--cream); }
.hero h1, .page-intro h1, .hero-promise, .cta-panel h2,
.examples-section h2, .course-character-heading h3 { text-shadow: none; }
.hero::before, .page-intro::before, .cta-panel {
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 2px, transparent 2.1px);
}
.section-tinted { background-image: none; }
.game-badge { letter-spacing: 0; }
.path-label::before { content: "선택"; letter-spacing: 0; }
.stage-number::before, .method-steps li > span::before { content: ""; }
.stage-number::after, .method-steps li > span::after { content: "단계"; margin-left: 3px; letter-spacing: 0; }
.help-options .stage-number::before { content: "선택"; margin-right: 4px; }
.help-options .stage-number::after { content: none; }
body[data-page="business"] .grid-3 .stage-number::before { content: "예시"; margin-right: 4px; }
body[data-page="business"] .grid-3 .stage-number::after { content: none; }
.stage-number { font-size: 1rem; letter-spacing: 0; }
.text-link, .board-link, .course-nav a { font-size: var(--reading-body); min-height: 56px; }
.button { min-height: 64px; font-size: var(--reading-body); }
.course-nav a { white-space: normal; }
summary, .course-step summary, .card details > summary {
  min-height: 72px; font-size: var(--reading-body); line-height: 1.6;
}
.course-step summary { flex-wrap: wrap; gap: 8px 14px; }
.course-step summary > span:last-child { flex: 1 1 180px; min-width: 0; }
.draft-bar { font-size: 1rem; }
.draft-bar .container { flex-wrap: wrap; padding-block: 6px; }
.top-contact a { display: inline-flex; align-items: center; min-height: 48px; }
.motion-toggle { min-height: 48px; font-size: 1rem; }
.menu-toggle { min-height: 56px; }
#primary-nav a { min-height: 56px; font-size: var(--reading-small); }
/* 문서가 처음 보일 때부터 정지합니다. 움직임은 사용자가 켠 경우에만 재생합니다. */
html:not(.motion-on) :is(.ch-hop, .ch-shadow, .ch-wave, .ch-eye, .ch-glow, .mascot-disc) { animation: none !important; }
.footer-info a, .footer-bottom a { display: inline-block; padding-block: 8px; }
@media (max-width: 1100px) {
  .top-contact { display: none; }
}
@media (max-width: 1200px) {
  #primary-nav a { font-size: var(--reading-body); }
}
@media (max-width: 900px) {
  html { scroll-padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  a, button, summary { scroll-margin-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  .outcome-list, .method-steps { grid-template-columns: 1fr; gap: 24px; }
  .outcome-list > div, .method-steps li { padding: 24px; }
  .outcome-list h3, .method-steps h3, .empathy-grid h3 { font-size: 1.5rem; }
  .empathy-grid { gap: 24px; }
  .hero h1, .page-intro h1 { text-shadow: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .draft-bar .container { gap: 10px; }
  .draft-bar .container > span:first-child { flex: 1 1 140px; }
  .motion-toggle { margin-left: auto; }
  .process-list > li { flex-direction: column; gap: 12px; }
  .course-step summary { padding-left: 18px; padding-right: 64px; }
  .course-step summary > span:last-child { flex-basis: 100%; }
  .quick-contact a { min-width: 0; }
  .header-inner { gap: 16px; }
  .js .menu-toggle { width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
  .quick-contact a::before { display: none; }
}

/* 제목의 원래 너비를 먼저 확보하고, 모바일의 남는 공간만 로고에 사용합니다. */
@media screen and (max-width: 600px) {
  .hero-heading-row { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); column-gap: 12px; align-items: center; }
  .hero-mobile-logo { display: block; width: 100%; max-width: 120px; height: auto; min-width: 0; justify-self: center; pointer-events: none; }
}
@media screen and (max-width: 340px) {
  .hero-heading-row { display: block; }
  .hero-mobile-logo { display: none; }
}
@keyframes hero-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media screen and (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  .motion-on .hero-mobile-logo { animation: hero-logo-float 3s ease-in-out infinite; }
}
