/* ─────────────────────────────────────────────────────────────
   메인 (launch 프로모션 디자인, 260915)

   기획팀이 넘긴 gio-launch-event-adaptive-v1 의 팔레트·타이포를 그대로 옮겼다.
   GIO 공용 토큰(보라 계열)과 색이 다르므로 **전부 `.launch-home` 하위로 스코프**한다.
   헤더·푸터는 이 파일의 영향을 받지 않는다.

   클래스 접두사 `lh-` = launch home.
   구 메인의 home.css 는 손대지 않았다 — archive/main-20260915.blade.php 가 쓴다.
   ───────────────────────────────────────────────────────────── */

.launch-home {
    --lh-bg: #f7f8fb;
    --lh-card: #fff;
    --lh-ink: #111827;
    --lh-muted: #637083;
    --lh-line: #dfe5ee;
    --lh-blue: #2c52ff;
    --lh-blue-dark: #1836c7;
    --lh-soft: #edf1ff;
    --lh-lime: #dfff65;
    --lh-dark: #0b1020;
    --lh-sale: #ff5b35;
    --lh-green: #087f68;
    --lh-gold: #ffd75c;
    --lh-shadow: 0 18px 60px rgba(23, 35, 73, 0.12);

    /* 제품 화면 목업(히어로 스코어카드 · 시험 브라우저 창) 전용 색.
       이 안쪽은 "GIO 화면을 찍어 붙인 그림" 이라 페이지 팔레트와 따로 논다 —
       흰 카드 위 회색 인셋, 옅은 구분선 같은 값이 통으로 들어 있다.
       그 값들을 토큰으로 빼야 다크에서 흰 판이 그대로 떠 있지 않는다. */
    --lh-mock-surface: #fff;
    --lh-mock-inset: #f5f7fb;
    --lh-mock-ink: #111827;
    --lh-mock-muted: #6d7888;
    --lh-mock-line: #dfe5ee;
    --lh-mock-note: #f5f7ff;
    --lh-mock-note-ink: #445065;
    --lh-mock-good: #e8f6f2;

    /* 파랑을 둘로 나눈다 — 면(버튼 배경)과 글자는 요구 대비가 다르다.
       --lh-blue 를 어두운 배경 위 글자에 그대로 쓰면 대비가 2점대로 떨어져 읽기 힘들다.
       배경으로 쓰는 자리는 --lh-blue, 글자·아이콘으로 쓰는 자리는 --lh-accent. */
    --lh-accent: var(--lh-blue);

    background: var(--lh-bg);
    color: var(--lh-ink);
    font-family: Manrope, "Pretendard", system-ui, -apple-system, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

/* 다크 테마 — launch 디자인은 라이트 전용이라 배경/카드/선만 뒤집는다.
   정밀 튜닝은 후속 작업. 최소한 글자가 안 보이는 사태는 막는다. */
[data-theme='dark'] .launch-home {
    --lh-bg: #0d1117;
    --lh-card: #161b26;
    --lh-ink: #e8edf5;
    --lh-muted: #9aa7bb;
    --lh-line: #263043;
    --lh-soft: #1b2440;
    /* 글자용 파랑만 끌어올린다. 버튼 배경(--lh-blue)은 흰 글자를 얹으므로 그대로 둔다. */
    --lh-accent: #8aa4ff;

    /* 목업도 다크로. 페이지 배경(--lh-bg)보다 한 단 밝게 둬서 "화면 안의 화면" 으로 읽히게 한다. */
    --lh-mock-surface: #141b28;
    --lh-mock-inset: #1b2333;
    --lh-mock-ink: #e8edf5;
    --lh-mock-muted: #93a1b8;
    --lh-mock-line: #2b3547;
    --lh-mock-note: #1a2439;
    --lh-mock-note-ink: #c0cce0;
    --lh-mock-good: #12332c;
}

.launch-home * {
    box-sizing: border-box;
}

/* typography.css 의 `h1..h6 { color: var(--gio-color-text-strong) }` 가 요소 선택자라
   섹션 배경색만 바꿔서는 이기지 못한다 — launch 영역의 제목은 언제나 문맥 색을 따르게
   못박는다. 이걸 빼면 어두운 섹션에서 제목이 배경에 묻혀 안 보인다. */
.launch-home :is(h1, h2, h3, h4, h5, h6) {
    color: inherit;
}

/* 링크는 문맥 색을 따른다. 단, 버튼은 자기 색을 갖는 요소라 여기서 제외한다 —
   `.launch-home a` 는 `.lh-btn--*` 보다 명시도가 높아서(클래스+타입 vs 클래스),
   제외하지 않으면 파란 배경 CTA 의 글자가 배경색을 그대로 물려받아 사라진다. */
.launch-home a:not([class*='lh-btn']) {
    color: inherit;
}

.launch-home a {
    text-decoration: none;
}

.launch-home img {
    display: block;
    max-width: 100%;
}

.lh-wrap {
    width: min(100% - 24px, 1120px);
    margin-inline: auto;
}

/* ── 버튼 ───────────────────────────────────────────────── */
.lh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 14px 22px;
    font-weight: 800;
    font-size: 16px;
    border: 1px solid transparent;
    transition: 0.18s;
    cursor: pointer;
}

.lh-btn--primary {
    background: var(--lh-blue);
    color: #fff;
    box-shadow: 0 10px 28px rgba(44, 82, 255, 0.25);
}

.lh-btn--primary:hover {
    background: var(--lh-blue-dark);
    color: #fff;
    transform: translateY(-1px);
}

.lh-btn--ghost {
    border-color: var(--lh-line);
    background: var(--lh-card);
    color: var(--lh-ink);
}

.lh-btn--light {
    background: #fff;
    color: var(--lh-dark);
}

.lh-btn--block {
    width: 100%;
}

/* ── 런치 바 ────────────────────────────────────────────── */
.lh-blast {
    color: #fff;
    background:
        radial-gradient(circle at 12% 22%, rgba(255, 215, 92, 0.25), transparent 26%),
        radial-gradient(circle at 88% 8%, rgba(44, 82, 255, 0.18), transparent 18%),
        linear-gradient(110deg, #081125 0%, #142655 45%, #1f4dff 100%);
    color: #fff;
    padding: 14px 0;
    position: relative;
    overflow: hidden;
}

.lh-blast::before,
.lh-blast::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    opacity: 0.18;
    pointer-events: none;
}

.lh-blast::before {
    width: 240px;
    height: 240px;
    background: #fff;
    top: -100px;
    left: -60px;
}

.lh-blast::after {
    width: 320px;
    height: 320px;
    background: #4c6bff;
    right: -120px;
    bottom: -140px;
}

.lh-blast__row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.lh-blast__copy {
    display: grid;
    gap: 12px;
    align-items: start;
}

.lh-blast__copy h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.lh-flash {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 999px;
    font: 700 11px ui-monospace, SFMono-Regular, monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    justify-self: start;
}

.lh-flash i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lh-gold);
    box-shadow: 0 0 0 4px rgba(255, 215, 92, 0.18);
}

.lh-sale {
    display: grid;
    gap: 8px;
    justify-items: start;
    width: 100%;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, #2e5bff, #173be0);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lh-sale__small {
    font: 700 11px ui-monospace, SFMono-Regular, monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d7e1ff;
}

.lh-sale__big {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
    color: #fff;
}

.lh-sale__big em {
    font-style: normal;
    color: var(--lh-gold);
}

.lh-sale__note {
    font-size: 13px;
    color: #d7e1ff;
    line-height: 1.45;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 10px 12px;
    width: 100%;
}

.lh-sale__note b {
    color: #fff;
}

/* ── 히어로 ─────────────────────────────────────────────── */
.lh-hero {
    padding: 34px 0 44px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--lh-bg) 0%, var(--lh-soft) 100%);
}

.lh-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.lh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--lh-card);
    border: 1px solid var(--lh-line);
    border-radius: 999px;
    padding: 7px 12px;
    font: 500 11px ui-monospace, SFMono-Regular, monospace;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.lh-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lh-sale);
    box-shadow: 0 0 0 4px rgba(255, 91, 53, 0.18);
}

.lh-hero__title {
    font-size: clamp(34px, 10vw, 38px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin: 16px 0 18px;
    max-width: 790px;
}

.lh-hero__sub {
    font-size: 16px;
    line-height: 1.6;
    color: var(--lh-muted);
    max-width: 640px;
}

.lh-hero__cta {
    display: grid;
    gap: 10px;
    width: 100%;
    margin-top: 24px;
}

.lh-trust {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    color: var(--lh-muted);
    font-size: 13px;
    font-weight: 600;
}

.lh-trust span::before {
    content: '✓';
    color: var(--lh-green);
    font-weight: 800;
    margin-right: 7px;
}

/* 결과 카드 목업 */
.lh-scorecard {
    position: relative;
    background: var(--lh-dark);
    border-radius: 24px;
    padding: 14px;
    color: #fff;
    box-shadow: 0 28px 90px rgba(11, 16, 32, 0.28);
}

.lh-scorecard__inner {
    background: var(--lh-mock-surface);
    color: var(--lh-mock-ink);
    border-radius: 18px;
    overflow: hidden;
}

.lh-scorecard__top {
    display: flex;
    justify-content: space-between;
    padding: 15px 18px;
    background: var(--lh-mock-inset);
    border-bottom: 1px solid var(--lh-mock-line);
    font: 500 11px ui-monospace, SFMono-Regular, monospace;
    color: var(--lh-mock-muted);
}

.lh-scorecard__top b {
    color: var(--lh-green);
}

.lh-scorecard__body {
    padding: 20px;
}

.lh-bandrow {
    display: grid;
    gap: 10px;
    align-items: start;
    border-bottom: 1px solid var(--lh-mock-line);
    padding-bottom: 17px;
}

.lh-band {
    font: 500 46px ui-monospace, SFMono-Regular, monospace;
    line-height: 1;
}

.lh-band small {
    font: 500 11px Manrope, sans-serif;
    color: var(--lh-mock-muted);
    display: block;
    margin-top: 7px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.lh-delta {
    font-size: 12px;
    background: var(--lh-mock-good);
    color: var(--lh-green);
    padding: 8px 10px;
    border-radius: 9px;
    font-weight: 800;
    justify-self: start;
}

.lh-annot {
    margin-top: 17px;
    display: grid;
    gap: 10px;
}

.lh-note {
    border-left: 3px solid var(--lh-blue);
    background: var(--lh-mock-note);
    border-radius: 0 10px 10px 0;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--lh-mock-note-ink);
}

.lh-note b {
    color: var(--lh-mock-ink);
    display: block;
    margin-bottom: 3px;
}

.lh-scribble {
    position: absolute;
    right: 8px;
    top: -18px;
    background: var(--lh-lime);
    color: var(--lh-dark);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 800;
    font-size: 13px;
    line-height: 1.08;
    transform: rotate(9deg);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
    z-index: 1;
}

.lh-scribble strong {
    font-size: 22px;
}

/* ── 섹션 공통 ──────────────────────────────────────────── */
.lh-section {
    padding: 56px 0;
}

.lh-section--white {
    background: var(--lh-card);
}

.lh-section--tint {
    background: var(--lh-soft);
}

.lh-section--dark {
    background: var(--lh-dark);
    color: #fff;
}

/* 어두운 카드는 자기 색을 직접 갖는다 — 섹션 밖으로 옮겨져도 제목이 묻히지 않게.
   (.lh-scorecard__inner 는 흰 카드라 아래에서 다시 어두운 글자로 되돌린다.) */
.lh-proof-stat,
.lh-rubric,
.lh-close {
    color: #fff;
}

.lh-head {
    max-width: 760px;
    margin-bottom: 26px;
}

.lh-kicker {
    font: 500 11px ui-monospace, SFMono-Regular, monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lh-accent);
    margin-bottom: 12px;
}

.lh-section--dark .lh-kicker {
    color: var(--lh-lime);
}

.lh-head h2 {
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.035em;
    margin: 0 0 15px;
}

.lh-head p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--lh-muted);
    margin: 0;
}

.lh-section--dark .lh-head p {
    color: #aeb9cf;
}

/* ── WHY ───────────────────────────────────────────────── */
.lh-pain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.lh-pain {
    border: 1px solid var(--lh-line);
    border-radius: 18px;
    padding: 22px;
    background: var(--lh-card);
}

.lh-pain__n {
    font: 500 12px ui-monospace, SFMono-Regular, monospace;
    color: var(--lh-sale);
}

.lh-pain h3 {
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.025em;
    margin: 28px 0 10px;
}

.lh-pain p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--lh-muted);
    margin: 0;
}

/* ── PROOF ─────────────────────────────────────────────── */
.lh-proof-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.lh-proof-stat {
    border: 1px solid #27304a;
    border-radius: 22px;
    padding: 20px;
    background: #111831;
}

.lh-proof-stat__big {
    font: 500 clamp(48px, 12vw, 92px) ui-monospace, SFMono-Regular, monospace;
    line-height: 1;
    color: var(--lh-lime);
}

.lh-proof-stat h3 {
    font-size: 18px;
    line-height: 1.35;
    margin: 16px 0 10px;
}

.lh-proof-stat p {
    color: #aeb9cf;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.lh-rubrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.lh-rubric {
    padding: 20px;
    border-radius: 18px;
    background: #151d38;
    border: 1px solid #27304a;
}

.lh-rubric b {
    display: block;
    font-size: 14px;
    margin-bottom: 7px;
}

.lh-rubric span {
    color: #9facbf;
    font-size: 15px;
    line-height: 1.6;
}

/* ── FEEDBACK 캐러셀 ────────────────────────────────────── */
.lh-carousel {
    position: relative;
    background: linear-gradient(180deg, #f6f9ff 0%, #eef3ff 100%);
    border: 1px solid #d9e2f3;
    border-radius: 22px;
    padding: 14px 14px 76px;
    box-shadow: var(--lh-shadow);
    overflow: hidden;
}

[data-theme='dark'] .lh-carousel {
    background: linear-gradient(180deg, #131a2b 0%, #10182c 100%);
    border-color: #263043;
}

/* 슬라이드 전환 — 크로스페이드.
   260916: 전에는 비활성 슬라이드를 `display:none` 으로 감췄는데 문제가 둘이었다.
     1) `display:none` 안의 `loading="lazy"` 이미지는 **아예 받지 않는다**.
        슬라이드가 처음 보이는 순간 빈 프레임 → 이미지가 튀어 들어와 깜빡였다.
     2) 나가는 슬라이드가 즉시 사라지고 들어오는 쪽이 opacity .4 에서 시작해,
        교차 없이 한 번 번쩍였다.
   이제 track 의 **같은 grid 칸에 전부 겹쳐** 두고 opacity 로만 교차시킨다.
   `visibility:hidden` 은 레이아웃 박스를 남기므로 이미지가 정상적으로 선로딩된다. */
.lh-carousel__track {
    display: grid;
}

.lh-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    /* 감출 때는 페이드가 끝난 뒤에 visibility 를 넘긴다 (0s 지연을 전환시간만큼 준다) */
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.lh-slide.is-active {
    opacity: 1;
    visibility: visible;
    /* 들어오는 쪽이 위에 깔려야 교차 중에 아래 슬라이드가 비쳐 보이지 않는다 */
    z-index: 1;
    transition: opacity 0.4s ease, visibility 0s;
}

/* 모션을 줄이도록 설정한 사용자에게는 페이드 없이 '컷' 으로 바꾼다. */
@media (prefers-reduced-motion: reduce) {
    .lh-slide,
    .lh-slide.is-active {
        transition: none;
    }
}

.lh-slide__frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #cfdaef;
    box-shadow: 0 18px 40px rgba(37, 60, 128, 0.14);
    height: 360px;
}

.lh-slide__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* 스크린샷 테마 전환 — 라이트/다크 두 장을 깔고 하나만 보인다.
   `display:none` 이 아니라 겹쳐 두고 감추면 전환 시 깜빡임이 없고,
   lazy 로딩이 걸린 쪽은 보일 때까지 받지 않는다. */
.lh-shot--dark {
    display: none;
}

[data-theme='dark'] .launch-home .lh-shot--light {
    display: none;
}

[data-theme='dark'] .launch-home .lh-shot--dark {
    display: block;
}

.lh-slide__meta {
    display: grid;
    gap: 10px;
    align-items: start;
    margin-top: 16px;
}

.lh-slide__copy h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.lh-slide__copy p {
    margin: 0;
    color: var(--lh-muted);
    font-size: 15px;
    line-height: 1.6;
    max-width: 56ch;
}

.lh-slide__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: var(--lh-card);
    border: 1px solid #d3dcf0;
    color: var(--lh-accent);
    padding: 8px 12px;
    font: 700 11px ui-monospace, SFMono-Regular, monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    justify-self: start;
}

.lh-slide__tag i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lh-accent);
}

.lh-arrow {
    position: absolute;
    top: auto;
    bottom: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #d7e0f4;
    background: var(--lh-card);
    display: grid;
    place-items: center;
    font-size: 24px;
    color: #304b98;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(14, 30, 84, 0.12);
    z-index: 2;
}

.lh-arrow--prev {
    left: 16px;
}

.lh-arrow--next {
    right: 16px;
}

.lh-carousel__controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.lh-dots {
    display: flex;
    gap: 8px;
}

.lh-dot-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #cfd9ef;
    cursor: pointer;
    padding: 0;
}

.lh-dot-btn.is-active {
    background: var(--lh-accent);
    box-shadow: 0 0 0 5px rgba(44, 82, 255, 0.12);
}

/* ── REAL EXAM ─────────────────────────────────────────── */
.lh-real-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

.lh-browser {
    background: var(--lh-mock-surface);
    color: var(--lh-mock-ink);
    border: 1px solid var(--lh-mock-line);
    border-radius: 20px;
    box-shadow: var(--lh-shadow);
    overflow: hidden;
}

.lh-browser__bar {
    padding: 12px 15px;
    background: var(--lh-mock-inset);
    border-bottom: 1px solid var(--lh-mock-line);
    display: flex;
    gap: 7px;
}

.lh-browser__bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lh-mock-line);
}

.lh-exam {
    padding: 24px;
}

.lh-exam__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--lh-mock-muted);
}

.lh-timer {
    font: 500 13px ui-monospace, SFMono-Regular, monospace;
    color: var(--lh-sale);
}

.lh-exam__q {
    margin-top: 20px;
    font-size: 15px;
    font-weight: 700;
}

.lh-essay {
    margin-top: 11px;
    background: var(--lh-mock-inset);
    border: 1px solid var(--lh-mock-line);
    border-radius: 12px;
    padding: 16px;
    color: var(--lh-mock-note-ink);
    font-size: 13px;
    line-height: 1.7;
    min-height: 150px;
}

.lh-exam__foot {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 11px;
    color: var(--lh-mock-muted);
}

.lh-word {
    color: var(--lh-green);
    font-weight: 800;
}

.lh-features {
    display: grid;
    gap: 14px;
}

.lh-feat {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
}

.lh-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--lh-card);
    display: grid;
    place-items: center;
    font: 500 12px ui-monospace, SFMono-Regular, monospace;
    color: var(--lh-accent);
    border: 1px solid #d8def0;
}

.lh-feat b {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.lh-feat span {
    font-size: 15px;
    line-height: 1.6;
    color: var(--lh-muted);
}

/* ── AI CREDITS ────────────────────────────────────────── */
.lh-credits-panel {
    border: 1px solid var(--lh-line);
    border-radius: 22px;
    padding: 24px;
    background: var(--lh-bg);
}

/* 공용 컴포넌트가 launch 팔레트를 쓰도록 토큰만 덮어쓴다 */
.lh-credits-panel .ai-credits {
    --ai-credits-surface: transparent;
    --ai-credits-line: var(--lh-line);
    --ai-credits-ink: var(--lh-ink);
    --ai-credits-muted: var(--lh-muted);
    --ai-credits-accent: var(--lh-accent);
}

.lh-credits-panel .ai-credits__title:empty {
    display: none;
}

.lh-credits-panel .ai-credits__rules li {
    background: var(--lh-card);
}

/* ── PLANS ─────────────────────────────────────────────── */
.lh-plan-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.lh-plan {
    border: 1px solid var(--lh-line);
    border-radius: 20px;
    padding: 24px;
    background: var(--lh-card);
    display: flex;
    flex-direction: column;
}

.lh-plan.is-best {
    border: 2px solid var(--lh-blue);
    box-shadow: 0 0 0 5px var(--lh-soft), var(--lh-shadow);
}

.lh-plan__tag {
    font: 500 10px ui-monospace, SFMono-Regular, monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7c8797;
}

.lh-plan.is-best .lh-plan__tag {
    color: var(--lh-accent);
}

.lh-plan h3 {
    font-size: 20px;
    letter-spacing: -0.025em;
    margin: 10px 0 16px;
}

.lh-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.lh-price s {
    font-size: 15px;
    color: #9ca5b3;
}

.lh-price strong {
    font: 500 36px ui-monospace, SFMono-Regular, monospace;
}

.lh-save {
    display: inline-flex;
    align-self: flex-start;
    background: #fff0eb;
    color: var(--lh-sale);
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    padding: 5px 8px;
    margin-top: 7px;
}

.lh-plan__list {
    list-style: none;
    padding: 0;
    margin: 22px 0 24px;
    display: grid;
    gap: 10px;
    color: var(--lh-muted);
    font-size: 15px;
    line-height: 1.5;
    flex: 1;
}

.lh-plan__list li::before {
    content: '✓';
    color: var(--lh-green);
    font-weight: 800;
    margin-right: 9px;
}

.lh-plan-note {
    margin: 20px 0 0;
    font-size: 14px;
    color: var(--lh-muted);
}

.lh-plan-note a {
    color: var(--lh-accent);
    font-weight: 700;
}

.lh-other {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
}

.lh-other__card {
    display: block;
    border: 1px solid var(--lh-line);
    border-radius: 18px;
    padding: 20px;
    background: var(--lh-card);
    transition: 0.18s;
}

.lh-other__card:hover {
    border-color: var(--lh-blue);
    transform: translateY(-2px);
}

.lh-other__card b {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
}

.lh-other__card span {
    display: block;
    font-size: 14px;
    line-height: 1.55;
    color: var(--lh-muted);
}

.lh-other__card em {
    display: inline-block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 800;
    font-size: 13px;
    color: var(--lh-accent);
}

/* ── HOW IT WORKS ──────────────────────────────────────── */
.lh-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.lh-step {
    background: var(--lh-bg);
    border: 1px solid var(--lh-line);
    border-radius: 18px;
    padding: 22px;
}

.lh-step__n {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lh-step p {
    color: var(--lh-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 9px 0 0;
}

/* ── CLOSE ─────────────────────────────────────────────── */
.lh-close {
    background: var(--lh-blue);
    color: #fff;
    text-align: center;
    padding: 56px 0;
}

.lh-close h2 {
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.04em;
    max-width: 800px;
    margin: 0 auto;
}

.lh-close p {
    color: #dce3ff;
    font-size: 16px;
    line-height: 1.6;
    max-width: 620px;
    margin: 18px auto 28px;
}

.lh-close .lh-trust {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #dce3ff;
    margin-top: 22px;
}

/* ── 태블릿 이상 ────────────────────────────────────────── */
@media (min-width: 768px) {
    .lh-wrap {
        width: min(100% - 40px, 1120px);
    }

    .lh-section,
    .lh-close {
        padding: 72px 0;
    }

    .lh-blast__row {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
        gap: 20px;
    }

    .lh-blast__copy {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    .lh-blast__copy h2 {
        font-size: clamp(25px, 4.2vw, 42px);
        line-height: 1.02;
        letter-spacing: -0.05em;
    }

    .lh-sale {
        max-width: 340px;
        justify-self: end;
    }

    .lh-sale__big {
        font-size: clamp(28px, 4.6vw, 52px);
        line-height: 0.94;
    }

    .lh-hero {
        padding: 48px 0 58px;
    }

    .lh-hero__title {
        font-size: clamp(43px, 6.1vw, 72px);
        line-height: 0.99;
        letter-spacing: -0.055em;
        margin: 20px 0 22px;
    }

    .lh-hero__sub {
        font-size: 18px;
    }

    .lh-hero__cta {
        display: flex;
        flex-wrap: wrap;
        width: auto;
    }

    .lh-trust {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .lh-scorecard {
        padding: 20px;
        border-radius: 28px;
    }

    .lh-scribble {
        width: 116px;
        height: 116px;
        right: -26px;
        top: -26px;
        font-size: inherit;
    }

    .lh-scribble strong {
        font-size: 28px;
    }

    .lh-band {
        font-size: 56px;
    }

    .lh-bandrow {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
    }

    .lh-head h2 {
        font-size: clamp(31px, 4vw, 48px);
        line-height: 1.08;
        letter-spacing: -0.045em;
    }

    .lh-head p {
        font-size: 17px;
    }

    .lh-pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lh-pain h3 {
        font-size: 21px;
        line-height: 1.25;
    }

    .lh-pain p,
    .lh-proof-stat p,
    .lh-rubric span,
    .lh-feat span,
    .lh-slide__copy p,
    .lh-step p,
    .lh-plan__list {
        font-size: 14px;
    }

    .lh-rubrics {
        grid-template-columns: 1fr 1fr;
    }

    .lh-proof-stat h3 {
        font-size: 23px;
    }

    .lh-carousel {
        padding: 22px 56px 78px;
    }

    .lh-slide__frame {
        height: 620px;
    }

    .lh-slide__meta {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 16px;
    }

    .lh-slide__copy h3 {
        font-size: 21px;
    }

    .lh-arrow {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        width: 46px;
        height: 46px;
    }

    .lh-arrow--prev {
        left: 18px;
    }

    .lh-arrow--next {
        right: 18px;
    }

    .lh-carousel__controls {
        bottom: 22px;
    }

    .lh-plan-grid,
    .lh-steps,
    .lh-other {
        grid-template-columns: repeat(2, 1fr);
    }

    .lh-close h2 {
        font-size: clamp(34px, 5vw, 58px);
        line-height: 1.02;
        letter-spacing: -0.05em;
    }

    .lh-close p {
        font-size: 17px;
    }
}

/* ── 데스크톱 ───────────────────────────────────────────── */
@media (min-width: 1024px) {
    .lh-section,
    .lh-close {
        padding: 86px 0;
    }

    .lh-hero__grid {
        grid-template-columns: 1.02fr 0.98fr;
        gap: 58px;
    }

    .lh-scorecard {
        transform: rotate(1deg);
    }

    .lh-proof-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 24px;
    }

    .lh-real-grid {
        grid-template-columns: 1fr 1fr;
        gap: 54px;
    }

    .lh-pain-grid,
    .lh-steps,
    .lh-other {
        grid-template-columns: repeat(3, 1fr);
    }

    .lh-carousel {
        padding: 24px 74px 74px;
    }

    .lh-slide__frame {
        height: 700px;
    }
}

/* 마감 문구 — 전역 프로모션 바를 메인에서 껐으므로 그 역할을 launch 바가 진다 */
.lh-sale__deadline {
    font: 700 11px ui-monospace, SFMono-Regular, monospace;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lh-gold);
}

/* ─────────────────────────────────────────────────────────────
   다크 테마 보정 (260916)

   위 팔레트는 토큰으로 뒤집히지만, **제품 화면을 흉내 낸 목업**과 흰 배경을
   전제로 박아 둔 몇몇 값은 토큰을 타지 않는다. 여기서 따로 잡는다.

   목업(스코어카드·브라우저 창)의 색은 `--lh-mock-*` 토큰이 따로 진다 — 위 팔레트 참조.
   처음엔 목업을 다크에서도 밝게 뒀는데, 어두운 페이지에 흰 판 두 장이 떠 있는 모양이
   훨씬 어색해서 철회했다(260916 피드백).

   중첩 문법은 쓰지 않는다 — 이 프로젝트의 CSS 는 전부 평면 선택자다.
   ───────────────────────────────────────────────────────────── */

/* 캐러셀 화살표 — 밝은 배경 전제라 어두운 카드 위에서 남색 글자가 묻혔다 */
[data-theme='dark'] .launch-home .lh-arrow {
    background: #1e2738;
    border-color: #33405c;
    color: #cdd9f7;
}

[data-theme='dark'] .launch-home .lh-arrow:hover {
    background: #27324a;
}

/* 밝은 배경을 전제로 박아 둔 테두리들 */
[data-theme='dark'] .launch-home .lh-slide__frame,
[data-theme='dark'] .launch-home .lh-slide__tag,
[data-theme='dark'] .launch-home .lh-ico {
    border-color: #33405c;
}

[data-theme='dark'] .launch-home .lh-dot-btn {
    background: #3a465f;
}
