/* 홈페이지 메뉴 버튼은 기본적으로 숨깁니다. */
.header .homepage-menu-toggle {
    display: none;
    border: var(--k-border-light);
    background: var(--k-bg-white);
    color: var(--k-text-body);
    padding: 8px 12px;
    font: inherit;
}

/* 작은 화면에서는 홈페이지 메뉴 버튼과 서비스 탐색을 숨깁니다. */
@media (max-width: 1023px) {
    .header:not(.artloop-navigation) .homepage-menu-toggle {
        display: none;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        padding: 6px 9px;
        margin-right: 8px;
        font-size: 12px;
    }

    .header .homepage-navigation--services {
        display: none;
        margin: 0;
    }

    .header .homepage-navigation--services.is-open {
        display: flex;
        max-height: calc(100dvh - 80px);
        overflow-y: auto;
    }

    .header .homepage-navigation--services .nav-link {
        padding: 6px 0;
    }
}

.header .homepage-navigation--services .nav-link[aria-current="page"] {
    color: var(--fm-color-primary);
    font-weight: 700;
}

@media (max-width: 1023px) {
    .header .homepage-menu-toggle {
        display: none;
        margin-left: auto;
    }

    .header .nav-links.is-open {
        position: absolute;
        top: 100%;
        left: 14px;
        right: 14px;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        padding: 20px;
        background: var(--k-bg-white);
        border: var(--k-border-light);
        z-index: 30;
    }
}

/* Pretendard Font Face */
@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    font-style: normal;
    src: url('/fonts/Pretendard-Thin.otf') format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    font-style: normal;
    src: url('/fonts/Pretendard-ExtraLight.otf') format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-style: normal;
    src: url('/fonts/Pretendard-Light.otf') format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-style: normal;
    src: url('/fonts/Pretendard-Regular.otf') format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-style: normal;
    src: url('/fonts/Pretendard-Medium.otf') format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-style: normal;
    src: url('/fonts/Pretendard-SemiBold.otf') format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-style: normal;
    src: url('/fonts/Pretendard-Bold.otf') format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-style: normal;
    src: url('/fonts/Pretendard-ExtraBold.otf') format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-style: normal;
    src: url('/fonts/Pretendard-Black.otf') format('opentype');
    font-display: swap;
}

/* Cafe24 Moyamoya Font Face */
@font-face {
    font-family: 'Cafe24Moyamoya';
    font-weight: 400;
    font-style: normal;
    src: url('/fonts/Cafe24Moyamoya-Regular-v1.0.otf') format('opentype');
    font-display: swap;
}

:root {
    /* FreeMode Homepage - Clear Data Palette */
    --bg-cream: #ffffff;
    --bg-pink: #f5f3ff;
    --bg-mint: #f5f3ff;
    --bg-blue: #127ee3;
    --bg-purple: #f5f3ff;
    --bg-yellow: #f5f3ff;

	--ref-accent-yellow: #0f77ff;
    --accent-pop: #127ee3;
    --text-dark: #091135;
    --text-dark-2: #404040;
    --text-gray: #36394a;
    --text-muted: #b1bbcd;
    --text-dim: #666;
    --text-dim-strong: #555;

    --surface-white: #fff;
    --surface-soft: #f5f3ff;
    --surface-soft-2: #f1f5f9;
    --surface-soft-3: #e9ecef;
    --surface-neutral: #f5f3ff;
    --surface-neutral-2: #fafafa;
    --surface-neutral-3: #f1f3f4;
    --surface-neutral-4: #f1f3f5;
    --surface-soft-4: #fafbff;
    --surface-soft-5: #ecfdf5;
    --surface-soft-6: #f0fdf4;
    --surface-muted: #f5f5f5;
    --line-soft: #e1e9f0;
    --line-faint: #eee;
    --line-neutral: #e1e9f0;
    --line-soft-2: #e5e7eb;
    --line-mid: #ccc;
    --line-faint-2: #f0f0f0;
    --line-faint-3: #dee2e6;
    --line-disabled: #d1d5db;
    --line-default: #e2e8f0;

    --color-primary-500: #4a7de0;
    --color-primary-600: #6163E5;
    --color-primary-700: #2563eb;
    --color-accent-cyan: #47D8E8;
    --color-slate-900: #091135;
    --color-slate-400: #94a3b8;
    --color-slate-700: #334155;
    --color-slate-500: #64748b;
    --color-success-500: #10b981;
    --color-success-600: #16a34a;
    --color-info-50: #f0f9ff;
    --color-info-75: #f0f7ff;
    --color-info-100: #eff6ff;
    --color-info-200: #bfdbfe;
    --color-info-700: #0066CC;
    --color-success-800: #006400;
    --color-warning-800: #8B6914;
    --color-warning-200: #FFEE9C;
    --color-warning-300: #FFE873;
    --color-error-500: #f44a4a;
    --color-question-700: #6B2C91;
    --color-mockup-red: #ff5f56;
    --color-mockup-yellow: #ffbd2e;
    --color-mockup-green: #27c93f;
    --color-mockup-dark: #2d3436;
    --color-mockup-mid: #636e72;
    --color-danger-50: #fff0f0;
    --color-danger-100: #FFE5E5;

    --overlay-dark-08: rgba(0, 0, 0, 0.08);
    --overlay-dark-04: rgba(0, 0, 0, 0.04);
    --overlay-dark-10: rgba(0, 0, 0, 0.1);
    --overlay-dark-15: rgba(0, 0, 0, 0.15);
    --overlay-dark-50: rgba(0, 0, 0, 0.5);
    --overlay-white-95: rgba(255, 255, 255, 0.95);
    --overlay-white-30: rgba(255, 255, 255, 0.3);
    --overlay-white-10: rgba(255, 255, 255, 0.1);
    --overlay-primary-15: rgba(97, 99, 229, 0.15);
    --overlay-primary-30: rgba(97, 99, 229, 0.3);
    --overlay-primary-40: rgba(97, 99, 229, 0.4);
    --overlay-primary-60: rgba(97, 99, 229, 0.6);
    --overlay-mint-10: rgba(193, 251, 164, 0.1);
    --overlay-mint-30: rgba(193, 251, 164, 0.3);
    --overlay-mint-50: rgba(193, 251, 164, 0.5);
    --overlay-blue-50: rgba(162, 210, 255, 0.5);
    --overlay-yellow-40: rgba(255, 239, 150, 0.4);
    --overlay-pink-40: rgba(255, 214, 224, 0.4);
    --overlay-cream-95: rgba(249, 248, 243, 0.95);

    --border-black: 1px solid var(--line-neutral);
    --shadow-hard: inset 0 0 0 1px var(--surface-soft);
    --shadow-hover: 0 1px 6px var(--overlay-dark-04);

    --radius-lg: 16px;
    --radius-md: 8px;
    --radius-pill: 100px;

    --container-width: 1200px;

    /* 홈페이지 다크 미션 컨트롤 디자인 토큰 */
    --home-void: #0b0c0e;
    --home-graphite: #131416;
    --home-charcoal: #1f1f21;
    --home-smoke: #3c3d3e;
    --home-steel: #71717a;
    --home-fog: #858687;
    --home-chalk: #cececf;
    --home-snow: #ffffff;
    --home-bone: #f2f2f2;
    --home-ink: #333333;
    --home-blue: #3b82f6;
    --home-blue-light: #60a5fa;
    --home-green: #4ade80;
    --home-border: rgba(255, 255, 255, 0.07);
    --home-border-strong: rgba(255, 255, 255, 0.1);
    --home-soft-fill: rgba(255, 255, 255, 0.05);
    --home-green-fill: rgba(74, 222, 128, 0.1);
    --home-panel-fill: rgba(21, 22, 24, 0.8);
    --home-panel-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 0.5px var(--home-border), 0 20px 44px rgba(0, 0, 0, 0.14);

    /* 홈페이지 라이트 애널리틱스 디자인 토큰 */
    --visitor-carbon: #181925;
    --visitor-paper: #ffffff;
    --visitor-linen: #fafafa;
    --visitor-mist: #f5f5f5;
    --visitor-fog: #e8e8e8;
    --visitor-ash: #999999;
    --visitor-graphite: #666666;
    --visitor-lavender: var(--color-primary-600);
    --visitor-iris: var(--color-primary-600);
    --visitor-mint: #33c758;
    --visitor-mint-wash: #def6e4;
    --visitor-sky: #2c78fc;
    --visitor-gradient: linear-gradient(100deg, var(--visitor-sky) 0%, var(--visitor-lavender) 100%);
    --visitor-text-gradient: linear-gradient(90deg, var(--color-primary-600) 0%, var(--color-accent-cyan) 100%);
    --visitor-shadow: rgba(0, 0, 0, 0.06) 0 1px 3px, rgba(0, 0, 0, 0.06) 0 8px 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Background Blobs */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.35;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-highlight {
    position: relative;
    z-index: 1;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 35%;
    background: var(--bg-blue);
    z-index: -1;
    border-radius: 4px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    height: 60px;
    background: var(--overlay-white-95);
    backdrop-filter: blur(12px);
    border-bottom: var(--border-black);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    z-index: 1000;
    box-shadow: 0 1px 4px var(--overlay-dark-04);
}

.header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-size: 22px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    text-decoration: none;
}

.header-logo img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

/* 헤더 로고 텍스트 공통 스타일 */
.freemode-logo-text {
    display: inline-block;
    font-family: 'Pretendard', sans-serif;
    font-size: inherit;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gray);
}

.nav-link:hover {
    color: var(--accent-pop);
}

.btn-freemode {
    background: var(--ref-accent-yellow);
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.75rem 1.8rem;
    border: var(--border-black);
    border-radius: var(--fm-button-radius, var(--fm-radius-medium));
    display: inline-block;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    text-align: center;
}

.btn-freemode:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: var(--surface-neutral);
}

.btn-freemode.primary {
    background: var(--accent-pop);
    color: white;
    border-color: var(--accent-pop);
}

.btn-freemode.primary:hover {
    background: var(--color-primary-500);
    border-color: var(--color-primary-500);
    color: white;
}

.btn-freemode.secondary {
    background: white;
    color: var(--text-dark);
}

.btn-freemode.secondary:hover {
    background: var(--surface-neutral);
}







.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: var(--border-black);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-hard);
}

.display-text {
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(3rem, 5vw, 4.0rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-top: 2rem;
    font-weight: 500;
    line-height: 1.7;
}










@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Section Common */
.section-label {
    font-weight: 800;
    color: var(--accent-pop);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 10px;
    color: var(--text-dark);
    line-height: 1.3;
}







.stat-label {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 600;
}




/* Footer */
.footer {
    background: white;
    border-top: var(--border-black);
    padding: 2rem 0;
    margin-top: 0;
}

.job-site-footer {
    margin-top: auto;
    padding: 38px 0 44px;
    background-color: #fafaf8;
}

.job-footer-inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

.job-footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.job-footer-links a {
    color: #111;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.job-footer-links a:hover {
    color: var(--accent-pop);
}

.job-footer-divider {
    color: #d1d5db;
    font-size: 12px;
}

.job-footer-info-group {
    display: grid;
    gap: 6px;
}

.job-footer-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    color: #555;
    font-size: 12px;
    line-height: 1.8;
}

.job-footer-copyright {
    margin: 26px 0 0;
    color: #555;
    font-size: 12px;
}

/* Tablet & Mobile */
@media (max-width: 1023px) {

    .hero-desc {
        margin: 0 auto 2.5rem;
    }

    .nav-links,
    .header-actions {
        display: none;
    }







    .job-site-footer {
        padding: 28px 16px 34px;
    }

    .job-footer-inner {
        padding: 0;
    }

    .job-footer-links,
    .job-footer-info {
        justify-content: flex-start;
    }

    .job-footer-copyright {
        text-align: left;
    }
}

/* Mobile (768px 이하) */
@media (max-width: 1023px) {
    :root {
        --container-width: 100%;
    }

    .container {
        padding: 0 1rem;
    }

    /* Header */
    .header {
        width: 100%;
        height: 60px;
        padding: 0 1rem;
        top: 0;
    }

    .header-logo {
        font-size: 18px;
        gap: 5px;
    }

    .header-logo img {
        width: 20px;
        height: 22px;
    }




    .hero-chip {
        font-size: 0.85rem;
        padding: 6px 12px;
        margin-bottom: 1rem;
    }

    .display-text {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }




    .btn-freemode {
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }




    /* Background Blobs */
    .bg-blob {
        width: 300px !important;
        height: 300px !important;
        filter: blur(60px);
        opacity: 0.4;
    }










    .section-title {
        font-size: 1.8rem !important;
    }




    .stat-label {
        font-size: 0.85rem;
    }



}

/* Small Mobile (480px 이하) */
@media (max-width: 767px) {
    .container {
        padding: 0 0.75rem;
    }

    /* Header */
    .header {
        width: 100%;
        height: 55px;
        padding: 0 0.75rem;
        top: 0;
    }

    .header-logo {
        font-size: 18px;
        gap: 5px;
    }

    .header-logo img {
        width: 20px;
        height: 22px;
    }




    .hero-chip {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .display-text {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
    }

    .hero-desc {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .btn-freemode {
        max-width: 100%;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }




    /* Background Blobs */
    .bg-blob {
        width: 250px !important;
        height: 250px !important;
        filter: blur(50px);
        opacity: 0.3;
    }










    .section-title {
        font-size: 1.5rem !important;
    }




    .stat-label {
        font-size: 0.8rem;
    }



}

/* ==============================
   Guide Page Styles
   ============================== */
.guide-hero {
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
}

.guide-section {
    padding: 20px 0 60px;
}

/* Tabs */
.guide-tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 2rem;
}

.guide-tabs {
    display: flex;
    gap: 0.5rem;
    border: var(--border-black);
    border-radius: var(--radius-pill);
    background: white;
    padding: 6px;
    min-width: max-content;
}

.guide-tab {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: var(--radius-pill);
    background: transparent;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.guide-tab:hover {
    color: var(--text-dark);
    background: var(--surface-muted);
}

.guide-tab.active {
    background: var(--text-dark);
    color: white;
    box-shadow: var(--shadow-hover);
}

/* Tab Content */
.guide-tab-content {
    display: none;
}

.guide-tab-content.active {
    display: block;
}

/* Accordion */
.accordion-item {
    background: white;
    border: var(--border-black);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-item:hover {
    box-shadow: var(--shadow-hard);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    border: none;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Pretendard', sans-serif;
    text-align: left;
}

.accordion-title-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accordion-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

.accordion-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.accordion-subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0.2rem 0 0;
    font-weight: 500;
}

.accordion-icon {
    font-size: 1rem;
    color: var(--text-gray);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.accordion-item.open .accordion-icon {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.open .accordion-body {
    max-height: 2000px;
}

/* Guide Content Layout */
.guide-content-row {
    display: flex;
    gap: 2.5rem;
    padding: 0 2rem 2rem;
    align-items: flex-start;
}

.guide-text {
    flex: 1;
    min-width: 0;
}

.guide-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.guide-text p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.guide-steps {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.guide-steps li {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.guide-list {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
    list-style: disc;
}

.guide-list li {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.guide-tip {
    background: var(--color-info-50);
    border: 1px solid var(--bg-blue);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-top: 1rem;
}

.guide-tip strong {
    color: var(--accent-pop);
    margin-right: 0.5rem;
}

/* Guide Screenshot / Mockup */
.guide-screenshot {
    flex: 0 0 320px;
    max-width: 320px;
}

.guide-mockup {
    border: var(--border-black);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-hard);
    background: var(--surface-neutral);
}

.mockup-bar {
    background: var(--surface-soft-3);
    padding: 8px 12px;
    display: flex;
    gap: 5px;
    border-bottom: 1px solid var(--line-faint-3);
}

.mockup-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.mockup-bar i:nth-child(1) { background: var(--color-mockup-red); }
.mockup-bar i:nth-child(2) { background: var(--color-mockup-yellow); }
.mockup-bar i:nth-child(3) { background: var(--color-mockup-green); }

.mockup-app {
    display: flex;
    min-height: 200px;
}

.mockup-side {
    width: 45px;
    background: var(--color-mockup-dark);
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ms-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--accent-pop);
    color: white;
    font-weight: 800;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.ms-item {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--color-mockup-mid);
    opacity: 0.4;
}

.ms-item.active {
    background: white;
    opacity: 1;
}

.mockup-main {
    flex: 1;
    padding: 10px;
    overflow: hidden;
}

.mockup-body-solo {
    padding: 1.5rem;
    min-height: 200px;
}

/* Mock Elements */
.mock-header-bar {
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line-faint);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-add-btn {
    font-size: 0.6rem;
    background: var(--bg-mint);
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 600;
    border: 1px solid var(--text-dark);
}

.mock-form {
    max-width: 200px;
    margin: 0 auto;
}

.mock-logo {
    font-family: 'Pretendard', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 1rem;
}

.mock-input {
    background: var(--surface-neutral-3);
    border-radius: 8px;
    padding: 0.45rem 0.7rem;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.mock-checkbox {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: var(--text-dim);
    margin: 0.5rem 0;
}

.mock-checkbox::before {
    content: '';
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--line-mid);
    border-radius: 3px;
    flex-shrink: 0;
}

.mock-btn {
    padding: 0.45rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: default;
    border: 1px solid var(--text-dark);
}

.mock-btn.mint { background: var(--bg-mint); }
.mock-btn.blue { background: var(--bg-blue); }
.mock-btn.pink { background: var(--bg-pink); }
.mock-btn.yellow { background: var(--bg-yellow); }

/* Mock Stats */
.mock-stat-row {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.mock-stat {
    flex: 1;
    padding: 8px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--overlay-dark-10);
}

.mock-stat.mint { background: var(--bg-mint); }
.mock-stat.blue { background: var(--bg-blue); }
.mock-stat.pink { background: var(--bg-pink); }

.stat-num {
    font-weight: 800;
    font-size: 1rem;
}

.stat-label {
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Mock Chart */
.mock-chart-area {
    background: white;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid var(--line-faint);
    position: relative;
}

.mock-chart-bars {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 60px;
}

.chart-bar {
    flex: 1;
    background: var(--bg-blue);
    border-radius: 4px 4px 0 0;
    min-height: 5px;
}

.chart-bar:nth-child(odd) {
    background: var(--bg-mint);
}

.mock-chart-label {
    font-size: 0.55rem;
    color: var(--text-muted);
    display: block;
    margin-top: 6px;
}

/* Mock Cards Grid */
.mock-card-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mock-project-card {
    background: white;
    border: 1px solid var(--line-faint);
    border-radius: 8px;
    padding: 8px 10px;
}

.mpc-color {
    width: 100%;
    height: 3px;
    border-radius: 3px;
    margin-bottom: 5px;
}

.mpc-color.mint { background: var(--bg-mint); }
.mpc-color.blue { background: var(--bg-blue); }
.mpc-color.pink { background: var(--bg-pink); }

.mpc-title {
    font-weight: 700;
    font-size: 0.7rem;
}

.mpc-sub {
    font-size: 0.55rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.mpc-progress {
    background: var(--line-faint);
    height: 4px;
    border-radius: 4px;
    overflow: hidden;
}

.mpc-progress > div {
    height: 100%;
    background: var(--bg-blue);
    border-radius: 4px;
}

/* Mock Tabs */
.mock-tab-bar {
    display: flex;
    gap: 0;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--line-faint);
}

.mock-tab {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 4px 8px;
    color: var(--text-muted);
}

.mock-tab.active {
    color: var(--text-dark);
    border-bottom: 2px solid var(--text-dark);
}

/* Mock Content List */
.mock-content-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-content-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 6px;
    background: var(--surface-neutral-2);
    border-radius: 8px;
}

.mock-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-pink);
    flex-shrink: 0;
}

.mock-content-text {
    flex: 1;
    min-width: 0;
}

.mock-line {
    height: 6px;
    background: var(--surface-soft-3);
    border-radius: 3px;
    margin-bottom: 4px;
}

.mock-line.w50 { width: 50%; }
.mock-line.w60 { width: 60%; }
.mock-line.w70 { width: 70%; }
.mock-line.w80 { width: 80%; }

/* Mock Table */
.mock-table {
    font-size: 0.6rem;
}

.mock-table-head {
    display: flex;
    font-weight: 700;
    padding: 5px 0;
    border-bottom: 2px solid var(--text-dark);
    gap: 8px;
}

.mock-table-head span {
    flex: 1;
}

.mock-table-row {
    display: flex;
    padding: 6px 0;
    border-bottom: 1px solid var(--line-faint);
    gap: 8px;
    align-items: center;
}

.mock-table-row span {
    flex: 1;
}




/* 가이드 목업의 상태 체크 표시 */
.mock-status-check {
    width: 16px;
    height: 16px;
    border: 2px solid var(--line-mid);
    border-radius: 4px;
    flex-shrink: 0;
    display: inline-block;
}

.mock-status-check.checked {
    background: var(--bg-mint);
    border-color: var(--text-dark);
    position: relative;
}

.mock-status-check.checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 4px;
    width: 4px;
    height: 7px;
    border: solid var(--text-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Mock Input Bar */
.mock-input-bar {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 8px;
    background: white;
    border: 1px solid var(--line-faint);
    border-radius: 8px;
    margin-top: 8px;
}

.mock-send-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-blue);
    flex-shrink: 0;
}

/* Mock Calendar */
.mock-calendar {
    font-size: 0.55rem;
}

.cal-header {
    display: flex;
    font-weight: 700;
    margin-bottom: 4px;
}

.cal-header span {
    flex: 1;
    text-align: center;
    padding: 3px 0;
}

.cal-row {
    display: flex;
}

.cal-row span {
    flex: 1;
    text-align: center;
    padding: 4px 0;
    border-radius: 4px;
}

.cal-event {
    font-weight: 700;
    color: var(--text-dark);
}

.cal-event.mint { background: var(--overlay-mint-50); }
.cal-event.blue { background: var(--overlay-blue-50); }




/* Mock Notification */
.mock-noti-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 4px;
}

.mock-noti-item.unread {
    background: var(--color-info-75);
}

.mock-noti-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-pop);
    flex-shrink: 0;
    margin-top: 4px;
}

.mock-noti-dot.read {
    background: var(--line-soft);
}

/* Mock Setting Card */
.mock-setting-card {
    background: var(--surface-neutral-2);
    border: 1px solid var(--line-faint);
    border-radius: 10px;
    padding: 0.8rem;
}

/* Mock Toggle */
.mock-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.75rem;
    font-weight: 500;
    border-bottom: 1px solid var(--line-faint-2);
}

.mock-toggle {
    width: 32px;
    height: 18px;
    border-radius: 9px;
    background: var(--line-soft);
    position: relative;
}

.mock-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    transition: left 0.2s;
}

.mock-toggle.on {
    background: var(--bg-mint);
}

.mock-toggle.on::after {
    left: 16px;
}

/* Guide Page Responsive */
@media (max-width: 1023px) {
    .guide-content-row {
        flex-direction: column;
    }

    .guide-screenshot {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .guide-mockup {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 1023px) {
    .guide-hero {
        padding: 100px 0 30px;
    }

    .guide-section {
        padding: 10px 0 40px;
    }

    .guide-tabs {
        padding: 4px;
    }

    .guide-tab {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .accordion-header {
        padding: 1rem 1.2rem;
    }

    .accordion-emoji {
        font-size: 1.5rem;
    }

    .accordion-title {
        font-size: 1rem;
    }

    .accordion-subtitle {
        font-size: 0.8rem;
    }

    .guide-content-row {
        padding: 0 1.2rem 1.5rem;
        gap: 1.5rem;
    }

    .guide-text h4 {
        font-size: 1rem;
    }

    .guide-steps li,
    .guide-list li {
        font-size: 0.9rem;
    }

    .guide-screenshot {
        max-width: 100%;
    }

    .guide-mockup {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .guide-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .accordion-header {
        padding: 0.8rem 1rem;
    }

    .accordion-emoji {
        font-size: 1.3rem;
    }

    .accordion-title {
        font-size: 0.95rem;
    }

    .guide-content-row {
        padding: 0 1rem 1.2rem;
    }
}

/* ===== Custom Alert (coopCom.alert) ===== */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

@keyframes alertPopIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.custom-alert-container {
    background: var(--surface-white);
    border: none;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 420px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px var(--overlay-dark-10);
    animation: alertPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.custom-alert-header {
    padding: 0 0 1rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--line-neutral);
}

.custom-alert-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
}

.custom-alert-body {
    padding: 0.5rem 0 1rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.custom-alert-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.custom-alert-icon svg {
    width: 48px;
    height: 48px;
}

.custom-alert-icon.alert-info { background-color: var(--bg-blue); color: var(--color-info-700); }
.custom-alert-icon.alert-success { background-color: var(--bg-mint); color: var(--color-success-800); }
.custom-alert-icon.alert-warning { background-color: var(--bg-yellow); color: var(--color-warning-800); }
.custom-alert-icon.alert-error { background-color: var(--color-danger-100); color: var(--color-error-500); }
.custom-alert-icon.alert-question { background-color: var(--bg-purple); color: var(--color-question-700); }

.custom-alert-message {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
    word-break: break-word;
    white-space: pre-line;
}

.custom-alert-footer {
    padding: 1rem 0 0 0;
    margin-top: 0;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    border-top: 1px solid var(--line-neutral);
}

.custom-alert-footer.single-button { justify-content: center; }
.custom-alert-footer.two-buttons { justify-content: space-between; }

.custom-alert-footer .btn-freemode {
    flex: 1;
    min-width: 100px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--fm-button-radius, var(--fm-radius-medium));
}

/* 공통 알림의 확인 버튼에 요금제 시작하기 버튼과 같은 색상을 적용합니다. */
.custom-alert-footer .btn-freemode.primary,
.custom-alert-footer .btn-freemode.is-primary {
    background-color: var(--ref-ink);
    color: var(--fm-color-surface);
    border: 1px solid var(--ref-ink);
}

.custom-alert-footer .btn-freemode.primary:hover,
.custom-alert-footer .btn-freemode.is-primary:hover {
    background-color: var(--home-ink);
    box-shadow: 0 2px 8px var(--overlay-dark-10);
}

/* 개인정보 처리방침 */
.privacy-policy-main {
    padding: 4rem 1rem;
    color: var(--text-dark);
}

/* 개인정보 동의 팝업을 프릿 법률 화면과 동일한 색상과 여백으로 표시한다. */
.privacy-consent-page {
    --accent-pop: var(--color-primary-600);
    --line-neutral: var(--k-color-gray-e0);
    --surface-soft: var(--k-color-gray-fa);
    --surface-soft-2: var(--k-color-gray-fa);
    --text-dark: var(--ref-ink);
    --text-gray: var(--ref-gray-700);
    width: 100%;
    padding: 1rem;
    margin-top: 50px;
}

.privacy-policy-title {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
}

.privacy-consent-page .privacy-policy-title {
    font-weight: 400;
}

.privacy-policy-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.privacy-policy-meta strong {
    color: var(--text-dark);
}

/* 정책 제목 아래에서 시행일자와 버전 선택을 한 줄로 정렬한다. */
.legal-document-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line-neutral);
}

.legal-document-toolbar .privacy-policy-meta {
    justify-content: flex-start;
    margin: 0;
}

.privacy-consent-page .legal-document-toolbar {
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 24px;
}

.privacy-consent-page .privacy-policy-meta {
    gap: 8px;
    font-size: 14px;
}

.privacy-consent-page .privacy-policy-meta strong {
    font-weight: 700;
}

.legal-document-version-field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 600;
}

.privacy-consent-page .legal-document-version-field {
    gap: 12px;
    font-size: 14px;
}

.legal-document-version-select {
    min-width: 280px;
    height: 42px;
    padding: 0 2.5rem 0 0.875rem;
    border: 1px solid var(--line-neutral);
    border-radius: var(--radius-md);
    background-color: var(--surface-white);
    color: var(--text-dark);
    font: inherit;
    cursor: pointer;
}

/* 정책 버전 선택창도 공용 옵션 목록과 기존 입력 너비를 사용합니다. */
.legal-document-version-field > .select-arrow-wrapper.is-enhanced-select {
    width: 280px;
    min-width: 0;
}

.legal-document-version-field .select-menu-trigger {
    height: 42px;
}

.privacy-consent-page .legal-document-version-field > .select-arrow-wrapper.is-enhanced-select {
    width: 320px;
}

.privacy-consent-page .legal-document-version-field .select-menu-trigger {
    height: var(--k-input-height);
}

.privacy-consent-page .legal-document-version-select {
    width: 320px;
    max-width: 100%;
    min-width: 0;
    height: var(--k-input-height);
    padding: 0 40px 0 14px;
    border: 1px solid var(--k-color-gray-e0);
    border-radius: var(--k-radius-md);
    background-color: var(--k-bg-white);
    color: var(--ref-ink);
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.privacy-consent-page .legal-document-version-select:focus,
.privacy-consent-page .legal-document-version-select:focus-visible {
    border-color: var(--k-text-gray);
    outline: none;
}

.legal-document-version-select:focus-visible {
    border-color: var(--accent-pop);
    outline: 2px solid var(--accent-pop);
    outline-offset: 2px;
}

.legal-document-version-select:disabled {
    cursor: default;
    opacity: 0.65;
}

.privacy-policy-panel {
    line-height: 1.8;
}

.privacy-consent-page .privacy-policy-panel {
    padding: 1rem;
    border: 1px solid var(--overlay-white-10);
    border-radius: 12px;
    background: var(--overlay-white-10);
}

.privacy-policy-history {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line-neutral);
}

.privacy-policy-history h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 800;
}

.privacy-policy-history-list {
    display: grid;
    gap: 0.75rem;
}

.privacy-policy-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: var(--border-black);
    border-radius: var(--radius-md);
    background: var(--surface-white);
}

.privacy-policy-history-item a,
.privacy-policy-history-current {
    color: var(--text-dark);
    font-weight: 700;
}

.privacy-policy-history-item a:hover {
    color: var(--accent-pop);
}

.privacy-policy-history-period {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.legal-consent-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line-neutral);
    border-radius: var(--radius-md);
    background: var(--surface-white);
}

.legal-consent-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
}

.legal-consent-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.legal-consent-table th,
.legal-consent-table td {
    padding: 16px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.legal-consent-table th {
    padding: 10px 16px;
    background: var(--surface-soft-2);
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.legal-consent-table td {
    border-top: 1px solid var(--line-neutral);
    color: var(--text-gray);
    font-size: 12px;
    line-height: 1.7;
}

.legal-consent-table th + th,
.legal-consent-table td + td {
    border-left: 1px solid var(--line-neutral);
}

.legal-consent-refusal {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line-neutral);
}

.legal-consent-refusal h2 {
    margin: 0;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.legal-consent-refusal p {
    margin: 0;
    color: var(--text-gray);
    font-size: 12px;
    line-height: 1.8;
}

.legal-consent-table-wrap:focus-visible {
    outline: 2px solid var(--accent-pop);
    outline-offset: 2px;
}

.privacy-policy-history-badge {
    flex: 0 0 auto;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--line-neutral);
    border-radius: var(--radius-pill);
    background: var(--surface-soft);
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .privacy-policy-main {
        padding: 3rem 1rem;
    }

    .privacy-policy-title {
        font-size: 1.7rem;
    }

    .privacy-policy-panel {
        padding: 1.25rem;
    }

    .privacy-consent-page {
        padding: 1rem;
    }

    .privacy-consent-page .privacy-policy-title {
        font-size: 2rem;
    }

    .privacy-consent-page .privacy-policy-panel {
        padding: 1rem;
    }

    .legal-document-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
    }

    .legal-document-version-field {
        justify-content: space-between;
    }

    .legal-document-version-select {
        width: min(100%, 320px);
        min-width: 0;
    }

    .privacy-policy-history-item {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   피그마 캡처 기반 프리모드 홈페이지 디자인
   ========================================================= */

/* 공통 헤더를 피그마 프레임의 수평형 내비게이션으로 유지하며 스크롤 상단에 고정한다. */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px;
    padding: 0 24px;
    border: 0;
    border-radius: 0;
    background: var(--visitor-paper);
    box-shadow: none;
    backdrop-filter: none;
}

/* 페이지를 아래로 스크롤하면 고정 헤더와 본문 사이에 프릿와 동일한 그림자를 표시한다. */
.header.is-scrolled {
    box-shadow: var(--k-shadow-hard-sm);
}

/* 공통 헤더 콘텐츠를 최대 1260px 폭으로 정렬한다. */
.header-inner {
    width: 100%;
    max-width: 1260px;
    min-height: 60px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

/* 로고 크기를 헤더 높이에 맞게 축소한다. */
.header-logo {
    gap: 8px;
    color: var(--visitor-carbon);
    font-size: 20px;
}

.header-logo img {
    width: 40px;
    height: 40px;
}

/* 주요 메뉴를 로고 옆에 좌측 정렬하고 로그인 버튼은 우측에 유지한다. */
/* 연구소 진입 메뉴를 포함한 서비스 메뉴는 좁은 PC에서도 한 줄로 배치합니다. */
@media (min-width: 1024px) and (max-width: 1279px) {
    .header .homepage-navigation--services {
        gap: 16px;
        margin-left: 20px;
    }

    .header .homepage-navigation--services .nav-link {
        white-space: nowrap;
    }
}

.nav-links {
    gap: 36px;
    margin-left: 36px;
    margin-right: auto;
}

.nav-link {
    color: var(--visitor-carbon);
    font-size: 14px;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--visitor-lavender);
}

/* 헤더의 행동 버튼을 알약형으로 구성합니다. */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-ghost-action,
.header-primary-action,
.header-logout-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
}

.header-ghost-action {
    color: var(--visitor-carbon);
    background: transparent;
}

/* 로그인과 시작하기를 시안의 크기로 표시하고 기존 아트루프 버튼은 유지합니다. */
.header:not(.artloop-navigation) .header-actions {
    gap: 2px;
}

.header:not(.artloop-navigation) .header-ghost-action,
.header:not(.artloop-navigation) .header-primary-action {
    min-height: 40px;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    color: var(--ref-ink);
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.header:not(.artloop-navigation) .header-primary-action,
.header:not(.artloop-navigation) .header-primary-action:hover {
    color: var(--fm-color-surface);
    background: var(--ref-ink);
    font-weight: 600;
}

.header-primary-action,
.header-primary-action:hover {
    color: var(--visitor-paper);
    background: var(--visitor-lavender);
}

/* 로그아웃은 기존 외곽선 버튼 디자인을 사용합니다. */
.header-logout-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fm-color-border-strong);
    background: var(--fm-color-surface);
    color: var(--fm-color-text-primary);
    font-size: 14px;
}

.header-logout-action:hover {
    background: var(--fm-color-canvas);
    color: var(--fm-color-text-primary);
}

/* 홈페이지 본문은 기존 공통 색상과 서체를 사용합니다. */
.captured-homepage {
    width: 100%;
    padding-bottom: 120px;
    color: var(--ref-ink);
    background: var(--fm-color-surface);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 홈페이지 본문을 공통 푸터와 같은 최대 폭으로 정렬합니다. */
.captured-container {
    width: min(100% - 48px, 1260px);
    margin: 0 auto;
}

/* 히어로의 제목과 설명, 행동 버튼을 중앙 정렬합니다. */
.captured-hero {
    padding: 60px 32px;
    text-align: center;
}

/* 서비스 성격을 알리는 칩의 테두리를 시안의 보라색·청록색 그라데이션으로 표시합니다. */
.captured-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1.5px solid transparent;
    border-radius: var(--radius-pill);
    color: var(--text-dark-2);
    background:
        linear-gradient(var(--fm-color-surface), var(--fm-color-surface)) padding-box,
        linear-gradient(106.7deg, var(--fm-color-primary) 14%, var(--fm-color-logo-cyan) 87%) border-box;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.captured-hero h1 {
    margin: 16px 0 0;
    color: var(--ref-ink);
    font-size: 42px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.captured-hero h1 strong {
    color: var(--ref-ink);
    font-size: 52px;
    font-weight: 600;
}

.captured-hero > p {
    margin: 32px 0 0;
    color: var(--fm-color-header-icon);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

/* 히어로의 주요·보조 행동 버튼을 한 줄에 배치합니다. */
.captured-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 52px;
}

/* 홈페이지의 주요·보조 행동 버튼 크기를 통일합니다. */
.captured-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 24px;
    border: 1.5px solid transparent;
    border-radius: var(--fm-button-radius, var(--fm-radius-medium));
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

/* 히어로 행동 버튼의 글자 굵기를 요청한 보통 굵기로 맞춥니다. */
.captured-actions .captured-button {
    font-weight: 500;
}

.captured-button.is-primary,
.captured-button.is-primary:hover {
    color: var(--fm-color-surface);
    background: var(--ref-ink);
}

.captured-button.is-secondary,
.captured-button.is-secondary:hover {
    color: var(--ref-ink);
    border-color: var(--ref-ink);
    background: var(--fm-color-surface);
}

/* 제품 미리보기의 원본 화면을 시안의 비율과 위치로 겹칩니다. */
.captured-product-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1260 / 490;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--fm-color-surface) 0%, transparent) 50%,
            var(--fm-color-surface) 92.5%),
        linear-gradient(90deg, color-mix(in srgb, var(--fm-color-primary) 10%, var(--fm-color-surface)),
            color-mix(in srgb, var(--color-accent-cyan) 10%, var(--fm-color-surface)));
}

.captured-product-screen {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.captured-product-screen::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--fm-color-surface) 0%, transparent) 30.508%,
        var(--fm-color-surface) 89.576%);
    pointer-events: none;
}

.captured-product-screen img {
    display: block;
    position: absolute;
    max-width: none;
}

.captured-product-screen.is-project {
    top: 19.796%;
    left: 5.9524%;
    width: 33.8398%;
    height: 72.0943%;
}

.captured-product-screen.is-project img {
    top: -4.72%;
    left: -19.4%;
    width: 138.8%;
    height: 104.74%;
}

.captured-product-screen.is-contract {
    top: 19.796%;
    left: 56.6667%;
    width: 37.381%;
    height: 71.4286%;
}

.captured-product-screen.is-contract img {
    top: -3.74%;
    left: 0;
    width: 100%;
    height: 103.8%;
}

.captured-product-screen.is-dashboard {
    top: 12.2449%;
    left: 27.0675%;
    width: 43.4883%;
    height: 81.6229%;
}

.captured-product-screen.is-dashboard img {
    top: -3.93%;
    left: 0;
    width: 100%;
    height: 136.19%;
}

/* 정식 출시 전 무료 이용 혜택을 넓은 강조 밴드로 표시한다. */
.captured-free-band {
    padding: 72px 24px 70px;
    text-align: center;
    background: var(--surface-soft);
    background: color-mix(in srgb, var(--surface-soft) 75%, var(--visitor-linen));
}

.captured-free-band p {
    color: var(--visitor-carbon);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.5;
}

.captured-free-band strong {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
    color: var(--color-primary-600);
    background: var(--visitor-text-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(34px, 3vw, 48px);
    font-weight: 600;
}

/* 소개 제목, 업무 흐름, 핵심 문구를 하나의 세로 흐름으로 배치합니다. */
.captured-story {
    padding: 60px 0 116px;
    text-align: center;
}

.captured-story h2 {
    margin: 0;
    color: var(--ref-ink);
    font-size: 36px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

/* 업무 흐름 아래의 핵심 문구는 자바스크립트 없이도 읽을 수 있습니다. */
.captured-story-line-stage {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin-top: 114px;
}

.captured-story-reveal-line {
    display: block;
    margin: 0;
    color: var(--ref-ink);
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.captured-story-reveal-line.is-point {
    font-size: 24px;
    font-weight: 500;
}

.captured-story-reveal-line.is-final {
    font-size: 48px;
    font-weight: 600;
}

/* 기존 스크롤 노출 효과를 축약된 제목과 핵심 문구에 적용합니다. */
.captured-story.is-story-reveal-ready h2,
.captured-story.is-story-reveal-ready .captured-story-reveal-line {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1.4s ease, transform 1.4s ease;
    will-change: opacity, transform;
}

.captured-story.is-story-reveal-ready.is-story-visible h2,
.captured-story.is-story-reveal-ready.is-story-visible .captured-story-reveal-line {
    opacity: 1;
    transform: translateY(0);
}

.captured-story.is-story-reveal-ready.is-story-visible h2 {
    transition-delay: 0s;
}

.captured-story.is-story-reveal-ready.is-story-visible .captured-story-reveal-line:nth-child(1) {
    transition-delay: 0.24s;
}

.captured-story.is-story-reveal-ready.is-story-visible .captured-story-reveal-line:nth-child(2) {
    transition-delay: 0.48s;
}

@media (prefers-reduced-motion: reduce) {
    .captured-story.is-story-reveal-ready h2,
    .captured-story.is-story-reveal-ready .captured-story-reveal-line {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* 원본 아이콘과 화살표로 여섯 단계 업무 흐름을 연결합니다. */
.captured-workflow {
    display: grid;
    grid-template-columns: minmax(0, 111fr) 24px minmax(0, 111fr) 24px minmax(0, 108fr) 24px
        minmax(0, 143fr) 24px minmax(0, 161fr) 24px minmax(0, 180fr);
    align-items: start;
    gap: clamp(8px, 1.25vw, 24px);
    max-width: 1174px;
    margin: 60px auto 0;
}

.captured-workflow article {
    display: flex;
    align-items: center;
    flex-direction: column;
    min-width: 0;
    text-align: center;
}

.captured-workflow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 88px;
    height: 88px;
    border: 1px solid var(--k-color-gray-fa);
    border-radius: 50%;
    background: var(--fm-color-surface);
    box-shadow: 2px 2px 6px var(--overlay-dark-04);
}

/* SVG는 원본 색상과 크기를 유지하며 견적 원형의 그림자까지 표시합니다. */
.captured-workflow img {
    display: block;
    max-width: none;
    flex-shrink: 0;
}

.captured-workflow-icon.is-estimate {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.captured-workflow-icon.is-estimate > img {
    position: absolute;
    top: -4px;
    left: -4px;
}

/* 고객 아이콘의 두 원본 SVG를 시안의 상대 위치로 겹칩니다. */
.captured-customer-icon {
    position: relative;
    width: 40.897px;
    height: 32px;
}

.captured-customer-icon .is-back {
    position: absolute;
    top: 0;
    left: 8.9px;
}

.captured-customer-icon .is-front {
    position: absolute;
    top: -1px;
    left: -1px;
}

/* 기회 아이콘의 원본 선이 시안의 32px 높이 영역 밖으로 이어지게 합니다. */
.captured-opportunity-icon {
    position: relative;
    width: 30.205px;
    height: 32px;
}

.captured-opportunity-icon img {
    position: absolute;
    top: -2px;
    left: 0;
}

.captured-workflow h3 {
    margin: 16px 0 0;
    color: var(--ref-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.captured-workflow p {
    margin: 12px 0 0;
    color: var(--fm-color-header-icon);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.captured-workflow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 88px;
}

/* 마지막 회원가입 배너에 Figma 원본 배경의 상단 영역을 사용합니다. */
.captured-final-cta {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 52px 32px;
    border-radius: var(--radius-lg);
    background: url('/images/homepage/start-background.jpg') center top / 100% auto no-repeat;
    text-align: center;
}

.captured-final-cta h2 {
    margin: 0;
    color: var(--ref-ink);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.captured-final-cta p {
    margin: 16px 0 32px;
    color: var(--text-dark-2);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

/* 태블릿에서는 업무 흐름을 세 열로 표시합니다. */
@media (max-width: 1023px) {
    .nav-links {
        gap: 20px;
    }

    .captured-hero h1 {
        font-size: 36px;
    }

    .captured-hero h1 strong {
        font-size: 44px;
    }

    .captured-workflow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 36px 20px;
    }

    .captured-workflow-arrow {
        display: none;
    }
}

/* 모바일에서는 본문 버튼을 세로로, 업무 흐름을 두 열로 표시합니다. */
@media (max-width: 767px) {
    .header {
        height: 60px;
        padding: 0 14px;
    }

    .header-inner {
        min-height: 60px;
    }

    .header-logo img {
        width: 40px;
        height: 40px;
    }

    .nav-links,
    .header-ghost-action {
        display: none;
    }

    .header-primary-action {
        min-height: 34px;
        padding: 7px 11px;
        font-size: 12px;
    }

    /* 로그인과 시작하기는 좁은 화면에서도 함께 표시합니다. */
    .header:not(.artloop-navigation) .header-ghost-action,
    .header:not(.artloop-navigation) .header-primary-action {
        display: inline-flex;
        min-height: 36px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .captured-container {
        width: min(100% - 28px, 1260px);
    }

    .job-footer-inner {
        width: min(100% - 28px, 1200px);
    }

    .captured-homepage {
        padding-bottom: 64px;
    }

    .captured-hero {
        padding: 48px 0;
    }

    .captured-hero h1 {
        font-size: 28px;
    }

    .captured-hero h1 strong {
        font-size: 34px;
    }

    .captured-hero > p {
        margin-top: 26px;
        font-size: 15px;
        line-height: 1.6;
    }

    .captured-actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 32px;
    }

    .captured-button {
        width: 100%;
    }

    .captured-free-band {
        padding: 52px 20px;
    }

    .captured-free-band p {
        font-size: 20px;
    }

    .captured-free-band strong {
        margin-top: 24px;
        font-size: 30px;
    }

    .captured-story {
        padding: 48px 0 64px;
    }

    .captured-story h2 {
        font-size: 28px;
    }

    .captured-story-line-stage {
        margin-top: 64px;
    }

    .captured-story-reveal-line.is-point {
        font-size: 18px;
    }

    .captured-story-reveal-line.is-final {
        margin-top: 12px;
        font-size: 30px;
    }

    .captured-workflow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 20px;
        margin-top: 36px;
    }

    .captured-workflow h3 {
        font-size: 20px;
    }

    .captured-workflow p {
        font-size: 15px;
    }

    .captured-final-cta {
        padding: 40px 20px;
        background-size: auto 592.4%;
    }

    .captured-final-cta h2 {
        font-size: 24px;
    }

    .captured-final-cta p {
        font-size: 16px;
    }
}

/* 좁은 모바일에서는 작업실 버튼의 좌우 여백을 줄여 로그아웃 영역을 확보합니다. */
@media (max-width: 359px) {
    .header:not(.artloop-navigation) .header-primary-action {
        padding-right: 4px;
        padding-left: 4px;
    }

    .header:not(.artloop-navigation) .header-logout-action {
        flex-shrink: 0;
    }
}

/* =========================================================
   홈페이지 오류 안내 페이지
   ========================================================= */

/* 오류 페이지를 홈페이지의 밝은 캔버스와 동일한 배경 체계로 구성한다. */
.homepage-error-body {
    min-height: 100vh;
    color: var(--visitor-carbon);
    background: linear-gradient(180deg, var(--visitor-paper) 0%, var(--surface-soft-4) 100%);
}

/* 오류 안내를 화면 중앙에 배치하고 헤더를 제외한 영역을 채운다. */
.homepage-error-main {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 72px);
    overflow: hidden;
    padding: 72px 24px 96px;
}

/* 홈페이지의 그라데이션을 은은한 배경 장식으로 재사용한다. */
.homepage-error-main::before,
.homepage-error-main::after {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--visitor-gradient);
    content: '';
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
}

.homepage-error-main::before {
    top: 5%;
    left: -120px;
}

.homepage-error-main::after {
    right: -120px;
    bottom: 2%;
}

/* 오류 정보의 읽기 순서를 유지하는 중앙 정렬 콘텐츠 영역이다. */
.homepage-error-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    text-align: center;
}

/* 오류 유형을 홈페이지 소개 페이지의 외곽선형 안내 문구와 맞춘다. */
.homepage-error-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0;
    padding: 8px 18px;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    color: var(--visitor-graphite);
    background: linear-gradient(var(--visitor-paper), var(--visitor-paper)) padding-box,
                var(--visitor-gradient) border-box;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

/* 상태 코드를 홈페이지 핵심 문구와 같은 그라데이션 타이포그래피로 표현한다. */
.homepage-error-code {
    margin: 34px 0 0;
    color: var(--visitor-lavender);
    background: var(--visitor-gradient);
    background-clip: text;
    font-size: clamp(104px, 18vw, 184px);
    font-weight: 700;
    letter-spacing: -0.08em;
    line-height: 0.92;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.homepage-error-title {
    margin: 32px 0 0;
    color: var(--visitor-carbon);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.04em;
}

.homepage-error-message {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 22px 0 0;
    color: var(--visitor-graphite);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
}

/* 홈 이동 버튼을 홈페이지의 주요 행동 버튼과 같은 형태로 구성한다. */
.homepage-error-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 38px;
    padding: 12px 24px;
    border: 1px solid var(--visitor-lavender);
    border-radius: var(--radius-md);
    color: var(--visitor-paper);
    background: var(--visitor-lavender);
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.homepage-error-action:hover {
    color: var(--visitor-paper);
    box-shadow: var(--visitor-shadow);
    transform: translateY(-2px);
}

.homepage-error-action:focus-visible {
    outline: 2px solid var(--visitor-lavender);
    outline-offset: 4px;
}

/* 모바일에서는 헤더 높이와 오류 콘텐츠 여백을 함께 축소한다. */
@media (max-width: 767px) {
    .homepage-error-main {
        min-height: calc(100vh - 64px);
        padding: 56px 20px 72px;
    }

    .homepage-error-eyebrow {
        min-height: 38px;
        padding: 7px 14px;
        font-size: 11px;
    }

    .homepage-error-code {
        margin-top: 28px;
        font-size: clamp(92px, 34vw, 132px);
    }

    .homepage-error-title {
        margin-top: 26px;
        font-size: 30px;
    }

    .homepage-error-message {
        gap: 0;
        margin-top: 18px;
        font-size: 15px;
    }

    .homepage-error-message span {
        display: inline;
    }

    .homepage-error-action {
        width: 100%;
        max-width: 280px;
        margin-top: 32px;
    }
}
