/* ============================================
   GEOcare.ai - Modern AI-Era Professional Theme
   ============================================ */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;800&display=swap");


/* ===== CSS Variables ===== */
:root {
    /* Colors: 네이비·코발트 블루(2026-10-05 구자훈 「A안으로 적용해라. 색상을 조금 더 묵직하게 해봐라.」).
       강조색은 아래 토큰만 쓴다. 토큰 밖의 파랑·남보라·보라·하늘색과 색 그라데이션은
       scripts/check-marketing-colors.mjs 가 막는다. 괄호 안 = 글자 대비(WCAG AA 기준 4.5:1). */
    --navy: #0a162e;              /* 히어로 바탕·제목·바닥 영역(흰 글자 17.99:1) */
    --navy-2: #152442;            /* 히어로 안에서 한 단계 밝은 면 */
    --navy-tint: #edf0f6;         /* 두 번째 분류(Care+ 등 네이비 계열)의 옅은 바탕 */
    --navy-tint-border: #d2d8e2;
    --primary-color: #0b4fb5;     /* 단추·링크·활성(흰 글자 7.5:1, 흰 바탕 위 글자 7.5:1) */
    --primary-dark: #053f97;      /* 마우스를 올렸을 때·진한 강조 */
    --primary-light: #348bfe;     /* 비즈스프링 브랜드 블루. 아이콘·점 같은 장식에만(흰 바탕 3.35:1이라 본문 글자 금지) */
    --accent-color: var(--primary-color);
    --tint: #e8f1fe;              /* 옅은 강조 바탕(강조 글자 6.59:1) */
    --tint-soft: #f5f9ff;         /* 넓은 상자의 아주 옅은 바탕 */
    --tint-2: #d5e6ff;            /* 아이콘·칩 바탕(강조 글자 5.93:1) */
    --tint-border: #c8d7ed;       /* 옅은 강조 테두리 */
    --accent-border: #97b6e4;     /* 선택·마우스를 올렸을 때의 테두리 */
    --focus-ring: #348bfe;        /* 키보드 초점 표시 */
    --on-navy: #dae0ea;           /* 네이비 위 본문(13.56:1) */
    --on-navy-muted: #a9b3c3;     /* 네이비 위 보조 글자(8.5:1) */
    --on-navy-accent: #8fc1ff;    /* 네이비 위 강조 글자(9.63:1) */
    --hero-deco-line: rgba(143, 193, 255, 0.075);  /* 첫 화면 배경 격자 선(--on-navy-accent 의 옅은 값) */
    --hero-deco-glow: rgba(52, 139, 254, 0.2);     /* 첫 화면 배경 빛(--primary-light 의 옅은 값) */
    /* 옛 이름 호환: 그라데이션 대신 단색 */
    --gradient-1: var(--primary-color);
    --gradient-2: var(--primary-color);
    --gradient-3: var(--primary-color);

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Typography */
    --font-primary: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", "Arial", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius - Sharp Modern Style */
    --radius-sm: 4px;
    --radius-md: 4px;
    --radius-lg: 4px;
    --radius-xl: 8px;
    --radius-2xl: 12px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

@media (max-width: 768px) {
    h1 { font-size: var(--font-size-4xl); }
    h2 { font-size: var(--font-size-3xl); }
    h3 { font-size: var(--font-size-2xl); }
    h4 { font-size: var(--font-size-xl); }
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
}

strong {
    font-weight: 600;
    color: var(--gray-900);
}

/* ===== Buttons ===== */
.btn-primary,
.btn-secondary,
.btn-plan {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-2);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transition: all 0.3s;
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: var(--font-size-lg);
}

.btn-plan {
    width: 100%;
    background-color: var(--gray-100);
    color: var(--gray-900);
    border: 2px solid var(--gray-300);
}

.btn-plan-default {
    background-color: var(--gray-100);
    color: var(--gray-900);
    border: 2px solid var(--gray-100);
}

.btn-plan-default:hover,
.btn-plan-default:active,
.btn-plan-default:focus {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: var(--white);
}

.pricing-card.featured .btn-plan,
.pricing-card .btn-plan.btn-primary {
    background: var(--gradient-2);
    color: var(--white) !important;
    border: none;
}
.pricing-card.featured .btn-plan:hover,
.pricing-card .btn-plan.btn-primary:hover {
    color: var(--white) !important;
    opacity: 0.9;
}

/* Download Buttons - Unified Styles */
/* Dark background buttons handled in unified section below */

.btn-download-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid var(--primary-color);
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
}

.btn-download-secondary:hover {
    background: var(--gradient-2);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 22, 46, 0.17);
}

/* Section CTA */
.section-cta {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.section-cta-with-note {
    margin-top: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
    text-align: center;
}

.cta-note {
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-base);
    color: var(--gray-500);
    font-weight: 500;
}

/* ===== Navigation — Frost Glass ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    z-index: 1000;
    padding: 0.85rem 0;
    transition: background 0.2s, box-shadow 0.2s;
}
.navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 24px rgba(15, 23, 42, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Sora', sans-serif;
    font-size: 1.55rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--gray-900);
    text-decoration: none;
}

.logo-dot {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 1.15rem;
    align-items: center;
}

.nav-links > a:last-of-type {
    margin-right: 2rem;
}

/* Nav group divider — GNB 그룹 경계 (인덱스 앵커 vs 독립 페이지) */
.nav-divider {
    width: 1px;
    height: 16px;
    background: linear-gradient(180deg, transparent 0%, var(--gray-300) 50%, transparent 100%);
    margin: 0 0.5rem;
    flex-shrink: 0;
}

/* Nav chip — 독립 페이지(최신업데이트·파트너) — 정돈된 알약 스타일 (축소) */
.nav-links a.nav-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.32rem 0.72rem;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.7);
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: var(--gray-800);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    transition: all 0.18s ease-out;
    white-space: nowrap;
}
.nav-links a.nav-chip:hover {
    background: rgba(239, 246, 255, 0.9);
    border-color: var(--tint-border);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 22, 46, 0.05);
}
.nav-links a.nav-chip.active {
    background: var(--tint);
    border-color: var(--accent-border);
    color: var(--primary-color);
}
.nav-links a.nav-chip .chip-flag {
    display: inline-block;
    padding: 0.08rem 0.34rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.15;
    vertical-align: middle;
}

/* 인덱스 앵커 링크 — 주 메뉴 조금 확대 (chip과 위계 구분) */
.nav-links > a:not(.nav-chip) {
    font-size: 0.94rem;
    letter-spacing: 0;
    color: var(--gray-700);
    font-weight: 500;
    white-space: nowrap;
}
.nav-links > a:not(.nav-chip):hover {
    color: var(--gray-900);
}

/* 상단 메뉴 접힘 기준 = 1023px 이하(2026-09-24 실측: 769~1023px 에서는 메뉴가 한 줄에 들어가지 않는다) */
@media (max-width: 1023px) {
    .nav-divider { display: none; }
    .nav-links a.nav-chip {
        padding: 0.55rem 0.85rem;
        border-radius: 8px;
        font-size: 0.85rem;
    }
}

/* Navigation Button Group */
.nav-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    transition: color var(--transition-base);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Navigation Buttons */
.btn-nav {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-block;
}

.btn-nav:not(.btn-nav-primary) {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-nav-primary {
    background: var(--primary-color);
    color: var(--white) !important;
    border: 2px solid transparent;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-nav-primary:hover {
    opacity: 0.8;
    color: var(--white);
    transition: all 0.3s;
}

.btn-secondary-nav {
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-base);
}

.btn-secondary-nav:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--gray-900);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 2px;
    background-color: var(--gray-900);
    transition: all var(--transition-base);
}

@media (max-width: 1023px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* ===== Hero Section ===== */
.hero {
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

/* Light Hero Section */
.hero-light {
    background: #ffffff;
    position: relative;
    padding: 10rem 0 5rem;
}

.hero-light::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: none;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Hero Title */
.title {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--gray-700);
}

.title span {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

/* Hero Prompt Input - Search Style */
.prompt-input-wrapper {
    margin: 0 auto 2.5rem;
    max-width: 700px;
    position: relative;
}

.prompt-input {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    padding: 1.25rem 4rem 1.25rem 1.5rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    color: var(--gray-700);
    box-shadow: 0 10px 40px rgba(10, 22, 46, 0.08),
                0 0 0 0 rgba(52, 139, 254, 0);
    transition: all 0.3s ease;
}

.prompt-input:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(10, 22, 46, 0.11),
                0 0 0 0 rgba(52, 139, 254, 0);
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: var(--gray-400);
    pointer-events: none;
}

.typing-text {
    color: var(--gray-700);
}

.typing-cursor {
    display: inline-block;
    margin-left: 2px;
    color: var(--primary-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.prompt-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.hero-brand {
    font-family: 'Sora', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--gray-900);
    margin-bottom: 2rem;
    letter-spacing: 0;
}

.hero-brand .brand-dot {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Buttons */
.btn-hero-primary,
.btn-hero-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1.5;
}

.btn-hero-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 14px rgba(10, 22, 46, 0.17);
}

.btn-hero-primary:hover {
    opacity: 0.8;
    transition: all 0.3s;
    color: var(--white);
}

.btn-hero-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-hero-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 22, 46, 0.17);
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-light {
        padding: 6rem 0 4rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .title span {
        font-size: 2.25rem;
    }
    
    .prompt-input-wrapper {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .prompt-input {
        padding: 1rem 3.5rem 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .search-icon {
        right: 1rem;
        width: 20px;
        height: 20px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
}
        gap: var(--spacing-sm);
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* ===== Section Styles ===== */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    line-height: 1.8;
}

/* Brand Logo Style */
.brand-logo {
    color: var(--primary-color);
    font-weight: 800;
}

/* ===== Executive Summary ===== */
.executive-summary {
    background-color: var(--white);
}

/* 제공 항목 4가지(2026-09-24 재작성): 진단 → 최적화 → 실행 → 검증 */
.executive-summary .section-header { margin-bottom: 0; }
/* 한글이 낱말 중간에서 꺾이지 않게(「최적/화합니다」·「확인합니/다」 방지) */
.executive-summary .section-title,
.executive-summary .section-description,
.offer-card h3,
.offer-card p { overflow-wrap: anywhere; }
.executive-summary .section-title,
.executive-summary .section-description,
.offer-card h3 { text-wrap: balance; }
.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: var(--spacing-xl) 0 0;
    padding: 0;
    list-style: none;
}
.offer-card {
    display: flex;
    flex-direction: column;
    padding: 1.4rem 1.3rem 1.3rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}
.offer-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.85rem; }
.offer-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.4rem; height: 2.4rem; border-radius: 10px; font-size: 1.05rem;
}
.offer-icon-d { background: var(--tint-2); color: var(--primary-color); }
.offer-icon-o { background: var(--navy-tint); color: var(--navy); }
.offer-icon-x { background: #ffedd5; color: #c2410c; }
.offer-icon-m { background: #dcfce7; color: #15803d; }
.offer-step { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; color: var(--gray-500); }
.offer-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: 0;
    color: var(--gray-900);
}
.offer-card p { margin: 0 0 0.9rem; font-size: 0.88rem; line-height: 1.7; color: var(--gray-600); }
.offer-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.offer-tags li {
    padding: 0.18rem 0.55rem; border-radius: 999px;
    background: #f1f5f9; color: #334155; font-size: 0.74rem; font-weight: 600;
}
.offer-link { margin-top: auto; font-size: 0.86rem; font-weight: 700; color: var(--primary-color); text-decoration: none; }
.offer-link:hover { text-decoration: underline; }
@media (max-width: 1100px) {
    .offer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .offer-grid { grid-template-columns: 1fr; }
}

/* ===== Market Change Section ===== */
.market-change {
    background-color: var(--gray-50);
}

/* Highlight primary color */
.highlight-primary {
    color: var(--primary-color);
    font-weight: 700;
}

/* New Comparison Table Style */
.comparison-table-new {
    margin-top: var(--spacing-2xl);
    overflow-x: auto;
}

.comparison-table-new table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table-new thead {
    background-color: var(--primary-color);
    color: var(--white);
}

.comparison-table-new th {
    padding: var(--spacing-md);
    text-align: left;
    font-weight: 700;
    font-size: var(--font-size-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table-new th:first-child {
    width: 100px;
}

.comparison-table-new td {
    padding: var(--spacing-md);
    border: 1px solid var(--gray-200);
    font-size: var(--font-size-sm);
    vertical-align: top;
}

.comparison-table-new td.row-label {
    font-weight: 700;
    font-size: var(--font-size-xl);
    text-align: center;
    background-color: var(--gray-100);
}

.comparison-table-new tr.highlight-row {
    background: var(--tint-soft);
}

.comparison-table-new tr.highlight-row td.row-label {
    color: var(--primary-color);
    background-color: rgba(11, 79, 181, 0.15);
    font-weight: 800;
}

@media (max-width: 768px) {
    .comparison-table-new {
        overflow-x: scroll;
    }
    
    .comparison-table-new table {
        min-width: 600px;
    }
}

/* Comparison Grid Style (Legacy) */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-bottom: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.comparison-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.column-header {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    font-weight: 700;
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
}

.old-header {
    background-color: var(--gray-200);
    color: var(--gray-700);
}

.new-header {
    background: var(--gradient-2);
    color: var(--white);
}

.comparison-item {
    padding: var(--spacing-md);
    background-color: var(--gray-50);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.comparison-item.highlight {
    background: var(--tint-soft);
    border: 2px solid var(--primary-color);
}

.item-label {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.item-value {
    font-size: var(--font-size-base);
    color: var(--gray-800);
    font-weight: 500;
}

.comparison-item.highlight .item-value {
    color: var(--primary-color);
}

.comparison-arrow {
    font-size: var(--font-size-4xl);
    color: var(--primary-color);
    font-weight: 700;
}

/* Key Insights Simple (no box design) */
.key-insights-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-3xl);
    max-width: 1000px;
    margin: var(--spacing-3xl) auto;
    padding: 0 var(--spacing-2xl);
}

.insight-simple {
    text-align: center;
}

.insight-simple .insight-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: var(--spacing-md);
}

.insight-simple h5 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.6;
    margin: var(--spacing-sm) 0;
}

.insight-simple .highlight-primary {
    color: var(--primary-color);
}

.insight-simple .insight-detail {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--gray-500);
    margin: var(--spacing-xs) 0;
}

.insight-simple p {
    font-size: var(--font-size-base);
    color: var(--gray-700);
    line-height: 1.8;
    margin: var(--spacing-sm) 0 0;
}

/* SEO vs GEO Comparison Cards */
.comparison-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    max-width: 900px;
    margin: var(--spacing-3xl) auto 0;
}

.comparison-card {
    padding: var(--spacing-xl);
    background-color: var(--gray-100);
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
}

.comparison-card.highlight-card {
    background: var(--tint-soft);
    border-color: var(--primary-color);
}

.comparison-label {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.comparison-card.highlight-card .comparison-label {
    color: var(--primary-color);
}

.comparison-item {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.comparison-item:last-child {
    margin-bottom: 0;
}

.comparison-item .check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke-width: 2;
}

.comparison-item .check-icon-light {
    color: var(--primary-light);
}

.comparison-item .check-icon-primary {
    color: var(--primary-color);
}

.comparison-item p {
    font-size: var(--font-size-lg);
    color: var(--gray-800);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .key-insights-simple {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        padding: 0 var(--spacing-md);
    }
    
    .comparison-cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* OLD STYLES - REMOVE */

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .comparison-arrow {
        display: none;
    }
}

.comparison-table {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-3xl);
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    gap: 1px;
    background-color: var(--gray-200);
}

.comparison-cell {
    padding: var(--spacing-md);
    background-color: var(--white);
    font-size: var(--font-size-sm);
}

.comparison-header .comparison-cell {
    font-weight: 700;
    background-color: var(--gray-100);
    text-align: center;
}

.comparison-cell.label {
    font-weight: 700;
    background-color: var(--gray-50);
}

.comparison-cell.old {
    color: var(--gray-600);
}

.comparison-cell.new {
    color: var(--primary-color);
}

.comparison-cell.highlight {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

@media (max-width: 768px) {
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-header {
        display: none;
    }
    
    .comparison-cell.label {
        font-size: var(--font-size-base);
        background: var(--gradient-2);
        color: var(--white);
    }
}

.market-insights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.insight-card {
    padding: var(--spacing-xl);
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.insight-card h4 {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.insight-card p {
    font-size: var(--font-size-base);
    color: var(--gray-700);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .market-insights {
        grid-template-columns: 1fr;
    }
}

/* ===== Features Section ===== */
.features {
    background-color: var(--white);
}

.features .section-header {
    margin: 0 auto var(--spacing-2xl);
}

.feature-block {
    display: grid;
    grid-template-columns: 45fr 55fr;
    gap: var(--spacing-2xl);
    align-items: center;
    margin-bottom: var(--spacing-3xl);
}

.feature-block.reverse {
    direction: rtl;
    grid-template-columns: 55fr 45fr;
}

.feature-block.reverse > * {
    direction: ltr;
}

.feature-content {
    padding: var(--spacing-md);
}

.feature-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.feature-description {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
}

.feature-list {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.feature-list li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    font-size: var(--font-size-base);
    color: var(--gray-700);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.feature-highlight {
    padding: var(--spacing-lg);
    background-color: var(--gray-50);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    line-height: 1.8;
}

.feature-image {
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

/* ===== Feature Screenshot Styles ===== */
.feature-screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-slow);
    border: 1px solid var(--gray-200);
    display: block;
}

.feature-screenshot:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 45px -5px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .feature-block,
    .feature-block.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}
}

.image-placeholder {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl) var(--spacing-xl);
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed var(--gray-300);
}

.image-placeholder p {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-600);
    margin-bottom: var(--spacing-sm);
}

.image-placeholder span {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

@media (max-width: 768px) {
    .feature-block,
    .feature-block.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

/* ===== KPI List ===== */
.kpi-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.kpi-item {
    padding: var(--spacing-md);
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.kpi-header {
    margin-bottom: var(--spacing-xs);
}

.kpi-name {
    font-weight: 700;
    font-size: var(--font-size-lg);
    color: var(--gray-900);
}

.kpi-item p {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    margin: 0;
}

/* ===== Action Phases ===== */
.action-phases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.phase-card {
    padding: var(--spacing-lg);
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
}

.phase-card h4 {
    font-size: var(--font-size-lg);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.phase-card p {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    margin: 0;
}

@media (max-width: 768px) {
    .action-phases {
        grid-template-columns: 1fr;
    }
}

/* ===== Schema Types ===== */
.schema-types {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.schema-badge {
    padding: 0.5rem 1rem;
    background: var(--gradient-2);
    color: var(--white);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-xl);
}

.feature-steps {
    padding: var(--spacing-md);
    background-color: var(--gray-50);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
}

.feature-steps p {
    margin: 0;
}

/* ===== New Feature Section Layout ===== */
.feature-section {
    margin-bottom: var(--spacing-3xl);
}

.feature-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
}

.feature-section-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.feature-section-description {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    line-height: 1.8;
}

.feature-section-image {
    width: 75%;
    max-width: 900px;
    margin: var(--spacing-2xl) auto;
    border-radius: var(--radius-md);
    display: block;
}

/* Feature Cards Grid - 4x1 */
.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

/* Feature Cards Grid - 3 columns centered */
.feature-cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    max-width: 1000px;
}

/* Feature Cards Single - 1 column */
.feature-cards-single {
    max-width: 500px;
    margin: 0 auto;
}

.feature-card {
    padding: var(--spacing-md);
    background: var(--tint-soft);
    border-radius: var(--radius-xl);
}

.feature-icon {
    width: 45px;
    height: 45px;
    margin-bottom: var(--spacing-md);
    display: block;
}

.feature-card h4 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    font-size: var(--font-size-base);
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .feature-section-title {
        font-size: var(--font-size-2xl);
    }
    
    .feature-section-description {
        font-size: var(--font-size-base);
    }
    
    .feature-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Pricing Section ===== */
.pricing {
    background-color: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
}

.pricing-card {
    position: relative;
    padding-top: var(--spacing-lg);
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /* 카드 자체 높이는 grid에서 stretch(기본) → 4장 동일. 내부는 flex column 으로 버튼을 하단 고정. */
}

.pricing-card.featured {
    /* 추천 카드도 다른 카드와 동일 높이 유지 (기존 scale(1.05)로 잘림 이슈) — 강조는 border 로만 */
    border: 3px solid var(--primary-color);
    transform: none;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: var(--gradient-2);
    color: var(--white);
    font-size: var(--font-size-sm);
    font-weight: 700;
    border-radius: 40px;
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--gray-100);
    margin-bottom: var(--spacing-lg);
}

.plan-name {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.plan-price {
    margin-bottom: var(--spacing-xs);
}

.price {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
}

.period {
    font-size: var(--font-size-base);
    color: var(--gray-600);
}

.plan-target {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    margin: 0;
}

.plan-features {
    list-style: none;
    margin: 0 0 var(--spacing-md) 0;
    padding: 0;
    flex-grow: 1;
}

.plan-features li {
    padding: 3px 0;
    font-size: 13px;
    line-height: 1.35;
    color: var(--gray-700);
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.plan-features .check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke-width: 2;
    color: var(--primary-light);
}

.plan-features li:last-child {
    border-bottom: none;
}

/* 카드 내부 하단 요소 — 사용량 요약 + 버튼 (버튼은 항상 카드 맨 아래에 정렬) */
.plan-quota-summary {
    font-size: 12px;
    color: var(--gray-600);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 12px;
    line-height: 1.45;
}
.plan-quota-summary strong {
    color: var(--gray-900);
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.plan-quota-summary em {
    font-style: normal;
    color: var(--primary-color);
    font-weight: 600;
}

/* 4장 카드의 버튼은 카드 하단 정렬 + 동일 높이(min-height 44px)로 시각 정렬 */
.pricing-card .btn-plan {
    margin: 0;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    display: flex;
}

/* 월평균 라벨 — 큰 가격 바로 아래, 붉은톤 강조 (할인·환산 임팩트) */
.plan-monthly-avg {
    font-size: 15px;
    color: var(--gray-700);
    margin: 6px 0 0 0;
    line-height: 1.3;
    min-height: 20px;
    font-weight: 500;
}
.plan-monthly-avg strong {
    color: #dc2626;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0;
    text-shadow: 0 1px 0 rgba(220, 38, 38, 0.06);
}

/* 상단 기간 토글 옆 할인/혜택 배지 */
.billing-discount-note {
    text-align: center;
    margin: 10px 0 0 0;
    min-height: 22px;
}
.billing-discount-note .discount-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
}
.billing-discount-note .discount-badge--saving {
    color: #15803d;
    background: #dcfce7;
    border-color: #86efac;
}

/* ===== Pricing Header Row (기간 토글 중앙 · 상담 문의 우측) ===== */
.pricing-header-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0 1.25rem;
}
.pricing-header-spacer { min-height: 1px; }
.billing-toggle-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}
.billing-toggle-wrap .billing-toggle { margin: 0; }
.billing-toggle-wrap .billing-discount-note { margin: 0; }

.pricing-contact-cluster {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    justify-self: end;
}
.pricing-contact-phone {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.1;
    padding: 0 0.35rem;
}
.pricing-contact-phone-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.03em;
    margin-bottom: 0.15rem;
}
.pricing-contact-phone-label i {
    color: var(--primary-color);
    margin-right: 0.2rem;
}
.pricing-contact-phone-num {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: 0;
}
.pricing-contact-phone-num:hover { color: var(--primary-color); }
.pricing-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.pricing-contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(10, 22, 46, 0.15);
}
.pricing-contact-btn i { font-size: 0.8rem; }

/* ===== Plan features tooltip (radix-like hover tooltip) ===== */
.plan-features li[data-tip],
.care-plus-features li[data-tip] {
    cursor: help;
    position: relative;
}
.plan-features li[data-tip] .feature-name,
.care-plus-features li[data-tip] .feature-name {
    border-bottom: 1px dotted rgba(11, 79, 181, 0.45);
    display: inline;
}
.plan-features li[data-tip]:hover::after,
.plan-features li[data-tip]:focus::after,
.care-plus-features li[data-tip]:hover::after,
.care-plus-features li[data-tip]:focus::after {
    content: attr(data-tip);
    position: absolute;
    z-index: 200;
    bottom: calc(100% + 6px);
    left: 24px;
    transform: none;
    padding: 0.6rem 0.85rem;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.78rem;
    line-height: 1.55;
    border-radius: 8px;
    max-width: 280px;
    min-width: 200px;
    text-align: left;
    font-weight: 500;
    white-space: normal;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    opacity: 1;
    pointer-events: none;
    animation: tooltipFade 0.15s ease-out;
}
.plan-features li[data-tip]:hover::before,
.plan-features li[data-tip]:focus::before,
.care-plus-features li[data-tip]:hover::before,
.care-plus-features li[data-tip]:focus::before {
    content: '';
    position: absolute;
    z-index: 201;
    bottom: 100%;
    left: 36px;
    margin-bottom: 0;
    border: 6px solid transparent;
    border-top-color: #0f172a;
    animation: tooltipFade 0.15s ease-out;
}
@keyframes tooltipFade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Care+ Managed 가로 배너 (3 카드 아래 · 전폭) ===== */
.pricing-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    margin-bottom: 0 !important;
}
.pricing-care-plus {
    margin-top: 2.5rem;
    margin-bottom: var(--spacing-2xl);
    padding: 2.75rem 1.75rem 1.5rem;
    background: var(--navy-tint);
    border: 1px solid var(--navy-tint-border);
    border-radius: var(--radius-xl);
    display: grid;
    /* 2026-10-05: 소개 · 포함 서비스 · 문의 단추 3열 + 아래 전폭 한 줄(GEO 컨설팅 안내). 셋째 열은 단추 폭(auto)만 차지한다. */
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 2.2fr) auto;
    gap: 1.75rem;
    align-items: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(10, 22, 46, 0.05);
}
.pricing-care-plus > .care-plus-consult {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--navy-tint-border);
    text-align: center;
}
.care-plus-plus-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    background: var(--navy);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 300;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(10, 22, 46, 0.22), 0 0 0 4px rgba(255, 255, 255, 0.6);
    z-index: 2;
}
.care-plus-left { min-width: 0; }
.care-plus-badge {
    display: inline-block;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: var(--navy);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}
.care-plus-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.2rem;
    letter-spacing: 0;
}
.care-plus-target {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}
.care-plus-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0;
    line-height: 1.2;
}
.care-plus-price small {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 0.2rem;
    letter-spacing: 0;
}
.care-plus-mid { min-width: 0; }
.care-plus-mid-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.care-plus-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem 1rem;
}
.care-plus-features li {
    font-size: 0.83rem;
    color: var(--gray-700);
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    line-height: 1.5;
}
.care-plus-features li i {
    color: var(--navy);
    font-size: 0.7rem;
    margin-top: 0.35rem;
    flex-shrink: 0;
}
.care-plus-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    min-width: 200px;
}
.care-plus-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.35rem;
    border-radius: 10px;
    background: var(--navy);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s;
}
.care-plus-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(10, 22, 46, 0.19);
}
/* 2026-09-26: 컨설팅 서비스 소개(보조 단추) — 도입 문의하기 아래 */
.care-plus-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    padding: 0.62rem 1.1rem;
    border-radius: 10px;
    border: 1px solid var(--accent-border);
    background: #ffffff;
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}
.care-plus-link:hover { background: var(--navy-tint); }
.care-plus-hint {
    font-size: 0.72rem;
    color: var(--navy);
    text-align: center;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .pricing-header-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .pricing-contact-cluster { justify-self: center; }
    .pricing-card.featured { transform: none; }
    .pricing-care-plus {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: left;
    }
    .care-plus-plus-icon { margin: 0 auto; }
    .care-plus-features { grid-template-columns: 1fr; }
    .care-plus-right { align-items: stretch; }
    .pricing-care-plus > .care-plus-consult { text-align: left; }
}

@media (max-width: 768px) {
    .pricing-grid {
        /* 위 1024px 규칙이 !important 라 여기도 !important 가 있어야 휴대폰에서 한 열이 된다(2026-09-24 가로 넘침 수정) */
        grid-template-columns: 1fr !important;
    }
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: var(--spacing-lg);
    background: var(--gray-100);
    border-radius: 50px;
    padding: 4px;
    display: inline-flex;
}
.section-header .billing-toggle {
    margin-left: auto;
    margin-right: auto;
}
.billing-btn {
    padding: 8px 24px;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.billing-btn.active {
    background: var(--white);
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
}
.billing-save-badge {
    font-size: 10px;
    background: #059669;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
}

/* Plan Limits */
.plan-limits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    font-size: 12px;
    color: var(--gray-600);
}
.plan-limits strong {
    color: var(--gray-900);
}

/* Plan Trial */
.plan-trial {
    font-size: 12px;
    color: #059669;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    padding: 0;
}

/* Plan Price Sub */
.plan-price-sub {
    font-size: 12px;
    color: var(--gray-500);
    margin: 4px 0 0 0;
}
.plan-yearly-saving {
    font-size: 12px;
    font-weight: 600;
    color: #059669;
    margin: 4px 0 0 0;
}

/* Coming soon */
.feature-coming-soon {
    opacity: 0.6;
}
.coming-soon-tag {
    font-size: 10px;
    color: var(--gray-400);
}
.consulting-service {
    padding: var(--spacing-3xl);
    background: var(--gradient-2);
    border-radius: var(--radius-2xl);
    color: var(--white);
}

.consulting-service h3 {
    font-size: var(--font-size-3xl);
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.consulting-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.consulting-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.consulting-features h4,
.consulting-info p strong {
    color: var(--white);
    font-weight: 700;
}

.consulting-features ul {
    list-style: none;
}

.consulting-features li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
}

.consulting-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.consulting-info p {
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.note {
    font-size: var(--font-size-sm);
    opacity: 0.85;
}

@media (max-width: 768px) {
    .consulting-content {
        grid-template-columns: 1fr;
    }
}

/* ===== Onboarding Process ===== */
.onboarding {
    background-color: var(--white);
}

.onboarding .section-header {
    margin: 0 auto var(--spacing-xl);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.process-step {
    text-align: center;
    padding: var(--spacing-xl);
    background-color: var(--gray-50);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.process-step:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.step-number {
    width: 4rem;
    height: 4rem;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-2);
    color: var(--white);
    font-size: var(--font-size-2xl);
    font-weight: 800;
    border-radius: 50%;
}

.process-step h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.step-duration {
    font-size: var(--font-size-sm);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.process-step p {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    margin: 0;
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* ===== FAQ Section ===== */
.faq {
    background-color: var(--gray-50);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

/* ===== Technical Architecture ===== */
.tech-architecture {
    background-color: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.tech-item {
    padding: var(--spacing-lg);
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.tech-item:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.tech-item h4 {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.tech-item p {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.tech-note {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--gray-600);
    font-weight: 400;
}

@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CTA Section ===== */
/* 2026-10-05: 「히어로만 테마 반전」 원칙에 따라 마지막 문의 구간은 밝은 바탕(네이비 면은 히어로와 바닥 영역만) */
.cta {
    background: var(--tint-soft);
    border-top: 1px solid var(--tint-border);
    color: var(--gray-700);
    text-align: center;
    padding: var(--spacing-3xl) 0;
}

.cta-content h2 {
    font-size: var(--font-size-4xl);
    color: var(--navy);
    margin-bottom: var(--spacing-lg);
}

.cta-content p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-2xl);
    color: var(--gray-600);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.cta .btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: var(--font-size-2xl);
    }
    
    .cta-content p {
        font-size: var(--font-size-base);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* ===== Footer ===== */
.footer {
    background-color: var(--navy);
    color: var(--gray-400);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-family: 'Sora', sans-serif;
    font-size: var(--font-size-2xl);
    font-weight: 400;
    letter-spacing: 0;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-brand p {
    color: var(--gray-400);
    margin: 0;
}

/* 바닥 영역(네이비) 위 로고 「.ai」: 코발트는 네이비 위 대비가 2.4:1 이라 밝은 강조색을 쓴다 */
.footer-logo .logo-dot { color: var(--on-navy-accent); }

.footer-links {
    display: flex;
    gap: var(--spacing-3xl);
}

.footer-column h4 {
    color: var(--white);
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
    transition: color var(--transition-base);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: var(--font-size-sm);
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-xl);
    }
}

/* ===== Animations ===== */
/* Fade-in animation removed - all elements now visible by default */

/* ===== Logo & Navigation Updates ===== */
.logo-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-decoration: none;
}

.logo-image {
    height: 45px;
    width: auto;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--gray-600);
    font-weight: 500;
    line-height: 1.2;
}

.btn-primary-nav {
    padding: 0.6rem 1.2rem;
    background: var(--accent-color);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(10, 22, 46, 0.17);
}

.btn-primary-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 22, 46, 0.22);
}

/* ===== Hero Section Dark Theme ===== */
.hero-dark {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 10rem 0 6rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        none;
    pointer-events: none;
    opacity: 0.8;
    animation: backgroundFlow 20s ease-in-out infinite;
}

@keyframes backgroundFlow {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

.hero-dark .hero-title,
.hero-dark .hero-description,
.hero-dark .hero-badge {
    color: var(--white);
}

.hero-dark .hero-badge {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Dark Background Unified Button Styles */
.btn-secondary-hero,
.btn-secondary-light {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary-hero:hover,
.btn-secondary-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Download Button for Dark Backgrounds */
.btn-download,
.btn-download-light {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-download:hover,
.btn-download-light:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* ===== Process Simple (3 Steps) ===== */
.process-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.process-simple-step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.process-icon-img {
    width: 54px;
    height: 54px;
    margin-bottom: var(--spacing-md);
}

.process-step-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.process-arrow {
    font-size: var(--font-size-3xl);
    color: var(--gray-400);
}

.process-simple-step h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.process-simple-step p {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    margin: 0;
}

@media (max-width: 768px) {
    .process-simple {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
}

/* ===== FAQ Accordion ===== */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-accordion .faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-accordion .faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) 0;
    background-color: transparent;
    border: none;
    text-align: left;
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--gray-900);
    cursor: pointer;
    transition: color var(--transition-base);
}

.faq-accordion .faq-question:hover {
    color: var(--primary-color);
}

.faq-accordion .faq-icon {
    font-size: var(--font-size-2xl);
    font-weight: 400;
    color: var(--primary-color);
    transition: transform var(--transition-base);
    flex-shrink: 0;
    margin-left: var(--spacing-md);
}

.faq-accordion .faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-accordion .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0;
}

.faq-accordion .faq-item.active .faq-answer {
    max-height: 800px;
    padding: var(--spacing-lg);
    background-color: var(--white);
}

/* V3 신기능 FAQ 뱃지 */
.faq-badge-new {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    margin-right: 0.5rem;
    border-radius: 6px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    vertical-align: middle;
    line-height: 1.4;
}
.faq-accordion .faq-answer p + p {
    margin-top: 0.75rem;
}

.faq-accordion .faq-answer p {
    font-size: var(--font-size-base);
    color: var(--gray-700);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-accordion .faq-question {
        padding: var(--spacing-md) 0;
        font-size: var(--font-size-base);
    }
    
    .faq-accordion .faq-item.active .faq-answer {
        padding: var(--spacing-lg);
    }
}

/* ===== CTA with Background ===== */
.cta-with-bg {
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        none;
    pointer-events: none;
}

.cta-with-bg .cta-content {
    position: relative;
    z-index: 1;
}

/* ===== Footer Compact ===== */
.footer-compact {
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: 0.35rem;
}

.footer-tagline {
    font-size: var(--font-size-sm);
    color: var(--gray-400);
    margin: 0;
    line-height: 1.4;
}

/* Footer Navigation Links — 컴팩트 (기존 대비 세로 높이 ≈50%) */
.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-link-primary {
    font-size: var(--font-size-base) !important;
    font-weight: 600 !important;
    color: var(--white) !important;
    line-height: 1.5 !important;
    transition: all var(--transition-base);
    display: inline-block;
}

.footer-link-primary:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

.footer-section h4 {
    font-size: var(--font-size-sm);
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.2rem;
    line-height: 1.5;
}

.footer-section a {
    font-size: var(--font-size-sm);
    color: var(--gray-400);
    line-height: 1.5;
    transition: color var(--transition-base);
}

.footer-section a:hover {
    color: var(--white);
}

/* Footer CTA Links */
.footer-links-section h4 {
    font-size: var(--font-size-sm);
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-action-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-action-link {
    font-size: var(--font-size-sm) !important;
    font-weight: 500 !important;
    color: var(--gray-400) !important;
    line-height: 1.5 !important;
    transition: all var(--transition-base);
    display: inline-block;
    position: relative;
}

.footer-action-link::after {
    content: '→';
    margin-left: 0.5rem;
    opacity: 0;
    transition: all var(--transition-base);
}

.footer-action-link:hover {
    color: var(--white) !important;
    transform: translateX(5px);
}

.footer-action-link:hover::after {
    opacity: 1;
    margin-left: 0.75rem;
}

.footer-action-link-primary {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.footer-action-link-primary:hover {
    color: var(--accent-color) !important;
}

.footer-compact .footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-800);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-links-section {
        margin-top: var(--spacing-md);
    }
    
    .logo-tagline {
        font-size: 0.65rem;
    }
}
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

/* ===== Hero Value Proposition ===== */
.hero-value-prop {
    margin-bottom: 3rem;
    padding: 2.5rem 2rem;
    background: var(--tint-soft);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(11, 79, 181, 0.12);
}

.hero-value-headline {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.4;
    margin-bottom: var(--spacing-lg);
}

.highlight-gradient {
    color: var(--primary-color);
}

.hero-value-sub {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    line-height: 1.8;
    margin: 0;
}

.hero-value-sub strong {
    color: var(--gray-800);
}

@media (max-width: 768px) {
    .hero-value-headline {
        font-size: var(--font-size-2xl);
    }
    .hero-value-sub {
        font-size: var(--font-size-base);
    }
    .hero-value-prop {
        padding: 1.5rem 1rem;
    }
}

/* ===== Section Label ===== */
.section-label {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
}

/* ===== The Gap Section ===== */
.the-gap-section {
    background-color: var(--gray-50);
    padding: var(--spacing-2xl) 0;
}

.the-gap-section .section-header {
    margin-bottom: var(--spacing-lg);
}

.the-gap-section .section-title {
    margin-bottom: var(--spacing-xs);
}

.the-gap-section .section-description {
    margin-bottom: 0;
}

/* ===== Gap Comparison Table ===== */
.gap-comparison-table {
    max-width: 1100px;
    margin: 0 auto;
}

.gap-table-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.gap-comparison-grid {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.gap-comparison-grid thead {
    background: var(--tint-soft);
    border-bottom: 2px solid var(--primary-color);
}

.gap-comparison-grid th {
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: left;
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--gray-900);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gap-comparison-grid th:nth-child(1) {
    width: 20%;
    color: var(--gray-700);
    font-weight: 600;
    text-transform: none;
}

.gap-comparison-grid th:nth-child(2),
.gap-comparison-grid th:nth-child(3) {
    background: var(--tint-soft);
}

.gap-comparison-grid td {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    line-height: 1.5;
}

.gap-comparison-grid tbody tr:last-child td {
    border-bottom: none;
}

.gap-comparison-grid tbody tr:hover {
    background-color: rgba(11, 79, 181, 0.02);
}

.gap-comparison-grid td strong {
    color: var(--gray-900);
    font-weight: 700;
}

.gap-comparison-grid td:nth-child(2) strong {
    color: var(--primary-color);
}

.gap-comparison-grid td:nth-child(1) {
    font-weight: 600;
    color: var(--gray-900);
    background-color: var(--gray-50);
    vertical-align: top;
}

.gap-comparison-grid td:nth-child(2) {
    background-color: rgba(11, 79, 181, 0.02);
}

.gap-comparison-grid br {
    line-height: 1.4;
}

@media (max-width: 768px) {
    .gap-comparison-grid {
        font-size: var(--font-size-xs);
    }

    .gap-comparison-grid th {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 10px;
    }

    .gap-comparison-grid td {
        padding: var(--spacing-md);
        font-size: 12px;
    }

    .gap-table-title {
        font-size: var(--font-size-md);
        margin-bottom: var(--spacing-md);
    }
}

/* ===== The Gap 유형별 비교(2026-09-27) =====
   종전 표는 2열(타 GEO 서비스)을 강조했다. 유형별 비교에서는 3열(GEOcare.ai 가 맡는 방식)을 강조하고,
   2열은 중립 색으로 둔다. 좁은 화면에서는 행을 카드처럼 쌓는다. */
.the-gap-section .section-title, .the-gap-section .section-description, .gap-table-title { }
.gap-type-grid th { text-transform: none; letter-spacing: 0; }
.gap-type-grid td { vertical-align: top; }
.gap-type-grid td:nth-child(2) { background-color: transparent; }
.gap-type-grid td:nth-child(2) strong { color: var(--gray-900); }
.gap-type-grid td:nth-child(3) { background-color: rgba(11, 79, 181, 0.04); }
.gap-type-grid td:nth-child(3) strong { color: var(--primary-color); }
.gap-type-grid .gap-check { display: block; margin-top: 0.4rem; font-size: 0.8rem; color: var(--gray-500); }
@media (max-width: 640px) {
    .gap-type-grid thead { display: none; }
    .gap-type-grid, .gap-type-grid tbody, .gap-type-grid tr, .gap-type-grid td { display: block; width: 100%; }
    .gap-type-grid tr { border-bottom: 1px solid var(--gray-200); }
    .gap-type-grid tbody tr:last-child { border-bottom: none; }
    .gap-type-grid td { border-bottom: none; padding: 0.6rem 1rem; font-size: 13px; }
    .gap-type-grid td:nth-child(1) { padding-top: 0.85rem; padding-bottom: 0.3rem; background-color: var(--gray-50); }
    .gap-type-grid td:nth-child(3) { padding-bottom: 0.9rem; }
    .gap-type-grid td:nth-child(3)::before {
        content: "GEOcare.ai 가 맡는 방식"; display: block; margin-bottom: 0.25rem;
        font-size: 11px; font-weight: 800; color: var(--primary-color);
    }
}

/* 진단 뒤에 누가 고치나요? — 직접 적용 · 승인 후 실행 · Care+ 직접 수행 */
.gap-fixers { max-width: 1100px; margin: var(--spacing-2xl) auto 0; }
.gap-fixers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gap-fixer {
    display: flex; flex-direction: column; background: var(--white);
    border: 1px solid var(--gray-200); border-radius: 16px; padding: 1.25rem 1.3rem 1.3rem;
}
.gap-fixer-tag {
    align-self: flex-start; margin: 0 0 0.65rem; padding: 0.22rem 0.65rem; border-radius: 999px;
    background: var(--tint); color: var(--primary-color); font-size: 0.75rem; font-weight: 800;
}
.gap-fixer h4 { margin: 0 0 0.5rem; font-size: 1.02rem; font-weight: 800; color: #0f172a; }
.gap-fixer p { margin: 0; font-size: 0.9rem; line-height: 1.7; color: #475569; }
.gap-fixer.is-care { border: 2px solid var(--accent-border); background: var(--tint-soft); }
.gap-fixer.is-care .gap-fixer-tag { background: var(--primary-color); color: #fff; }
.gap-fixer .gap-fixer-tag { margin-bottom: 1rem; }
.gap-fixer-link { margin-top: auto; padding-top: 1.1rem; font-size: 0.88rem; font-weight: 700; color: var(--primary-color); text-decoration: none; }
.gap-fixer-link:hover { text-decoration: underline; }
@media (max-width: 900px) { .gap-fixers-grid { grid-template-columns: 1fr; } }

/* 약속하는 것 · 약속하지 않는 것(#agent-level) */
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 1100px; margin: 1.75rem auto 0; }
.promise-col { background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; padding: 1.2rem 1.35rem 1.3rem; }
.promise-col h3 { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.7rem; font-size: 1rem; font-weight: 800; color: #0f172a; }
.promise-col.is-do h3 i { color: #16a34a; }
.promise-col.is-dont h3 i { color: #dc2626; }
.promise-col ul { margin: 0; padding-left: 1.1rem; }
.promise-col li { margin: 0 0 0.45rem; font-size: 0.9rem; line-height: 1.65; color: #475569; }
.promise-col li:last-child { margin-bottom: 0; }
.promise-col a { color: var(--primary-color); font-weight: 700; }
@media (max-width: 768px) { .promise-grid { grid-template-columns: 1fr; } }

/* Care+ 직접 수행(#managed, 어두운 바탕) */
.managed-care-plus {
    margin-top: 1rem; padding: 1.1rem 1.3rem 1.2rem; border-radius: 12px;
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
}
.managed-care-scope-label { margin: 0 0 0.5rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; color: var(--on-navy-accent); }
.managed-care-scope { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.managed-care-scope li {
    display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.75rem; border-radius: 999px;
    background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 0.86rem; font-weight: 700;
}
.managed-care-scope li i { color: var(--primary-light); }
.managed-care-note { margin: 0.6rem 0 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.8); }
.managed-care-case { margin: 0.85rem 0 0; font-size: 0.9rem; line-height: 1.7; color: rgba(255, 255, 255, 0.92); }
.managed-care-case strong { color: #fff; }
.managed-care-case-tag {
    display: inline-block; margin-right: 0.45rem; padding: 0.1rem 0.5rem; border-radius: 999px;
    background: #fbbf24; color: #1f2937; font-size: 0.72rem; font-weight: 800; vertical-align: 1px;
}
.managed-care-link { display: inline-block; margin-top: 0.7rem; font-size: 0.88rem; font-weight: 700; color: var(--on-navy-accent); text-decoration: none; }
.managed-care-link:hover { color: #fff; text-decoration: underline; }

/* ===== Feature Screenshots Duo ===== */
.feature-screenshots-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin: var(--spacing-2xl) auto;
    max-width: 1100px;
}

.feature-screenshots-duo .feature-screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 20px 40px -8px rgba(15, 23, 42, 0.08);
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    transition: all var(--transition-slow);
}

.feature-screenshots-duo .feature-screenshot:hover {
    transform: scale(1.03);
    box-shadow: 0 1px 0 rgba(10, 22, 46, 0.11), 0 25px 50px -8px rgba(15, 23, 42, 0.14);
}

/* Equal height crop variant */
.feature-screenshots-duo--equal-height {
    align-items: stretch;
}

.feature-screenshot-crop {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 20px 40px -8px rgba(15, 23, 42, 0.08);
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    transition: all var(--transition-slow);
}

.feature-screenshot-crop:hover {
    transform: scale(1.03);
    box-shadow: 0 1px 0 rgba(10, 22, 46, 0.11), 0 25px 50px -8px rgba(15, 23, 42, 0.14);
}

.feature-screenshot-crop .feature-screenshot {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.feature-screenshot-crop .feature-screenshot:hover {
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .feature-screenshots-duo {
        grid-template-columns: 1fr;
    }
    .feature-screenshot-crop {
        aspect-ratio: 16 / 9;
    }
}

/* ===== Feature KPI Label ===== */
.feature-kpi-label {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

/* ===== BizSpring Banner ===== */
.bizspring-banner {
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: var(--navy);
    border-radius: var(--radius-2xl);
    color: var(--white);
    text-align: center;
    position: relative;
}

.bizspring-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--primary-color);
    color: var(--white);
    font-size: var(--font-size-sm);
    font-weight: 700;
    border-radius: 40px;
    margin-bottom: var(--spacing-lg);
}

.bizspring-banner h4 {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.bizspring-banner p {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

.bizspring-banner p strong {
    color: var(--white);
}

.bizspring-screenshots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.bizspring-screenshots .feature-screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: none;
    border: none;
    transition: all var(--transition-slow);
}

.bizspring-screenshots .feature-screenshot:hover {
    transform: none;
    box-shadow: none;
}

.bizspring-screenshots .feature-screenshot-crop {
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 40px -8px rgba(0, 0, 0, 0.3);
}

.bizspring-screenshots .feature-screenshot-crop:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 50px -8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .bizspring-screenshots {
        grid-template-columns: 1fr;
    }
    .bizspring-banner {
        padding: var(--spacing-lg);
    }
}

/* ===== D-O-M Framework Section ===== */
.dom-framework {
    background-color: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-3xl);
}

.dom-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.dom-step {
    padding: var(--spacing-lg);
    border-radius: var(--radius-2xl);
    background: var(--white);
    border: 2px solid var(--gray-200);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.dom-step-list {
    flex: 1 0 auto;
}

.dom-step:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.dom-step-diagnose {
    border-left: 5px solid var(--primary-color);
}

.dom-step-optimize {
    border-left: 5px solid #f59e0b;
}

.dom-step-monitor {
    border-left: 5px solid #10b981;
}

.dom-step-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.dom-step-number {
    font-size: var(--font-size-3xl);
    font-weight: 900;
    color: var(--gray-200);
    line-height: 1;
    min-width: 45px;
}

.dom-step-diagnose .dom-step-number { color: rgba(11, 79, 181, 0.2); }
.dom-step-optimize .dom-step-number { color: rgba(245, 158, 11, 0.2); }
.dom-step-monitor .dom-step-number { color: rgba(16, 185, 129, 0.2); }

.dom-step-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.dom-step-diagnose .dom-step-header h3 { color: var(--primary-color); }
.dom-step-optimize .dom-step-header h3 { color: #f59e0b; }
.dom-step-monitor .dom-step-header h3 { color: #10b981; }

.dom-step-label {
    font-size: var(--font-size-base);
    color: var(--gray-600);
    font-weight: 600;
    margin: 0;
}

.dom-step-list {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    padding: 0;
}

.dom-step-list li {
    position: relative;
    padding: var(--spacing-xs) 0 var(--spacing-xs) var(--spacing-lg);
    font-size: var(--font-size-sm);
    color: var(--gray-700);
    line-height: 1.7;
}

.dom-step-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.dom-step-list li strong {
    color: var(--gray-900);
}

.dom-step-screenshot {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--gray-200);
    display: block;
    margin: auto auto 0;
}

@media (max-width: 1024px) {
    .dom-steps {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .dom-step {
        padding: var(--spacing-md);
    }
    .dom-step-number {
        font-size: var(--font-size-2xl);
        min-width: 35px;
    }
    .dom-step-header h3 {
        font-size: var(--font-size-lg);
    }
}

/* ===== Care+ Summary ===== */
.careplus-summary {
    max-width: 860px;
    margin: var(--spacing-xl) auto 0;
    background: var(--gray-800);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-lg) var(--spacing-xl);
    text-align: center;
}

.careplus-summary-label {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xs);
}

.careplus-summary-text {
    color: var(--white);
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 1.6;
    margin: 0;
}

.careplus-summary-sub {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-sm);
}


.managed-service {
    background: var(--navy);
    padding: var(--spacing-3xl) 0;
    color: var(--white);
}

.managed-service-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.managed-service-content h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: var(--spacing-lg);
}

.managed-service-content h2 strong {
    color: var(--white);
    font-weight: 800;
}

.managed-service-desc {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.managed-service-tagline {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
}

.managed-service-tagline strong {
    color: var(--white);
}

.managed-highlight {
    color: var(--primary-light);
    font-weight: 700;
}

/* Managed Service Tech Note */
.managed-service-tech-note {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 4px solid #ef4444;
}

.managed-service-tech-note h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.managed-service-tech-note p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin: 0;
}

.managed-service-tech-note p strong {
    color: #fbbf24;
}

.managed-service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.ms-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.9);
}

.ms-icon {
    font-size: var(--font-size-xl);
}

.btn-managed {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--white);
    color: var(--gray-900);
    font-size: var(--font-size-base);
    font-weight: 700;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-managed:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 22, 46, 0.22);
}

.managed-service-visual {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.managed-service-visual .feature-screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .managed-service-inner {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    .managed-service-content h2 {
        font-size: var(--font-size-2xl);
    }
    .managed-service-features {
        grid-template-columns: 1fr;
    }
}

/* ===== Use Case Guide Banner ===== */
.usecase-guide-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    background: var(--tint-soft);
    border: 2px solid rgba(11, 79, 181, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg) var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.usecase-guide-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.usecase-guide-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.usecase-guide-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.usecase-guide-content p {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    margin-bottom: 0;
    line-height: 1.5;
}

.btn-usecase-guide {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--gradient-2);
    color: var(--white) !important;
    font-weight: 600;
    font-size: var(--font-size-sm);
    border-radius: var(--radius-lg);
    white-space: nowrap;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-usecase-guide:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 22, 46, 0.17);
}

@media (max-width: 768px) {
    .usecase-guide-banner {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-lg);
    }
    .usecase-guide-content {
        flex-direction: column;
    }
}

/* ===== FAQ Category Labels ===== */
.faq-category-label {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--primary-color);
    padding: var(--spacing-lg) 0 var(--spacing-xs);
    border-bottom: none;
    letter-spacing: 0.01em;
}

.faq-category-label:first-child {
    padding-top: 0;
}

/* ===== Contact Modal ===== */
.contact-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10001;
    align-items: center;
    justify-content: center;
}
.contact-modal.active {
    display: flex;
}
.contact-modal-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}
.contact-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    z-index: 10002;
}
.contact-modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-500);
    cursor: pointer;
    width: 2rem; height: 2rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}
.contact-modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}
.contact-modal-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.25rem;
}
.contact-modal-desc {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    margin: 0;
}

/* Form */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.form-group {
    margin-bottom: 0.75rem;
}
.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}
.required {
    color: #ef4444;
}
.form-input, .form-textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    font-size: var(--font-size-sm);
    font-family: var(--font-primary);
    color: var(--gray-800);
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.form-input::placeholder, .form-textarea::placeholder {
    color: var(--gray-300);
}
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 79, 181, 0.15);
}
.form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Privacy */
.privacy-section {
    margin: 1rem 0;
    background: var(--gray-50);
    border-radius: 0.5rem;
    padding: 0.75rem;
}
.privacy-details {
    margin-bottom: 0.5rem;
}
.privacy-summary {
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-600);
    list-style: none;
}
.privacy-summary::before {
    content: "▸ ";
}
details[open] .privacy-summary::before {
    content: "▾ ";
}
.privacy-content {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 0.375rem;
    font-size: var(--font-size-xs);
    color: var(--gray-600);
    line-height: 1.6;
}
.privacy-content p {
    margin: 0 0 0.5rem;
}
.privacy-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: var(--gray-700);
    cursor: pointer;
}
.privacy-checkbox-label input[type="checkbox"] {
    width: 1rem; height: 1rem;
    accent-color: var(--primary-color);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}
.btn-form-cancel {
    flex: 1;
    padding: 0.7rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    background: var(--white);
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-primary);
}
.btn-form-cancel:hover {
    background: var(--gray-50);
}
.btn-form-submit {
    flex: 2;
    padding: 0.7rem;
    border: none;
    border-radius: 0.5rem;
    background: var(--gradient-1);
    color: var(--white);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-primary);
}
.btn-form-submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.btn-form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Success State */
.contact-success {
    text-align: center;
    padding: 2rem 0;
}
.success-icon {
    width: 3.5rem; height: 3.5rem;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

@media (max-width: 768px) {
    .contact-modal-content {
        width: 95%;
        padding: 1.25rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}
/* =====================================================================
   공용 네비게이션 v2 (2026-09-24) — 정본: scripts/sync-marketing-nav.mjs
   주 메뉴(자사 페이지) · 연관 서비스 드롭다운 · 회사 소개(새 창) · 2단 챕터 서브메뉴
   ===================================================================== */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
html { scroll-padding-top: calc(var(--nav-h, 64px) + var(--subnav-h, 0px) + var(--sticky-h, 0px) + 12px); }

/* 현재 페이지 표시 */
.nav-links > a[aria-current="page"] {
    color: var(--gray-900);
    font-weight: 700;
    box-shadow: inset 0 -2px 0 var(--primary-color);
    padding-bottom: 0.2rem;
}

/* 칩(버튼 포함) */
.nav-links .nav-chip {
    display: inline-flex; align-items: center; gap: 0.32rem;
    padding: 0.32rem 0.72rem; border-radius: 999px;
    background: rgba(248, 250, 252, 0.7); border: 1px solid rgba(226, 232, 240, 0.9);
    color: var(--gray-800); font: inherit; font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0; line-height: 1.2; white-space: nowrap; cursor: pointer;
    transition: all 0.18s ease-out;
}
.nav-links .nav-chip:hover,
.nav-dropdown.is-open .nav-chip {
    background: rgba(239, 246, 255, 0.9); border-color: var(--tint-border); color: var(--primary-color);
}
.nav-ext { font-size: 0.72em; opacity: 0.7; }
.nav-caret { font-size: 0.7em; transition: transform 0.18s; }
.nav-dropdown.is-open .nav-caret { transform: rotate(180deg); }

/* 연관 서비스 드롭다운 */
.nav-dropdown { position: relative; }
.nav-dropdown-panel {
    display: none; position: absolute; top: calc(100% + 12px); right: -60px;
    width: min(440px, 92vw); padding: 1.1rem 1.1rem 0.8rem;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14); z-index: 1100;
}
.nav-dropdown.is-open .nav-dropdown-panel { display: block; }
.nav-rel-intro { margin: 0 0 0.75rem; font-size: 0.82rem; line-height: 1.65; color: var(--gray-600); }
.nav-rel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.nav-rel-list a {
    display: grid; grid-template-columns: 1fr auto; gap: 0.1rem 0.6rem;
    padding: 0.6rem 0.7rem; border-radius: 10px; text-decoration: none;
}
.nav-rel-list a:hover { background: #f8fafc; }
.nav-rel-name { font-size: 0.9rem; font-weight: 700; color: var(--gray-900); }
.nav-rel-role {
    justify-self: end; align-self: center; font-size: 0.7rem; font-weight: 700; color: var(--primary-color);
    background: var(--tint); border-radius: 999px; padding: 0.1rem 0.5rem; white-space: nowrap;
}
.nav-rel-desc { grid-column: 1 / -1; font-size: 0.8rem; line-height: 1.55; color: var(--gray-600); }

/* 2단 챕터 서브메뉴: 스위칭 필(2026-09-26 구자훈)
   알약 모양 트랙(.subnav-track) 안에서, 지금 읽는 챕터로 흰 필(.subnav-pill)이 미끄러져 옮겨 간다.
   필은 js/site-nav.js 가 트랙 첫 자식으로 넣는다(스크립트가 없으면 트랙만 보인다). 글자 굵기는 모든 항목이 같아야
   필 너비가 흔들리지 않으므로, 선택 표시는 필과 글자색으로만 한다. */
.subnav {
    position: fixed; top: var(--nav-h, 64px); left: 0; right: 0; z-index: 999;
    padding: 0.32rem 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.subnav-track {
    position: relative; display: flex; gap: 0.1rem;
    width: max-content; max-width: 100%; margin: 0 auto; padding: 3px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scrollbar-width: none; -ms-overflow-style: none;
    background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 999px;
}
.subnav-track::-webkit-scrollbar { display: none; }
.subnav-track a {
    position: relative; z-index: 1;
    flex: 0 0 auto; padding: 0.3rem 0.85rem; border-radius: 999px; white-space: nowrap;
    font-size: 0.84rem; font-weight: 600; color: var(--gray-600); text-decoration: none;
    transition: color 0.2s ease;
}
.subnav-track a:hover { color: var(--gray-900); }
.subnav-track a.is-active { color: var(--primary-color); }
.subnav-track a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.subnav-pill {
    position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; width: 0;
    border-radius: 999px; background: #fff; pointer-events: none; opacity: 0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1), 0 3px 10px rgba(15, 23, 42, 0.08);
    transition: transform 0.36s cubic-bezier(0.3, 0.7, 0.2, 1), width 0.36s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.2s ease;
}
.subnav-pill.is-on { opacity: 1; }
.subnav-pill.no-anim { transition: none; }
/* 2단 메뉴는 본문 폭(1200px)이 아니라 창 폭을 쓴다. 챕터가 9개인 지식센터도 1280px 이상에서 한 줄에 보인다
   (2026-09-26 실측: 필요 1,245px. 종전 본문 폭 1,152px 에서는 모든 데스크톱 폭에서 가로 스크롤이 생겼다). */
.subnav > .container { max-width: none; padding-left: 16px; padding-right: 16px; }
@media (max-width: 1279px) and (min-width: 769px) {
    .subnav-track a { padding: 0.3rem 0.68rem; }
}
@media (prefers-reduced-motion: reduce) {
    .subnav-pill, .subnav-track a { transition: none; }
}

/* 서브메뉴가 생긴 만큼 상단 여백 보정(여백이 좁은 히어로만) */
/* 2026-10-05: 문서·지식센터 히어로는 메뉴 높이만큼 내려서 시작하는 네이비 면이라 안쪽 위 여백만 둔다 */
body.has-subnav .doc-hero { padding-top: 2.75rem; }
body.has-subnav .faq-hero { padding-top: 3.25rem; }

@media (max-width: 1100px) {
    .nav-links { gap: 0.85rem; }
    .nav-links > a:not(.nav-chip) { font-size: 0.88rem; }
}
@media (max-width: 1023px) {
    .nav-links.active {
        display: flex !important; flex-direction: column; align-items: stretch;
        position: absolute; top: 100%; left: 0; right: 0; max-height: 80vh; overflow-y: auto;
        background: #fff; padding: 1rem; gap: 0.5rem; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
    }
    .nav-links > a:last-of-type { margin-right: 0; }
    .nav-links > a[aria-current="page"] { box-shadow: none; color: var(--primary-color); }
    .nav-dropdown-panel { position: static; width: auto; box-shadow: none; margin-top: 0.4rem; }
    .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
}
@media (max-width: 768px) {
    .subnav-track a { font-size: 0.8rem; padding: 0.28rem 0.7rem; }
}

/* 메뉴 간격 보정(2026-09-24 3차, 구자훈 지시): 주 메뉴 4개(서비스 소개·AI 에이전트·FAQ/지식·사례 및 파트너) 사이를
   넓히고, 로그인·무료 체험 버튼을 줄여 공간을 만든다. 메뉴 이름을 줄인 뒤(2안) 로고와 메뉴 사이에 남던 여백을 간격으로 돌렸다.
   1024·1100·1180·1200·1280·1366·1440·1600·1920px 실측: 주 메뉴 간격 1024~1180px 24px, 1181px 이상 32px,
   NEW 태그 뒤도 같은 간격, 넘침 없음. 항목을 늘리면 다시 잰다. 모바일(1023px 이하) 펼침 메뉴는 종전 크기를 유지한다. */
.nav-wrapper { gap: 1.5rem; }
.nav-links { gap: 0.9rem; }
.nav-buttons .btn-nav { white-space: nowrap; padding: 0.5rem 1.15rem; font-size: 0.92rem; }
@media (min-width: 1024px) {
    .nav-links > a:last-of-type { margin-right: 0.35rem; }
    /* 주 메뉴끼리만 더 띄운다(칩·버튼 사이는 그대로).
       주 메뉴 바로 뒤에 오는 MCP활용 단추(.nav-mcp, 칩 아님)도 이 간격을 받아 주 메뉴 다섯 개가 같은 간격으로 놓인다(2026-10-04 2차, 의도한 동작) */
    .nav-links > a:not(.nav-chip) + a:not(.nav-chip) { margin-left: 1.1rem; }
    .nav-divider { margin: 0 0.45rem; }
    .nav-buttons { gap: 0.4rem; }
    .nav-buttons .btn-nav { padding: 0.36rem 0.9rem; font-size: 0.86rem; line-height: 1.35; }
}
@media (max-width: 1180px) and (min-width: 1024px) {
    .nav-wrapper { gap: 1rem; }
    .logo { font-size: 1.3rem; }
    .nav-links { gap: 0.6rem; }
    .nav-links > a:not(.nav-chip) { font-size: 0.88rem; }
    .nav-links > a:not(.nav-chip) + a:not(.nav-chip) { margin-left: 0.9rem; }
    .nav-divider { margin: 0 0.25rem; }
    .nav-links a.nav-chip, .nav-links .nav-chip { font-size: 0.76rem; padding: 0.28rem 0.58rem; }
    .nav-buttons { gap: 0.35rem; }
    .nav-buttons .btn-nav { padding: 0.34rem 0.72rem; font-size: 0.8rem; }
}

/* 메뉴 NEW 태그(2026-09-24): 메뉴 글자 오른쪽 위의 작은 노란 태그, 글자는 검정.
   태그가 글자 오른쪽으로 나온 만큼(right: -0.95rem) 오른쪽을 띄워, 다음 메뉴와의 간격을 다른 메뉴와 같게 한다 */
.nav-links > a.nav-has-badge { position: relative; margin-right: 0.95rem; }
.nav-badge {
    position: absolute; top: -0.7rem; right: -0.95rem;
    padding: 0.1rem 0.28rem 0.08rem; border-radius: 4px;
    background: #facc15; color: #000;
    font-size: 0.54rem; font-weight: 800; letter-spacing: 0.05em; line-height: 1.1;
    pointer-events: none;
}
/* 문의하기 칩: 다른 칩과 같은 모양, 행동 유도 색만 다르게 */
.nav-links a.nav-chip.nav-contact { color: var(--primary-color); background: var(--tint); border-color: var(--tint-border); }
.nav-links a.nav-chip.nav-contact:hover { background: var(--tint-2); }

/* 2단 메뉴 가운데 정렬: 트랙(알약)이 내용 너비만큼만 차지하고 가운데에 놓인다(margin: 0 auto).
   항목이 넘치면 트랙이 화면 폭까지 늘어나고 트랙 안에서 가로 스크롤한다. */

@media (max-width: 1023px) {
    .nav-links > a.nav-has-badge { margin-right: 0; }
    .nav-badge { position: static; display: inline-block; margin-left: 0.4rem; vertical-align: 0.15em; }
}

/* 연계 서비스 드롭다운 맨 아래 「회사 소개」(2026-10-04): 가로줄로 연계 서비스 목록과 나누고, 역할 태그는 회색으로 구분한다 */
.nav-rel-sep { border: 0; border-top: 1px solid #e2e8f0; margin: 0.55rem 0.2rem 0.35rem; }
.nav-rel-company {
    display: grid; grid-template-columns: 1fr auto; gap: 0.1rem 0.6rem;
    padding: 0.6rem 0.7rem; border-radius: 10px; text-decoration: none;
}
.nav-rel-company:hover { background: #f8fafc; }
.nav-rel-company .nav-rel-role { color: #475569; background: #f1f5f9; }

/* 「MCP활용」 버튼형 메뉴(2026-10-04 구자훈): chatad.kr·internettrend.co.kr·nunchi.biz 상단 MCP 단추와 같은 표현.
   Claude·ChatGPT 로고 원 두 개를 겹치고 글자를 붙인 알약이다. 선택자를 .navbar a.nav-mcp 로 두어
   주 메뉴 글자 규칙(.nav-links > a:not(.nav-chip))·현재 페이지 밑줄 규칙보다 우선한다.
   데스크톱 = 메뉴 줄 안(.nav-links), 1023px 이하 = 햄버거 단추 왼쪽(.nav-mcp-m). 폭에 따라 한쪽만 보인다. */
.navbar a.nav-mcp {
    display: inline-flex; align-items: center; gap: 6px; flex: none;
    height: 32px; padding: 0 12px 0 5px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.78); border: 1px solid #cbd5e1;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    color: var(--gray-900); font-size: 0.84rem; font-weight: 700; letter-spacing: 0; line-height: 1;
    white-space: nowrap; text-decoration: none;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s, transform 0.18s;
}
.navbar a.nav-mcp:hover {
    background: #fff; border-color: var(--accent-border); color: var(--gray-900);
    box-shadow: 0 4px 12px rgba(10, 22, 46, 0.07); transform: translateY(-1px);
}
.navbar a.nav-mcp:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.navbar a.nav-mcp[aria-current="page"] {
    padding-bottom: 0; font-weight: 700; color: var(--gray-900);
    border-color: var(--primary-color); box-shadow: inset 0 0 0 1px var(--primary-color);
}
.nav-mcp-duo { display: inline-flex; align-items: center; }
.nav-mcp-ico {
    display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 0 1px #e2e8f0;
}
.nav-mcp-ico + .nav-mcp-ico { margin-left: -6px; }
.nav-mcp-ico svg { display: block; width: 14px; height: 14px; }
.nav-mcp-ico.is-claude { color: #d97757; }
.nav-mcp-ico.is-gpt { color: #0f172a; }
.navbar a.nav-mcp-m { display: none; }
@media (max-width: 1180px) and (min-width: 1024px) {
    .navbar a.nav-mcp { height: 30px; gap: 5px; padding: 0 10px 0 4px; font-size: 0.78rem; }
    .nav-mcp-ico { width: 20px; height: 20px; }
    .nav-mcp-ico svg { width: 13px; height: 13px; }
}
/* 1024~1100px: MCP활용 단추가 종전 「회사 소개」 칩보다 넓어 메뉴 줄이 본문 폭을 13px 넘었다(2026-10-04 실측) → 간격만 줄인다 */
@media (max-width: 1100px) and (min-width: 1024px) {
    .nav-wrapper { gap: 0.75rem; }
    .nav-links { gap: 0.5rem; }
    .nav-links > a:not(.nav-chip) + a:not(.nav-chip) { margin-left: 0.75rem; }
    .navbar a.nav-mcp { gap: 4px; padding: 0 9px 0 4px; }
}
@media (max-width: 1023px) {
    .nav-links > a.nav-mcp { display: none; }
    .navbar a.nav-mcp-m { display: inline-flex; margin-left: auto; }
    .nav-wrapper { gap: 0.75rem; }
}
@media (max-width: 360px) {
    .navbar a.nav-mcp-m { height: 30px; gap: 4px; padding: 0 9px 0 4px; font-size: 0.78rem; }
    .navbar a.nav-mcp-m .nav-mcp-ico { width: 20px; height: 20px; }
}

/* ===== 홈 히어로: 간이 진단 입력 + AI에게 물어보기 (2026-09-24, 같은 날 2차: 아이콘·진행 순서·아이폰 보완) ===== */
.hero-diag { max-width: 780px; margin: 2rem auto 2.75rem; }
.hero-diag-box {
    display: flex; align-items: center; gap: 0.25rem;
    padding: 0.45rem 0.45rem 0.45rem 0.5rem; background: #fff;
    border: 1.5px solid var(--tint-border); border-radius: 999px;
    box-shadow: 0 12px 32px rgba(10, 22, 46, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-diag-box:focus-within { border-color: var(--accent-border); box-shadow: 0 14px 36px rgba(10, 22, 46, 0.1); }
.hero-diag-field {
    flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 0.5rem;
    margin: 0; padding: 0 0.25rem 0 0.35rem; border-radius: 999px; cursor: text; transition: background 0.15s, box-shadow 0.15s;
}
.hero-diag-field > i {
    flex-shrink: 0; width: 1.9rem; height: 1.9rem; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.8rem; color: var(--primary-color); background: var(--tint);
}
.hero-diag-sep + .hero-diag-field > i { color: var(--navy); background: var(--navy-tint); }
/* 글자 16px 유지: 아이폰 사파리는 16px 미만 입력칸에 초점이 가면 화면을 확대한다 */
.hero-diag-box input {
    flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
    font: inherit; font-size: 1rem; color: var(--gray-900); padding: 0.7rem 0.15rem;
}
.hero-diag-box input::placeholder { color: #94a3b8; }
.hero-diag-box input[aria-invalid="true"]::placeholder { color: #dc2626; }
.hero-diag-sep { width: 1px; height: 22px; background: #e2e8f0; flex-shrink: 0; }
.hero-diag-btn {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
    border: 0; cursor: pointer; white-space: nowrap;
    padding: 0.85rem 1.4rem; border-radius: 999px; font: inherit; font-size: 0.95rem; font-weight: 700;
    color: #fff; background: var(--primary-color);
    box-shadow: 0 8px 18px rgba(10, 22, 46, 0.15);
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.hero-diag-btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(10, 22, 46, 0.19); }
.hero-diag-btn:active { transform: scale(0.97); }
.hero-diag-btn i { font-size: 0.85rem; }
/* 진행 순서(2026-09-24 2차): 주소·브랜드 입력 → AI 조사 결과 확인 → 언급 결과 보기 */
.hero-diag-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0.9rem 0 0; padding: 0; }
.hero-diag-steps li {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.3rem 0.8rem 0.3rem 0.32rem; border-radius: 999px;
    background: #f8fafc; border: 1px solid #e8edf4; font-size: 0.8rem; font-weight: 600; color: #475569;
}
.hds-num {
    flex-shrink: 0; width: 1.35rem; height: 1.35rem; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 800; color: #fff; background: var(--primary-light);
}
.hero-diag-steps li:nth-child(2) .hds-num { background: var(--primary-light); }
.hero-diag-steps li:nth-child(3) .hds-num { background: var(--primary-light); }
.hero-diag-note { margin: 0.75rem 0 0; font-size: 0.85rem; color: #64748b; }
/* 간이 진단 = 표본 안내(2026-09-24): 정식 진단과 다를 수 있음을 눈에 띄게 */
.hero-diag-caution {
    margin: 0.35rem 0 0; font-size: 0.8rem; line-height: 1.6; color: #b45309;
    
}
.hero-diag-caution i { margin-right: 0.2rem; }

.ask-ai {
    max-width: 760px; margin: 1.75rem auto 0; padding: 1.1rem 1.25rem;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px;
}
.ask-ai-lead { margin: 0 0 0.8rem; font-size: 0.93rem; color: #334155; line-height: 1.6; }
.ask-ai-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem; }
.ask-ai-btn {
    border: 1px solid #cbd5e1; background: #fff; color: #0f172a; cursor: pointer;
    padding: 0.5rem 1rem; border-radius: 999px; font: inherit; font-size: 0.88rem; font-weight: 600;
    transition: all 0.15s;
}
.ask-ai-btn:hover { border-color: var(--accent-border); color: var(--primary-color); background: var(--tint); transform: translateY(-1px); }
.ask-ai-note { margin: 0.7rem 0 0; font-size: 0.78rem; color: #94a3b8; }

/* AI에게 물어보기 입력 창(2026-09-24 2차): 간이 진단 창과 같은 부품(.qd-badge·.qd-x·.qd-input·.qd-btn)을 쓰고,
   모바일에서는 화면 아래에서 올라오는 창으로 연다(아래 「무료 간이 진단 창」 블록의 모바일 규칙). */
.ask-modal { position: fixed; top: 0; left: 0; right: 0; height: 100%; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 1rem; box-sizing: border-box; }
.ask-modal[hidden] { display: none; }
.ask-modal-backdrop { position: absolute; inset: 0; background: rgba(30, 41, 59, 0.45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); touch-action: none; }
.ask-modal-box {
    position: relative; width: min(440px, 100%); max-height: 100%; box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-radius: 24px; padding: 1.1rem 1.25rem 1.2rem;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28); text-align: left;
}
.ask-modal-head { display: flex; align-items: flex-start; gap: 0.75rem; margin: 0 -0.4rem 0.3rem 0; }
.ask-modal-titles { flex: 1; min-width: 0; padding-top: 0.1rem; }
.ask-modal-box h3 { margin: 0 0 0.25rem; font-size: 1.05rem; font-weight: 800; color: #0f172a; line-height: 1.4; }
.ask-modal-sub { margin: 0; font-size: 0.8rem; color: #64748b; line-height: 1.55; }
.ask-modal-box label { display: block; margin: 0.85rem 0 0.4rem; font-size: 0.82rem; font-weight: 800; color: #334155; }
.ask-modal-error { margin: 0.6rem 0 0; font-size: 0.82rem; color: #dc2626; }
.ask-modal-actions { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1.2rem; }
/* 창이 열린 동안 뒤 페이지 스크롤 잠금(html·body 모두 — 아이폰 사파리 포함) */
body.ask-modal-open, html.qd-lock { overflow: hidden; }

.ask-toast {
    position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 3100;
    width: max-content; max-width: calc(100vw - 2rem); box-sizing: border-box; text-align: center;
    background: #1e293b; color: #fff; padding: 0.75rem 1.1rem; border-radius: 14px;
    font-size: 0.88rem; line-height: 1.5; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.3); transition: opacity 0.4s;
}
.ask-toast.is-out { opacity: 0; }

@media (max-width: 640px) {
    .hero-diag-box { flex-wrap: wrap; border-radius: 24px; padding: 0.5rem; gap: 0.4rem; }
    .hero-diag-field { flex: 1 1 100%; padding: 0.15rem 0.35rem; border-radius: 16px; background: #f8fafc; }
    .hero-diag-field:focus-within { background: #fff; box-shadow: inset 0 0 0 2px var(--tint-border); }
    .hero-diag-box input { padding: 0.75rem 0.15rem; }
    .hero-diag-sep { display: none; }
    .hero-diag-btn { flex: 1 1 100%; min-height: 52px; font-size: 1rem; }
    .hero-diag-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
    .hero-diag-steps li { flex-direction: column; gap: 0.3rem; padding: 0.55rem 0.25rem; border-radius: 14px; font-size: 0.72rem; line-height: 1.35; text-align: center; }
}

/* ===== 홈 히어로 재배치(2026-09-26, 구자훈): 문구는 그대로 두고 순서·배치만 조정 =====
   ① 소개(V3 안내 · 제목 · 브랜드 · 설명) → ② CTA 3개 → ③ 체험 카드(간이 진단 + AI에게 물어보기)
   → ④ 가치 제안 → V3 하이라이트. 위쪽 기존 규칙은 그대로 두고 .hero-home·.hero-try 범위에서만 덮어쓴다. */
.hero-v3-pill {
    display: inline-flex; align-items: center; gap: 0.5rem; max-width: 100%; box-sizing: border-box;
    margin: 0 0 1.75rem; padding: 0.5rem 1.1rem 0.5rem 0.55rem;
    background: var(--tint); border: 1px solid var(--tint-border); border-radius: 999px;
    color: var(--primary-dark); text-decoration: none; font-size: 0.9rem; font-weight: 600; line-height: 1.45;
    transition: all 0.15s;
}
.hero-v3-pill:hover { background: var(--tint-2); border-color: var(--accent-border); color: var(--primary-dark); }
.hero-v3-pill-badge {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    height: 1.35rem; padding: 0 0.45rem; border-radius: 999px;
    background: var(--primary-color); color: #fff; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.03em;
}
/* 좁은 화면에서 낱말 중간 줄바꿈(「알/고」·「에이/전트」·「추천/을」) 방지 */
.hero-home .title, .hero-home .hero-description, .hero-v3-pill-text { }
/* 홈 제목(2026-09-27): 1줄 = 목적, 2줄 = 분류어 「AI 검색 최적화(GEO·AEO)」. 전역 `.title span`(큰 그라데이션 블록)
   규칙이 제목 안 span 에 걸리지 않게 되돌리고, 낱말 묶음(ht-a)은 줄 중간에서 끊지 않는다. */
.hero-home .title .ht-a {
    display: inline-block; font-size: inherit; font-weight: inherit;
    background: none; -webkit-text-fill-color: currentColor; color: inherit;
}
.hero-home .title .ht-key { display: inline-block; margin-top: 0.1em; font-size: 1.16em; font-weight: 800; color: var(--primary-color); }
.hero-home .hero-description { margin-bottom: 2.25rem; }
.hero-home .hero-cta { margin-bottom: 3.5rem; }
/* 체험 카드: 간이 진단 입력(방법 1) + AI에게 물어보기(방법 2, 보라 옅은 판)를 한 상자로 묶는다 */
.hero-try {
    box-sizing: border-box; margin: 0 auto 3.5rem; padding: 1.75rem 1.75rem 1.5rem;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 24px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}
.hero-try .hero-diag { margin: 0 auto; }
/* 2026-09-26: 두 방법을 머리표로 구분한다. 방법 1(간이 진단) = 파랑, 방법 2(AI에게 직접 묻기) = 보라 옅은 판 */
.hero-try-label {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    margin: 0 0 0.9rem; font-size: 0.98rem; font-weight: 800; color: #0f172a; 
}
.hero-try-badge {
    flex-shrink: 0; display: inline-flex; align-items: center; height: 1.45rem; padding: 0 0.6rem;
    border-radius: 999px; background: var(--primary-color); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em;
}
.hero-try-badge.is-alt { background: var(--navy); }
.hero-try .ask-ai {
    max-width: none; margin: 1.5rem 0 0; padding: 1.15rem 1.25rem 1.1rem;
    background: var(--navy-tint); border: 1px solid var(--navy-tint-border); border-radius: 18px;
}
.hero-try .ask-ai-btn:hover { border-color: var(--accent-border); color: var(--navy); background: var(--navy-tint); }
/* 체험 카드 구별(2026-09-26 구자훈 「카드패널의 배경색 등을 바꿔서 다른 콘텐츠들과 구별되게」):
   흰 바탕·회색 테두리였던 카드를 파랑→보라 옅은 그라데이션 바탕 + 같은 색 계열 그라데이션 테두리로 바꾼다.
   아래 가치 제안 상자(옅은 파랑 한 가지 색)·흰 바탕 히어로와 겹치지 않게, 테두리까지 색을 넣었다.
   카드 안 흰 요소(입력 막대·진행 단계·방법 2 판)는 흰 바탕으로 두어 대비를 유지한다. */
.hero-try {
    border: 2px solid transparent;
    background:
        #ffffff;
    box-shadow: 0 22px 56px rgba(10, 22, 46, 0.08);
}
.hero-try .hero-diag-steps li { background: #fff; border-color: var(--tint-border); }
.hero-try .ask-ai { background: #fff; border-color: var(--navy-tint-border); box-shadow: 0 6px 18px rgba(10, 22, 46, 0.05); }
.hero-try .hero-diag-note { color: #475569; }
.hero-home .hero-value-prop { margin-bottom: 0; }
.hero-home .hero-value-prop h2, .hero-home .hero-value-prop p { }
/* 가치 제안 세 기둥(2026-09-26): 질문 분석 · 답변 콘텐츠 · 기술 구조 */
.hero-pillars {
    list-style: none; margin: 1.5rem 0 0; padding: 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; text-align: left;
}
.hero-pillar { margin: 0; padding: 1rem 1.1rem 1.05rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; }
.hero-pillar-title { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 0.5rem; font-size: 1rem; font-weight: 800; color: #0f172a; }
.hero-pillar-icon {
    flex-shrink: 0; width: 1.95rem; height: 1.95rem; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.hero-pillar-icon.is-q { background: var(--tint-2); color: var(--primary-color); }
.hero-pillar-icon.is-c { background: var(--navy-tint); color: var(--navy); }
.hero-pillar-icon.is-t { background: #dcfce7; color: #15803d; }
.hero-pillar > p:last-child { margin: 0; font-size: 0.87rem; line-height: 1.65; color: #475569; }
.hero-v3-box { padding: 2rem 2rem 2.25rem; }
.hero-v3-badge { white-space: nowrap; }
.hero-v3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

@media (max-width: 768px) {
    /* 고정 상단 메뉴 + 2단 메뉴 높이만큼 비운다(종전 6rem 은 두 메뉴 높이보다 작아 첫 줄이 가려졌다) */
    .hero-home.hero-light { padding-top: calc(var(--nav-h, 64px) + var(--subnav-h, 44px) + 1.5rem); }
    .hero-v3-pill { margin-bottom: 1.25rem; padding: 0.5rem 0.85rem 0.5rem 0.5rem; border-radius: 16px; font-size: 0.8rem; text-align: left; }
    .hero-home .hero-description { margin-bottom: 1.75rem; }
    .hero-home .hero-cta { margin-bottom: 2.5rem; }
    .hero-try { margin-bottom: 2.5rem; padding: 1.1rem 0.9rem; border-radius: 20px; }
    .hero-try .ask-ai { padding: 1rem 0.85rem; }
    .hero-pillars { grid-template-columns: 1fr; }
    .hero-v3-box { padding: 1.25rem 1rem 1.35rem; }
    .hero-v3-title { flex-wrap: wrap; row-gap: 0.4rem; }
    .hero-v3-grid { grid-template-columns: 1fr; }
}

/* ===== GEO·AEO 지식센터 (2026-09-24) — 생성기: scripts/build-geo-kb.mjs ===== */
.kb-search { max-width: 640px; margin: 1.6rem auto 0; }
.kb-search input {
    width: 100%; box-sizing: border-box; padding: 0.95rem 1.3rem; border-radius: 999px;
    border: 1px solid #cbd5e1; background: #fff; font: inherit; font-size: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.kb-search input:focus { outline: none; border-color: var(--accent-border); box-shadow: 0 8px 24px rgba(10, 22, 46, 0.08); }
.kb-search-status { margin: 0.7rem 0 0; min-height: 1.2em; font-size: 0.88rem; color: var(--primary-color); font-weight: 600; }
.kb-wrap { max-width: 880px; margin: 0 auto; padding: 0.25rem 0 4rem; }

/* 검색 막대(2026-09-24): 2단 메뉴 아래에 고정. 키워드 검색 ↔ 자연어로 탐색(bizspring.ai) */
.kb-toolbar {
    position: sticky; top: calc(var(--nav-h, 64px) + var(--subnav-h, 0px)); z-index: 20;
    padding: 0.8rem 0 0.6rem;
    background: #fff;
    /* 막대 배경을 화면 양끝까지 늘린다(그림자는 가로 스크롤을 만들지 않는다) */
    box-shadow: 0 0 0 100vmax #fff;
    clip-path: inset(0 -100vmax);
}
.kb-toolbar.is-stuck { border-bottom: 1px solid #e2e8f0; }
.kb-toolbar .kb-search { max-width: none; margin: 0; position: relative; }
.kb-toolbar .kb-search input { padding-left: 2.9rem; }
.kb-search-icon {
    position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%);
    width: 1.1rem; height: 1.1rem; color: #94a3b8; pointer-events: none;
}
.kb-search[hidden], .kb-ask[hidden] { display: none; }
/* 자연어 입력창 = bizspring.ai 입력창 형태(rounded-2xl · px-5 py-4 · 기울임 안내문 · 보내기) */
.kb-ask { display: flex; gap: 0.5rem; align-items: stretch; }
.kb-ask input {
    flex: 1 1 auto; min-width: 0; box-sizing: border-box;
    padding: 1rem 1.25rem; border-radius: 1rem; border: 1px solid #cbd5e1; background: #fff;
    font: inherit; font-size: 1rem; color: #0f172a;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.kb-ask input::placeholder { font-style: italic; color: #94a3b8; }
.kb-ask input:focus { outline: none; border-color: var(--accent-border); box-shadow: 0 0 0 3px rgba(52, 139, 254, 0.35); }
.kb-ask button {
    flex-shrink: 0; padding: 0 1.4rem; border: 0; border-radius: 1rem; cursor: pointer;
    background: #0f172a; color: #fff; font: inherit; font-size: 0.95rem; font-weight: 700;
}
.kb-ask button:hover { background: #1e293b; }
.kb-toolbar-row { display: flex; align-items: center; gap: 0.5rem 1rem; margin-top: 0.55rem; flex-wrap: wrap; }
.kb-toolbar .kb-search-status { flex: 1 1 auto; margin: 0; min-height: 0; font-size: 0.85rem; }
.kb-switch {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.15rem 0.1rem;
    border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 0.87rem; font-weight: 700; color: #0f172a;
}
.kb-switch-track {
    position: relative; flex-shrink: 0; width: 2.3rem; height: 1.3rem; border-radius: 999px;
    background: #cbd5e1; transition: background 0.15s;
}
.kb-switch-thumb {
    position: absolute; top: 0.15rem; left: 0.15rem; width: 1rem; height: 1rem; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.3); transition: transform 0.15s;
}
.kb-switch[aria-checked="true"] .kb-switch-track { background: var(--primary-color); }
.kb-switch[aria-checked="true"] .kb-switch-thumb { transform: translateX(1rem); }
.kb-switch:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 6px; }
.kb-toplink { margin-left: auto; font-size: 0.87rem; font-weight: 700; color: var(--primary-color); text-decoration: none; white-space: nowrap; }
.kb-toplink:hover { text-decoration: underline; }
.kb-hint { margin: 0.15rem 0 1.6rem; font-size: 0.85rem; color: #64748b; line-height: 1.7; }
.kb-hint strong { color: #0f172a; }
.kb-empty .kb-bizai-btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
@media (max-width: 640px) {
    .kb-toolbar { padding: 0.6rem 0 0.5rem; }
    .kb-toolbar .kb-search input { padding-top: 0.8rem; padding-bottom: 0.8rem; font-size: 0.95rem; }
    .kb-ask input { padding: 0.85rem 1rem; font-size: 0.95rem; }
    .kb-ask button { padding: 0 1rem; }
    .kb-toolbar .kb-search-status { order: 3; flex-basis: 100%; }
}
.kb-top { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.3rem 1.5rem; margin-bottom: 2.5rem; }
.kb-top h2 { margin: 0 0 0.7rem; font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.kb-top ol { margin: 0; padding-left: 1.3rem; columns: 2; column-gap: 2rem; }
.kb-top li { margin: 0 0 0.45rem; font-size: 0.92rem; line-height: 1.5; break-inside: avoid; }
.kb-top a { color: var(--primary-dark); text-decoration: none; }
.kb-top a:hover { text-decoration: underline; }
.kb-cat { margin-bottom: 2.75rem; padding: 0; } /* 전역 section { padding: 6rem 0 } 을 끈다(분류 사이가 과하게 벌어졌음) */
.kb-cat-head { border-bottom: 2px solid #0f172a; padding-bottom: 0.6rem; margin-bottom: 1rem; }
.kb-cat-head h2 { margin: 0; font-size: 1.35rem; font-weight: 800; color: #0f172a; display: flex; align-items: center; gap: 0.5rem; }
.kb-cat-count { font-size: 0.75rem; font-weight: 700; color: var(--primary-color); background: var(--tint); border-radius: 999px; padding: 0.1rem 0.55rem; }
.kb-cat-head p { margin: 0.35rem 0 0; font-size: 0.9rem; color: #64748b; }
.kb-list { display: grid; gap: 0.75rem; }
.kb-item { border: 1px solid #e2e8f0; border-radius: 14px; padding: 1.15rem 1.35rem; background: #fff; }
.kb-item:target { border-color: var(--accent-border); box-shadow: 0 0 0 3px rgba(52, 139, 254, 0.35); }
.kb-item h3 { margin: 0 0 0.5rem; font-size: 1.03rem; font-weight: 700; color: #0f172a; line-height: 1.5; }
.kb-item p { margin: 0; font-size: 0.94rem; color: #475569; line-height: 1.75; }
.kb-more { display: inline-flex; gap: 0.3rem; margin-top: 0.6rem; font-size: 0.86rem; font-weight: 700; color: var(--primary-color); text-decoration: none; }
.kb-more:hover { text-decoration: underline; }
/* 관련 질문(2026-09-26): 같은 주제를 이어 읽도록 문항 사이를 잇는 링크. 생성기 related → .kb-related */
.kb-item .kb-related { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.45rem; margin-top: 0.8rem; padding-top: 0.75rem; border-top: 1px dashed #e2e8f0; font-size: 0.85rem; line-height: 1.5; }
.kb-related-label { flex: 0 0 auto; margin-right: 0.2rem; font-weight: 700; color: #64748b; }
.kb-related a { display: inline-block; padding: 0.22rem 0.65rem; border-radius: 8px; background: #f1f5f9; color: var(--primary-dark); text-decoration: none; }
.kb-related a:hover { background: var(--tint-2); text-decoration: underline; }
.kb-related a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
/* 최종 업데이트 표시(신선도 신호). 생성기 updated → <time datetime> */
.kb-hero .kb-updated { margin-top: 1rem; font-size: 0.85rem; color: var(--on-navy-muted); }
.kb-hero .kb-updated time { font-weight: 700; color: #fff; }
.kb-empty, .kb-bizai { border-radius: 16px; padding: 1.5rem 1.6rem; text-align: center; }
.kb-empty { background: #fff7ed; border: 1px solid #fed7aa; margin-bottom: 2rem; }
.kb-empty p { margin: 0 0 1rem; color: #7c2d12; line-height: 1.7; }
.kb-bizai { background: var(--tint); border: 1px solid var(--tint-border); margin-top: 1rem; }
.kb-bizai h2 { margin: 0 0 0.6rem; font-size: 1.2rem; font-weight: 800; color: #0f172a; }
.kb-bizai p { margin: 0 auto 1.1rem; max-width: 620px; color: var(--navy-2); line-height: 1.7; font-size: 0.95rem; }
.kb-bizai-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; align-items: center; }
.kb-bizai-btn {
    display: inline-flex; gap: 0.35rem; align-items: center; padding: 0.7rem 1.3rem; border-radius: 999px;
    background: var(--primary-color); color: #fff; font-weight: 700; text-decoration: none; font-size: 0.93rem;
}
.kb-bizai-btn:hover { background: var(--primary-dark); }
.kb-bizai-sub { font-size: 0.9rem; font-weight: 700; color: var(--primary-color); text-decoration: none; }
@media (max-width: 640px) { .kb-top ol { columns: 1; } }

/* 홈 → 지식센터 안내 블록 (2026-09-24) */
.home-kb { max-width: 820px; margin: 0 auto; }
.home-kb-search { display: flex; gap: 0.5rem; margin-bottom: 1.4rem; }
.home-kb-search input { flex: 1; min-width: 0; padding: 0.85rem 1.2rem; border: 1px solid #cbd5e1; border-radius: 999px; font: inherit; }
.home-kb-search input:focus { outline: none; border-color: var(--accent-border); }
.home-kb-search button { border: 0; border-radius: 999px; padding: 0 1.4rem; background: var(--primary-color); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.home-kb-top { margin: 0; padding: 1.2rem 1.4rem 1.2rem 2.6rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; columns: 2; column-gap: 2rem; }
.home-kb-top li { margin: 0 0 0.55rem; break-inside: avoid; font-size: 0.93rem; line-height: 1.5; }
.home-kb-top a { color: var(--primary-dark); text-decoration: none; }
.home-kb-top a:hover { text-decoration: underline; }
.home-kb-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.home-kb-btn { display: inline-flex; gap: 0.35rem; padding: 0.75rem 1.4rem; border-radius: 999px; background: #0f172a; color: #fff; font-weight: 700; text-decoration: none; }
.home-kb-sub { font-weight: 700; color: var(--primary-color); text-decoration: none; }
@media (max-width: 640px) { .home-kb-top { columns: 1; } }

/* ===== 홈: 통합 실행 체계 (2026-09-24) ===== */
.eco { padding: 6rem 0; background: #ffffff; }
.eco .section-description { max-width: 820px; margin-left: auto; margin-right: auto; }
.eco-flow { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: eco; }
.eco-card { position: relative; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.4rem 1.3rem; }
.eco-card + .eco-card::before {
    content: "→"; position: absolute; left: -0.95rem; top: 50%; transform: translateY(-50%);
    color: #94a3b8; font-weight: 700; font-size: 0.95rem;
}
.eco-step { margin: 0 0 0.45rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em; }
.eco-d .eco-step { color: var(--primary-color); }
.eco-o .eco-step { color: var(--navy); }
.eco-m .eco-step { color: #059669; }
.eco-card h3 { margin: 0 0 0.6rem; font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.eco-card h3 a { color: inherit; text-decoration: none; }
.eco-card h3 a:hover { color: var(--primary-color); }
.eco-card p:last-child { margin: 0; font-size: 0.9rem; line-height: 1.7; color: #475569; }
/* 연계 서비스 안내(2026-09-26 구자훈): 콘텐츠런처·LOGGER 는 비즈스프링의 별도 서비스, MCP·API 로 다른 솔루션 연결 가능 */
.eco-note { margin: 0.85rem 0 0; font-size: 0.82rem; line-height: 1.7; color: #64748b; overflow-wrap: anywhere; }
/* 2026-09-26: Trust(#agent-level) 설명이 「걱 / 정되실」처럼 낱말 중간에서 줄이 바뀌던 문제 → 띄어쓰기에서만 줄을 바꾼다 */
#agent-level .section-description { overflow-wrap: anywhere; }
.eco-note a { color: var(--primary-color); font-weight: 600; text-decoration: none; }
.eco-note a:hover { text-decoration: underline; }
.eco-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.25rem; }
.eco-extra > div { background: #f1f5f9; border-radius: 14px; padding: 1.1rem 1.3rem; }
.eco-extra p { margin: 0; font-size: 0.9rem; line-height: 1.7; color: #334155; }
.eco-extra .eco-extra-title { margin-bottom: 0.35rem; font-weight: 800; color: #0f172a; }
.eco-extra a { color: var(--primary-color); text-decoration: none; }
.eco-org { max-width: 860px; margin: 2rem auto 0; text-align: center; font-size: 0.95rem; line-height: 1.8; color: #334155; }
.eco-org a { color: var(--primary-color); font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 1024px) { .eco-flow { grid-template-columns: repeat(2, 1fr); } .eco-card + .eco-card::before { display: none; } }
@media (max-width: 640px) { .eco-flow, .eco-extra { grid-template-columns: 1fr; } .eco { padding: 4rem 0; } }

/* ===== 무료 간이 진단 창 (2026-09-24, 같은 날 2차: 단계 표시·카드형 화면·아이폰 하단 시트) — js/quick-diag.js ===== */
/* 창 구조: 머리글(.qd-head) + 단계 표시(.qd-steps) + 본문(.qd-scroll, 스크롤) + 하단 단추 줄(.qd-foot, 항상 보임).
   높이는 JS 가 visualViewport 에 맞춘다(아이폰 키보드가 열리면 보이는 영역만큼 줄어든다). */
.qd { position: fixed; top: 0; left: 0; right: 0; height: 100%; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 1rem; box-sizing: border-box; }
.qd[hidden] { display: none; }
.qd-backdrop { position: absolute; inset: 0; background: rgba(30, 41, 59, 0.45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); touch-action: none; }
.qd-box {
    position: relative; display: flex; flex-direction: column; width: min(720px, 100%); max-height: 100%;
    background: #fff; border-radius: 24px; box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28); text-align: left; overflow: hidden;
}
.qd-head { flex-shrink: 0; display: flex; align-items: center; gap: 0.75rem; padding: 0.95rem 0.75rem 0.7rem 1.25rem; background: var(--tint-soft); }
.qd-badge {
    flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem;
    background: var(--primary-color); box-shadow: 0 6px 14px rgba(10, 22, 46, 0.17);
}
.qd-titles { flex: 1; min-width: 0; }
.qd-head h3 { margin: 0; font-size: 1.05rem; font-weight: 800; color: #0f172a; }
.qd-sub { margin: 0.1rem 0 0; font-size: 0.8rem; color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qd-sub:empty { display: none; }
/* 닫기: 44px 터치 영역 */
.qd-x {
    flex-shrink: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #64748b;
    font-size: 1.6rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    transition: background 0.15s, color 0.15s; -webkit-tap-highlight-color: transparent;
}
.qd-x:hover { background: #f1f5f9; color: #0f172a; }
/* 단계 표시: 조사·확인·질문·결과 */
.qd-steps { flex-shrink: 0; display: flex; gap: 0.35rem; list-style: none; margin: 0; padding: 0.1rem 1.25rem 0.8rem; background: #fff; border-bottom: 1px solid #f1f5f9; }
.qd-steps li { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.35rem; padding: 0.38rem 0.3rem; border-radius: 999px; background: #f8fafc; color: #94a3b8; font-size: 0.76rem; font-weight: 700; white-space: nowrap; transition: background 0.3s, color 0.3s; }
.qd-step-dot { width: 1.2rem; height: 1.2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #e2e8f0; color: #fff; font-size: 0.66rem; font-weight: 800; }
.qd-steps li.is-now { background: var(--tint); color: var(--primary-color); }
.qd-steps li.is-now .qd-step-dot { background: var(--primary-color); }
.qd-steps li.is-done { background: #ecfdf5; color: #047857; }
.qd-steps li.is-done .qd-step-dot { background: #34d399; }
/* 본문(스크롤)·하단 단추 줄 */
.qd-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.qd-body { padding: 1.15rem 1.4rem 1.4rem; }
.qd-foot { flex-shrink: 0; display: flex; justify-content: flex-end; gap: 0.5rem; padding: 0.75rem 1.25rem; border-top: 1px solid #f1f5f9; background: #fff; }
.qd-foot:empty { display: none; }
.qd-body h4 { display: flex; align-items: center; gap: 0.45rem; margin: 1.6rem 0 0.7rem; font-size: 0.95rem; font-weight: 800; color: #0f172a; }
.qd-body h4 i { flex-shrink: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; color: var(--primary-color); background: var(--tint); }
/* 단추(두 창 공용): 44px 이상, 둥근 알약 모양 */
.qd-btn, .qd-btn-sub {
    min-height: 44px; box-sizing: border-box; border-radius: 999px; padding: 0.65rem 1.25rem;
    font: inherit; font-size: 0.92rem; font-weight: 700; cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
    transition: transform 0.15s, filter 0.15s, background 0.15s; -webkit-tap-highlight-color: transparent;
}
.qd-btn { color: #fff; border: 0; background: var(--primary-color); box-shadow: 0 6px 16px rgba(10, 22, 46, 0.14); }
.qd-btn:hover { filter: brightness(1.06); color: #fff; }
.qd-btn i { font-size: 0.85rem; }
.qd-btn-sub { background: #fff; border: 1px solid #e2e8f0; color: #475569; }
.qd-btn-sub:hover { background: #f8fafc; }
.qd-btn:active, .qd-btn-sub:active { transform: scale(0.97); }
/* 입력칸(두 창 공용, 왼쪽 아이콘·번호) — 글자 16px: 아이폰 사파리는 16px 미만 입력칸에 초점이 가면 화면을 확대한다 */
.qd-input { position: relative; }
.qd-input-ic, .qd-input-num { position: absolute; left: 0.65rem; top: 50%; transform: translateY(-50%); pointer-events: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.qd-input-ic { width: 1.75rem; height: 1.75rem; font-size: 0.75rem; color: var(--primary-color); background: var(--tint); }
.qd-input-ic.is-violet { color: var(--navy); background: var(--navy-tint); }
.qd-input-num { width: 1.55rem; height: 1.55rem; font-size: 0.74rem; font-weight: 800; color: var(--primary-color); background: var(--tint-2); }
.qd-input input {
    width: 100%; box-sizing: border-box; min-height: 48px; padding: 0.7rem 0.9rem 0.7rem 2.95rem;
    border: 1.5px solid #e2e8f0; border-radius: 14px; background: var(--tint-soft);
    font: inherit; font-size: 16px; color: #0f172a; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.qd-input input::placeholder { color: #a0aec0; }
.qd-input input:focus { outline: 0; border-color: var(--accent-border); background: #fff; box-shadow: 0 0 0 4px rgba(52, 139, 254, 0.35); }
.qd-input input[aria-invalid="true"] { border-color: #f87171; box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.2); }
/* 기다리는 화면: 둥근 아이콘 + 점 세 개 + 단계 목록 */
.qd-loading { text-align: center; padding: 1.4rem 0 0.4rem; }
.qd-orb {
    position: relative; width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff;
    background: var(--primary-color); box-shadow: 0 14px 30px rgba(10, 22, 46, 0.19);
}
.qd-orb::before, .qd-orb::after { content: ""; position: absolute; border-radius: 50%; }
.qd-orb::before { width: 13px; height: 13px; top: 2px; right: -7px; background: #fcd34d; }
.qd-orb::after { width: 9px; height: 9px; bottom: 6px; left: -9px; background: #6ee7b7; }
.qd-loading-title { margin: 0 0 0.45rem; font-size: 1.02rem; font-weight: 800; color: #0f172a; }
.qd-dots { display: inline-flex; gap: 6px; margin-bottom: 1.1rem; }
.qd-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-light); }
.qd-load-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 380px; display: grid; gap: 0.45rem; text-align: left; }
.qd-load-steps li { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.85rem; border-radius: 14px; background: #f8fafc; color: #94a3b8; font-size: 0.86rem; font-weight: 600; line-height: 1.45; transition: background 0.3s, color 0.3s; }
.qd-load-ic { flex-shrink: 0; box-sizing: border-box; width: 1.35rem; height: 1.35rem; border-radius: 50%; border: 2px solid #e2e8f0; display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 800; color: #fff; }
.qd-load-steps li.is-now { background: var(--tint); color: var(--primary-dark); }
.qd-load-steps li.is-now .qd-load-ic { border-color: var(--accent-border); border-top-color: transparent; }
.qd-load-steps li.is-done { background: #ecfdf5; color: #047857; }
.qd-load-steps li.is-done .qd-load-ic { border-color: #34d399; background: #34d399; }
.qd-load-steps li.is-done .qd-load-ic::before { content: "✓"; }
/* 오류 화면 */
.qd-error { text-align: center; padding: 1.2rem 0 0.4rem; }
.qd-error-ic { width: 64px; height: 64px; margin: 0 auto 0.9rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 800; color: #e11d48; background: #ffe4e6; }
.qd-error p { margin: 0; padding: 0.9rem 1rem; background: #fff1f2; border-radius: 16px; color: #9f1239; line-height: 1.7; }
/* 확인 화면 */
.qd-lead { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0 0 0.85rem; padding: 0.8rem 0.95rem; border-radius: 16px; background: var(--tint); color: var(--primary-dark); font-size: 0.9rem; line-height: 1.65; }
.qd-lead i { margin-top: 0.25rem; color: var(--primary-color); }
.qd-oneline { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0 0 0.4rem; }
.qd-oneline-ic { flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--navy); background: var(--navy-tint); }
.qd-oneline p { margin: 0; padding: 0.65rem 0.9rem; border-radius: 4px 16px 16px 16px; background: var(--navy-tint); color: var(--navy); font-size: 0.86rem; line-height: 1.6; }
.qd-oneline strong { display: block; margin-bottom: 0.1rem; font-size: 0.74rem; color: var(--navy); }
.qd-warn { margin: 0 0 1rem; padding: 0.7rem 0.9rem; background: #fff7ed; border-radius: 14px; font-size: 0.88rem; color: #9a3412; }
.qd-form label, .qd-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 0.4rem; font-size: 0.84rem; font-weight: 800; color: #334155; }
.qd-label small, .qd-form label small { font-size: 0.74rem; font-weight: 600; color: #94a3b8; }
.qd-comps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.qd-comp { min-width: 0; }
/* 「비교할 경쟁사」 풍선 도움말(2026-10-05 구자훈 지시) — js/quick-diag.js armBalloon.
   이 묶음이 보이면 이름표 위에 5초 뜨고, 묶음(입력칸·후보 단추·풍선)을 누르거나 초점이 들어오면 바로 닫힌다. 아래 막대가 남은 시간이다. */
.qd-comp-zone { position: relative; }
.qd-balloon {
    position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 5; display: flex; align-items: flex-start; gap: 0.55rem;
    box-sizing: border-box; width: max-content; max-width: min(380px, 100%); padding: 0.7rem 0.95rem 0.85rem 0.75rem; border-radius: 14px;
    background: var(--navy); color: var(--on-navy); font-size: 0.86rem; line-height: 1.6; 
    box-shadow: 0 12px 28px rgba(10, 22, 46, 0.26); cursor: pointer;
}
.qd-balloon[hidden] { display: none; }
.qd-balloon::after { content: ""; position: absolute; left: 1.35rem; bottom: -6px; width: 13px; height: 13px; background: var(--navy); transform: rotate(45deg); border-radius: 0 0 3px 0; }
.qd-balloon-ic {
    flex-shrink: 0; width: 1.65rem; height: 1.65rem; margin-top: 0.05rem; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.12); color: var(--on-navy-accent); font-size: 0.8rem;
}
.qd-balloon p { margin: 0; }
.qd-balloon strong { display: block; font-weight: 800; color: #fff; }
.qd-balloon-bar { display: none; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 0.4rem; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); transform-origin: left center; }
.qd-balloon.is-out { opacity: 0; transform: translateY(4px); transition: opacity 0.18s, transform 0.18s; }
@keyframes qd-balloon-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes qd-balloon-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: no-preference) {
    .qd-balloon:not([hidden]) { animation: qd-balloon-in 0.22s ease-out; }
    .qd-balloon-bar { display: block; animation: qd-balloon-bar 5s linear forwards; }
}
/* 질문 단계 대기 안내(2026-10-05 구자훈 지시) — js/quick-diag.js tipBox. 6.5초마다 바뀌고, 마우스·초점이 있으면 멈춘다. */
.qd-tips { max-width: 380px; margin: 0.9rem auto 0; padding: 0.75rem 0.9rem 0.45rem; border: 1px solid var(--tint-border); border-radius: 14px; background: var(--tint-soft); text-align: left; }
.qd-tip-h { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 0.3rem; font-size: 0.76rem; font-weight: 800; color: var(--primary-dark); }
.qd-tip-h i { color: var(--primary-color); }
.qd-tip-n { margin-left: auto; font-weight: 700; color: #64748b; font-variant-numeric: tabular-nums; }
.qd-tip { min-height: 4.8em; margin: 0; font-size: 0.84rem; line-height: 1.6; color: #334155; transition: opacity 0.18s; }
.qd-tip.is-swap { opacity: 0; }
.qd-tip-dots { display: flex; justify-content: center; gap: 0.15rem; margin-top: 0.2rem; }
.qd-tip-dot { width: 26px; height: 24px; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.qd-tip-dot::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: #cbd5e1; transition: width 0.2s, background 0.2s; }
.qd-tip-dot[aria-current="true"]::before { width: 18px; background: var(--primary-color); }
.qd-tip-dot:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) { .qd-tip, .qd-tip-dot::before { transition: none; } }
/* 경쟁사 근거 표시·다른 후보 버튼(2026-09-24 간이 진단 v1.6) */
.qd-ev { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; margin: 0.35rem 0 0; font-size: 0.72rem; line-height: 1.45; color: #64748b; }
.qd-ev:empty { display: none; }
.qd-ev-str { padding: 0.08rem 0.5rem; border-radius: 999px; font-size: 0.68rem; font-weight: 800; }
.qd-ev-str.is-strong, .qd-ev-str.is-medium { color: #047857; background: #d1fae5; }
.qd-ev-str.is-weak { color: #b45309; background: #fef3c7; }
.qd-cands { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-top: 0.8rem; padding: 0.75rem; border-radius: 16px; background: #f8fafc; }
.qd-cands-label { flex-basis: 100%; display: flex; align-items: center; gap: 0.35rem; margin: 0 0 0.1rem; font-size: 0.76rem; font-weight: 700; color: #475569; }
.qd-cands-label i { color: #f59e0b; }
.qd-chip {
    display: inline-flex; align-items: center; gap: 0.35rem; min-height: 38px; box-sizing: border-box; padding: 0.3rem 0.8rem 0.3rem 0.35rem;
    border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; font: inherit; font-size: 0.82rem; font-weight: 600; color: #334155;
    cursor: pointer; transition: transform 0.15s, border-color 0.15s, background 0.15s; -webkit-tap-highlight-color: transparent;
}
.qd-chip:hover { border-color: var(--accent-border); background: var(--tint); transform: translateY(-1px); }
.qd-chip:active { transform: scale(0.96); }
.qd-chip-plus { width: 1.45rem; height: 1.45rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--tint-2); color: var(--primary-color); font-size: 0.95rem; font-weight: 800; line-height: 1; }
.qd-chip-str { font-size: 0.68rem; font-weight: 800; color: #64748b; }
.qd-chip-strong .qd-chip-str, .qd-chip-medium .qd-chip-str { color: #047857; }
.qd-chip-weak .qd-chip-str { color: #b45309; }
.qd-hint { margin: 0.55rem 0 0; font-size: 0.78rem; line-height: 1.6; color: #64748b; }
/* 간이 진단 예외 안내(2026-09-26, EF v1.9.3): 오픈마켓 브랜드 진단 안내 · 없는 주소 제안 · 주소 이동 알림 */
.qd-platform { margin: 0 0 1rem; padding: 0.85rem 0.95rem; border-radius: 16px; background: var(--navy-tint); border: 1px solid var(--navy-tint-border); }
.qd-platform-title { display: flex; align-items: flex-start; gap: 0.45rem; margin: 0 0 0.4rem; font-size: 0.9rem; font-weight: 800; color: var(--navy); line-height: 1.5; }
.qd-platform-title i { margin-top: 0.2rem; color: var(--navy); }
.qd-platform-text { margin: 0; font-size: 0.84rem; line-height: 1.65; color: var(--navy); }
.qd-platform-scope { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.35rem; }
.qd-platform-scope li { display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; padding: 0.45rem 0.65rem; border-radius: 10px; background: #fff; font-size: 0.8rem; line-height: 1.55; color: #334155; }
.qd-platform-scope strong { flex-shrink: 0; color: #047857; }
.qd-platform-scope li.is-out strong { color: #b45309; }
.qd-platform-result { margin-top: 1.1rem; }
.qd-suggest { margin: 1rem 0 0; padding: 0.75rem; border-radius: 16px; background: #f8fafc; text-align: center; }
.qd-suggest-label { margin: 0 0 0.5rem; font-size: 0.82rem; font-weight: 700; color: #334155; }
.qd-suggest-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.qd-center { text-align: center; }
.qd-break { overflow-wrap: anywhere; }
.qd-redirect { margin: 0 0 0.8rem; padding: 0.55rem 0.8rem; border-radius: 12px; background: var(--tint); color: var(--primary-dark); }
.qd-note { display: flex; gap: 0.5rem; margin: 1.1rem 0 0; font-size: 0.82rem; color: #64748b; line-height: 1.6; }
.qd-note i { margin-top: 0.25rem; color: var(--primary-light); }
.qd-caution { display: flex; gap: 0.5rem; margin: 0.9rem 0 0; padding: 0.65rem 0.85rem; border-radius: 14px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: 0.8rem; line-height: 1.6; }
.qd-caution i { margin-top: 0.25rem; color: #f59e0b; }
/* 결과 화면: 둥근 게이지 + AI별 카드 + 경쟁사 막대 + 질문 카드 + 사이트 상태 */
.qd-cached { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0 0 0.8rem; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--tint); font-size: 0.78rem; font-weight: 700; color: var(--primary-color); }
/* 최근 결과 표시 + 새로 진단하기(2026-09-25 간이 진단 v1.7) */
.qd-cached-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; margin: 0 0 0.8rem; }
.qd-cached-row .qd-cached { margin: 0; }
.qd-refresh {
    display: inline-flex; align-items: center; gap: 0.35rem; min-height: 36px; box-sizing: border-box; padding: 0.3rem 0.85rem;
    border: 1px solid var(--tint-border); border-radius: 999px; background: #fff; font: inherit; font-size: 0.8rem; font-weight: 700; color: var(--primary-color);
    cursor: pointer; transition: background 0.15s, transform 0.15s; -webkit-tap-highlight-color: transparent;
}
.qd-refresh:hover { background: var(--tint); transform: translateY(-1px); }
.qd-refresh:active { transform: scale(0.97); }
.qd-preset-note { margin: 0 0 0.6rem; }
.qd-score { position: relative; display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 1.3rem; border-radius: 20px; background: var(--tint-soft); overflow: hidden; }
.qd-score::before, .qd-score::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.qd-score::before { width: 96px; height: 96px; right: -26px; top: -30px; background: rgba(52, 139, 254, 0.35); }
.qd-score::after { width: 44px; height: 44px; left: -14px; bottom: -16px; background: rgba(52, 139, 254, 0.4); }
.qd-ring { --p: 0; position: relative; flex-shrink: 0; width: 112px; height: 112px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: conic-gradient(var(--primary-color) calc(var(--p) * 1%), var(--tint-2) 0); }
.qd-ring::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #fff; box-shadow: inset 0 2px 6px rgba(10, 22, 46, 0.07); }
.qd-ring-num { position: relative; font-size: 1.75rem; font-weight: 800; color: var(--primary-color); letter-spacing: 0; }
.qd-score-text { position: relative; min-width: 0; }
.qd-score-label { margin: 0; font-size: 0.8rem; font-weight: 600; color: #64748b; overflow-wrap: anywhere; }
.qd-score-head { margin: 0.2rem 0 0.25rem; font-size: 1.1rem; font-weight: 800; color: #0f172a; line-height: 1.4; }
.qd-score-sub { margin: 0; font-size: 0.86rem; color: #475569; }
.qd-ais { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.qd-ai { padding: 0.85rem 0.95rem; border-radius: 16px; background: #f8fafc; border: 1px solid #eef2f7; }
.qd-ai-name { display: flex; align-items: center; gap: 0.4rem; margin: 0; font-size: 0.84rem; font-weight: 800; color: #334155; }
.qd-ai-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #10b981; }
.qd-ai-gemini .qd-ai-dot { background: #4285f4; }
/* 답변 AI 3곳(2026-09-25 EF v1.9): Perplexity 카드 색·세 칸 배치. 좁은 화면에서는 글자를 줄여 세 칸을 유지한다 */
.qd-ai-perplexity .qd-ai-dot { background: #20808d; }
.qd-ais-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qd-ai-rate { margin: 0.2rem 0 0.4rem; font-size: 1.55rem; font-weight: 800; color: #0f172a; }
.qd-ai .qd-bar-track { display: block; }
.qd-ai-sub { margin: 0.45rem 0 0; font-size: 0.74rem; color: #64748b; line-height: 1.5; }
.qd-bars { display: grid; gap: 0.6rem; }
.qd-bar { display: grid; grid-template-columns: 8.5rem 1fr 3.6rem; align-items: center; gap: 0.6rem; font-size: 0.88rem; }
.qd-bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #334155; }
.qd-bar.is-brand .qd-bar-label { font-weight: 800; color: var(--primary-color); }
.qd-bar-track { height: 12px; background: #f1f5f9; border-radius: 999px; overflow: hidden; }
.qd-bar-fill { display: block; height: 100%; border-radius: 999px; background: #cbd5e1; }
.qd-bar.is-brand .qd-bar-fill, .qd-ai .qd-bar-fill { background: var(--primary-color); }
.qd-bar.is-comp .qd-bar-fill { background: #fbbf24; }   /* AI 답변에 나온 브랜드 가운데 고른 경쟁사(2026-09-25 v1.7.1) */
.qd-ai-mode { margin: 0.1rem 0 0.15rem; font-size: 0.72rem; font-weight: 600; color: #64748b; line-height: 1.4; }   /* 답변 방식(v1.8) */
.qd-bar-val { text-align: right; font-weight: 800; color: #0f172a; }
.qd-qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.qd-q { display: flex; gap: 0.7rem; padding: 0.85rem 0.9rem; border-radius: 16px; background: #fff; border: 1px solid #eef2f7; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04); }
.qd-q-num { flex-shrink: 0; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 800; color: var(--primary-color); background: var(--tint-2); }
.qd-q-main { flex: 1; min-width: 0; }
.qd-q-text { margin: 0.15rem 0 0.5rem; font-size: 0.9rem; font-weight: 700; color: #0f172a; line-height: 1.5; overflow-wrap: anywhere; }
.qd-q-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.qd-pill { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.7rem 0.25rem 0.3rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.qd-pill-ai { padding: 0.1rem 0.45rem; border-radius: 999px; background: rgba(255, 255, 255, 0.85); font-size: 0.7rem; font-weight: 800; color: #475569; }
.qd-pill-mark { font-weight: 800; }
.qd-pill.is-yes { background: #d1fae5; color: #047857; }
.qd-pill.is-no { background: #ffe4e6; color: #be123c; }
.qd-pill.is-na { background: #f1f5f9; color: #94a3b8; }
.qd-ex { margin-top: 0.3rem; }
.qd-ex summary { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 40px; cursor: pointer; font-size: 0.8rem; font-weight: 700; color: var(--primary-color); list-style: none; -webkit-tap-highlight-color: transparent; }
.qd-ex summary::-webkit-details-marker { display: none; }
.qd-ex summary::after { content: "›"; display: inline-block; font-size: 1rem; transition: transform 0.2s; }
.qd-ex[open] summary::after { transform: rotate(90deg); }
.qd-ex p { margin: 0.1rem 0 0.35rem; padding: 0.6rem 0.75rem; border-radius: 12px; background: #f8fafc; font-size: 0.8rem; color: #475569; line-height: 1.6; }
.qd-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.qd-checks li { display: grid; grid-template-columns: 1.6rem 11rem 1fr; gap: 0.55rem; align-items: start; font-size: 0.85rem; padding: 0.6rem 0.75rem; border-radius: 14px; background: #f8fafc; }
.qd-ic { display: inline-flex; width: 1.5rem; height: 1.5rem; border-radius: 50%; align-items: center; justify-content: center; font-size: 0.74rem; font-weight: 800; }
.qd-checks .is-ok .qd-ic { background: #d1fae5; color: #047857; }
.qd-checks .is-warn .qd-ic { background: #fef3c7; color: #b45309; }
.qd-checks .is-fail .qd-ic { background: #ffe4e6; color: #be123c; }
.qd-check-detail { color: #475569; line-height: 1.5; word-break: break-word; }
.qd-disclaimer { margin: 1.4rem 0 0; font-size: 0.78rem; color: #94a3b8; line-height: 1.7; }
/* 움직임: 동작 줄이기 설정을 켠 방문자에게는 멈춘다 */
@keyframes qdspin { to { transform: rotate(360deg); } }
@keyframes qd-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes qd-dot { 0%, 80%, 100% { transform: translateY(0); opacity: 0.45; } 40% { transform: translateY(-5px); opacity: 1; } }
@keyframes qd-pop { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes qd-sheet { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
    .qd-box, .ask-modal-box { animation: qd-pop 0.24s ease-out; }
    .qd-orb { animation: qd-bob 2.4s ease-in-out infinite; }
    .qd-dots span { animation: qd-dot 1.2s ease-in-out infinite; }
    .qd-dots span:nth-child(2) { animation-delay: 0.15s; }
    .qd-dots span:nth-child(3) { animation-delay: 0.3s; }
    .qd-load-steps li.is-now .qd-load-ic { animation: qdspin 0.9s linear infinite; }
}
/* 모바일(아이폰 17e 390px 등): 화면 아래에서 올라오는 창 + 하단 단추 줄 고정 */
@media (max-width: 640px) {
    .qd, .ask-modal { align-items: flex-end; padding: 0.5rem 0 0; }
    .qd-box, .ask-modal-box { width: 100%; border-radius: 24px 24px 0 0; }
    .qd-box::before, .ask-modal-box::before { content: ""; position: absolute; top: 7px; left: 50%; z-index: 2; width: 40px; height: 5px; margin-left: -20px; border-radius: 999px; background: #dbe3ee; }
    .qd-head { padding: 1.15rem 0.5rem 0.6rem 1rem; }
    .qd-steps { padding: 0.1rem 1rem 0.7rem; gap: 0.25rem; }
    .qd-steps li { gap: 0.25rem; padding: 0.35rem 0.2rem; font-size: 0.72rem; }
    .qd-body { padding: 1rem 1rem 1.25rem; }
    .qd-foot { padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px)); }
    .qd-foot .qd-btn { flex: 1 1 auto; }
    .qd-comps { grid-template-columns: 1fr; }
    .qd-score { flex-direction: column; gap: 0.8rem; padding: 1.2rem 1rem; text-align: center; }
    .qd-ais { gap: 0.45rem; }
    .qd-ai { padding: 0.75rem 0.8rem; }
    .qd-ais-3 { gap: 0.35rem; }
    .qd-ais-3 .qd-ai { padding: 0.65rem 0.55rem; }
    .qd-ais-3 .qd-ai-name { font-size: 0.74rem; gap: 0.3rem; }
    .qd-ais-3 .qd-ai-rate { font-size: 1.3rem; }
    .qd-ais-3 .qd-ai-sub { font-size: 0.68rem; }
    .qd-bar { grid-template-columns: 5.6rem 1fr 3rem; }
    .qd-checks li { grid-template-columns: 1.6rem 1fr; }
    .qd-check-detail { grid-column: 2; }
    .qd-chip { min-height: 42px; }
    .ask-modal-box { padding: 1.35rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); }
    .ask-modal-actions .qd-btn { flex: 1 1 auto; }
}
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
    .qd-box, .ask-modal-box { animation: qd-sheet 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
}

/* ===== 2026-10-04 사이트 진단 적용(구자훈 「모두 승인하니 진행하라」) =====
   홈 11개 절 → 8개 블록(히어로 · GEO란 · 작동 방식 · 다른 점 · 누가 고치나요 · 계약 전 확인 · 요금 · 질문)과 공통 보정.
   패널은 흰 기본판·옅은 회색 구간 두 가지만 쓰고, 강조는 파랑 한 가지로 한다(진단: 상자 모양 9가지·배지 여러 종류). */

/* 공통: 낱말 중간 줄바꿈 방지(진단: /ai-agent 27곳·지식센터 101곳). 긴 주소·코드는 줄을 바꿀 수 있게 둔다. */
body { overflow-wrap: break-word; }
code, pre, kbd, samp { word-break: normal; overflow-wrap: anywhere; }
/* 공통: 영문 머리표의 대문자 변환이 SoM 을 「SOM」으로 바꾸지 않게 */
.section-label { text-transform: none; letter-spacing: 0.04em; }
/* 종전 앵커(#features·#the-gap 등)로 들어온 링크를 받는 자리.
   2026-10-05: 배치 흐름에서 뺀다(position:absolute, 위치 지정 없음 = 원래 자리). 그리드 안에 두면 첫 칸을 차지해
   Care+ Managed 상자의 3열이 한 칸씩 밀리고 문의 단추가 다음 줄로 떨어졌다(#managed). */
.anchor-alias { position: absolute; display: block; width: 0; height: 0; overflow: hidden; pointer-events: none; }
/* 그리드·플렉스 상자 안에서는 위치 지정 없는 절대 배치가 정렬(align-items: center)을 따라 상자 가운데로 간다.
   그 자리에서는 상자 위 왼쪽에 고정한다(상자에 position: relative 가 있어야 한다). */
.pricing-care-plus > .anchor-alias { top: 0; left: 0; }

/* ① 히어로 v4: 정의문 → 근거 한 줄 → 간이 진단(주 행동) → 체험 조건 한 줄 */
.hero-v4 .hero-content { max-width: 880px; margin: 0 auto; text-align: center; }
.hero-v4 .title { margin-bottom: 1.1rem; }
.hero-def { max-width: 780px; margin: 0 auto 1rem; font-size: 1.12rem; line-height: 1.75; color: var(--gray-700); }
.hero-proof {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 0.9rem;
    list-style: none; margin: 0 auto 1.6rem; padding: 0; font-size: 0.92rem; font-weight: 600; color: var(--gray-700);
}
.hero-proof li { display: inline-flex; align-items: baseline; gap: 0.3rem; }
.hero-proof li::before { content: ""; align-self: center; width: 6px; height: 6px; border-radius: 50%; background: var(--primary-light); margin-right: 0.15rem; }
.hero-proof small { font-size: 0.8rem; font-weight: 500; color: var(--gray-600); }
.hero-proof a { color: var(--primary-color); text-decoration: none; border-bottom: 1px solid var(--accent-border); }
.hero-v4 .hero-diag { margin: 0 auto; }
.hero-v4 .hero-diag-note { max-width: 720px; margin: 0.8rem auto 0; font-size: 0.84rem; line-height: 1.6; color: var(--gray-600); }
.hero-trial { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; margin: 1.35rem auto 0; }
.hero-trial-link { font-size: 1rem; font-weight: 800; color: var(--primary-color); text-decoration: none; }
.hero-trial-link:hover { text-decoration: underline; }
.hero-trial-terms { font-size: 0.85rem; color: var(--gray-600); }
.hero-trial-terms a { color: var(--primary-color); font-weight: 600; }

/* ① 히어로 v5(2026-10-05 구자훈 「히어로섹션만 테마반전 … 글자수가 너무 많은데 배치를 잘 조정」)
   네이비 면은 히어로와 바닥 영역에만 쓴다. 왼쪽 = 분류어·제목·정의·근거, 오른쪽 = 흰 진단 상자(주 행동).
   반투명 상단 메뉴 아래로 네이비가 비쳐 메뉴가 회색으로 보이지 않도록 면은 메뉴 높이만큼 내려서 시작한다. */
.hero.hero-inverse {
    background: var(--navy); color: var(--on-navy);
    margin-top: calc(var(--nav-h, 64px) + var(--subnav-h, 44px));
    padding: 4.5rem 0 4.75rem;
}
.hero-inverse .hero-grid {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-template-areas: "msg card" "proof card";
    column-gap: 3.5rem; row-gap: 0; max-width: 1160px; margin: 0 auto;
}
.hero-inverse .hero-msg { grid-area: msg; align-self: end; min-width: 0; text-align: left; }
.hero-inverse .hero-card { grid-area: card; align-self: center; }
.hero-inverse .hero-proof { grid-area: proof; align-self: start; }
.hero-eyebrow {
    display: inline-flex; align-items: center; margin: 0 0 1.1rem; padding: 0.3rem 0.85rem; border-radius: 999px;
    border: 1px solid rgba(143, 193, 255, 0.35); background: rgba(143, 193, 255, 0.08);
    color: var(--on-navy-accent); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em; 
}
.hero-inverse .title {
    margin: 0 0 1.2rem; font-size: clamp(2rem, 3.2vw, 2.6rem); font-weight: 600; line-height: 1.32;
    letter-spacing: 0; color: #fff; text-align: left; text-wrap: balance;
}
.hero-inverse .title .ht-key { margin-top: 0.12em; font-size: 1.12em; font-weight: 800; color: var(--on-navy-accent); }
.hero-inverse .hero-def { max-width: 34em; margin: 0 0 1.5rem; font-size: 1.08rem; line-height: 1.8; color: var(--on-navy); }
.hero-inverse .hero-proof {
    display: grid; justify-content: start; gap: 0.5rem; margin: 0; padding: 1.15rem 0 0;
    border-top: 1px solid rgba(218, 224, 234, 0.16); font-size: 0.92rem; font-weight: 500; color: var(--on-navy-muted);
}
.hero-inverse .hero-proof li { position: relative; display: block; padding-left: 1rem; line-height: 1.6; }
.hero-inverse .hero-proof li::before { position: absolute; left: 0; top: 0.6em; margin: 0; background: var(--on-navy-accent); }
.hero-inverse .hero-proof strong { color: #fff; font-weight: 700; }
.hero-inverse .hero-proof small { font-size: 0.8rem; color: var(--on-navy-muted); }
.hero-inverse .hero-proof a { color: var(--on-navy-accent); font-weight: 700; border-bottom-color: rgba(143, 193, 255, 0.45); }
.hero-inverse .hero-proof a:hover { color: #fff; border-bottom-color: #fff; }
/* 흰 진단 상자: 입력칸·단추를 위아래로 쌓는다(종전 한 줄 알약 모양은 좁은 상자에 맞지 않는다) */
.hero-card {
    min-width: 0; background: #fff; color: var(--gray-700);
    border-radius: 18px; padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}
.hero-card-title { margin: 0 0 0.35rem; font-size: 1.3rem; font-weight: 800; letter-spacing: 0; color: var(--navy); }
.hero-card-lead { margin: 0 0 1.15rem; font-size: 0.93rem; line-height: 1.65; color: var(--gray-600); }
.hero-card .hero-diag { max-width: none; margin: 0; }
/* nowrap: 옛 한 줄 디자인의 휴대폰 규칙(640px 이하 flex-wrap: wrap)이 세로 배치와 겹치면 줄 폭이 내용 길이로 정해져
   입력칸이 상자 밖으로 넘친다(2026-10-05 실측 360·390px 에서 28~58px) */
.hero-card .hero-diag-box {
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0.55rem;
    padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.hero-card .hero-diag-box:focus-within { border: 0; box-shadow: none; }
.hero-card .hero-diag-field {
    flex: none; padding: 0.12rem 0.6rem 0.12rem 0.45rem; border-radius: 12px;
    border: 1px solid var(--gray-200); background: var(--gray-50);
}
.hero-card .hero-diag-field:focus-within { background: #fff; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(11, 79, 181, 0.14); }
.hero-card .hero-diag-sep { display: none; }
.hero-card .hero-diag-btn { width: 100%; min-height: 52px; margin-top: 0.2rem; border-radius: 12px; font-size: 1rem; }
.hero-card .hero-diag-btn:hover { background: var(--primary-dark); filter: none; }
.hero-card .hero-diag-note { max-width: none; margin: 0.8rem 0 0; font-size: 0.78rem; line-height: 1.6; color: var(--gray-500); text-align: left; }
.hero-card .hero-trial { align-items: flex-start; gap: 0.25rem; margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--gray-200); text-align: left; }
.hero-card .hero-trial-link { font-size: 0.98rem; }
.hero-card .hero-trial-terms { font-size: 0.78rem; line-height: 1.6; color: var(--gray-600); }
.hero-card .hero-trial-terms > span, .hero-card .hero-trial-terms > a { white-space: nowrap; }
@media (max-width: 1023px) {
    .hero-inverse .hero-grid {
        grid-template-columns: minmax(0, 1fr); grid-template-areas: "msg" "card" "proof";
        row-gap: 1.75rem; max-width: 640px;
    }
    .hero-inverse .hero-def { margin-bottom: 0; }
    .hero-inverse .hero-proof { padding-top: 0; border-top: 0; }
}
@media (max-width: 768px) {
    .hero.hero-inverse { padding: 2.5rem 0 3rem; }
    .hero-inverse .title { font-size: 1.85rem; margin-bottom: 1rem; }
    .hero-inverse .hero-def { font-size: 1rem; margin-bottom: 1.25rem; }
    .hero-inverse .hero-proof { gap: 0.45rem; font-size: 0.86rem; }
    .hero-card { padding: 1.35rem 1.15rem 1.2rem; border-radius: 16px; }
    .hero-card-title { font-size: 1.15rem; }
}

/* 첫 화면 배경 장식(2026-10-05 구자훈 「히어로섹션 뒤 배경에, internettrend.co.kr 처럼 뭔가 역동성 잇는 것을 약하게 넣어서
   심심하지 않게 하라」). js/site-nav.js 가 네이비 첫 화면(.hero-inverse·.v3-hero·.mp-hero·.partner-hero·.faq-hero·.doc-hero)마다
   .hero-deco 를 맨 앞에 넣는다. 흐르는 추세선 세 줄(AI 답변 점유율 추이), 바닥 원근 격자, 천천히 숨 쉬는 빛, 떠오르는 점.
   글자 대비를 해치지 않도록 옅게 두고, 움직임 줄이기 설정이면 멈춘다. 색은 토큰만 쓴다. */
.has-hero-deco { position: relative; overflow: hidden; isolation: isolate; }
.has-hero-deco > :not(.hero-deco) { position: relative; z-index: 1; }
.hero-deco { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; opacity: 0; animation: heroDecoIn 1.4s ease-out 0.15s forwards; }
.hero-deco-glow {
    position: absolute; left: 34%; top: 44%; width: min(920px, 130vw); height: 540px; border-radius: 50%;
    background: radial-gradient(closest-side, var(--hero-deco-glow), transparent);
    transform: translate(-50%, -50%); animation: heroGlow 9s ease-in-out infinite;
}
.hero-deco-grid {
    position: absolute; left: -30%; right: -30%; bottom: -14%; height: 64%;
    background-image: linear-gradient(var(--hero-deco-line) 1px, transparent 1px), linear-gradient(90deg, var(--hero-deco-line) 1px, transparent 1px);
    background-size: 52px 52px; transform: perspective(560px) rotateX(60deg); transform-origin: center bottom;
    -webkit-mask-image: linear-gradient(to bottom, transparent 6%, #000 100%); mask-image: linear-gradient(to bottom, transparent 6%, #000 100%);
    animation: heroGrid 7s linear infinite;
}
/* 추세선 층은 첫 화면 아래쪽 고정 높이에 둔다(화면 높이가 달라도 진폭이 같고, 제목·정의문과 덜 겹친다).
   글자 자리(--hole-*)에서는 타원 가림으로 20% 만 비치게 하고, 좌우 끝은 흐리게 사라지게 한다(두 가림의 교집합). */
.hero-deco-lines {
    --hole-x: 50%; --hole-y: 55%; --hole-rx: 36%; --hole-ry: 62%;
    position: absolute; left: 0; right: 0; bottom: 2%; height: min(380px, 72%);
    -webkit-mask-image:
        radial-gradient(var(--hole-rx) var(--hole-ry) at var(--hole-x) var(--hole-y), rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 58%, #000 100%),
        linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-composite: source-in;
    mask-image:
        radial-gradient(var(--hole-rx) var(--hole-ry) at var(--hole-x) var(--hole-y), rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 58%, #000 100%),
        linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-composite: intersect;
}
/* 글자가 왼쪽에 있는 첫 화면(홈·MCP활용): 가림을 왼쪽 열에 둔다. 오른쪽 흰 상자는 추세선을 덮는다 */
.hero-inverse .hero-deco-lines, .mp-hero .hero-deco-lines { --hole-x: 27%; --hole-y: 45%; --hole-rx: 30%; --hole-ry: 80%; }
/* 상세 문서 첫 화면은 낮아서 추세선이 날짜 줄과 겹친다: 빛·격자·점만 둔다 */
.doc-hero .hero-deco-lines { display: none; }
.hero-deco .hero-flow { position: absolute; top: 0; left: 0; width: 200%; height: 100%; overflow: visible; will-change: transform; animation: heroFlow 36s linear infinite; }
.hero-deco .hero-flow.l2 { animation-duration: 48s; }
.hero-deco .hero-flow.l3 { animation-duration: 64s; }
.hero-deco .hero-flow path { fill: none; }
.hero-deco .hero-flow .line { stroke-width: 1.6; }
.hero-deco .hero-flow .glow { stroke-width: 7; }
.hero-deco .l1 path { stroke: var(--on-navy-accent); }
.hero-deco .l1 .line { stroke-opacity: 0.36; }
.hero-deco .l1 .glow { stroke-opacity: 0.16; }
.hero-deco .l2 path { stroke: var(--primary-light); }
.hero-deco .l2 .line { stroke-opacity: 0.32; }
.hero-deco .l2 .glow { stroke-opacity: 0.2; }
.hero-deco .l3 path { stroke: var(--on-navy-muted); }
.hero-deco .l3 .line { stroke-opacity: 0.2; stroke-width: 1.2; }
.hero-deco .l3 .glow { stroke-opacity: 0; }
.hero-deco-dot {
    position: absolute; bottom: 10%; width: 4px; height: 4px; border-radius: 50%;
    background: var(--on-navy-accent); opacity: 0; animation: heroRise 12s ease-out infinite;
}
/* 좁은 화면: 곡선 한 주기를 화면 폭의 2.5배로 넓혀 완만하게(옮기는 거리가 늘어난 만큼 시간도 늘린다) */
@media (max-width: 768px) {
    .hero-deco .hero-flow { width: 500%; animation-duration: 80s; }
    .hero-deco .hero-flow.l2 { animation-duration: 104s; }
    .hero-deco .hero-flow.l3 { animation-duration: 136s; }
    .hero-deco-lines { height: min(300px, 60%); --hole-x: 50%; --hole-y: 50%; --hole-rx: 44%; --hole-ry: 70%; }
    .hero-inverse .hero-deco-lines, .mp-hero .hero-deco-lines { --hole-x: 50%; --hole-y: 50%; --hole-rx: 44%; --hole-ry: 70%; }
    .hero-deco-glow { left: 50%; width: 140vw; height: 420px; }
}
@keyframes heroDecoIn { to { opacity: 1; } }
@keyframes heroFlow { to { transform: translateX(-50%); } }
@keyframes heroGrid { to { background-position: 0 52px; } }
@keyframes heroGlow {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}
@keyframes heroRise {
    0% { opacity: 0; transform: translateY(0) scale(0.6); }
    15% { opacity: 0.75; }
    100% { opacity: 0; transform: translateY(-340px) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-deco, .hero-deco-glow, .hero-deco-grid, .hero-deco .hero-flow, .hero-deco-dot { animation: none; }
    .hero-deco { opacity: 1; }
    .hero-deco-dot { display: none; }
}

/* 홈 첫 화면 배경 = 실제 AI 답변 카드(2026-10-05 구자훈 「A안으로 진행하라」). js/hero-answers.js 가 카드를 캔버스로 그려
   그림으로 넣고 첫 화면에 has-hero-answers 를 붙인다. 추세선·떠오르는 점 대신 쓴다(빛·격자는 그대로).
   넓은 화면의 줄 위치는 스크립트가 첫 화면 배치에서 계산한다(왼쪽 여백·글자 열 뒤·흰 진단 상자 오른쪽).
   글자 열 뒤는 가림(--answers-hole)으로 옅게만 비친다: 2차(구자훈 「좌측의 블러 또는 가림정도를 약하게 하여 좌측의
   글자배경 올라가는게 조금 더 잘 보이게 하라」)에서 6% → 아래 값으로 올렸다. 답변 원문·교체 절차 = docs/marketing/hero-answer-cards.md */
.hero-home.has-hero-answers .hero-deco-lines, .hero-home.has-hero-answers .hero-deco-dot { display: none; }
.hero-answers {
    --answers-hole: 0.24;
    position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.2s ease-out;
    -webkit-mask-image:
        radial-gradient(36% 66% at 31% 50%, rgba(0, 0, 0, var(--answers-hole)) 0%, rgba(0, 0, 0, var(--answers-hole)) 62%, #000 100%),
        linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        radial-gradient(36% 66% at 31% 50%, rgba(0, 0, 0, var(--answers-hole)) 0%, rgba(0, 0, 0, var(--answers-hole)) 62%, #000 100%),
        linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-composite: intersect;
}
.hero-answers.is-ready { opacity: 0.55; }
.hero-answers-lane { position: absolute; top: 0; width: var(--lane-w, 290px); will-change: transform; animation: heroAnswersRise 90s linear infinite; }
/* 1023px 이하는 양쪽 가장자리 두 줄(넓은 화면은 스크립트가 left 를 정한다) */
.hero-answers-lane.l1 { left: max(-150px, calc(50% - 860px)); }
.hero-answers-lane.l3 { right: max(-110px, calc(50% - 860px)); }
.hero-answers.is-paused .hero-answers-lane { animation-play-state: paused; }
.hero-answers-set { display: grid; gap: 18px; padding-bottom: 18px; }
.hero-answers-set img { display: block; width: 100%; height: auto; user-select: none; }
.hero-answers-note {
    position: absolute; right: max(16px, calc(50% - 580px)); bottom: 18px; margin: 0; max-width: calc(100% - 32px);
    font-size: 0.76rem; line-height: 1.6; color: var(--on-navy-muted); text-align: right; 
    opacity: 0; transition: opacity 1.2s ease-out;
}
.hero-answers-note.is-ready { opacity: 1; }
.hero-answers-note i { margin-right: 0.35rem; color: var(--on-navy-accent); }
@keyframes heroAnswersRise { to { transform: translateY(-50%); } }
@media (max-width: 1023px) {
    .hero-answers {
        -webkit-mask-image:
            radial-gradient(60% 46% at 50% 30%, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 70%, #000 100%),
            linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
        mask-image:
            radial-gradient(60% 46% at 50% 30%, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 70%, #000 100%),
            linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
    }
    .hero-answers.is-ready { opacity: 0.5; }
}
/* 휴대폰은 글자가 화면 폭 전체를 쓰므로 비켜 둘 자리가 없다: 가림 없이 전체를 아주 옅은 질감(14%)으로만 둔다 */
@media (max-width: 768px) {
    .hero-answers {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
    }
    .hero-answers.is-ready { opacity: 0.14; }
    .hero-home.has-hero-answers.hero-inverse { padding-bottom: 4.5rem; }
    .hero-answers-lane.l1 { left: -30vw; }
    .hero-answers-lane.l3 { right: -30vw; }
    .hero-answers-note { left: 16px; right: 16px; bottom: 16px; max-width: none; text-align: left; font-size: 0.72rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-answers-lane { animation: none; }
    .hero-answers, .hero-answers-note { transition: none; }
}

/* ②~⑥ 홈 블록 공통 */
.home-block { padding: 5rem 0; }
.home-define, .home-diff, .home-check { background: var(--gray-50); }
.home-block .section-header { margin-bottom: 2.25rem; }

/* ② GEO란 */
.define-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.define-card { margin: 0; padding: 1.3rem 1.35rem; background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; }
.define-title { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 0.55rem; font-size: 1.05rem; font-weight: 800; color: var(--gray-900); }
.define-icon { flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.define-icon.is-q { background: var(--tint-2); color: var(--primary-color); }
.define-icon.is-c { background: var(--navy-tint); color: var(--navy); }
.define-icon.is-t { background: #dcfce7; color: #15803d; }
.define-card > p:last-child { margin: 0; font-size: 0.92rem; line-height: 1.7; color: var(--gray-600); }

/* ③ 작동 방식: 측정 → 개선 → 재측정 */
.how-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.how-step { position: relative; margin: 0; padding: 1.4rem 1.4rem 1.5rem; background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; }
.how-step + .how-step::before {
    content: "→"; position: absolute; left: -1.05rem; top: 50%; transform: translateY(-50%);
    font-weight: 800; color: var(--primary-light);
}
.how-step-num { margin: 0 0 0.45rem; font-size: 0.82rem; font-weight: 800; color: var(--primary-color); }
.how-step h3 { margin: 0 0 0.5rem; font-size: 1.08rem; font-weight: 800; color: var(--gray-900); }
.how-step > p:last-child { margin: 0; font-size: 0.92rem; line-height: 1.7; color: var(--gray-600); }

/* ④ 다른 점 3가지 + 측정 사례 + AI에게 물어보기 */
.diff-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.35fr 1fr; gap: 1rem; }
.diff-card { margin: 0; padding: 1.4rem 1.45rem; background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; display: flex; flex-direction: column; }
.diff-card.is-lead { grid-row: span 2; border-color: var(--tint-border); box-shadow: 0 14px 36px rgba(10, 22, 46, 0.05); }
.diff-num { margin: 0 0 0.35rem; font-size: 0.8rem; font-weight: 800; color: var(--primary-color); }
.diff-card h3 { margin: 0 0 0.5rem; font-size: 1.12rem; font-weight: 800; color: var(--gray-900); }
.diff-card > p { margin: 0; font-size: 0.93rem; line-height: 1.7; color: var(--gray-600); }
.diff-link { display: inline-block; margin-top: 0.75rem; font-size: 0.88rem; font-weight: 700; color: var(--primary-color); text-decoration: none; }
.diff-link:hover { text-decoration: underline; }
.diff-shot { margin: 1rem 0 0; border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden; background: #fff; }
.diff-shot img { display: block; width: 100%; height: auto; }
.diff-shot figcaption { padding: 0.5rem 0.75rem; font-size: 0.78rem; color: var(--gray-600); border-top: 1px solid var(--gray-100); }
.diff-case {
    max-width: 1100px; margin: 1rem auto 0; padding: 1rem 1.3rem; box-sizing: border-box;
    background: #fff; border: 1px solid var(--gray-200); border-left: 4px solid var(--primary-color); border-radius: 12px;
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 1rem;
}
.diff-case-label { margin: 0; font-size: 0.8rem; font-weight: 800; color: var(--primary-color); }
.diff-case-text { margin: 0; flex: 1 1 420px; font-size: 0.92rem; line-height: 1.65; color: var(--gray-700); }
.diff-case-text strong { color: var(--gray-900); margin-right: 0.3rem; }
.diff-case .diff-link { margin-top: 0; }
.ask-ai-strip { box-sizing: border-box; max-width: 1100px; margin: 1rem auto 0; padding: 1.15rem 1.3rem; background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; text-align: center; }
.ask-ai-title { margin: 0 0 0.35rem; font-size: 0.98rem; font-weight: 800; color: var(--gray-900); }
/* 명도 대비 보정(진단: 기록 고지문 2.56:1 → 4.5:1 이상) */
.ask-ai-note { color: var(--gray-600); }

/* ⑤ 진단 후 실행 지원(정본 블록 = scripts/site-facts.mjs who-fixes).
   2026-10-05 구자훈 「카드가 너무 세로로 긴것 짧은것 균형이 없고 … 개조식으로 정리하고, 사례니 기타 내용들은 카드 밖으로」:
   카드 3장을 같은 틀(태그·제목·개조식 항목·바닥 링크)로 맞추고, 자동 적용 조건·구축 사례는 카드 아래 공통 줄로 옮겼다. */
.gap-fixer { display: flex; flex-direction: column; }
.gap-fixer h3 { margin: 0 0 0.8rem; font-size: 1.08rem; font-weight: 800; color: var(--navy); }
.gap-fixer-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.gap-fixer-points li { position: relative; padding-left: 1rem; font-size: 0.9rem; line-height: 1.6; color: var(--gray-600); }
.gap-fixer-points li::before { content: ""; position: absolute; left: 0.1rem; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--primary-color); }
.gap-fixer-points li strong { display: block; margin-bottom: 0.1rem; font-weight: 800; color: var(--navy); }
.gap-fixer.is-care .gap-fixer-tag { background: var(--navy); color: #fff; }
.gap-fixer.is-care .gap-fixer-points li::before { background: var(--navy); }
.gap-fixer-links { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin: auto 0 0 !important; padding-top: 1.1rem; }
.gap-fixer-links a { font-size: 0.88rem; font-weight: 700; color: var(--primary-color); text-decoration: none; }
.gap-fixer-links a:hover { text-decoration: underline; }
.gap-fixers-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 0.9rem; }
.gap-fixers-foot p {
    margin: 0; padding: 0.85rem 1rem; border-radius: 12px; background: var(--gray-50); border: 1px solid var(--gray-200);
    font-size: 0.86rem; line-height: 1.65; color: var(--gray-600); 
}
.gap-fixers-foot-tag {
    display: inline-block; margin-right: 0.5rem; padding: 0.08rem 0.55rem; border-radius: 999px; vertical-align: 1px;
    background: var(--tint); color: var(--primary-color); font-size: 0.74rem; font-weight: 800;
}
.gap-fixers-case .gap-fixers-foot-tag { background: var(--navy); color: #fff; }
@media (max-width: 900px) { .gap-fixers-foot { grid-template-columns: 1fr; } }
.fixers-agency { max-width: 1100px; margin: 1.1rem auto 0; text-align: center; font-size: 0.9rem; color: var(--gray-600); }
.fixers-agency a { color: var(--primary-color); font-weight: 700; }

/* 요약판(다른 페이지): 같은 이름·같은 순서 */
.who-fixes-mini { box-sizing: border-box; max-width: 1100px; margin: 2rem auto 0; padding: 1.2rem 1.4rem; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 16px; text-align: left; }
.who-fixes-mini-title { margin: 0 0 0.65rem; font-size: 1.02rem; font-weight: 800; color: var(--gray-900); }
.who-fixes-mini ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; counter-reset: wfix; }
.who-fixes-mini li { counter-increment: wfix; margin: 0; padding: 0.75rem 0.85rem; background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; font-size: 0.88rem; line-height: 1.6; color: var(--gray-600); }
.who-fixes-mini li strong { display: block; margin-bottom: 0.2rem; color: var(--gray-900); }
.who-fixes-mini li strong::before { content: counter(wfix) ". "; color: var(--primary-color); }
.who-fixes-mini-link { display: inline-block; margin-top: 0.75rem; font-size: 0.88rem; font-weight: 700; color: var(--primary-color); text-decoration: none; }
.who-fixes-mini-link:hover { text-decoration: underline; }

/* ⑥ 계약 전에 확인하실 질문 */
.check-table-wrap { max-width: 1100px; margin: 0 auto; }
.check-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; overflow: hidden; }
.check-table th, .check-table td { padding: 0.95rem 1.15rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gray-100); font-size: 0.92rem; line-height: 1.65; }
.check-table thead th { background: var(--gray-100); font-size: 0.85rem; font-weight: 800; color: var(--gray-700); }
.check-table tbody th { width: 32%; font-weight: 700; color: var(--gray-900); }
.check-table td { color: var(--gray-600); }
.check-table tbody tr:last-child th, .check-table tbody tr:last-child td { border-bottom: 0; }
.check-table a { color: var(--primary-color); font-weight: 600; }

/* ⑦ 요금: 설명 보기 안내·Care+ 와 컨설팅 구분 */
.plan-tip-hint { margin: -0.5rem 0 1rem; text-align: center; font-size: 0.74rem; font-weight: 600; color: var(--gray-700); }
.plan-tip-hint span { font-weight: 500; color: var(--gray-600); }
.care-plus-consult { margin: 0.75rem 0 0; font-size: 0.82rem; line-height: 1.6; color: var(--gray-600); }
.care-plus-consult a { color: var(--primary-color); font-weight: 700; }
/* 설명 풍선을 누르면 열린다(터치 화면: main.js 가 .tip-open 을 붙인다) */
.plan-features li[data-tip].tip-open::after,
.care-plus-features li[data-tip].tip-open::after {
    content: attr(data-tip); position: absolute; z-index: 200; bottom: calc(100% + 6px); left: 24px;
    padding: 0.6rem 0.85rem; background: #0f172a; color: #fff; font-size: 0.78rem; line-height: 1.55;
    border-radius: 8px; max-width: 280px; min-width: 200px; text-align: left; font-weight: 500; white-space: normal;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); pointer-events: none;
}

/* ⑧ 자주 묻는 질문 5개(답 노출) */
.home-faq .section-subtitle { font-size: 1rem; font-weight: 500; color: var(--gray-600); }
.home-faq-list { max-width: 900px; margin: 0 auto 1.6rem; display: grid; gap: 0.75rem; }
.home-faq-item { padding: 1.1rem 1.3rem; background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; text-align: left; }
.home-faq-item h3 { margin: 0 0 0.45rem; font-size: 1.02rem; font-weight: 800; color: var(--gray-900); }
.home-faq-item p { margin: 0; font-size: 0.93rem; line-height: 1.7; color: var(--gray-600); }
.home-faq-more { display: inline-block; margin-top: 0.55rem; font-size: 0.85rem; font-weight: 700; color: var(--primary-color); text-decoration: none; }
.home-faq-more:hover { text-decoration: underline; }
.home-faq .home-kb-actions { justify-content: center; }
.cta-sub { margin: 1.1rem 0 0; font-size: 0.9rem; color: var(--gray-600); }
.cta-sub a { color: var(--primary-color); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 지식센터: 문항 접기(분류마다 앞의 3개만 펼침) */
details.kb-item > summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 0.75rem; }
details.kb-item > summary::-webkit-details-marker { display: none; }
details.kb-item > summary h3 { flex: 1; margin: 0; }
details.kb-item > summary::after { content: "+"; flex-shrink: 0; width: 1.5rem; text-align: center; font-size: 1.15rem; font-weight: 800; line-height: 1.4; color: var(--primary-color); }
details.kb-item[open] > summary::after { content: "−"; }
details.kb-item[open] > summary { margin-bottom: 0.5rem; }
details.kb-item > summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; border-radius: 6px; }
.kb-bizai .kb-bizai-note { margin: 0.9rem auto 0; font-size: 0.86rem; color: var(--gray-600); }
.kb-bizai .kb-bizai-note a { color: var(--primary-color); font-weight: 700; }

@media (max-width: 900px) {
    .define-grid, .how-steps, .diff-grid, .who-fixes-mini ol { grid-template-columns: 1fr; }
    .diff-card.is-lead { grid-row: auto; }
    .how-step + .how-step::before { content: "↓"; left: 50%; top: -1.15rem; transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .home-block { padding: 3.25rem 0; }
    .hero-def { font-size: 1rem; }
    .hero-proof { gap: 0.25rem 0.75rem; font-size: 0.84rem; }
    .hero-trial-terms { font-size: 0.8rem; line-height: 1.6; }
    /* 계약 전 확인 표: 좁은 화면에서는 질문 아래에 답을 쌓는다 */
    .check-table thead { display: none; }
    .check-table tr, .check-table th, .check-table td { display: block; width: auto; }
    .check-table tbody th { padding-bottom: 0.3rem; border-bottom: 0; }
    .check-table td { padding-top: 0; }
}

/* ===== 日本語の折り返し(2026-11-08) =====
   韓国語向けだった word-break: keep-all と詰めた字間を外し、日本語の組版に合わせる。
   - line-break: strict … 禁則処理を厳密にし、行頭に「、」「。」「ー」「小さい仮名」を置かない
   - word-break: auto-phrase … 文節単位で折り返し、語の途中や助詞1字だけの行を避ける(未対応の環境では通常の折り返し)
     文節が行より長いと語の途中で切れることがあるため、該当する語は .nw(折返し禁止)で囲む
   - text-wrap: balance/pretty … 見出しの行長をそろえ、本文の末尾に短い行が残るのを避ける */
html { line-break: strict; word-break: auto-phrase; overflow-wrap: break-word; }
h1, h2, h3, h4, th, .section-title, .hero-title, .title { text-wrap: balance; }
p, li, dd, td, figcaption, .section-description, .hero-description { text-wrap: pretty; }
button, .btn, [class*="btn-"], [class$="-btn"], .badge, .pill { text-wrap: balance; }
.nw { white-space: nowrap; }

/* 折り返し・はみ出しの個別調整(2026-11-08) */
.partner-cards { grid-template-columns: minmax(0, 1fr); }
.partner-card, .partner-card > * { min-width: 0; max-width: 100%; }
.partner-card-content, .partner-card-content * { overflow-wrap: anywhere; }
.partner-hero-content h1, .partner-hero-content h1 span { word-break: auto-phrase; text-wrap: balance; }
.check-table tbody th { min-width: 9.5rem; }
.check-table-wrap { overflow-x: auto; }
.home-kb-btn { display: inline-block; text-align: center; line-height: 1.6; text-wrap: balance; }
.home-kb-btn [aria-hidden] { white-space: nowrap; }
h2:has(> .kb-cat-count) { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.kb-cat-count { flex: none; white-space: nowrap; }
