/* ==========================================================================
   2026-01-27 [Sprint 10]
   components.css
   --------------------------------------------------------------------------
   역할 (KR):
   - 페이지 독립적으로 재사용 가능한 UI 컴포넌트 레이어
   - 버튼/헤더/푸터/섹션헤드 같은 공통 UI를 한 번에 통일
   - 하드코딩 제거 원칙: 색/값은 foundation 토큰만 사용
   --------------------------------------------------------------------------
   Role (EN):
   - Reusable UI components (page-agnostic)
   - Uses tokens only (no hard-coded colors)
   ========================================================================== */

/* Header */
.header{
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.8); /* intentionally kept as "glass" for white mode */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 10;
}

.nav{
    display:flex;
    align-items:center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
}

.brand{
    display:flex;
    align-items:center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: .2px;
}

/* Logo image sizing */
.brand-logo{
    width: 78px;
    display:block;
}

.navlinks{
    display:flex;
    align-items:center;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
}
.navlinks a:hover{ color: var(--text); }

.actions{
    display:flex;
    align-items:center;
    gap: 10px;
}

/* Buttons */
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap: 10px;

    padding: 10px 14px;
    border-radius: 14px;

    border: 1px solid var(--border);
    background: var(--surface);

    font-weight: 600;
    font-size: 14px;

    cursor:pointer;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    user-select:none;
}

.btn:hover{
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    border-color: var(--border-hover); /* ✅ tokenized (was #dfe3e8) */
}

.btn-primary{
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.btn-primary:hover{
    box-shadow: 0 16px 34px rgba(68,71,74,.22);
}

.btn-ghost{
    border-color: transparent;
    background: transparent;
    color: var(--muted);
}
.btn-ghost:hover{
    border-color: var(--border);
    background: var(--surface);
    color: var(--text);
}

/* Section Head */
.sectionHead{
    display:flex;
    align-items:flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.lead{
    color: var(--muted);
    max-width: 70ch;
    font-size: 15px;
}

/* Footer */
.footer{
    padding: 36px 0 46px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
}

.footRow{
    display:flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    align-items:center;
}

.footLinks{
    display:flex;
    gap: 14px;
    flex-wrap: wrap;
}
.footLinks a:hover{ color: var(--text); }