@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
/* 에듀사파리 홈페이지(글꼴은 Pretendard, 크기와 여백은 당근 회사소개 기준): 당근 회사소개 구조(큰 제목, 넓어지는 영상, 읽히는 문장, 이야기 카드)에 에듀사파리 브랜드를 입힘 */
body.lp-body { background: #ffffff; word-break: keep-all; }
.lp-body {
  --lp-green: #104b3a;
  --lp-orange: #ff6334;
  --lp-ink: #212124;
  --lp-sub: #393b3f;
  --lp-muted: #6b6f75;
  --lp-faint: #d1d3d8;
  --lp-soft: #f3f5f6;
  color: var(--lp-ink);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}
.lp-body *, .lp-body h1, .lp-body h2, .lp-body h3, .lp-body h4, .lp-body b, .lp-body strong { font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }
/* 학생 화면용 .kid h1, h2 규칙(줄 간격, 자간)을 홈에서는 덮어써요 */
.lp-body h1, .lp-body h2, .lp-body h3 { letter-spacing: -0.02em; }
.lp-body h1.lp-title { line-height: 1.42; }
.lp-body .lp-head h2 { line-height: 1.38; }
.lp-body .lp-end h2 { line-height: 1.4; }
.lp-wrap { max-width: 1040px; margin: 0 auto; padding: 0 32px; }

/* 상단 */
.lp-top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); }
.lp-top-in { height: 72px; display: flex; align-items: center; gap: 22px; }
.lp-top .logo { height: 38px; display: block; }
.lp-top .sp { flex: 1; }
.lp-link { text-decoration: none; color: var(--lp-ink); font-weight: 600; font-size: 16px; }
@media (hover: hover) { .lp-link:hover { color: var(--lp-green); } }

/* 버튼 */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 12px; font-weight: 700; font-size: 17px; text-decoration: none; transition: background .15s; white-space: nowrap; }
.lp-btn-go { background: var(--lp-orange); color: #fff; }
@media (hover: hover) { .lp-btn-go:hover { background: #f2552a; } }
.lp-btn-line { background: var(--lp-soft); color: var(--lp-green); }
@media (hover: hover) { .lp-btn-line:hover { background: #e8ecec; } }
.lp-top .lp-btn { height: 42px; padding: 0 18px; font-size: 15px; }

/* 1. 제목 + 넓어지는 영상 */
.lp-hero { --p: 0; height: 190vh; }
.lp-title { margin: 0; padding: 72px 20px 56px; text-align: center; font-size: clamp(34px, 5vw, 52px); line-height: 1.42; font-weight: 700; color: var(--lp-ink); letter-spacing: -0.02em; }
.lp-sticky { position: sticky; top: 72px; height: calc(100vh - 72px); display: flex; align-items: flex-start; justify-content: center; overflow: hidden; }
.lp-media { position: relative; width: calc(78% + 22% * var(--p)); height: calc(72% + 28% * var(--p)); border-radius: calc(28px * (1 - var(--p))); overflow: hidden; background: #0f2a22; }
.lp-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-media::after { content: ''; position: absolute; inset: 0; background: rgba(8, 24, 18, calc(.42 * var(--p))); pointer-events: none; }
.lp-over { position: absolute; z-index: 2; left: 0; right: 0; top: 50%; transform: translateY(calc(-50% + 30px * (1 - var(--p)))); margin: 0; padding: 0 20px; text-align: center; color: #fff; font-size: clamp(26px, 3.4vw, 42px); font-weight: 700; line-height: 1.4; opacity: calc(var(--p) * 1.6 - .4); }

/* 2. 읽는 만큼 진해지는 소개 문장 */
.lp-story { padding: 180px 0 40px; }
.lp-story p { max-width: 820px; margin: 0; font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; line-height: 1.6; color: var(--lp-faint); }
.lp-story b { color: var(--lp-ink); }
.lp-story span { transition: color .25s; }
.lp-story span.on { color: var(--lp-sub); }

/* 공통 머리글 */
.lp-sec { padding: 180px 0 0; }
.lp-head { margin-bottom: 56px; }
.lp-eyebrow { display: block; font-size: 18px; line-height: 28px; font-weight: 700; color: var(--lp-orange); margin-bottom: 12px; }
.lp-head h2 { margin: 0; font-size: clamp(30px, 4vw, 42px); font-weight: 700; line-height: 1.38; color: var(--lp-ink); }

/* 3. 변화 이야기 카드 */
.lp-changes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-changes article { display: grid; gap: 10px; align-content: start; }
.lp-changes img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; margin-bottom: 14px; background: var(--lp-soft); }
.lp-changes h3 { margin: 0; font-size: 22px; line-height: 32px; font-weight: 700; color: var(--lp-ink); }
.lp-changes p { margin: 0; font-size: 17px; line-height: 28px; color: var(--lp-muted); }
.lp-steps { list-style: none; margin: 72px 0 0; padding: 32px; background: var(--lp-soft); border-radius: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-steps li { display: flex; gap: 14px; align-items: flex-start; }
.lp-steps .no { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--lp-green); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.lp-steps b { font-size: 18px; color: var(--lp-ink); margin-right: 8px; }
.lp-steps .when { font-size: 14px; font-weight: 600; color: var(--lp-orange); }
.lp-steps p { margin: 6px 0 0; font-size: 16px; color: var(--lp-muted); line-height: 26px; }

/* 4. 학부모님께, 원장님께 */
.lp-for { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lp-for article { background: var(--lp-soft); border-radius: 26px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.lp-for img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.lp-for .tx { padding: 36px 36px 40px; display: grid; gap: 16px; align-content: start; justify-items: start; }
.lp-for .who { font-size: 16px; font-weight: 700; color: var(--lp-orange); }
.lp-for h3 { margin: 0; font-size: 26px; font-weight: 700; line-height: 38px; color: var(--lp-ink); }
.lp-for ul { margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 10px; }
.lp-for li { position: relative; padding-left: 20px; font-size: 17px; line-height: 27px; color: var(--lp-sub); }
.lp-for li::before { content: ''; position: absolute; left: 3px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--lp-orange); }
.lp-for .lp-btn-line { background: #fff; }

/* 5. 다음 탐험지 */
.lp-next { background: var(--lp-green); color: #fff; border-radius: 26px; padding: 30px 32px; display: grid; grid-template-columns: 1fr auto; gap: 22px 20px; }
.lp-next .d b { display: block; font-size: 26px; font-weight: 700; }
.lp-next .d span { font-size: 16px; opacity: .75; }
.lp-next .m { text-align: right; display: grid; gap: 4px; align-content: start; }
.lp-next .m span { font-size: 16px; opacity: .85; }
.lp-next .m b { font-size: 30px; color: #ffb59c; }
.lp-route { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: r; }
.lp-route li { counter-increment: r; background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 8px 14px; font-size: 15px; }
.lp-route li::before { content: counter(r); color: #ffb59c; font-weight: 700; margin-right: 8px; }

/* 6. 마무리 */
.lp-end { position: relative; margin-top: 180px; min-height: 600px; display: grid; place-items: center; overflow: hidden; }
.lp-end img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-end::after { content: ''; position: absolute; inset: 0; background: rgba(10, 28, 22, .45); }
.lp-end-in { position: relative; z-index: 1; text-align: center; color: #fff; padding: 80px 20px; }
.lp-end h2 { margin: 0 0 36px; font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.4; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* 바닥 */
.lp-foot { background: #0c3a2d; color: rgba(255, 255, 255, .7); }
.lp-foot-in { display: flex; align-items: center; gap: 18px; padding-top: 32px; padding-bottom: 32px; font-size: 13px; flex-wrap: wrap; }
.lp-foot img { height: 30px; }
.lp-foot .sp { flex: 1; }
.lp-foot a { color: rgba(255, 255, 255, .7); text-decoration: none; }
@media (hover: hover) { .lp-foot a:hover { color: #fff; } }

@media (max-width: 860px) {
  .lp-changes, .lp-steps, .lp-for { grid-template-columns: 1fr; }
  .lp-changes img { aspect-ratio: 4 / 3; }
  .lp-hero { height: 160vh; }
  .lp-media { width: calc(90% + 10% * var(--p)); height: calc(60% + 40% * var(--p)); }
}
@media (max-width: 560px) {
  .lp-wrap { padding: 0 20px; }
  .lp-top-in { gap: 12px; height: 64px; }
  .lp-top .logo { height: 32px; }
  .lp-link { font-size: 13px; }
  .lp-top .lp-btn { height: 38px; padding: 0 12px; font-size: 14px; }
  .lp-sticky { top: 64px; height: calc(100vh - 64px); }
  .lp-title { padding: 40px 16px 28px; }
  .lp-story { padding: 120px 0 20px; }
  .lp-sec { padding-top: 120px; }
  .lp-head { margin-bottom: 36px; }
  .lp-eyebrow { font-size: 16px; }
  .lp-changes p, .lp-for li { font-size: 16px; line-height: 26px; }
  .lp-steps { padding: 24px 20px; }
  .lp-for .tx { padding: 24px 20px 28px; }
  .lp-for h3 { font-size: 22px; }
  .lp-next { padding: 24px 20px; grid-template-columns: 1fr; }
  .lp-next .m { text-align: left; }
  .lp-end { min-height: 480px; margin-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-hero { height: auto; }
  .lp-sticky { position: static; height: 70vh; }
}

/* 캠페인 영상 (소개 문단 다음) */
.lp-film { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #0f2a22; }
.lp-film video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.lp-film-play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--lp-green); display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.lp-film-play svg { width: 36px; height: 36px; margin-left: 5px; }
.lp-film.paused .lp-film-play { opacity: 1; pointer-events: auto; }
@media (hover: hover) { .lp-film-play:hover { transform: scale(1.06); } }
.lp-film-snd { position: absolute; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: rgba(12, 23, 18, .62); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s; }
.lp-film-snd svg { width: 22px; height: 22px; flex: none; }
@media (hover: hover) { .lp-film-snd:hover { background: rgba(12, 23, 18, .8); } }
.lp-film-snd.on { background: var(--lp-orange); }
@media (max-width: 720px) {
  .lp-film { border-radius: 16px; }
  .lp-film-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .lp-film-play svg { width: 28px; height: 28px; }
  .lp-film-snd { top: 10px; right: 10px; bottom: auto; width: 40px; height: 40px; padding: 0; justify-content: center; }
  .lp-film-snd span { display: none; }
  .lp-film-snd svg { width: 20px; height: 20px; }
}

/* 학부모님, 원장님 카드: 사진 대신 아이콘 일러스트 */
.lp-for article { grid-template-rows: 1fr; }
.lp-for .tx { padding-top: 40px; }
.lp-for img.ic { width: 112px; height: 112px; aspect-ratio: auto; object-fit: contain; margin-bottom: 8px; }

/* 다음 탐험지: 달력 한 장 + 카드 */
.lp-next { grid-template-columns: auto 1fr auto; align-items: center; gap: 22px 28px; }
.lp-next .cal { width: 108px; border-radius: 18px; overflow: hidden; background: #fff; color: var(--lp-ink); text-align: center; display: grid; }
.lp-next .cal .mo { background: var(--lp-orange); color: #fff; font-size: 15px; font-weight: 700; padding: 6px 0; opacity: 1; }
.lp-next .cal b { font-size: 46px; line-height: 1; padding: 12px 0 2px; color: var(--lp-ink); }
.lp-next .cal .wd { font-size: 14px; color: var(--lp-muted); padding-bottom: 12px; opacity: 1; }
.lp-next .d span { display: block; margin-top: 6px; }
.lp-next .m b { font-size: 34px; }

/* 마지막 섹션: 초록 배경 + 필기체 EDU SAFARI */
.lp-end { background: var(--lp-green); min-height: 0; }
.lp-end::after { display: none; }
.lp-end-in { padding: 120px 20px 128px; }
.lp-script { display: block; font-family: 'Pacifico', cursive; font-weight: 400; font-size: clamp(52px, 8vw, 96px); line-height: 1.25; color: var(--lp-orange); margin-bottom: 28px; }
@media (max-width: 720px) {
  .lp-for img.ic { width: 88px; height: 88px; }
  .lp-next { grid-template-columns: auto 1fr; }
  .lp-next .cal { width: 88px; }
  .lp-next .cal b { font-size: 38px; }
  .lp-next .m { grid-column: 1 / -1; text-align: left; }
  .lp-end-in { padding: 88px 20px 96px; }
}

/* 헤더: 학생 로그인 + 관리자 로그인(학부모 | 학원) */
.lp-admin { position: relative; }
.lp-top .lp-admin .lp-btn-line { border: 0; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.lp-admin-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 248px; padding: 8px; background: #eef1ef; border-radius: 18px; display: none; }
.lp-admin.open .lp-admin-menu { display: grid; gap: 2px; }
.lp-admin-menu a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--lp-ink); }
@media (hover: hover) { .lp-admin-menu a:hover { background: #fff; } }
.lp-admin-menu b { font-size: 16px; font-weight: 700; }
.lp-admin-menu span { font-size: 13px; color: var(--lp-muted); }

/* 푸터: 크래빗 사업자 정보 + 캠프 선생님/조교 로그인 */
.lp-foot .lp-foot-in { padding-bottom: 20px; }
.lp-foot .lp-foot-staff { font-weight: 600; color: #fff; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
@media (hover: hover) { .lp-foot .lp-foot-staff:hover { background: rgba(255, 255, 255, .18); } }
.lp-biz { padding: 18px 0 34px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 6px; font-size: 12.5px; line-height: 20px; color: rgba(255, 255, 255, .55); }
.lp-biz p { margin: 0; display: flex; flex-wrap: wrap; gap: 0 16px; }
.lp-biz .c { margin-left: auto; }
@media (max-width: 720px) {
  .lp-top .lp-admin .lp-btn-line { font-size: 14px; }
  .lp-admin-menu { min-width: 220px; }
  .lp-biz p { gap: 2px 12px; }
  .lp-biz .c { margin-left: 0; }
}
