/* ============================================================
   Lesson12 랜딩 V2 — 목업 「랜딩 목업.dc.html」 2a/5a 정본
   ------------------------------------------------------------
   🔴 이 파일이 랜딩 새 디자인의 **정본**이다.
      색·글자·여백은 아래 --ld-* 토큰만 고친다.
      ⛔ index.html 안에 hex·px 를 새로 적지 말 것 — 그게 예전 랜딩이
         화면마다 회색이 달라진 원인이다.

   로드 순서: index.html 의 인라인 <style> **다음**에 붙는다.
      → 같은 특이도면 이 파일이 이긴다. 옛 규칙을 덮으려고 일부러 그렇게 뒀다.
      ⚠️ 옛 <style> 에는 지금은 안 쓰는 섹션 규칙이 남아 있다(트러스트 카드·
         교수진·빈 시간대 …). 마크업이 사라져 무해하므로 건드리지 않는다.

   ⚠️ 클래스 이름을 바꾸면 안 되는 것들 — JS 가 잡는다:
      .pricing-card / .pricing-btn[data-package] / .pricing-amount /
      .pricing-period / .pricing-features li / .nav-links / .nav-demo-dropdown
   ============================================================ */

/* 🔴 옛 랜딩의 브랜드 토큰을 **파랑으로 갈아 끼운다.**
   인라인 <style> 곳곳이 `var(--primary)` / `var(--gradient-primary)` 를 쓰기 때문에
   여기 한 곳만 바꾸면 신청 폼 제출 버튼·포커스 링·필수 표시(*)·제휴 배너가 같이 따라온다.
   ⛔ 화면마다 파랑 hex 를 새로 적지 말 것 — 그게 예전에 색이 갈라진 이유다.
   대비: 흰 글자 얹은 #2f6ef2 4.53:1 · #1d4ed8 8.59:1 (둘 다 4.5:1 통과) */
:root {
    --primary: #2f6ef2;
    --primary-dark: #1d4ed8;
    --secondary: #2f6ef2;
    --accent: #6b9bf7;
    --gradient-primary: linear-gradient(135deg, #2f6ef2 0%, #1d4ed8 100%);

    /* 색 — 대비는 흰 배경(#fff) 또는 워시(#f5f8fd) 기준으로 실측해 골랐다 */
    --ld-blue:      #2f6ef2;   /* 흰 위 4.53:1 · 흰 글자 얹어도 4.53:1 */
    --ld-blue-dark: #1d4ed8;
    --ld-blue-wash: #eef3fb;
    --ld-ink:       #1b2330;   /* 본문 제목 */
    --ld-sub:       #5b6472;   /* 본문 */
    --ld-mute:      #666f7b;   /* 보조 — 목업 #8a93a0 은 흰 위 2.9:1. 워시(#f5f8fd) 위 4.78:1 로 잡았다
                                  (#6b7480 은 흰 위 4.74 지만 워시 위 4.45 로 아슬하게 미달이었다) */
    --ld-line:      rgba(20,40,80,.10);
    --ld-line-2:    rgba(20,40,80,.16);
    --ld-surface:   #f5f8fd;
    --ld-dark:      #1b2330;
    --ld-darker:    #12161f;

    --ld-green:      #12855c;  /* 흰 위 4.63:1 */
    --ld-green-dark: #0f6f4d;  /* 초록 워시(#f0fdf4) 위 5.95:1 — 워시 위에선 이걸 쓴다 */
    --ld-green-wash: #f0fdf4;
    --ld-red:        #c2283c;  /* 붉은 워시(#fef2f2) 위 5.37:1 (목업 #e03a4e 은 4.02) */
    --ld-red-wash:   #fef2f2;
    --ld-amber:      #b45309;  /* 앰버 워시(#fffbeb) 위 4.91:1 */
    --ld-amber-wash: #fffbeb;
    --ld-purple:     #7c3aed;
    --ld-purple-wash:#faf7ff;
    --ld-kakao:      #fee500;
    --ld-kakao-ink:  #3c1e1e;

    /* 글자 사다리 — 목업 2a 값 그대로. ⛔화면에서 px 를 새로 고르지 말 것 */
    --ld-fs-h1:   40px;
    --ld-fs-h2:   27px;
    --ld-fs-h3:   19px;
    --ld-fs-lead: 15.5px;
    --ld-fs-body: 14px;
    --ld-fs-sm:   13px;
    --ld-fs-xs:   12px;
    --ld-fs-xxs:  11.5px;

    --ld-gap:     16px;
    --ld-pad-x:   40px;
    --ld-radius:  14px;
    --ld-shadow:  0 1px 2px rgba(20,40,80,.06), 0 12px 26px -14px rgba(20,40,80,.18);
}

/* 🔴 폰 전용 요소의 기본 숨김은 **미디어쿼리보다 앞**에 둔다.
      뒤에 두면 `@media (max-width:768px)` 안의 `display:block` 과 특이도가 같아
      나중에 오는 `display:none` 이 이겨 **폰에서 영영 안 보인다**(실제로 그랬다). */
.ld-footer-kakao-m,
.ld-nav-cta-m { display: none; }

/* ── 공통 ────────────────────────────────────────────────── */
.ld-sec { padding: 46px var(--ld-pad-x); background: #fff; border-top: 1px solid rgba(20,40,80,.08); }
.ld-sec.is-wash { background: var(--ld-surface); }
.ld-sec.is-dark { background: var(--ld-dark); }
.ld-in { max-width: 1180px; margin: 0 auto; }
.ld-in.is-narrow { max-width: 900px; }
.ld-in.is-mid { max-width: 1000px; }

/* ⚠️ eyebrow 는 워시 위 12px 이라 `--ld-blue`(4.26:1) 로는 모자란다 → 진한 쪽(6.30:1) */
.ld-eyebrow { margin: 0 0 8px; font-size: var(--ld-fs-xs); font-weight: 700; letter-spacing: 2.5px; color: var(--ld-blue-dark); text-align: center; }
.ld-h2 { margin: 0 0 6px; font-size: var(--ld-fs-h2); font-weight: 800; letter-spacing: -.8px; color: var(--ld-ink); text-align: center; line-height: 1.35; }
.ld-lede { margin: 0 0 28px; font-size: var(--ld-fs-body); line-height: 1.75; color: var(--ld-sub); text-align: center; }

.ld-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ld-gap); }
.ld-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ld-gap); }

.ld-card { border: 1px solid var(--ld-line); border-radius: var(--ld-radius); background: #fff; box-shadow: var(--ld-shadow); }

/* 목업엔 밑줄이 없다. 새 섹션의 링크·버튼은 전부 밑줄을 뺀다 */
.ld-sec a, .ld-hero a, .ld-last a, .ld-ticker-sec a, .ld-btn, .ld-nav-cta,
.ld-contact-note a, .ld-kakao-btn { text-decoration: none; }

/* 버튼 — 채움 1 · 테두리 1. ⛔새 색을 만들지 말 것 */
.ld-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 13px 22px; border-radius: 11px; font-size: var(--ld-fs-body);
    font-weight: 700; cursor: pointer; border: 1px solid transparent;
    font-family: inherit; line-height: 1.2; text-align: center;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ld-btn--fill { background: var(--ld-blue); color: #fff; box-shadow: 0 10px 22px -10px rgba(47,110,242,.8); }
.ld-btn--fill:hover { background: var(--ld-blue-dark); color: #fff; transform: translateY(-1px); }
.ld-btn--line { background: #fff; border-color: var(--ld-line-2); color: var(--ld-ink); font-weight: 600; }
.ld-btn--line:hover { border-color: var(--ld-blue); color: var(--ld-blue); }
.ld-btn--purple { background: var(--ld-purple); color: #fff; }
.ld-btn--purple:hover { background: #6d28d9; color: #fff; }
.ld-btn--lg { padding: 15px 30px; font-size: var(--ld-fs-lead); }

/* ── 네비 ────────────────────────────────────────────────── */
/* 막대는 전 폭, 내용은 1180px 가운데 — 본문 섹션들과 좌우가 맞는다.
   ⚠️ `.nav-links` 의 폰 드롭다운은 `position:absolute` 이고 기준은 `position:fixed` 인 `.nav` 다.
      `.nav-in` 에 `position` 을 주면 드롭다운이 이 안쪽 폭으로 줄어든다 — ⛔주지 말 것. */
.nav { display: block; padding: 14px var(--ld-pad-x); border-bottom: 1px solid rgba(20,40,80,.09); background: rgba(255,255,255,.96); }
.nav-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: inline-flex; align-items: center; gap: 6px; font-size: 19px; font-weight: 800; letter-spacing: -.5px; color: var(--ld-ink); }
.nav-logo img { display: block; height: 26px; width: auto; }
.nav-links { gap: 24px; }
.nav-links a { font-size: var(--ld-fs-sm); font-weight: 600; color: var(--ld-sub); }
.nav-links a:hover { color: var(--ld-blue); }
.nav-links a.ld-nav-cta {
    padding: 9px 18px; border-radius: 9px; background: var(--ld-blue);
    color: #fff !important; font-weight: 700;
}
.nav-links a.ld-nav-cta:hover { background: var(--ld-blue-dark); }
.nav-demo-dropdown > a { color: var(--ld-sub) !important; }
.nav-demo-dropdown > a:hover { color: var(--ld-blue) !important; }
.nav-demo-menu { background: #fff !important; border: 1px solid var(--ld-line) !important; }
.nav-demo-menu a { color: var(--ld-ink) !important; }

/* ── 1. 히어로 ───────────────────────────────────────────── */
/* 배경은 전 폭, 내용은 다른 섹션과 **같은 1180px 로 가운데**.
   ⛔ 한 겹으로 합치지 말 것 — 넓은 모니터에서 히어로만 화면 끝까지 벌어진다(대표 지적). */
.ld-hero-sec {
    padding: 108px var(--ld-pad-x) 44px;     /* 위 = 고정 네비 높이 + 여백 */
    background: linear-gradient(180deg, #f5f8fd, #fff);
}
.ld-hero {
    max-width: 1180px; margin: 0 auto;
    display: grid; grid-template-columns: 1.12fr 1fr; gap: 40px; align-items: center;
}
/* 🔴 격자 칸은 기본이 `min-width:auto` 라 **안쪽 최소 너비만큼 칸이 벌어진다.**
   히어로 캡처에 `min-width:560px` 를 준 탓에 폰에서 페이지 전체가 580px 로 밀렸다
   (`overflow-x:auto` 를 걸어도 min-content 기여는 안 사라진다). ⛔이 줄을 지우지 말 것. */
.ld-hero > * { min-width: 0; }
.ld-hero-visual { min-width: 0; }

.ld-chip-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
    background: rgba(47,110,242,.11); color: var(--ld-blue);
    font-size: var(--ld-fs-xs); font-weight: 700; margin-bottom: 16px;
}
.ld-hero h1 {
    margin: 0 0 14px; font-size: var(--ld-fs-h1); line-height: 1.28; font-weight: 800;
    letter-spacing: -1.2px; color: var(--ld-ink); text-wrap: pretty;
}
.ld-hero h1 span { color: var(--ld-blue); }
.ld-hero-sub { margin: 0 0 22px; font-size: var(--ld-fs-lead); line-height: 1.75; color: var(--ld-sub); text-wrap: pretty; }
.ld-hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
/* 데모 버튼 둘은 데스크톱에선 CTA 와 한 줄로 흐르고(=contents), 폰에선 자기들끼리 반반 나눈다.
   ⛔ `display` 를 마크업 인라인으로 적지 말 것 — 인라인은 미디어쿼리가 못 덮는다. */
.ld-hero-demos { display: contents; }
.ld-hero-note { margin: 0; font-size: var(--ld-fs-sm); color: var(--ld-sub); }
.ld-hero-note b { color: var(--ld-ink); }
/* 캡처는 '이런 화면이구나'를 보여주는 몫이지 읽으라는 게 아니다 — 카피가 주인공이다.
   ⛔ 다시 키우지 말 것(대표 지적 2026-08-22). 자세한 표는 아래 「학원의 하루」가 맡는다. */
.ld-hero-visual { max-width: 480px; margin-left: auto; }
.ld-hero-shot { display: block; width: 100%; height: auto; border-radius: 10px; background: #fff; border: 1px solid var(--ld-line); }
.ld-metrics { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ld-metric {
    padding: 5px 11px; border-radius: 999px; background: var(--ld-blue-wash);
    color: var(--ld-sub); font-size: var(--ld-fs-xxs); font-weight: 600;
}
.ld-metric b { color: var(--ld-green); }

/* ── 1-2. 업종 띠 (대표 지시 2026-08-22) ─────────────────────
   🔴 칩(윗줄) = **실제 고객이 있는 업종만**. 없는 업종은 아랫줄 `.ld-fit-note` 로.
      섞으면 "돌아가고 있습니다"가 거짓이 된다.
   ⛔ 칩마다 색을 다르게 주지 말 것 — 무지개가 된다. 강조는 `.is-lead` 하나뿐. */
.ld-fit { padding: 26px var(--ld-pad-x) 24px; background: #fff; border-top: 1px solid rgba(20,40,80,.08); }
.ld-fit-head { margin: 0 0 12px; font-size: var(--ld-fs-sm); font-weight: 700; color: var(--ld-ink); text-align: center; }
.ld-fit-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-bottom: 13px; }
.ld-fit-chip {
    padding: 6px 13px; border-radius: 999px; background: var(--ld-surface);
    border: 1px solid var(--ld-line); font-size: 12.5px; font-weight: 600; color: var(--ld-sub);
}
.ld-fit-chip.is-lead { background: rgba(47,110,242,.10); border-color: rgba(47,110,242,.30); color: var(--ld-blue-dark); }
.ld-fit-chip b { color: var(--ld-blue-dark); font-weight: 700; }
.ld-fit-proof { margin: 0 0 7px; font-size: var(--ld-fs-sm); line-height: 1.8; color: var(--ld-sub); text-align: center; text-wrap: pretty; }
.ld-fit-proof b { color: var(--ld-ink); }
.ld-fit-note { margin: 0; font-size: var(--ld-fs-xs); line-height: 1.85; color: var(--ld-mute); text-align: center; text-wrap: pretty; }
.ld-fit-note b { color: var(--ld-sub); }

/* ── 2. 학원의 하루 (타임라인) ───────────────────────────── */
.ld-timeline { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; }
.ld-step {
    display: grid; grid-template-columns: 74px 1fr; gap: 20px; align-items: start;
    padding: 0 0 28px 30px; margin-left: 14px;
    border-left: 2px solid rgba(47,110,242,.22); position: relative;
}
.ld-step:last-child { border-left-color: transparent; padding-bottom: 0; }
.ld-step::before {
    content: ''; position: absolute; left: -9px; top: 3px; width: 16px; height: 16px;
    border-radius: 50%; background: var(--ld-blue); border: 3px solid var(--ld-surface);
}
.ld-step:last-child::before { background: var(--ld-ink); }
.ld-step-time { font-size: var(--ld-fs-lead); font-weight: 800; color: var(--ld-blue); margin-left: -8px; }
.ld-step:last-child .ld-step-time { color: var(--ld-ink); }
.ld-step h3 { margin: 0 0 7px; font-size: var(--ld-fs-h3); font-weight: 700; color: var(--ld-ink); }
.ld-step p { margin: 0 0 12px; font-size: var(--ld-fs-body); line-height: 1.85; color: var(--ld-sub); text-wrap: pretty; }
.ld-step p b, .ld-step h3 b { color: var(--ld-ink); }
.ld-step-row { display: flex; gap: 12px; align-items: stretch; }
.ld-step-shot {
    flex: 1; min-width: 0; height: 132px; object-fit: cover; object-position: center top;
    border-radius: 10px; border: 1px solid rgba(20,40,80,.12); background: #fff;
}
.ld-step-shot--full { display: block; width: 100%; height: 132px; object-fit: cover; object-position: center top;
    border-radius: 10px; border: 1px solid rgba(20,40,80,.12); background: #fff; }
.ld-auto {
    width: 252px; flex: none; border-radius: 11px; background: var(--ld-green-wash);
    border: 1.5px solid rgba(18,133,92,.32); padding: 15px 16px;
}
.ld-auto-title { font-size: 12.5px; font-weight: 800; color: var(--ld-green-dark); margin-bottom: 11px; letter-spacing: -.2px; }
.ld-auto-list { display: flex; flex-direction: column; gap: 8px; }
.ld-auto-list > div { font-size: var(--ld-fs-body); font-weight: 700; color: var(--ld-ink); }
.ld-auto-was { color: var(--ld-mute); font-weight: 600; }
.ld-auto-now { color: var(--ld-green-dark); font-size: 16px; }

/* ── 3. 이런 상황, 이렇게 끝납니다 ───────────────────────── */
.ld-case { border: 1px solid var(--ld-line); border-radius: var(--ld-radius); overflow: hidden; background: #fff; box-shadow: var(--ld-shadow); }
.ld-case-head { padding: 14px 16px; border-bottom: 1px solid var(--ld-line); }
.ld-case-head.is-move   { background: var(--ld-red-wash);   border-bottom-color: rgba(194,40,60,.16); }
.ld-case-head.is-makeup { background: var(--ld-amber-wash); border-bottom-color: rgba(180,83,9,.18); }
.ld-case-head.is-add    { background: var(--ld-green-wash); border-bottom-color: rgba(18,133,92,.18); }
.ld-case-tag { font-size: var(--ld-fs-xxs); font-weight: 700; margin-bottom: 4px; }
.is-move   .ld-case-tag { color: var(--ld-red); }
.is-makeup .ld-case-tag { color: var(--ld-amber); }
.is-add    .ld-case-tag { color: var(--ld-green-dark); }
.ld-case-q { font-size: var(--ld-fs-body); font-weight: 600; color: var(--ld-ink); line-height: 1.6; }
.ld-case-body { padding: 16px; font-size: var(--ld-fs-sm); line-height: 1.8; color: var(--ld-sub); }
.ld-case-body b { color: var(--ld-ink); }

/* ── 4. 수업이 끝나면, 나머지는 저절로 ──────────────────── */
.ld-feat { background: #fff; border: 1px solid var(--ld-line); border-radius: var(--ld-radius); padding: 20px; }
.ld-feat-icon { font-size: 22px; margin-bottom: 9px; }
.ld-feat h3 { font-size: 16px; font-weight: 700; color: var(--ld-ink); margin: 0 0 6px; }
.ld-feat p { margin: 0; font-size: var(--ld-fs-sm); line-height: 1.8; color: var(--ld-sub); }
.ld-feat p b { color: var(--ld-ink); }

/* ── 4-2. 그룹 반 운영 블록 ──────────────────────────────────
   앞 섹션(「저절로」)도 카드 격자라 **같은 모양이면 두 번 읽히지 않는다** →
   여기는 2열 + 왼쪽 라벨 칩으로 결을 바꾼다.
   ⛔ 라벨마다 색을 다르게 주지 말 것 — 여섯 색이 되면 뜻이 아니라 장식이 된다. */
.ld-op {
    display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start;
    background: #fff; border: 1px solid var(--ld-line); border-radius: var(--ld-radius);
    padding: 18px 20px;
}
.ld-op-tag {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 5px 0; border-radius: 999px; background: var(--ld-blue-wash);
    color: var(--ld-blue-dark); font-size: var(--ld-fs-xxs); font-weight: 700;
    white-space: nowrap; letter-spacing: -.2px;
}
.ld-op-body b { display: block; font-size: var(--ld-fs-body); font-weight: 700; color: var(--ld-ink); line-height: 1.6; margin-bottom: 6px; }
.ld-op-body p { margin: 0; font-size: var(--ld-fs-sm); line-height: 1.8; color: var(--ld-sub); text-wrap: pretty; }
.ld-op-mask {
    padding: 1px 7px; border-radius: 6px; background: var(--ld-surface);
    border: 1px solid var(--ld-line); font-weight: 700;
}

/* ── 5. 최근 등록 학원 티커 ─────────────────────────────── */
.ld-ticker-sec { padding: 34px var(--ld-pad-x) 30px; background: #fff; border-top: 1px solid rgba(20,40,80,.08); }
.ld-ticker-head { display: flex; align-items: baseline; gap: 9px; margin-bottom: 12px; flex-wrap: wrap; }
.ld-ticker-head strong { font-size: 16.5px; font-weight: 800; color: var(--ld-ink); }
.ld-ticker-head span { font-size: 12.5px; color: var(--ld-sub); }
/* 티커 껍데기는 **기존 CSS 를 그대로 쓴다** — 이미 파란 계열이라 새 팔레트와 맞고,
   `.academy-ticker-items` 는 `width:max-content` + `tickerScroll` 애니메이션에 묶여 있어
   폭·gap 을 건드리면 무한 루프가 어긋난다.
   ⛔ `.academy-ticker-wrap` 의 `display` 를 덮지 말 것 — 기본이 `none` 이고
      **데이터가 있을 때만** JS 가 `flex` 로 켠다. 덮으면 학원이 0곳일 때 빈 띠가 뜬다. */
.ld-ticker-sec .academy-ticker-wrap { margin: 0; }

/* ── 6. 무료체험 신청 (#contact) — 폼은 손대지 않고 띠만 어둡게 ── */
.cta { background: var(--ld-dark) !important; padding: 46px var(--ld-pad-x) 52px; }
.cta::before { display: none !important; }               /* 옛 오로라 그라데이션 제거 */
.cta .cta-card { max-width: 780px; margin: 0 auto; border-radius: var(--ld-radius); }
.cta .cta-card::before { background: var(--ld-blue) !important; }
.cta .cta-title { font-size: 25px; letter-spacing: -.7px; }
.ld-contact-note {
    max-width: 780px; margin: 16px auto 0; text-align: center;
    font-size: 12.5px; line-height: 1.9; color: rgba(255,255,255,.72);
}
.ld-contact-note b { color: #fff; }
.ld-contact-note a { color: #8ab4ff; }

/* 🔴 `--primary` 를 파랑으로 갈면서 **뜻을 든 색까지 파래졌다.** 되돌린다.
      파란 오류 메시지·파란 필수(*) 표시는 '문제 없음'으로 읽힌다 — 뜻이 반대다.
      ⛔ 이 블록을 지우고 `var(--primary)` 로 되돌리지 말 것. */
#trialForm .required,
.form-group label .required { color: #dc2626; }          /* 흰 위 4.83:1 */
.slug-status.invalid { color: #dc2626; }                 /* '영문 소문자·숫자만' 은 오류다 */
/* 포커스 링의 연분홍 잔광도 파랑으로 (border 는 --primary 라 이미 파랑이었다) */
.form-input:focus,
.slug-input-wrapper:focus-within { box-shadow: 0 0 0 3px rgba(47,110,242,.14); }

/* ── 7. 후기 (카톡 말풍선) ──────────────────────────────── */
.ld-talk { display: flex; flex-direction: column; gap: 9px; }
.ld-talk-who { display: flex; align-items: center; gap: 8px; padding-left: 2px; }
.ld-talk-face { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: var(--ld-fs-body); font-weight: 800; }
.ld-talk-face.f1 { background: #ffe082; color: #6b4b00; }
.ld-talk-face.f2 { background: #c8e6c9; color: #1b5e20; }
.ld-talk-face.f3 { background: #d1c4e9; color: #4527a0; }
.ld-talk-name { font-size: var(--ld-fs-sm); font-weight: 700; color: var(--ld-ink); }
.ld-talk-role { font-size: var(--ld-fs-xxs); color: var(--ld-mute); }
.ld-bubble {
    position: relative; background: #fff; border-radius: 4px 16px 16px 16px; padding: 15px 16px;
    box-shadow: 0 1px 2px rgba(20,40,80,.07), 0 10px 22px -14px rgba(20,40,80,.2);
}
.ld-bubble-title { font-size: 14.5px; font-weight: 800; line-height: 1.55; color: var(--ld-ink); margin-bottom: 8px; }
.ld-bubble-body { font-size: var(--ld-fs-sm); line-height: 1.8; color: var(--ld-sub); }
.ld-bubble--mine {
    align-self: flex-end; max-width: 88%; background: var(--ld-blue);
    border-radius: 16px 4px 16px 16px; padding: 13px 15px;
    font-size: var(--ld-fs-sm); line-height: 1.8; color: #fff;
}
.ld-talk-meta { display: flex; align-items: center; gap: 7px; padding-left: 2px; }
.ld-stars { font-size: var(--ld-fs-xs); color: #9a5c00; letter-spacing: 1px; }  /* 워시 위 5.05:1 (목업 #f5a623 은 2.0 · #b26a00 은 3.98) */
.ld-talk-since { font-size: var(--ld-fs-xxs); color: var(--ld-mute); }

/* ── 8. 상품군 ──────────────────────────────────────────── */
.pricing-section { padding: 46px var(--ld-pad-x); background: #fff; border-top: 1px solid rgba(20,40,80,.08); }
.pricing-section .container { max-width: 1180px; }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 24px; }
.pricing-toggle-label { font-size: var(--ld-fs-sm); font-weight: 700; color: var(--ld-mute); }
.pricing-toggle-label.active { color: var(--ld-ink); }
.pricing-toggle-switch { background: var(--ld-line-2) !important; }
.pricing-toggle-switch.yearly { background: var(--ld-blue) !important; }
.pricing-discount { font-size: var(--ld-fs-xs); font-weight: 700; color: var(--ld-green-dark); background: rgba(18,133,92,.12); padding: 3px 9px; border-radius: 999px; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pricing-card {
    border: 1px solid rgba(20,40,80,.12) !important; border-radius: var(--ld-radius) !important;
    padding: 20px !important; background: #fff !important; display: flex; flex-direction: column;
    position: relative; box-shadow: none !important; transform: none !important;
}
.pricing-card.popular { border: 2px solid var(--ld-blue) !important; background: var(--ld-surface) !important; }
.pricing-popular-badge {
    position: absolute; top: -11px; left: 20px; padding: 3px 11px; border-radius: 999px;
    background: var(--ld-blue) !important; color: #fff; font-size: 11px; font-weight: 700;
}
/* ⚠️ 옛 `.pricing-card { text-align:center }` · `.pricing-amount { font-size:2.5rem }` ·
      `.data-upload-card .pricing-plan-name`(0,2,0) 가 살아 있다 — 목업은 **왼쪽 정렬 · 한 사다리**다. */
.pricing-card, .pricing-card * { text-align: left; }
.pricing-plan-name,
.data-upload-card .pricing-plan-name { font-size: 17px; font-weight: 800; color: var(--ld-ink); margin: 0 0 3px; }
.data-upload-card .pricing-plan-desc { font-size: var(--ld-fs-xs); color: var(--ld-sub); }
.pricing-plan-desc { font-size: var(--ld-fs-xs); color: var(--ld-sub); margin: 0 0 14px; }
.pricing-price { margin-bottom: 14px; }
.pricing-amount { font-size: 25px; font-weight: 800; letter-spacing: -1px; color: var(--ld-ink); background: none !important; -webkit-text-fill-color: initial !important; }
.pricing-card.popular .pricing-amount { color: var(--ld-blue); }
.pricing-period { font-size: 12.5px; color: var(--ld-sub); margin-left: 2px; }
.pricing-yearly-total { margin-top: 6px; font-size: var(--ld-fs-xs); color: var(--ld-sub); }
.pricing-yearly-total b { color: var(--ld-ink); }
/* 절약액 칩은 옛 불투명 칩(#dcfce7 / #166534 · 8.0:1)을 그대로 쓴다 — 이미 통과하는 쌍이다 */
.pricing-yearly-save { margin-left: 6px; }
.pricing-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; line-height: 1.6; color: var(--ld-sub); flex: 1; }
.pricing-features li { padding: 0 !important; border: none !important; }
.pricing-features li.is-key { color: var(--ld-ink); font-weight: 700; }
.pricing-features li.is-plus { color: var(--ld-green-dark); font-weight: 600; }
.pricing-btn {
    text-align: center !important;
    margin-top: 16px; padding: 11px; border-radius: 10px; border: 1px solid var(--ld-line-2);
    background: #fff; color: var(--ld-ink); font-size: var(--ld-fs-sm); font-weight: 700;
    text-align: center; cursor: pointer; display: block; box-shadow: none !important;
    font-family: inherit;
}
.pricing-btn:hover { border-color: var(--ld-blue); color: var(--ld-blue); }
.pricing-btn.primary { background: var(--ld-blue) !important; border-color: var(--ld-blue); color: #fff !important; }
.pricing-btn.primary:hover { background: var(--ld-blue-dark) !important; color: #fff !important; }
.pricing-note { margin-top: 18px; text-align: center; font-size: var(--ld-fs-xs); color: var(--ld-sub); }
.pricing-section .ld-h2, .pricing-section .ld-lede { text-align: center; }

.ld-pricing-extra { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; margin-top: 14px; }
.pricing-card.franchise {
    border: 1px solid rgba(124,58,237,.3) !important; background: rgba(124,58,237,.05) !important;
    padding: 22px !important;
}
.pricing-card.franchise .pricing-btn.primary { background: var(--ld-purple) !important; border-color: var(--ld-purple); }
.pricing-card.franchise .pricing-btn.primary:hover { background: #6d28d9 !important; }
.ld-ent-head { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; flex-wrap: wrap; }
.ld-ent-head strong { font-size: 17px; font-weight: 800; color: var(--ld-ink); }
.ld-ent-tag { padding: 2px 9px; border-radius: 999px; background: rgba(124,58,237,.13); color: var(--ld-purple); font-size: 11px; font-weight: 700; }
.ld-ent-desc { font-size: 12.5px; line-height: 1.75; color: var(--ld-sub); margin: 0 0 14px; }
.ld-ent-desc b { color: var(--ld-ink); }
.ld-ent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 12.5px; line-height: 1.6; color: var(--ld-sub); margin-bottom: 16px; }
.ld-ent-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ld-ent-btns .pricing-btn { margin-top: 0; padding: 11px 20px; }
.pricing-card.data-upload-card { background: var(--ld-surface) !important; padding: 22px !important; }

/* ── 9. 카드 단말기 ─────────────────────────────────────── */
.ld-term { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--ld-line); border-radius: var(--ld-radius); padding: 24px; }
.ld-term-top { display: grid; grid-template-columns: auto auto 1fr; gap: 20px; align-items: end; margin-bottom: 20px; }
.ld-term-dev { text-align: center; }
.ld-term-dev img { display: block; width: 96px; height: 82px; object-fit: contain; }
.ld-term-dev span { display: block; font-size: var(--ld-fs-xxs); color: var(--ld-sub); margin-top: 5px; }
.ld-term-txt { font-size: var(--ld-fs-sm); line-height: 1.85; color: var(--ld-sub); }
.ld-term-txt b { color: var(--ld-ink); }
.ld-term-txt small { font-size: var(--ld-fs-xs); color: var(--ld-mute); }
.ld-term-fee { border: 1px solid rgba(47,110,242,.24); border-radius: 11px; background: rgba(47,110,242,.06); padding: 15px 17px; }
.ld-term-fee-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; flex-wrap: wrap; }
.ld-term-fee-head strong { font-size: 12.5px; font-weight: 700; color: var(--ld-ink); }
.ld-term-fee-head span { padding: 2px 8px; border-radius: 999px; background: #fff; color: var(--ld-sub); font-size: 11px; font-weight: 600; }
.ld-term-price { font-size: 19px; font-weight: 800; color: var(--ld-blue); margin-bottom: 5px; }
.ld-term-price small { font-size: var(--ld-fs-xs); font-weight: 500; color: var(--ld-sub); }
.ld-term-how { border: 1px solid var(--ld-line); border-radius: 11px; background: var(--ld-surface); padding: 15px 17px; }
.ld-term-how strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--ld-ink); margin-bottom: 9px; }
.ld-term-how p { margin: 0; font-size: 12.5px; line-height: 1.85; color: var(--ld-sub); }
.ld-term-how b { color: var(--ld-ink); }
.ld-term-note { font-size: var(--ld-fs-xs); line-height: 1.7; color: var(--ld-sub); margin: 14px 0 0; }

/* ── 10. 포털 ───────────────────────────────────────────── */
.ld-portal { border-radius: var(--ld-radius); padding: 22px; display: flex; flex-direction: column; min-width: 0; }
.ld-portal.is-parent  { border: 1px solid rgba(47,110,242,.26); background: var(--ld-surface); }
.ld-portal.is-teacher { border: 1px solid rgba(124,58,237,.26); background: var(--ld-purple-wash); }
.ld-portal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ld-portal-head span { font-size: 19px; }
.ld-portal-head strong { font-size: 16.5px; font-weight: 800; color: var(--ld-ink); }
.ld-portal-shot { display: flex; justify-content: center; padding: 14px 0 4px; margin-bottom: 9px; border-radius: 10px; background: #fff; border: 1px solid var(--ld-line); }
/* ⚠️ 캡처 두 장의 성격이 다르다 — `portal.png` 은 **폰 베젤이 이미 그려져 있고**
      `teacher-portal.png` 은 화면만 잘라낸 것이다. 목업처럼 CSS 로 베젤을 한 벌 더 씌우면
      학부모 쪽이 **액자 안 액자**가 된다. → 베젤은 없는 쪽(강사)에만 준다.
   ⛔ 목업의 `aspect-ratio` 크롭은 안 쓴다 — 랜딩에선 화면 내용이 읽히는 게 낫다. */
.ld-portal-shot img {
    display: block; width: 100%; max-width: 200px; height: auto;
    border-radius: 14px; box-sizing: border-box; background: #fff;
}
.is-teacher .ld-portal-shot img {
    border: 6px solid #11141d; border-radius: 18px;
}
.ld-portal-list { display: flex; flex-direction: column; gap: 7px; font-size: var(--ld-fs-sm); line-height: 1.65; color: var(--ld-sub); flex: 1; margin-bottom: 16px; }
.ld-portal-list b { color: var(--ld-ink); }
.ld-portal .ld-btn { width: 100%; }
.ld-badge-mobile { font-size: 10.5px; padding: 1px 6px; border-radius: 999px; background: var(--ld-blue-wash); color: var(--ld-sub); margin-left: 4px; font-weight: 600; }
.is-teacher .ld-badge-mobile { background: #f3ecff; color: var(--ld-purple); }
.ld-admin-demo {
    max-width: 900px; margin: 16px auto 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 14px 18px; border-radius: 12px; background: var(--ld-surface); border: 1px solid var(--ld-line);
}
.ld-admin-demo > strong { font-size: 12.5px; font-weight: 700; color: var(--ld-ink); }
.ld-admin-demo .ld-spacer { flex: 1; }

/* ── 11. 마지막 CTA ─────────────────────────────────────── */
.ld-last { padding: 38px var(--ld-pad-x) 44px; background: var(--ld-dark); text-align: center; }
.ld-last-title { font-size: 18px; font-weight: 800; letter-spacing: -.5px; color: #fff; margin-bottom: 6px; }
.ld-last p { margin: 0 0 18px; font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,.72); }
.ld-last-foot { margin: 14px 0 0 !important; font-size: 12.5px; color: rgba(255,255,255,.72) !important; }
.ld-last-foot a { color: #8ab4ff; }

/* ── 푸터 ───────────────────────────────────────────────── */
.footer { background: var(--ld-darker); padding: 40px var(--ld-pad-x) 30px; text-align: left; }
.footer::before { display: none; }
.footer-top { max-width: 1000px; margin: 0 auto; padding: 0 0 26px; border: none; }
.footer-brand { display: flex; align-items: center; gap: 9px; }
.footer-brand img { display: block; height: 26px; width: auto; filter: invert(1); }
.footer-brand h2 { font-size: 21px; font-weight: 800; letter-spacing: -.5px; color: #fff; margin: 0; }
.footer-nav {
    display: grid !important; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 24px;
    max-width: 1000px; margin: 0 auto; padding: 0 0 28px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col h3 { font-size: 12.5px; font-weight: 700; color: #fff; margin: 0 0 12px; }
.footer-links-list { display: flex; flex-direction: column; gap: 9px; }
.footer-links-list a { font-size: 12.5px; color: rgba(255,255,255,.72); }
.footer-links-list a:hover { color: #fff; }
.ld-footer-contact { font-size: 12.5px; line-height: 2; color: rgba(255,255,255,.72); }
/* 카카오 버튼은 연락처 아래 **한 줄 아래**로 — 인라인이면 '평일 10:00–18:00' 옆에 붙는다 */
.ld-footer-contact .ld-kakao-btn { display: flex; width: fit-content; }
.ld-footer-contact b { color: #fff; }
.ld-kakao-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 12px; padding: 10px 16px; border-radius: 9px;
    background: var(--ld-kakao); color: var(--ld-kakao-ink); font-size: 12.5px; font-weight: 700;
    min-height: 44px; box-sizing: border-box;
}
.ld-kakao-btn:hover { color: var(--ld-kakao-ink); filter: brightness(.95); }
/* ⚠️ 옛 `.footer-bottom` 이 **두 벌**이고 뒤엣것이 `flex-direction:column; align-items:center` 다.
      `flex-direction` 을 안 적으면 세로로 쌓여 [맨 위로]가 아래로 떨어진다 — 명시할 것.
      `.footer-info-container` / `.footer-info-row` 도 `text-align:center` 라 같이 되돌린다. */
.footer-bottom {
    max-width: 1000px; margin: 0 auto; padding: 20px 0 0;
    display: flex; flex-direction: row; align-items: flex-start; justify-content: space-between;
    gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1);
}
.footer-info-container { flex: 1; min-width: 420px; width: auto; text-align: left; }
.footer-info-row { font-size: var(--ld-fs-xxs); line-height: 2; color: rgba(255,255,255,.62); margin: 0; text-align: left; }
.back-to-top {
    flex: none; padding: 10px 16px; border-radius: 9px; border: 1px solid rgba(255,255,255,.24);
    background: transparent; color: rgba(255,255,255,.82); font-size: var(--ld-fs-xs); font-weight: 600;
    cursor: pointer; font-family: inherit; min-height: 44px;
}
.back-to-top:hover { background: rgba(255,255,255,.08); color: #fff; }

/* 업무 제휴 배너는 밝은 랜딩에 맞춰 톤만 정리 */
.partner { background: #fff; border-top: 1px solid rgba(20,40,80,.08); }

/* ============================================================
   모바일 — 목업 5a. ⛔가로 스크롤이 생기면 그건 버그다(375/390/768 확인)
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --ld-fs-h1: 27px;
        --ld-fs-h2: 21px;
        --ld-fs-h3: 16.5px;
        --ld-fs-lead: 14px;
        --ld-fs-body: 13px;
        --ld-pad-x: 20px;
    }

    .nav { padding: 13px 18px; }
    .nav-logo { font-size: 17px; }
    .nav-logo img { height: 22px; }
    /* 접힌 메뉴 안에서는 CTA 가 전체 폭 */
    .nav-links a.ld-nav-cta { display: block; text-align: center; }
    /* 접힌 메뉴 밖에서 **항상 보이는** 무료체험 (목업 5a). ☰ 왼쪽에 둔다 */
    .ld-nav-cta-m {
        display: inline-flex; align-items: center; justify-content: center;
        padding: 8px 14px; border-radius: 9px; background: var(--ld-blue);
        color: #fff; font-size: 12.5px; font-weight: 700; text-decoration: none;
        min-height: 40px; margin-left: auto; margin-right: 10px;
    }

    .ld-sec { padding: 32px var(--ld-pad-x); }
    .ld-fit { padding: 22px var(--ld-pad-x) 20px; }
    /* 라벨 칸을 고정하면 폰에서 본문이 눌린다 → 라벨을 위로 */
    .ld-op { grid-template-columns: 1fr; gap: 9px; padding: 16px 16px; }
    .ld-op-tag { justify-self: start; padding: 5px 12px; }
    .ld-fit-chip { padding: 6px 11px; font-size: 12px; }
    /* 손가락으로 누르는 화면 — 버튼은 최소 44px (실측 38~41px 이던 것들이 있었다) */
    .ld-btn, .pricing-btn, .ld-nav-cta, .ld-kakao-btn { min-height: 44px; }
    .ld-grid-3, .ld-grid-2, .ld-pricing-extra, .pricing-grid,
    .ld-term-top, .ld-ent-grid { grid-template-columns: 1fr !important; }

    /* 히어로 — 1열. 캡처를 카피 아래로 */
    .ld-hero-sec { padding: 84px var(--ld-pad-x) 32px; }
    .ld-hero { grid-template-columns: 1fr; gap: 0; }
    .ld-hero-visual { max-width: none; margin-left: 0; }
    .ld-hero h1 { line-height: 1.35; letter-spacing: -.9px; }
    .ld-hero-actions { display: block; }
    .ld-hero-actions .ld-btn--fill { display: block; width: 100%; padding: 15px; margin-bottom: 9px; }
    .ld-hero-demos { display: flex; gap: 8px; }
    .ld-hero-demos .ld-btn { flex: 1; padding: 12px 8px; font-size: 12.5px; }
    .ld-hero-note { text-align: center; }
    .ld-hero-visual { margin-bottom: 16px; }
    .ld-metrics { justify-content: center; margin-top: 0; }
    /* 🔴 회차 관리 표는 **줄이지 않는다** — 읽으려고 넣은 캡처다. 대신 옆으로 민다 */
    .ld-hero-visual { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .ld-hero-shot { min-width: 560px; }

    /* 타임라인 — 시각을 제목 위로, '자동 처리' 박스는 캡처 아래로(폭 고정 해제) */
    .ld-step { grid-template-columns: 1fr; gap: 4px; padding-left: 20px; margin-left: 8px; }
    .ld-step::before { left: -8px; width: 14px; height: 14px; }
    .ld-step-time { margin-left: 0; font-size: 13.5px; }
    .ld-step-row { flex-direction: column; gap: 10px; }
    /* 🔴 `.ld-step-row` 가 세로 flex 가 되는 순간 `flex:1` 이 **높이 축**을 먹어
          `height` 를 무시하고 원본 크기(800px+)로 늘어난다 → `flex:none` 을 먼저 끈다. */
    .ld-step-shot, .ld-step-shot--full { flex: none; width: 100%; height: 200px; }
    .ld-auto { width: auto; }

    /* 상품군 — 세로 나열. ⛔가로 스와이프 금지(비교·접근성) */
    .pricing-card.popular { margin-top: 14px; }

    /* 신청 폼 */
    .cta { padding: 32px var(--ld-pad-x) 36px; }
    .cta .cta-card { padding: 24px 18px; }

    /* 포털 캡처는 폰에서도 세로비 유지 */
    .ld-portal-shot img { max-width: 180px; }
    .ld-admin-demo { flex-direction: column; align-items: stretch; }
    .ld-admin-demo .ld-spacer { display: none; }
    .ld-admin-demo .ld-btn { width: 100%; }

    /* 푸터 — 현행 display:none 대신 **2열로 살린다** */
    .footer { padding: 32px 20px 26px; }
    .footer-nav { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 22px 16px; }
    .footer-bottom { flex-direction: column; align-items: stretch; gap: 16px; }
    .footer-bottom { flex-direction: column; }
    .footer-info-container { min-width: 0; width: 100%; }
    .footer-info-row { font-size: 11px; line-height: 1.8; }
    .back-to-top { width: 100%; }
    /* 카카오톡 문의는 푸터 최상단 전체 폭 */
    .ld-footer-kakao-m { display: block; }
    .ld-footer-kakao-m .ld-kakao-btn { display: flex; width: 100%; margin: 0 0 22px; }
    .ld-footer-contact .ld-kakao-btn { display: none; }
}


@media (max-width: 600px) {
    /* 옛 규칙이 여기서 푸터 링크를 통째로 숨겼다 — 되살린다 */
    .footer-nav { display: grid !important; }
}

@media (max-width: 360px) {
    :root { --ld-fs-h1: 25px; }
    .ld-hero-demos { flex-direction: column; }
}
