﻿/* =========================================================
   BizPino 홍보 페이지 — 프로토타입 스타일
   - 색·폰트·카드는 본 서비스(Modernize) 토큰을 재사용해 톤을 맞춘다.
   - 커스텀 media query를 쓰지 않는다. 반응형은 Bootstrap 유틸리티(col-*, d-*-*, order-lg-*)로 처리.
   - 유동 크기가 필요한 곳은 clamp()로 해결한다.
   ========================================================= */

:root {
    --lp-primary: #5D87FF;
    --lp-primary-dark: #4570EA;
    --lp-primary-light: #ECF2FF;
    /* ④ 두 레이어 — 과제 축에 쓰는 보라 계열(파랑과 짝지어 두 축을 색으로 구분) */
    --lp-accent2: #7C5CFF;
    --lp-accent2-dark: #5B3FD6;
    --lp-accent2-light: #EFEBFF;
    --lp-heading: #2A3547;
    --lp-body: #5A6A85;
    --lp-muted: #6c757d;
    --lp-border: #dfe5ef;
    --lp-border-light: #ebf1f6;
    --lp-surface: #F6F9FC;
    --lp-radius: 7px;
    --lp-max-width: 1200px;
    --lp-section-gap: clamp(56px, 7vw, 104px);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', 'Malgun Gothic', sans-serif;
    color: var(--lp-body);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .lp-heading {
    color: var(--lp-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a { text-decoration: none; }

img { max-width: 100%; height: auto; }

html { scroll-behavior: smooth; }

/* ---------- 레이아웃 ---------- */

.lp-container {
    max-width: var(--lp-max-width);
    margin-inline: auto;
    /* Bootstrap 거터의 음수 마진을 흡수한다. 하한 16px 은 g-4(-12px)까지 감당한다.
       모든 폭에 g-5 를 거는 행은 만들지 말 것(g-4 g-lg-5 로 쓴다). */
    padding-inline: clamp(16px, 4.5vw, 24px);
}

.lp-section {
    padding-block: var(--lp-section-gap);
}

.lp-section-surface { background-color: var(--lp-surface); }

.lp-section-title {
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    line-height: 1.35;
    margin-bottom: 12px;
}

.lp-section-lead {
    font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
    line-height: 1.75;
    color: var(--lp-body);
    margin-bottom: 0;
}

.lp-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--lp-primary);
    background-color: var(--lp-primary-light);
    border-radius: 999px;
    padding: 5px 14px;
    margin-bottom: 16px;
}

/* 앵커 이동 시 sticky nav에 제목이 가리지 않도록 */
.lp-anchor { scroll-margin-top: 84px; }

/* ---------- 카드 (본 서비스 카드 규격) ---------- */

.lp-card {
    background-color: #fff;
    border: 1px solid var(--lp-border-light);
    border-radius: var(--lp-radius);
    box-shadow: 0 2px 6px rgba(42, 53, 71, 0.06);
    padding: 28px;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.lp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(42, 53, 71, .12);
}

.lp-card h3 { font-weight: 800; }

.lp-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--lp-radius);
    background-color: var(--lp-primary-light);
    color: var(--lp-primary);
    font-size: 24px;
    margin-bottom: 18px;
}

/* ---------- 버튼 ---------- */

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    border-radius: var(--lp-radius);
    padding: 12px 24px;
    border: 1px solid transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
    white-space: nowrap;
}

.lp-btn-primary {
    background-color: var(--lp-primary);
    border-color: var(--lp-primary);
    color: #fff;
}

.lp-btn-primary:hover {
    background-color: var(--lp-primary-dark);
    border-color: var(--lp-primary-dark);
    color: #fff;
}

.lp-btn-outline {
    background-color: #fff;
    border-color: var(--lp-border);
    color: var(--lp-heading);
}

.lp-btn-outline:hover {
    border-color: var(--lp-primary);
    color: var(--lp-primary);
}

.lp-btn-light {
    background-color: #fff;
    border-color: #fff;
    color: var(--lp-primary);
}

.lp-btn-light:hover {
    background-color: var(--lp-primary-light);
    border-color: var(--lp-primary-light);
    color: var(--lp-primary-dark);
}

.lp-btn-sm { padding: 9px clamp(12px, 3.5vw, 18px); font-size: 0.9375rem; }

/* ---------- ① Nav ---------- */

.lp-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--lp-border-light);
}

.lp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* 320px 에서 브랜드+CTA+햄버거가 한 줄에 들어오는 값 */
    gap: clamp(10px, 3vw, 24px);
    height: 68px;
    min-width: 0;
}

.lp-brand {
    font-size: clamp(1.0625rem, 4vw, 1.25rem);
    font-weight: 800;
    color: var(--lp-heading);
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.lp-brand-mark { color: var(--lp-primary); }

.lp-nav-link {
    color: var(--lp-body);
    font-weight: 600;
    font-size: 0.9375rem;
}

.lp-nav-link:hover { color: var(--lp-primary); }

/* ---------- ② Hero ---------- */

.lp-hero {
    position: relative;
    overflow: hidden;   /* 슬라이드가 좌우로 흐를 때 가로 스크롤이 생기지 않도록 */
    background: linear-gradient(180deg, var(--lp-primary-light) 0%, #fff 100%);
    padding-block: clamp(48px, 6vw, 88px);
}

.lp-hero-title {
    font-size: clamp(1.75rem, 3.6vw, 2.75rem);
    line-height: 1.25;
    margin-bottom: 20px;
    white-space: pre-line;   /* 리소스 값의 개행을 실제 줄바꿈으로 렌더 */
}

.lp-hero-body {
    font-size: clamp(1rem, 1.4vw, 1.1875rem);
    line-height: 1.75;
    white-space: pre-line;   /* 리소스 값의 개행을 실제 줄바꿈으로 렌더 */
}

.lp-hero-note {
    font-size: 0.875rem;
    color: var(--lp-muted);
}

/* ---------- ② Hero 슬라이더 ----------
   슬라이드는 grid로 같은 칸에 겹쳐 쌓는다 → 높이는 가장 큰 슬라이드 기준으로 고정돼
   전환 중에 레이아웃이 튀지 않는다. 각 조각은 자기 칸 안에서 좌우로 흐르며 교차 페이드된다.
   버튼(.lp-hero-actions)은 슬라이드 바깥이라 고정된다. */

.lp-hero-slides,
.lp-hero-shots {
    display: grid;
}

.lp-hero-slide,
.lp-hero-shot {
    grid-area: 1 / 1;
    opacity: 0;
    transform: none;
    transition: opacity .5s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
    pointer-events: none;
}

.lp-hero-slide.is-active,
.lp-hero-shot.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

/* 전환 중 시작 위치를 잡는 순간엔 애니메이션을 끈다(reflow 후 is-active로 흘러간다) */
.lp-hero-slide.is-enter,
.lp-hero-shot.is-enter { transition: none; }

/* 이동 방향에 따라 흐르는 방향이 반대다.
   다음(dir-next): 들어오는 건 오른쪽에서, 나가는 건 왼쪽으로.
   이전(dir-prev): 들어오는 건 왼쪽에서, 나가는 건 오른쪽으로. */
[data-hero-slider].dir-next .lp-hero-slide.is-enter,
[data-hero-slider].dir-next .lp-hero-shot.is-enter { opacity: 0; transform: translateX(32px); }
[data-hero-slider].dir-prev .lp-hero-slide.is-enter,
[data-hero-slider].dir-prev .lp-hero-shot.is-enter { opacity: 0; transform: translateX(-32px); }

[data-hero-slider].dir-next .lp-hero-slide.is-leaving,
[data-hero-slider].dir-next .lp-hero-shot.is-leaving { opacity: 0; transform: translateX(-32px); }
[data-hero-slider].dir-prev .lp-hero-slide.is-leaving,
[data-hero-slider].dir-prev .lp-hero-shot.is-leaving { opacity: 0; transform: translateX(32px); }

.lp-hero-actions { margin-top: 28px; }

/* 좌우 이동 화살표 — 섹션 전체 높이, 테두리 없음, 그라데이션 음영이 hover로 짙어짐 */
.lp-hero-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(44px, 5vw, 72px);
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    color: var(--lp-heading);
    font-size: 30px;
    cursor: pointer;
    z-index: 2;
    transition: color .25s ease;
}

.lp-hero-nav-prev { left: 0; }
.lp-hero-nav-next { right: 0; }

/* 그라데이션은 CSS transition으로 보간되지 않는다.
   기본 음영(::before)과 짙은 음영(::after)을 겹쳐 두고 opacity만 전환한다. */
.lp-hero-nav::before,
.lp-hero-nav::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    transition: opacity .25s ease;
}

.lp-hero-nav::before { opacity: 1; }
.lp-hero-nav::after { opacity: 0; }
.lp-hero-nav:hover::after { opacity: 1; }
.lp-hero-nav:hover { color: var(--lp-primary); }

.lp-hero-nav-prev::before { background: linear-gradient(90deg, rgba(93, 135, 255, .14), rgba(93, 135, 255, 0)); }
.lp-hero-nav-prev::after { background: linear-gradient(90deg, rgba(93, 135, 255, .34), rgba(93, 135, 255, 0)); }
.lp-hero-nav-next::before { background: linear-gradient(270deg, rgba(93, 135, 255, .14), rgba(93, 135, 255, 0)); }
.lp-hero-nav-next::after { background: linear-gradient(270deg, rgba(93, 135, 255, .34), rgba(93, 135, 255, 0)); }

.lp-hero-dots {
    display: flex;
    gap: 8px;
    justify-content: center;   /* 섹션 정 중앙 */
    margin-top: 36px;
}

.lp-hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background-color: var(--lp-border);
    cursor: pointer;
    transition: background-color .2s ease, width .2s ease;
}

.lp-hero-dot.is-active {
    width: 22px;
    background-color: var(--lp-primary);
}

/* 스토어 버튼 — 각 스토어 공식 배지 톤(검정) + 원래 아이콘 컬러 */
.lp-btn-play,
.lp-btn-appstore {
    gap: 8px;
    padding: 10px 18px;
    background-color: #000;
    border-color: #000;
    color: #fff;
    white-space: nowrap;
}

.lp-btn-play:hover,
.lp-btn-appstore:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.lp-btn-play svg,
.lp-btn-appstore svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

/* Apple 로고는 currentColor(흰색)로 채워진다. Google Play 삼각형은 자체 컬러를 가진다. */
.lp-hero-stores { flex-wrap: nowrap; }

/* ---------- 스크린샷 placeholder ----------
   실제 화면으로 교체할 때 레이아웃이 흔들리지 않도록 비율을 고정한다. */

.lp-shot {
    position: relative;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    background-color: #fff;
    background-image: linear-gradient(135deg, rgba(93, 135, 255, .06) 25%, transparent 25%, transparent 50%, rgba(93, 135, 255, .06) 50%, rgba(93, 135, 255, .06) 75%, transparent 75%);
    background-size: 16px 16px;
    box-shadow: 0 12px 32px rgba(42, 53, 71, .10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-muted);
    font-size: 0.875rem;
    overflow: hidden;
}

.lp-shot-label {
    background-color: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 999px;
    padding: 6px 14px;
}

.lp-shot-sm { aspect-ratio: 16 / 10; }

/* png 스크린샷: lp-shot 프레임(테두리·그림자·라운드)은 유지하되 배경 패턴·고정 비율 해제 */
.lp-shot-media {
    aspect-ratio: auto;
    background-image: none;
    padding: 0;
}
.lp-shot-media img { width: 100%; height: auto; display: block; }

/* Hero·기능 svg: 자체 테두리·그림자·투명 배경을 포함하므로 프레임 없이 이미지만 */
.lp-hero-media,
.lp-shot-svg {
    border: none;
    background: none;
    box-shadow: none;
}
.lp-hero-media img,
.lp-shot-svg img { width: 100%; height: auto; display: block; }

/* ---------- ④ 두 레이어 다이어그램 ----------
   회의록을 중심 허브로, 양옆 축(사람=파랑 / 과제=보라)을 하위 항목 칩으로 펼친다.
   SVG 없이 카드 + 화살표라 반응형은 유틸리티로만 해결된다(방향 아이콘만 스위칭). */

/* 양옆 축 카드 */
.lp-layer-node {
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    background-color: #fff;
    padding: 26px 22px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(42, 53, 71, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.lp-layer-node:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(42, 53, 71, .10);
}

.lp-layer-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: var(--lp-primary-light);
    color: var(--lp-primary);
    font-size: 26px;
    margin-bottom: 14px;
}

.lp-layer-node.is-task .lp-layer-ico {
    background-color: var(--lp-accent2-light);
    color: var(--lp-accent2);
}

.lp-layer-node-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lp-heading);
    margin-bottom: 14px;
}

.lp-layer-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.lp-chip {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    background-color: var(--lp-primary-light);
    color: var(--lp-primary-dark);
}

.lp-layer-node.is-task .lp-chip {
    background-color: var(--lp-accent2-light);
    color: var(--lp-accent2-dark);
}

/* 중심 허브(회의록) — 파랑→보라 그라데이션 = 두 축이 만나는 지점 */
.lp-layer-hub {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 34px 24px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-accent2) 100%);
    box-shadow: 0 16px 40px rgba(93, 135, 255, .30);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.lp-layer-hub:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 52px rgba(93, 135, 255, .40);
}

.lp-layer-hub::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 28%, rgba(255, 255, 255, .38), transparent 62%);
    pointer-events: none;
    animation: lp-hub-pulse 3.2s ease-in-out infinite;
}

@keyframes lp-hub-pulse {
    0%, 100% { opacity: .35; }
    50% { opacity: .75; }
}

.lp-layer-hub > * { position: relative; z-index: 1; }

.lp-layer-ico-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 32px;
    margin-bottom: 14px;
}

.lp-layer-hub-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

/* 허브 칩 — 그라데이션 위라 밝은 반투명 톤 */
.lp-layer-hub .lp-chip {
    background-color: rgba(255, 255, 255, .22);
    color: #fff;
}

.lp-layer-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-accent2);
    font-size: 30px;
    min-height: 44px;
}

@media (prefers-reduced-motion: reduce) {
    .lp-layer-hub::after { animation: none; }
}

/* ---------- ⑤ 핵심 기능 ---------- */

.lp-feature-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.lp-feature-group::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--lp-border-light);
}

.lp-feature-group-label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--lp-primary);
}

.lp-feature-num {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--lp-primary);
    letter-spacing: 0.08em;
}

.lp-feature-name {
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    margin: 6px 0 10px;
}

.lp-feature-head {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--lp-heading);
    margin-bottom: 10px;
}

.lp-feature-body {
    line-height: 1.8;
    margin-bottom: 0;
}

/* ---------- ⑥ 부가 기능 ---------- */

.lp-extra {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    height: 100%;
    background-color: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    padding: 22px 20px;
    box-shadow: 0 2px 10px rgba(42, 53, 71, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.lp-extra:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(42, 53, 71, .10);
}

/* 500px 이하에서는 부가 기능 카드를 1열로 */
@media (max-width: 500px) {
    .lp-extra-grid > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.lp-extra-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: var(--lp-radius);
    background-color: var(--lp-primary-light);
    color: var(--lp-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.lp-extra-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lp-heading);
    margin-bottom: 4px;
}

.lp-extra-desc {
    font-size: 0.9375rem;
    color: var(--lp-muted);
    margin-bottom: 0;
}

/* ---------- ⑦ 요금제 ---------- */

.lp-price-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--lp-heading);
}

.lp-price-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--lp-heading);
    letter-spacing: -0.03em;
    margin: 6px 0 4px;
}

.lp-price-desc {
    font-size: 0.9375rem;
    color: var(--lp-muted);
}

.lp-price-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 24px;
}

.lp-price-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    font-size: 0.9375rem;
    border-top: 1px solid var(--lp-border-light);
}

.lp-price-list li:last-child { border-bottom: 1px solid var(--lp-border-light); }

.lp-price-list .ti { color: var(--lp-primary); font-size: 18px; }

.lp-card-highlight {
    border-color: var(--lp-primary);
    box-shadow: 0 10px 28px rgba(93, 135, 255, .18);
}

/* ---------- ⑧ CTA ---------- */

.lp-cta {
    background: linear-gradient(120deg, var(--lp-primary) 0%, var(--lp-primary-dark) 100%);
    color: #fff;
    padding-block: clamp(52px, 6vw, 84px);
}

.lp-cta .lp-section-title { color: #fff; }

.lp-cta-body {
    color: rgba(255, 255, 255, .88);
    font-size: 1.0625rem;
    margin-bottom: 28px;
}

/* ---------- ⑨ Footer ---------- */

.lp-footer {
    background-color: var(--lp-heading);
    color: rgba(255, 255, 255, .72);
    padding-block: 44px;
    font-size: 0.9375rem;
}

.lp-footer .lp-brand { color: #fff; }

.lp-footer a { color: rgba(255, 255, 255, .82); }

.lp-footer a:hover { color: #fff; }

.lp-footer-meta {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, .55);
}

.lp-footer-divider {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 28px;
    padding-top: 20px;
}

/* ---------- 스크롤 reveal ----------
   초기 상태는 .js-reveal(스크립트가 html에 붙임)이 있을 때만 적용한다.
   스크립트가 없으면 콘텐츠는 그대로 보인다. */

.js-reveal .lp-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}

.js-reveal .lp-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* 레이아웃 분기가 아니라 접근성 설정 대응이므로 media query 금지 규칙의 예외 */
@media (prefers-reduced-motion: reduce) {
    .js-reveal .lp-reveal,
    .js-reveal .lp-reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .lp-man-flow { scroll-behavior: auto; }

    /* Hero 슬라이더 — 드리프트·전환 없이 활성 슬라이드만 즉시 표시 */
    .lp-hero-slide,
    .lp-hero-shot,
    .lp-hero-slide.is-active,
    .lp-hero-shot.is-active,
    .lp-hero-slide.is-leaving,
    .lp-hero-shot.is-leaving {
        transform: none;
        transition: none;
    }

    html { scroll-behavior: auto; }
}

/* ---------- 정적 문서(약관·개인정보) ---------- */

.lp-doc {
    max-width: 900px;
    margin-inline: auto;
    padding-inline: 20px;
}

.lp-doc h2,
.lp-doc h3 {
    font-size: 1.125rem;
    margin: 32px 0 10px;
}

.lp-doc p { line-height: 1.85; }

.lp-doc ul {
    line-height: 1.85;
    padding-left: 20px;
}

.lp-doc li { margin-bottom: 4px; }

.lp-doc-notice {
    background-color: var(--lp-primary-light);
    border-radius: var(--lp-radius);
    color: var(--lp-heading);
    padding: 14px 18px;
    font-size: 0.9375rem;
}

/* ---------- 햄버거 · 오프캔버스 메뉴 ---------- */

.lp-nav-link.is-active { color: var(--lp-primary); }

.lp-nav-burger {
    background: none;
    border: 0;
    padding: 0;
    color: var(--lp-heading);
    font-size: 26px;
    line-height: 1;
    display: inline-flex;
}

.lp-offcanvas {
    width: min(320px, 86vw);
    border-left: 1px solid var(--lp-border-light);
}

.lp-offcanvas .offcanvas-header { border-bottom: 1px solid var(--lp-border-light); }

.lp-offcanvas-link {
    color: var(--lp-body);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 10px 12px;
    border-radius: var(--lp-radius);
}

.lp-offcanvas-link:hover {
    color: var(--lp-primary);
    background-color: var(--lp-primary-light);
}

.lp-offcanvas-divider {
    border-color: var(--lp-border-light);
    margin: 18px 0;
    opacity: 1;
}

/* 언어 전환 — 헤더의 지구본 아이콘을 누르면 언어 목록이 열린다.
   현재 언어에만 체크가 보이고, 나머지는 자리만 비워 글자 시작선을 맞춘다. */
.lp-lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: var(--lp-radius);
    color: var(--lp-body);
    font-size: 20px;
    line-height: 1;
    transition: color .15s ease, background-color .15s ease;
}

.lp-lang-toggle:hover,
.lp-lang-toggle[aria-expanded="true"] {
    color: var(--lp-primary);
    background-color: var(--lp-primary-light);
}

.lp-lang-menu {
    min-width: 168px;
    padding: 6px;
    border: 1px solid var(--lp-border-light);
    border-radius: var(--lp-radius);
    box-shadow: 0 14px 32px rgba(42, 53, 71, .12);
}

.lp-lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: var(--lp-radius);
    color: var(--lp-body);
    font-size: 0.9375rem;
    font-weight: 600;
}

.lp-lang-item:hover,
.lp-lang-item:focus {
    color: var(--lp-primary);
    background-color: var(--lp-primary-light);
}

.lp-lang-item.is-active { color: var(--lp-heading); }

.lp-lang-check {
    font-size: 17px;
    line-height: 1;
    color: var(--lp-primary);
    visibility: hidden;   /* 선택되지 않은 언어는 자리만 차지한다 */
}

.lp-lang-item.is-active .lp-lang-check { visibility: visible; }

/* ---------- 매뉴얼 ---------- */

.lp-man { padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 104px); }

.lp-man-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(36px, 4vw, 64px);
}

/* 좌측 목차 */
.lp-man-side {
    position: sticky;
    top: 84px;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    padding-right: 8px;
}

.lp-man-toc-group + .lp-man-toc-group { margin-top: 22px; }

.lp-man-toc-chapter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--lp-heading);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    padding-left: 12px;
}

.lp-man-toc-num {
    color: var(--lp-primary);
    font-variant-numeric: tabular-nums;
}

.lp-man-toc-link {
    display: block;
    padding: 7px 12px;
    border-left: 2px solid transparent;
    color: var(--lp-body);
    font-size: 0.9375rem;
    line-height: 1.4;
}

.lp-man-toc-link:hover { color: var(--lp-primary); }

.lp-man-toc-link.is-active {
    color: var(--lp-primary);
    font-weight: 700;
    border-left-color: var(--lp-primary);
    background-color: var(--lp-primary-light);
}

.lp-man-toc-link.is-soon {
    color: #9aa6b8;
    cursor: default;
}

/* ---------- 매뉴얼 — 챕터 · 카드 ---------- */

.lp-man-chapter + .lp-man-chapter { margin-top: clamp(40px, 5vw, 72px); }

.lp-man-chapter-head { margin-bottom: 20px; }

.lp-man-chapter-num {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--lp-primary);
    letter-spacing: 0.08em;
}

.lp-man-chapter-title {
    font-size: clamp(1.375rem, 2.4vw, 1.75rem);
    font-weight: 800;
    margin: 4px 0 0;
}

.lp-man-chapter-lead {
    color: var(--lp-body);
    margin: 8px 0 0;
}

.lp-man-card {
    background-color: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    box-shadow: 0 2px 6px rgba(42, 53, 71, .04);
    padding: clamp(20px, 2.6vw, 28px);
}

.lp-man-card + .lp-man-card { margin-top: 20px; }

.lp-man-card-title {
    font-size: 1.125rem;
    font-weight: 800;
    margin: 0;
}

.lp-man-card-lead {
    color: var(--lp-body);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 8px 0 20px;
}

/* ---------- 매뉴얼 — 가로 플로우 컷 ----------
   컷 폭(--flow-cut-w)과 좌우 버튼 위치(--flow-nav-top)는 site.js 가 넣는다. */

.lp-man-flow-wrap {
    position: relative;
    --flow-gap: 28px;
}

.lp-man-flow {
    display: flex;
    gap: var(--flow-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* 프레임 그림자가 잘리지 않을 만큼의 여백 */
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lp-man-flow::-webkit-scrollbar { display: none; }

/* 컷이 한 화면보다 적을 때 */
.lp-man-flow.is-fit { justify-content: center; }

.lp-man-cut {
    position: relative;
    flex: 0 0 auto;
    width: var(--flow-cut-w, 220px);
    margin: 0;
}

/* 스냅 지점. site.js 가 페이지 첫 컷에만 붙인다 */
.lp-man-cut.is-page-start { scroll-snap-align: start; }

.lp-man-shot {
    position: relative;
    aspect-ratio: 1170 / 2532;
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 6px 18px rgba(42, 53, 71, .08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-man-cut.is-wide .lp-man-shot { aspect-ratio: 16 / 10; }

/* 프레임에 overflow 를 걸지 않으므로 모서리는 이미지가 직접 처리한다.
   2단 합성 등 프레임과 비율이 다른 컷도 잘리지 않도록 contain 으로 담는다 */
.lp-man-shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 11px;
}

/* 컷 사이 흐름 표시 — gap 한가운데, 이미지 세로 정중앙 */
.lp-man-cut-arrow {
    position: absolute;
    top: 50%;
    right: calc(var(--flow-gap) / -2);
    transform: translate(50%, -50%);
    z-index: 1;
    color: var(--lp-primary);
    font-size: 22px;
    line-height: 1;
    -webkit-text-stroke: 0.6px currentColor;
}

/* 둘 중 하나를 고르는 자리 — 화살표와 같은 위치에 글자로 앉힌다 */
.lp-man-cut-or {
    position: absolute;
    top: 50%;
    right: calc(var(--flow-gap) / -2);
    transform: translate(50%, -50%);
    z-index: 1;
    background-color: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 999px;
    padding: 2px 9px;
    color: var(--lp-muted);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.lp-man-shot-empty {
    color: #9aa6b8;
    font-size: 0.8125rem;
    font-weight: 600;
}

.lp-man-cut-cap {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 12px;
}

.lp-man-cut-num {
    color: var(--lp-primary);
    font-size: 0.75rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.lp-man-cut-title {
    color: var(--lp-heading);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
}

/* 페이지 표시 도트 */
.lp-man-flow-dots {
    display: none;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.lp-man-flow-wrap.is-overflow .lp-man-flow-dots { display: flex; }

.lp-man-flow-dot {
    width: 6px;
    height: 6px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background-color: #ccd4e0;
    transition: background-color .2s ease, width .2s ease;
}

.lp-man-flow-dot.is-active {
    width: 18px;
    border-radius: 3px;
    background-color: var(--lp-primary);
}

/* 좌우 이동 버튼 — 트랙이 넘칠 때만 보인다 */
.lp-man-flow-nav {
    display: none;
    position: absolute;
    top: var(--flow-nav-top, 40%);
    transform: translateY(-50%);
    z-index: 2;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lp-border);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .94);
    color: var(--lp-heading);
    box-shadow: 0 2px 8px rgba(42, 53, 71, .12);
    transition: opacity .2s ease, color .2s ease;
}

.lp-man-flow-wrap.is-overflow .lp-man-flow-nav { display: inline-flex; }

.lp-man-flow-nav:hover { color: var(--lp-primary); }

.lp-man-flow-nav[disabled] { opacity: 0; pointer-events: none; }

.lp-man-flow-prev { left: -12px; }

.lp-man-flow-next { right: -12px; }

/* ---------- 매뉴얼 — TIP · 준비 중 ---------- */

.lp-man-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 20px 0 0;
    padding: 11px 14px;
    border-radius: var(--lp-radius);
    background-color: var(--lp-primary-light);
    color: var(--lp-heading);
    font-size: 0.875rem;
    line-height: 1.6;
}

.lp-man-tip .ti {
    color: var(--lp-primary);
    font-size: 17px;
    line-height: 1.5;
}

.lp-man-tip.is-warn { background-color: #FEF5E5; }

.lp-man-tip.is-warn .ti { color: #FFAE1F; }

.lp-man-soon {
    border: 1px dashed var(--lp-border);
    border-radius: var(--lp-radius);
    background-color: var(--lp-surface);
    padding: 22px;
}

.lp-man-soon-label {
    color: var(--lp-muted);
    font-size: 0.875rem;
    font-weight: 700;
}
