/* =============================================
   EDS Logistics Landing Page - shadcn UI Style
   ============================================= */

/* --- Design Tokens --- */
.landing {
    --ld-background: #ffffff;
    --ld-foreground: #0a0a0a;
    --ld-muted: #f5f5f5;
    --ld-muted-foreground: #737373;
    --ld-border: #e5e5e5;
    --ld-card: #ffffff;
    --ld-primary: #2563eb;
    --ld-primary-foreground: #ffffff;
    --ld-primary-hover: #1d4ed8;
    --ld-accent: #E60012;
    --ld-radius-sm: 0.25rem;
    --ld-radius-md: 0.5rem;
    --ld-radius-lg: 0.75rem;
    --ld-radius-xl: 1rem;
    --ld-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --ld-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --ld-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --ld-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Dark mode tokens */
[data-bs-theme="dark"] .landing {
    --ld-background: #0a0a0a;
    --ld-foreground: #fafafa;
    --ld-muted: #171717;
    --ld-muted-foreground: #a3a3a3;
    --ld-border: #262626;
    --ld-card: #0a0a0a;
    --ld-primary: #3b82f6;
    --ld-primary-foreground: #ffffff;
    --ld-primary-hover: #60a5fa;
}

/* --- Korean line breaking ---
   한국어는 어절 단위로 줄바꿈한다(기본값은 글자 사이 어디서나 끊어 "책임집 / 니다"가 생김).
   :where() 로 특이도 0 — 컴포넌트가 자기 규칙으로 언제든 덮을 수 있다.
   break-word(anywhere 아님): 한 어절이 줄보다 길 때만 쪼개고, 최소 폭은 늘리지 않는다.
   이 파일은 공개 홈(index)만 불러오므로 관리 화면 표에는 닿지 않는다. */
:where(:lang(ko)) {
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* --- Base Reset for Landing --- */
.landing {
    background: var(--ld-background);
    color: var(--ld-foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Skip Navigation (Accessibility) --- */
.ld-skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: var(--ld-foreground);
    color: var(--ld-background);
    border-radius: var(--ld-radius-md);
    font-weight: 600;
    text-decoration: none;
}

.ld-skip-link:focus {
    top: 1rem;
}

/* --- Navigation --- */
.ld-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 1rem 0;
    transition: all 300ms ease;
    background: transparent;
    border-bottom: 1px solid transparent;
}

.ld-navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--ld-border);
    padding: 0.625rem 0;
    box-shadow: var(--ld-shadow-sm);
}

[data-bs-theme="dark"] .ld-navbar.is-scrolled {
    background: rgba(10, 10, 10, 0.85);
}

/* Mobile menu open: solid background */
.ld-navbar:has(#mobileNav.show),
.ld-navbar:has(#mobileNav.collapsing) {
    background: var(--ld-background);
    border-bottom-color: var(--ld-border);
    box-shadow: var(--ld-shadow-md);
}

/* Mobile nav: full-width buttons */
@media (max-width: 991.98px) {
    .ld-navbar #mobileNav .ld-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
    }
}

.ld-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--ld-foreground);
    text-decoration: none;
}

.ld-nav-link {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ld-muted-foreground);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    transition: color 200ms ease;
}

.ld-nav-link:hover,
.ld-nav-link:focus {
    color: var(--ld-foreground);
}

.ld-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 2px;
    background: var(--ld-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 250ms ease;
}

.ld-nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* --- Buttons --- */
.ld-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--ld-radius-md);
    text-decoration: none;
    transition: all 150ms ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.ld-btn-primary {
    background: var(--ld-primary);
    color: var(--ld-primary-foreground);
    border-color: var(--ld-primary);
    box-shadow: var(--ld-shadow-sm);
}

.ld-btn-primary:hover {
    background: var(--ld-primary-hover);
    color: var(--ld-primary-foreground);
    box-shadow: var(--ld-shadow-md);
    transform: translateY(-1px);
}

.ld-btn-outline {
    background: transparent;
    color: var(--ld-foreground);
    border-color: var(--ld-border);
}

.ld-btn-outline:hover {
    background: var(--ld-muted);
    color: var(--ld-foreground);
    border-color: var(--ld-foreground);
}

.ld-btn-ghost {
    background: transparent;
    color: var(--ld-muted-foreground);
    border: none;
    padding: 0.5rem 0.75rem;
}

.ld-btn-ghost:hover {
    background: var(--ld-muted);
    color: var(--ld-foreground);
}

.ld-btn:active {
    transform: translateY(0) scale(0.98);
}

.ld-btn:focus-visible {
    outline: 2px solid var(--ld-primary);
    outline-offset: 2px;
}

/* --- Badge --- */
.ld-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ld-primary);
    background: rgb(37 99 235 / 0.08);
    border: 1px solid rgb(37 99 235 / 0.15);
    border-radius: 9999px;
    letter-spacing: 0.01em;
}

.ld-badge-accent {
    color: var(--ld-accent);
    background: rgb(230 0 18 / 0.08);
    border-color: rgb(230 0 18 / 0.15);
}

/* --- Section Layout --- */
.ld-section {
    padding: 5rem 0;
}

/* 같은 배경의 이용 방법과 앱 다운로드 사이를 얇은 경계로 구분한다. */
#process + #downloads {
    border-block-start: 1px solid var(--ld-border);
}

.ld-section-alt {
    background: var(--ld-muted);
}

.ld-section-dark {
    background: #0a0a0a;
    color: #fafafa;
}

[data-bs-theme="dark"] .ld-section-dark {
    background: #171717;
}

.ld-section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--ld-foreground);
    margin-bottom: 0.75rem;
}

.ld-section-dark .ld-section-title {
    color: #fafafa;
}

.ld-section-subtitle {
    font-size: 1rem;
    color: var(--ld-muted-foreground);
    line-height: 1.6;
    max-width: 600px;
}

.ld-section-dark .ld-section-subtitle {
    color: rgb(255 255 255 / 0.6);
}

.ld-divider {
    width: 3rem;
    height: 3px;
    background: var(--ld-primary);
    border: none;
    border-radius: 2px;
    margin: 1rem 0;
    opacity: 1;
}

/* --- App Downloads: 제품 아코디언 (기공소 펼침 · 나머지 접힘) --- */
.ld-dl-acc { display: grid; gap: 1rem; }

.ld-dl-acc details {
    background: var(--ld-card);
    border: 1px solid var(--ld-border);
    border-radius: var(--ld-radius-xl);
    overflow: hidden;
}

.ld-dl-acc summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}

.ld-dl-acc summary::-webkit-details-marker { display: none; }
.ld-dl-acc summary:hover { background: var(--ld-muted); }
.ld-dl-acc summary:focus-visible { outline: 2px solid var(--ld-primary); outline-offset: -2px; }

.ld-dl-acc summary h3 {
    margin: 0 0 0.125rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--ld-foreground);
}

/* 제품 첨자 — 데스크톱 앱 로그인 화면의 ProductBrand 와 같은 규격 (12px · 600 · 본문색 · 위첨자) */
.ld-dl-sub {
    position: relative;
    top: -0.2em;
    margin-left: 7px;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--ld-foreground);
}

.ld-dl-meta {
    display: block;
    font-size: 0.8125rem;
    color: var(--ld-muted-foreground);
}

.ld-dl-brand {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ld-dl-brand img { width: 36px; height: 36px; display: block; }

.ld-dl-acc summary .uil-angle-down {
    font-size: 1.5rem;
    color: var(--ld-muted-foreground);
    transition: transform 200ms ease;
}

.ld-dl-acc details[open] summary .uil-angle-down { transform: rotate(180deg); }
.ld-dl-acc details[open] summary { border-bottom: 1px solid var(--ld-border); }

.ld-dl-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: grid;
    gap: 1rem;
}

/* 묶음 행: 왼쪽 라벨 열 고정, 오른쪽 항목 카드 2열 */
.ld-dl-kind {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: start;
    gap: 1rem 1.5rem;
}

.ld-dl-kind-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ld-foreground);
}

.ld-dl-kind-label .uil { color: var(--ld-muted-foreground); font-size: 1.125rem; }

.ld-dl-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

/* 항목 카드: 아이콘 · 플랫폼/부제 · 오른쪽 끝 동작 — 받을 수 있으면 <a>, 아니면 <div> */
.ld-dl-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    min-height: 64px;
    padding: 0.625rem 0.875rem 0.625rem 0.75rem;
    border: 1px solid var(--ld-border);
    border-radius: var(--ld-radius-lg);
    background: var(--ld-background);
    color: inherit;
    text-decoration: none;
    transition: all 200ms ease;
}

a.ld-dl-item:hover {
    border-color: var(--ld-primary);
    box-shadow: var(--ld-shadow-md);
    transform: translateY(-1px);
    color: inherit;
}

a.ld-dl-item:focus-visible { outline: 2px solid var(--ld-primary); outline-offset: 2px; }

.ld-dl-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ld-radius-md);
    background: rgb(37 99 235 / 0.08);
    color: var(--ld-primary);
    font-size: 1.25rem;
    line-height: 1;
}

/* Store brand marks: shared by the download section and compact banner. */
.ld-dl-icon.is-store { background: transparent; }
.ld-store-mark-frame { display: inline-grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; line-height: 0; }
.ld-play-mark { display: block; width: 30px; height: 30px; object-fit: contain; transform: translateX(-.5px); }
/* Official sprite mark bounds are (0,10)-(40,50) at native 2000px size. */
.ld-onestore-mark { display: block; width: 28px; height: 28px; background: url('/assets/img/downloads/onestore-official-sprite-87d8ea4184f03e4cc66a576c82442b9d.png') 0 -7px/1400px 1400px no-repeat; }

.ld-dl-item strong { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--ld-foreground); }
.ld-dl-item small { display: block; font-size: 0.8125rem; color: var(--ld-muted-foreground); }

.ld-dl-act {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ld-primary);
    white-space: nowrap;
}

.ld-dl-item.is-unavailable { background: var(--ld-muted); border-style: dashed; }
.ld-dl-item.is-unavailable .ld-dl-icon { background: var(--ld-background); color: var(--ld-muted-foreground); }
.ld-dl-item.is-unavailable .ld-dl-act { color: var(--ld-muted-foreground); }

@media (max-width: 767.98px) {
    .ld-dl-acc summary { padding: 1rem 1.25rem; }
    .ld-dl-body { padding: 1rem 1.25rem 1.25rem; }
    .ld-dl-kind { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
    .ld-dl-kind-label { padding-top: 0; }
    .ld-dl-items { grid-template-columns: minmax(0, 1fr); }
    /* 좁은 폭: 동작은 제목 줄 오른쪽, 부제는 아래 줄 전체 폭 — 부제가 접혀 카드 높이가 제각각 되지 않게 */
    .ld-dl-item {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        grid-template-areas: "icon title act" "icon sub sub";
        row-gap: 0.125rem;
    }
    .ld-dl-item > .ld-dl-icon { grid-area: icon; }
    .ld-dl-item > span:not(.ld-dl-icon):not(.ld-dl-act) { display: contents; }
    .ld-dl-item strong { grid-area: title; align-self: end; }
    .ld-dl-item small { grid-area: sub; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ld-dl-item > .ld-dl-act { grid-area: act; align-self: end; }
}

/* --- Hero --- */
.ld-hero {
    padding: 8rem 0 5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.ld-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--ld-foreground);
}

.ld-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--ld-muted-foreground);
    line-height: 1.7;
    max-width: 540px;
}

.ld-text-gradient {
    background: linear-gradient(135deg, var(--ld-primary), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ld-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgb(37 99 235 / 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgb(37 99 235 / 0.04), transparent);
}

[data-bs-theme="dark"] .ld-hero-bg {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgb(59 130 246 / 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgb(59 130 246 / 0.08), transparent);
}

/* --- Stats --- */
.ld-stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.ld-stat-label {
    font-size: 0.875rem;
    color: rgb(255 255 255 / 0.6);
    margin-top: 0.5rem;
}

/* --- Card --- */
.ld-card {
    background: var(--ld-card);
    border: 1px solid var(--ld-border);
    border-radius: var(--ld-radius-xl);
    padding: 2rem;
    transition: all 200ms ease;
}

.ld-card:hover {
    box-shadow: var(--ld-shadow-lg);
    border-color: rgb(37 99 235 / 0.3);
    transform: translateY(-2px);
}

.ld-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ld-radius-md);
    background: rgb(37 99 235 / 0.08);
    color: var(--ld-primary);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.ld-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
    color: var(--ld-foreground);
}

.ld-card-text {
    font-size: 0.875rem;
    color: var(--ld-muted-foreground);
    line-height: 1.6;
}

/* --- Process Steps --- */
.ld-step {
    position: relative;
    text-align: center;
}

.ld-step-number {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ld-primary);
    color: var(--ld-primary-foreground);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.ld-step-connector {
    position: absolute;
    top: 24px;
    left: calc(50% + 32px);
    width: calc(100% - 64px);
    height: 2px;
    background: var(--ld-border);
}

.ld-step-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    color: var(--ld-foreground);
}

.ld-step-desc {
    font-size: 0.8125rem;
    color: var(--ld-muted-foreground);
    line-height: 1.5;
}

/* --- Company Intro Card --- */
.ld-intro-card {
    background: var(--ld-card);
    border: 1px solid var(--ld-border);
    border-radius: var(--ld-radius-xl);
    padding: 3rem;
    box-shadow: var(--ld-shadow-lg);
}

.ld-intro-card p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--ld-muted-foreground);
    margin-bottom: 1rem;
}

.ld-intro-card p:last-child {
    margin-bottom: 0;
}

/* --- Work Intro: Subsection --- */
.ld-subsection {
    margin-top: 3rem;
}

.ld-subsection-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.ld-subsection-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ld-radius-md);
    background: rgb(37 99 235 / 0.08);
    color: var(--ld-primary);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.ld-subsection-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ld-foreground);
    letter-spacing: -0.02em;
    margin: 0;
}

.ld-subsection-desc {
    font-size: 0.875rem;
    color: var(--ld-muted-foreground);
    margin: 0;
}

/* --- Work Intro: Need Cards (배송 서비스의 필요성) --- */
.ld-need-card {
    background: var(--ld-card);
    border: 1px solid var(--ld-border);
    border-radius: var(--ld-radius-xl);
    padding: 1.5rem;
    height: 100%;
    transition: all 200ms ease;
}

.ld-need-card:hover {
    box-shadow: var(--ld-shadow-lg);
    border-color: rgb(37 99 235 / 0.3);
    transform: translateY(-2px);
}

.ld-need-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--ld-radius-md);
    background: rgb(37 99 235 / 0.08);
    color: var(--ld-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.ld-need-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ld-foreground);
    margin-bottom: 0.375rem;
    letter-spacing: -0.01em;
}

.ld-need-text {
    font-size: 0.8125rem;
    color: var(--ld-muted-foreground);
    margin: 0;
    line-height: 1.6;
}

/* --- Work Intro: Flow Diagram (통합 물류 시스템) --- */
.ld-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
    background: var(--ld-card);
    border: 1px solid var(--ld-border);
    border-radius: var(--ld-radius-xl);
    transition: all 200ms ease;
}

.ld-flow:hover {
    box-shadow: var(--ld-shadow-lg);
}

.ld-flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
}

.ld-flow-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ld-muted);
    color: var(--ld-muted-foreground);
    font-size: 1.75rem;
    border: 2px solid var(--ld-border);
    transition: all 200ms ease;
}

.ld-flow-icon--primary {
    background: rgb(37 99 235 / 0.08);
    border-color: var(--ld-primary);
    color: var(--ld-primary);
}

.ld-flow-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ld-foreground);
    letter-spacing: -0.01em;
}

.ld-flow-arrow {
    color: var(--ld-border);
    font-size: 1.5rem;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .ld-flow {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1rem;
    }
}

/* --- Work Intro: System Cards (시스템 현황) --- */
.ld-sys-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--ld-card);
    border: 1px solid var(--ld-border);
    border-radius: var(--ld-radius-xl);
    height: 100%;
    transition: all 200ms ease;
}

.ld-sys-card:hover {
    box-shadow: var(--ld-shadow-lg);
    border-color: rgb(37 99 235 / 0.3);
    transform: translateY(-2px);
}

.ld-sys-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ld-radius-md);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ld-sys-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ld-foreground);
    margin-bottom: 0.375rem;
    letter-spacing: -0.01em;
}

.ld-sys-desc {
    font-size: 0.8125rem;
    color: var(--ld-muted-foreground);
    line-height: 1.6;
    margin: 0;
}

/* --- Org Chart --- */
.ld-org {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ld-org-root {
    display: flex;
    justify-content: center;
}

.ld-org-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    background: var(--ld-card);
    border: 1px solid var(--ld-border);
    border-radius: var(--ld-radius-xl);
    transition: all 200ms ease;
}

.ld-org-node:hover {
    box-shadow: var(--ld-shadow-lg);
    border-color: rgb(37 99 235 / 0.3);
    transform: translateY(-2px);
}

.ld-org-node--primary {
    border-color: var(--ld-primary);
    background: rgb(37 99 235 / 0.04);
}

.ld-org-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgb(37 99 235 / 0.08);
    color: var(--ld-primary);
    font-size: 1.5rem;
}

.ld-org-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--ld-foreground);
    letter-spacing: -0.02em;
    margin: 0;
}

/* 연결선: 루트에서 내려오는 세로선 */
.ld-org-connector {
    width: 2px;
    height: 2rem;
    background: var(--ld-border);
}

/* 가로선 + 브랜치 컨테이너 */
.ld-org-branches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    position: relative;
}

/* 가로선: 두 브랜치 중심을 잇는 선 */
.ld-org-branches::before {
    content: "";
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: var(--ld-border);
}

.ld-org-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 각 브랜치 위의 세로선 */
.ld-org-line-down {
    width: 2px;
    height: 1.5rem;
    background: var(--ld-border);
}

.ld-org-details {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    text-align: center;
}

.ld-org-details li {
    font-size: 0.8125rem;
    color: var(--ld-muted-foreground);
    line-height: 1.8;
    letter-spacing: -0.01em;
}

.ld-org-details li::before {
    content: "·";
    margin-right: 0.375rem;
    font-weight: 700;
    color: var(--ld-primary);
}

@media (max-width: 575.98px) {
    .ld-org-node {
        padding: 1.25rem 1.5rem;
    }

    .ld-org-branches {
        gap: 1rem;
    }

    .ld-org-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .ld-org-name {
        font-size: 0.9375rem;
    }
}

/* --- Image Section --- */
.ld-image-wrapper {
    background: var(--ld-card);
    border: 1px solid var(--ld-border);
    border-radius: var(--ld-radius-xl);
    padding: 2rem;
    box-shadow: var(--ld-shadow-sm);
}

.ld-image-wrapper img {
    border-radius: var(--ld-radius-md);
}

/* --- Map --- */
.ld-map-wrapper {
    border: 1px solid var(--ld-border);
    border-radius: var(--ld-radius-xl);
    overflow: hidden;
    box-shadow: var(--ld-shadow-md);
}

/* --- Contact --- */
.ld-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.ld-contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ld-radius-md);
    background: rgb(37 99 235 / 0.08);
    color: var(--ld-primary);
    flex-shrink: 0;
    font-size: 1rem;
}

.ld-contact-label {
    font-size: 0.75rem;
    color: var(--ld-muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.125rem;
}

.ld-contact-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ld-foreground);
    text-decoration: none;
}

.ld-contact-value:hover {
    color: var(--ld-primary);
}

/* --- Footer --- */
.ld-footer {
    background: #0a0a0a;
    color: rgb(255 255 255 / 0.5);
    padding: 2rem 0;
    font-size: 0.8125rem;
}

[data-bs-theme="dark"] .ld-footer {
    background: #171717;
}

.ld-footer a {
    color: rgb(255 255 255 / 0.7);
    text-decoration: none;
    transition: color 200ms ease;
}

.ld-footer a:hover {
    color: #ffffff;
}

/* --- Scroll Reveal Animations --- */
[data-ld-reveal] {
    opacity: 0;
    transition:
        opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-ld-reveal="fade-up"] {
    transform: translateY(24px);
}

[data-ld-reveal="fade-down"] {
    transform: translateY(-24px);
}

[data-ld-reveal="fade-left"] {
    transform: translateX(24px);
}

[data-ld-reveal="fade-right"] {
    transform: translateX(-24px);
}

[data-ld-reveal="scale"] {
    transform: scale(0.95);
}

[data-ld-reveal].is-revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Stagger children */
[data-ld-stagger] > * {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-ld-stagger].is-revealed > *:nth-child(1) { transition-delay: 0ms; }
[data-ld-stagger].is-revealed > *:nth-child(2) { transition-delay: 80ms; }
[data-ld-stagger].is-revealed > *:nth-child(3) { transition-delay: 160ms; }
[data-ld-stagger].is-revealed > *:nth-child(4) { transition-delay: 240ms; }
[data-ld-stagger].is-revealed > *:nth-child(5) { transition-delay: 320ms; }
[data-ld-stagger].is-revealed > *:nth-child(6) { transition-delay: 400ms; }

[data-ld-stagger].is-revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility: Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    [data-ld-reveal],
    [data-ld-stagger] > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* --- Responsive --- */
@media (min-width: 992px) {
    .ld-section {
        padding: 6rem 0;
    }
    .ld-hero {
        padding: 10rem 0 6rem;
    }
}

@media (max-width: 767.98px) {
    .ld-hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }
    .ld-section {
        padding: 3.5rem 0;
    }
    .ld-intro-card {
        padding: 1.5rem;
    }
    .ld-image-wrapper {
        padding: 0.5rem;
        border-radius: var(--ld-radius-md);
    }
    .ld-image-wrapper img {
        border-radius: var(--ld-radius-sm);
    }
    .ld-step-connector {
        display: none;
    }
}

.ld-quick-downloads {
    width: calc(100% - 2rem); max-width: 28rem; margin: 0 auto 3rem; padding: .875rem;
    color: var(--ld-foreground); background: var(--ld-card); border: 1px solid var(--ld-border); border-radius: var(--ld-radius-lg);
}
.ld-quick-downloads h2 { margin: 0 0 .625rem; color: var(--ld-foreground); font-size: .875rem; font-weight: 700; line-height: 1.5; }
.ld-quick-group { margin: 0; border-top: 1px solid var(--ld-border); }
.ld-quick-group summary { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 44px; padding: .5rem 0; list-style: none; color: var(--ld-foreground); font-size: .8125rem; font-weight: 600; cursor: pointer; }
.ld-quick-group summary::-webkit-details-marker { display: none; }
.ld-quick-group summary > .uil { color: var(--ld-muted-foreground); font-size: 1.125rem; transition: transform 150ms ease; }
.ld-quick-group[open] summary > .uil { transform: rotate(180deg); }
.ld-quick-group summary:focus-visible,.ld-quick-downloads a:focus-visible { outline: 2px solid var(--ld-primary); outline-offset: 3px; border-radius: var(--ld-radius-sm); }
.ld-quick-body { padding: .375rem 0 .75rem; }
.ld-quick-app-row { display: flex; align-items: center; justify-content: space-between; gap: .375rem; }
.ld-quick-app-row + .ld-quick-app-row { margin-top: .5rem; }
.ld-quick-app-row > strong { color: var(--ld-foreground); font-size: .75rem; font-weight: 600; line-height: 1.5; }
.ld-store-icon-list { display: flex; align-items: center; gap: .25rem; }
.ld-store-icon-link { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--ld-border); border-radius: var(--ld-radius-md); background: var(--ld-background); text-decoration: none; }
.ld-quick-downloads a:hover { background: var(--ld-muted); border-color: var(--ld-primary); }
.ld-quick-pc-links { display: grid; gap: .5rem; }
.ld-quick-pc-link { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 44px; padding: .625rem; color: var(--ld-foreground); border: 1px solid var(--ld-border); border-radius: var(--ld-radius-md); background: var(--ld-background); font-size: .75rem; font-weight: 600; text-decoration: none; }
.ld-quick-pc-link .uil { color: var(--ld-primary); font-size: 1.125rem; }
@media (min-width:1760px) and (min-height:560px) {
    .landing > main > section > .container,.landing > .ld-footer > .container { max-width:1320px; }
    .ld-quick-downloads { position:fixed; z-index:1020; top:50%; right:24px; width:176px; max-width:none; max-height:calc(100dvh - 10rem); margin:0; overflow-y:auto; transform:translateY(-50%); box-shadow:var(--ld-shadow-lg); }
}
@media (prefers-reduced-motion:reduce) { .ld-quick-group summary > .uil { transition:none; } }
