/* 홈 (2026-11-17 재작성) — 앱 회사 첫 화면. 다른 페이지에는 영향 없음 (body.home 범위). */
body.home {
    --ink: #111827;
    --ink-soft: #4b5563;
    --line: #e5e7eb;
    --surface: #ffffff;
    --surface-alt: #f6f7f9;
    --brand: #12395c;
    --brand-ink: #ffffff;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    background: var(--surface);
    color: var(--ink);
    word-break: keep-all;
}

.home h2, .home h3, .home p { margin: 0; }

.home-hero {
    padding: 72px 0 56px;
    border-bottom: 1px solid var(--line);
}
.home-eyebrow {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 12px !important;
}
.home-hero h2 {
    font-size: clamp(34px, 6vw, 56px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 800;
}
.home-lead {
    margin-top: 18px !important;
    max-width: 620px;
    font-size: clamp(17px, 2.2vw, 20px);
    line-height: 1.6;
    color: var(--ink-soft);
}
.home-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-weight: 600;
    font-size: 16px;
}
.home-btn:hover { background: var(--surface-alt); }
.home-btn.primary {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--brand-ink);
}
.home-btn.primary:hover { background: #0b2540; }
.home-btn:focus-visible, .app-card:focus-visible, .free-card:focus-visible {
    outline: 3px solid #4da8ff;
    outline-offset: 2px;
}

.home-section { padding: 64px 0; }
.home-section.alt { background: var(--surface-alt); }
.home-heading { margin-bottom: 28px; }
.home-heading h2 {
    font-size: clamp(26px, 4vw, 34px);
    letter-spacing: -0.01em;
    font-weight: 800;
}
.home-heading p {
    margin-top: 8px !important;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.6;
}

.app-group-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-soft);
    margin: 32px 0 12px !important;
}
.app-group-title:first-of-type { margin-top: 0 !important; }
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
}
.app-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    transition: border-color .15s ease, background .15s ease;
}
.app-card:hover { border-color: #c7ccd4; background: var(--surface-alt); }
.app-card img {
    width: 64px;
    height: 64px;
    flex: none;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.app-card-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.app-card-text strong { font-size: 17px; font-weight: 700; color: var(--ink); }
.app-card-text span { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

.free-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}
.free-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
}
.free-card:hover { border-color: #c7ccd4; }
.free-card strong { font-size: 17px; }
.free-card strong::after { content: " →"; color: var(--ink-soft); font-weight: 500; }
.free-card span { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.principles h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px !important; }
.principles p { color: var(--ink-soft); line-height: 1.65; font-size: 15px; }

.home-section.contact { border-top: 1px solid var(--line); }
.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.contact-inner h2 { font-size: 26px; font-weight: 800; }
.contact-inner p { margin-top: 8px !important; color: var(--ink-soft); line-height: 1.6; max-width: 560px; }

@media (max-width: 720px) {
    .container { width: auto; margin: 0 16px; }
    .home-hero { padding: 44px 0 40px; }
    .home-section { padding: 44px 0; }
    .home-actions .home-btn { flex: 1 1 auto; }
    .app-grid, .free-grid { grid-template-columns: 1fr; }
    .app-card img { width: 56px; height: 56px; border-radius: 12px; }
    .principles { grid-template-columns: 1fr; gap: 20px; }
    .contact-inner .home-btn { width: 100%; }
}
