/* ==========================================================================
   컨플랜 공개 웹사이트 디자인 시스템 (모노톤 + 아쿠아 포인트)
   - WebLayout 계열 페이지 전용. 접두어 cx- 를 사용하며 .cx-app 안에서만 동작한다.
   - 관리자/앱 화면(MainLayout)에는 영향이 없다.
   ========================================================================== */

/* 인클루드웹: 폰트는 WebLayout 에서 dynamic-subset 버전으로 로드 (전체 폰트 2MB 중복 다운로드 방지) */

.cx-app {
    /* 무채색 스케일 */
    --cx-ink-900: #0b0c0e;
    --cx-ink-800: #16181c;
    --cx-ink-700: #26292f;
    --cx-ink-600: #3d424b;
    --cx-ink-500: #5c626d;
    --cx-ink-400: #868c97;
    --cx-ink-300: #b7bcc5;
    --cx-ink-200: #dfe2e7;
    --cx-ink-100: #eff1f4;
    --cx-ink-50: #f7f8fa;
    --cx-white: #ffffff;

    /* 포인트 컬러 (기존 브랜드 아쿠아 계열) */
    --cx-accent: #16a9c7;
    --cx-accent-ink: #0b7a91;
    --cx-accent-bright: #3fcbe4;
    --cx-accent-soft: rgba(22, 169, 199, .1);

    --cx-radius-sm: 8px;
    --cx-radius: 14px;
    --cx-radius-lg: 20px;
    --cx-radius-xl: 28px;

    --cx-shadow-sm: 0 1px 2px rgba(11, 12, 14, .06), 0 1px 3px rgba(11, 12, 14, .05);
    --cx-shadow: 0 8px 24px -12px rgba(11, 12, 14, .18), 0 2px 6px rgba(11, 12, 14, .05);
    --cx-shadow-lg: 0 32px 64px -32px rgba(11, 12, 14, .32), 0 8px 24px -16px rgba(11, 12, 14, .16);

    --cx-nav-h: 72px;
    --cx-section: clamp(72px, 8vw, 128px);
    --cx-container: 1200px;

    --cx-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
        "Malgun Gothic", "맑은 고딕", Inter, system-ui, sans-serif;

    font-family: var(--cx-font);
    color: var(--cx-ink-700);
    background: var(--cx-white);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -.01em;
    /* 한글 단어 중간 줄바꿈 방지 (좁은 화면에서 '충분합니/다' 같은 끊김) */
    word-break: keep-all;
    overflow-wrap: break-word;
}

.cx-app *,
.cx-app *::before,
.cx-app *::after {
    box-sizing: border-box;
}

.cx-app h1,
.cx-app h2,
.cx-app h3,
.cx-app h4,
.cx-app h5,
.cx-app h6 {
    font-family: var(--cx-font);
    color: var(--cx-ink-900);
    letter-spacing: -.03em;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.cx-app p {
    margin: 0;
    line-height: 1.75;
}

.cx-app a {
    color: inherit;
    text-decoration: none;
}

.cx-app img {
    max-width: 100%;
    height: auto;
}

.cx-app ul,
.cx-app ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cx-app hr {
    border: 0;
    border-top: 1px solid var(--cx-ink-200);
    margin: 0;
    opacity: 1;
}


/* ---------- 레이아웃 프리미티브 ------------------------------------------ */

.cx-container {
    width: 100%;
    max-width: var(--cx-container);
    margin: 0 auto;
    padding: 0 24px;
}

.cx-container--narrow {
    max-width: 880px;
}

.cx-container--wide {
    max-width: 1360px;
}

.cx-section {
    padding: var(--cx-section) 0;
}

.cx-section--tight {
    padding: clamp(48px, 5vw, 80px) 0;
}

.cx-section--light {
    background: var(--cx-ink-50);
}

.cx-section--dark {
    background: var(--cx-ink-900);
    color: var(--cx-ink-300);
}

.cx-section--dark h1,
.cx-section--dark h2,
.cx-section--dark h3,
.cx-section--dark h4 {
    color: var(--cx-white);
}

.cx-section--bordered {
    border-top: 1px solid var(--cx-ink-200);
}

.cx-grid {
    display: grid;
    gap: 24px;
}

.cx-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cx-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cx-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cx-grid--gap-lg {
    gap: 40px;
}

.cx-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.cx-split--sidebar {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
}

.cx-split--aside {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
    align-items: start;
}

.cx-split__media--first {
    order: -1;
}

.cx-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cx-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.cx-center {
    text-align: center;
}

.cx-measure {
    max-width: 62ch;
}


/* ---------- 타이포그래피 ------------------------------------------------- */

.cx-display {
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.04em;
}

.cx-title {
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.cx-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -.03em;
}

.cx-lead {
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    line-height: 1.7;
    color: var(--cx-ink-500);
}

.cx-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--cx-ink-500);
}

.cx-small {
    font-size: .875rem;
    line-height: 1.6;
    color: var(--cx-ink-400);
}

.cx-section--dark .cx-lead,
.cx-section--dark .cx-body {
    color: var(--cx-ink-300);
}

.cx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cx-accent-ink);
}

.cx-eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    background: var(--cx-accent);
    border-radius: 2px;
}

.cx-section--dark .cx-eyebrow {
    color: var(--cx-accent-bright);
}

.cx-accent {
    color: var(--cx-accent-ink);
}

.cx-section--dark .cx-accent {
    color: var(--cx-accent-bright);
}

.cx-header-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: clamp(40px, 5vw, 64px);
    max-width: 720px;
}

.cx-header-block--center {
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    text-align: center;
}


/* ---------- 버튼 --------------------------------------------------------- */

.cx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--cx-font);
    font-size: .9375rem;
    font-weight: 600;
    letter-spacing: -.01em;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}

.cx-btn:hover {
    transform: translateY(-1px);
}

.cx-btn:active {
    transform: translateY(0);
}

.cx-btn:focus-visible {
    outline: 2px solid var(--cx-accent);
    outline-offset: 2px;
}

.cx-btn--primary {
    background: var(--cx-ink-900);
    color: var(--cx-white);
}

.cx-btn--primary:hover {
    background: var(--cx-ink-700);
    color: var(--cx-white);
}

/* <a> 태그 버튼은 .cx-app a { color: inherit } 에 덮이지 않도록 */
.cx-app a.cx-btn--primary,
.cx-app a.cx-btn--primary:hover {
    color: var(--cx-white);
}

.cx-btn--accent {
    background: var(--cx-accent);
    color: var(--cx-white);
    box-shadow: 0 8px 20px -10px rgba(22, 169, 199, .8);
}

.cx-btn--accent:hover {
    background: var(--cx-accent-ink);
    color: var(--cx-white);
}

.cx-btn--ghost {
    background: transparent;
    border-color: var(--cx-ink-200);
    color: var(--cx-ink-800);
}

.cx-btn--ghost:hover {
    border-color: var(--cx-ink-900);
    background: var(--cx-white);
}

.cx-btn--light {
    background: var(--cx-white);
    color: var(--cx-ink-900);
}

.cx-btn--light:hover {
    background: var(--cx-ink-100);
    color: var(--cx-ink-900);
}

.cx-btn--outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, .28);
    color: var(--cx-white);
}

.cx-btn--outline-light:hover {
    border-color: var(--cx-white);
    color: var(--cx-white);
}

.cx-btn--lg {
    height: 54px;
    padding: 0 30px;
    font-size: 1rem;
}

.cx-btn--sm {
    height: 38px;
    padding: 0 16px;
    font-size: .875rem;
}

.cx-btn--block {
    width: 100%;
}

.cx-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--cx-accent-ink);
    transition: gap .15s ease;
}

.cx-link:hover {
    gap: 10px;
    color: var(--cx-accent-ink);
}


/* ---------- 헤더 / 내비게이션 -------------------------------------------- */

.cx-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--cx-ink-100);
}

.cx-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--cx-nav-h);
}

.cx-header__brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.cx-header__brand img {
    height: 26px;
    width: auto;
    display: block;
}

.cx-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
}

.cx-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--cx-ink-600);
    white-space: nowrap;
    transition: color .15s ease, background-color .15s ease;
}

.cx-nav__link:hover {
    color: var(--cx-ink-900);
    background: var(--cx-ink-100);
}

.cx-nav__link.is-active {
    color: var(--cx-ink-900);
    font-weight: 600;
}

.cx-nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--cx-accent);
}

.cx-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.cx-burger {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cx-ink-200);
    border-radius: 12px;
    background: var(--cx-white);
    cursor: pointer;
    color: var(--cx-ink-900);
}

.cx-drawer {
    position: fixed;
    inset: var(--cx-nav-h) 0 0 0;
    z-index: 1029;
    background: var(--cx-white);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.cx-drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 4px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cx-ink-800);
    border-bottom: 1px solid var(--cx-ink-100);
}

.cx-drawer__link.is-active {
    color: var(--cx-accent-ink);
}

.cx-drawer__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}


/* ---------- 히어로 ------------------------------------------------------- */

.cx-hero {
    position: relative;
    overflow: hidden;
    background: var(--cx-ink-900);
    color: var(--cx-ink-300);
    padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 8vw, 112px);
}

.cx-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
    pointer-events: none;
}

.cx-hero::after {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 169, 199, .28), transparent 62%);
    pointer-events: none;
}

.cx-hero > * {
    position: relative;
    z-index: 1;
}

.cx-hero h1,
.cx-hero h2 {
    color: var(--cx-white);
}

.cx-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
}

.cx-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.cx-hero__lead {
    font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
    line-height: 1.8;
    color: var(--cx-ink-300);
    max-width: 52ch;
}

/* 서브 페이지용 간결한 히어로 */
.cx-pagehead {
    position: relative;
    overflow: hidden;
    background: var(--cx-ink-900);
    padding: clamp(64px, 7vw, 104px) 0 clamp(48px, 6vw, 80px);
    color: var(--cx-ink-300);
}

.cx-pagehead::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 100% at 20% 0%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 100% at 20% 0%, #000 30%, transparent 100%);
}

.cx-pagehead::after {
    content: "";
    position: absolute;
    bottom: -260px;
    left: 30%;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 169, 199, .22), transparent 62%);
}

.cx-pagehead__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 760px;
}

.cx-pagehead h1 {
    color: var(--cx-white);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -.04em;
}

.cx-pagehead .cx-lead {
    color: var(--cx-ink-300);
}

.cx-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8125rem;
    color: var(--cx-ink-400);
}

.cx-breadcrumb a:hover {
    color: var(--cx-white);
}

.cx-breadcrumb__sep {
    color: var(--cx-ink-600);
}


/* ---------- 브라우저 프레임(스크린샷) ------------------------------------ */

.cx-frame {
    border-radius: var(--cx-radius-lg);
    overflow: hidden;
    background: var(--cx-white);
    border: 1px solid var(--cx-ink-200);
    box-shadow: var(--cx-shadow-lg);
}

.cx-frame--dark {
    border-color: rgba(255, 255, 255, .12);
    background: var(--cx-ink-800);
}

.cx-frame__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: var(--cx-ink-50);
    border-bottom: 1px solid var(--cx-ink-200);
}

.cx-frame--dark .cx-frame__bar {
    background: rgba(255, 255, 255, .04);
    border-bottom-color: rgba(255, 255, 255, .08);
}

.cx-frame__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cx-ink-300);
}

.cx-frame--dark .cx-frame__dot {
    background: rgba(255, 255, 255, .2);
}

.cx-frame__body {
    display: block;
    background: var(--cx-white);
}

.cx-frame__body img {
    display: block;
    width: 100%;
}


/* ---------- 카드 --------------------------------------------------------- */

.cx-card {
    background: var(--cx-white);
    border: 1px solid var(--cx-ink-200);
    border-radius: var(--cx-radius-lg);
    padding: 28px;
}

.cx-card--flush {
    padding: 0;
    overflow: hidden;
}

.cx-card--muted {
    background: var(--cx-ink-50);
    border-color: var(--cx-ink-100);
}

.cx-card--hover {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cx-card--hover:hover {
    transform: translateY(-4px);
    border-color: var(--cx-ink-300);
    box-shadow: var(--cx-shadow);
}

.cx-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--cx-ink-900);
    margin-bottom: 8px;
}

.cx-card__text {
    color: var(--cx-ink-500);
    font-size: .9375rem;
    line-height: 1.7;
}

.cx-icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--cx-accent-soft);
    color: var(--cx-accent-ink);
    margin-bottom: 20px;
}

.cx-icon-tile svg {
    width: 24px;
    height: 24px;
}

.cx-icon-tile--dark {
    background: var(--cx-ink-900);
    color: var(--cx-white);
}

.cx-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: var(--cx-ink-900);
    color: var(--cx-white);
    font-size: .875rem;
    font-weight: 700;
}

.cx-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--cx-accent-soft);
    color: var(--cx-accent-ink);
    font-size: .8125rem;
    font-weight: 600;
}

.cx-badge--dark {
    background: rgba(255, 255, 255, .08);
    color: var(--cx-white);
}

.cx-badge--outline {
    background: transparent;
    border: 1px solid var(--cx-ink-200);
    color: var(--cx-ink-600);
}

.cx-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* ---------- 지표 / 로고 -------------------------------------------------- */

.cx-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--cx-ink-200);
    border: 1px solid var(--cx-ink-200);
    border-radius: var(--cx-radius-lg);
    overflow: hidden;
}

.cx-stat {
    background: var(--cx-white);
    padding: 28px;
}

.cx-stat__value {
    font-size: clamp(1.75rem, 3vw, 2.375rem);
    font-weight: 800;
    letter-spacing: -.04em;
    color: var(--cx-ink-900);
}

.cx-stat__label {
    margin-top: 6px;
    font-size: .875rem;
    color: var(--cx-ink-400);
}

.cx-logos {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    background: var(--cx-ink-200);
    border: 1px solid var(--cx-ink-200);
    border-radius: var(--cx-radius-lg);
    overflow: hidden;
}

.cx-logos__item {
    background: var(--cx-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    min-height: 108px;
}

.cx-logos__item img {
    max-height: 40px;
    width: auto;
    filter: grayscale(1);
    opacity: .62;
    transition: filter .2s ease, opacity .2s ease;
}

.cx-logos__item:hover img {
    filter: grayscale(0);
    opacity: 1;
}


/* ---------- 기능 나열 (교차 배치) ---------------------------------------- */

.cx-feature-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    padding: clamp(40px, 5vw, 64px) 0;
    border-top: 1px solid var(--cx-ink-100);
}

.cx-feature-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.cx-feature-row--reverse .cx-feature-row__media {
    order: -1;
}

.cx-feature-row__copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.cx-check {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cx-check li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--cx-ink-600);
    font-size: .9375rem;
    line-height: 1.6;
}

.cx-check li::before {
    content: "";
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--cx-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a91' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}


/* ---------- 요금제 ------------------------------------------------------- */

.cx-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.cx-plans--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.cx-plans--4 .cx-plan {
    padding: 28px 24px;
}

.cx-plans--4 .cx-plan__amount {
    font-size: clamp(1.75rem, 2.4vw, 2.125rem);
}

.cx-plans--4 .cx-plan__price {
    flex-wrap: wrap;
    row-gap: 0;
}

.cx-plans--4 .cx-plan__unit {
    font-size: .8125rem;
}

.cx-plans--4 .cx-plan__features {
    gap: 10px;
}

.cx-plans--4 .cx-plan__features li {
    font-size: .8125rem;
    gap: 8px;
}

.cx-plans--4 .cx-plan__features li::before {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    background-size: 10px;
}

.cx-plan {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--cx-white);
    border: 1px solid var(--cx-ink-200);
    border-radius: var(--cx-radius-lg);
    padding: 32px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.cx-plan:hover {
    transform: translateY(-4px);
    box-shadow: var(--cx-shadow);
}

.cx-plan--featured {
    background: var(--cx-ink-900);
    border-color: var(--cx-ink-900);
    color: var(--cx-ink-300);
    box-shadow: var(--cx-shadow-lg);
}

.cx-plan--featured h3,
.cx-plan--featured .cx-plan__price {
    color: var(--cx-white);
}

.cx-plan__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cx-plan__name {
    font-size: 1.25rem;
    font-weight: 700;
}

.cx-plan__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: var(--cx-ink-900);
}

.cx-plan__amount {
    font-size: clamp(2rem, 3.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

.cx-plan__unit {
    font-size: .9375rem;
    color: var(--cx-ink-400);
}

.cx-plan--featured .cx-plan__unit {
    color: var(--cx-ink-300);
}

.cx-plan__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
}

.cx-plan__features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .9375rem;
    color: var(--cx-ink-600);
}

.cx-plan--featured .cx-plan__features li {
    color: var(--cx-ink-300);
}

.cx-plan__features li::before {
    content: "";
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--cx-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a91' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.cx-plan--featured .cx-plan__features li::before {
    background-color: rgba(63, 203, 228, .16);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233fcbe4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}


/* ---------- FAQ (details/summary) ---------------------------------------- */

.cx-faq {
    border-top: 1px solid var(--cx-ink-200);
}

.cx-faq__item {
    border-bottom: 1px solid var(--cx-ink-200);
}

.cx-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 4px;
    cursor: pointer;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--cx-ink-900);
    list-style: none;
}

.cx-faq__q::-webkit-details-marker {
    display: none;
}

.cx-faq__q::after {
    content: "";
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c626d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat;
    transition: transform .2s ease;
}

.cx-faq__item[open] .cx-faq__q::after {
    transform: rotate(45deg);
}

.cx-faq__a {
    padding: 0 4px 24px;
    color: var(--cx-ink-500);
    line-height: 1.8;
    max-width: 80ch;
}


/* ---------- 폼 ----------------------------------------------------------- */

.cx-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cx-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cx-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cx-field--full {
    grid-column: 1 / -1;
}

.cx-label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--cx-ink-700);
}

.cx-label__req {
    color: var(--cx-accent-ink);
    margin-left: 2px;
}

.cx-app .cx-input,
.cx-app .cx-select,
.cx-app .cx-textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font-family: var(--cx-font);
    font-size: .9375rem;
    color: var(--cx-ink-900);
    background: var(--cx-white);
    border: 1px solid var(--cx-ink-200);
    border-radius: var(--cx-radius-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.cx-app .cx-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.7;
}

.cx-app .cx-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c626d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 38px;
}

.cx-app .cx-input:focus,
.cx-app .cx-select:focus,
.cx-app .cx-textarea:focus {
    outline: none;
    border-color: var(--cx-accent);
    box-shadow: 0 0 0 3px var(--cx-accent-soft);
}

.cx-app .cx-input::placeholder,
.cx-app .cx-textarea::placeholder {
    color: var(--cx-ink-300);
}

.cx-help {
    font-size: .8125rem;
    color: var(--cx-ink-400);
}

.cx-app .validation-message {
    font-size: .8125rem;
    color: #d64545;
}

.cx-form-card {
    background: var(--cx-white);
    border: 1px solid var(--cx-ink-200);
    border-radius: var(--cx-radius-xl);
    box-shadow: var(--cx-shadow);
    padding: clamp(28px, 4vw, 48px);
}

/* Telerik 컴포넌트가 폼 안에 들어갈 때 폭 정렬 */
.cx-field .k-input,
.cx-field .k-picker,
.cx-field .k-textbox {
    width: 100%;
}


/* ---------- 표 ----------------------------------------------------------- */

.cx-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9375rem;
}

.cx-table th {
    text-align: left;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cx-ink-400);
    padding: 12px 8px;
    border-bottom: 1px solid var(--cx-ink-200);
}

.cx-table td {
    padding: 16px 8px;
    color: var(--cx-ink-700);
    border-bottom: 1px solid var(--cx-ink-100);
}

.cx-table tr:last-child td {
    border-bottom: 0;
}

.cx-table .cx-num-cell {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.cx-summary {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cx-summary__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    font-size: .9375rem;
    color: var(--cx-ink-500);
}

.cx-summary__row strong {
    color: var(--cx-ink-900);
    font-variant-numeric: tabular-nums;
}

.cx-summary__total {
    padding-top: 14px;
    border-top: 1px solid var(--cx-ink-200);
    font-size: 1.0625rem;
}

.cx-summary__total strong {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -.03em;
}


/* ---------- 블로그 ------------------------------------------------------- */

.cx-posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.cx-post {
    display: flex;
    flex-direction: column;
    background: var(--cx-white);
    border: 1px solid var(--cx-ink-200);
    border-radius: var(--cx-radius-lg);
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.cx-post:hover {
    transform: translateY(-6px);
    border-color: var(--cx-ink-300);
    box-shadow: var(--cx-shadow-lg);
}

/* 썸네일 (대표 이미지가 없으면 카테고리 레터링 플레이스홀더) */
.cx-post__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cx-ink-50) 0%, var(--cx-accent-soft) 100%);
    border-bottom: 1px solid var(--cx-ink-100);
}

.cx-post__thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(11, 12, 14, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 12, 14, .035) 1px, transparent 1px);
    background-size: 28px 28px;
}

.cx-post__thumb img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.cx-post:hover .cx-post__thumb img {
    transform: scale(1.04);
}

.cx-post__thumb-mark {
    position: relative;
    max-width: 90%;
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--cx-ink-300);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cx-post__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
    padding: 24px;
}

.cx-post .cx-badge {
    align-self: flex-start;
    height: 26px;
    padding: 0 10px;
    font-size: .75rem;
}

.cx-post__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--cx-ink-900);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .18s ease;
}

.cx-post:hover .cx-post__title {
    color: var(--cx-accent-ink);
}

.cx-post__excerpt {
    color: var(--cx-ink-400);
    font-size: .875rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 에디터 원문의 서식을 요약에서는 모두 평문으로 정리한다 */
.cx-post__excerpt * {
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    font-family: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
}

/* 본문 첫머리의 제목 반복은 카드 제목과 겹치므로 숨긴다 */
.cx-post__excerpt h1,
.cx-post__excerpt h2,
.cx-post__excerpt h3,
.cx-post__excerpt h4,
.cx-post__excerpt h5,
.cx-post__excerpt h6,
.cx-post__excerpt img,
.cx-post__excerpt figure,
.cx-post__excerpt iframe,
.cx-post__excerpt video {
    display: none;
}

.cx-post__excerpt table,
.cx-post__excerpt thead,
.cx-post__excerpt tbody,
.cx-post__excerpt tr,
.cx-post__excerpt th,
.cx-post__excerpt td {
    display: block;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
}

.cx-post__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--cx-ink-100);
    font-size: .8125rem;
    color: var(--cx-ink-400);
}

.cx-post__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cx-post__more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--cx-accent-ink);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s ease, transform .2s ease;
}

.cx-post:hover .cx-post__more {
    opacity: 1;
    transform: translateX(0);
}


.cx-prose {
    color: var(--cx-ink-600);
    line-height: 1.85;
    font-size: 1rem;
}

.cx-prose h2,
.cx-prose h3,
.cx-prose h4,
.cx-prose h5 {
    margin: 40px 0 14px;
}

.cx-prose h4 {
    font-size: 1.25rem;
}

.cx-prose h5 {
    font-size: 1.0625rem;
}

.cx-prose p {
    margin: 0 0 16px;
}

.cx-prose ul {
    list-style: none;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cx-prose ul li {
    position: relative;
    padding-left: 20px;
}

.cx-prose ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cx-accent);
}

.cx-prose strong {
    color: var(--cx-ink-900);
}


.cx-listview .k-listview-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.cx-listview .k-listview {
    border: 0;
    background: transparent;
    padding: 0;
}

.cx-listview .k-listview-pager {
    border: 0;
    background: transparent;
    margin-top: 32px;
}


/* ---------- 포트폴리오 필터 (CSS 전용) ----------------------------------- */

.cx-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.cx-filter-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cx-filter label {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 18px;
    border: 1px solid var(--cx-ink-200);
    border-radius: 999px;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--cx-ink-600);
    cursor: pointer;
    transition: all .15s ease;
}

.cx-filter label:hover {
    border-color: var(--cx-ink-900);
    color: var(--cx-ink-900);
}

#cx-f-all:checked ~ .cx-filter label[for="cx-f-all"],
#cx-f-pp:checked ~ .cx-filter label[for="cx-f-pp"],
#cx-f-epm:checked ~ .cx-filter label[for="cx-f-epm"] {
    background: var(--cx-ink-900);
    border-color: var(--cx-ink-900);
    color: var(--cx-white);
}

.cx-works {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.cx-work {
    display: flex;
    flex-direction: column;
    background: var(--cx-white);
    border: 1px solid var(--cx-ink-200);
    border-radius: var(--cx-radius);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.cx-work:hover {
    transform: translateY(-4px);
    box-shadow: var(--cx-shadow);
}

.cx-work__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 24px;
    background: var(--cx-ink-50);
    border-bottom: 1px solid var(--cx-ink-100);
}

.cx-work__logo img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .7;
    transition: filter .2s ease, opacity .2s ease;
}

.cx-work:hover .cx-work__logo img {
    filter: grayscale(0);
    opacity: 1;
}

.cx-work__body {
    padding: 18px 20px;
}

.cx-work__name {
    font-size: .9375rem;
    font-weight: 700;
    color: var(--cx-ink-900);
}

.cx-work__period {
    margin-top: 4px;
    font-size: .8125rem;
    color: var(--cx-ink-400);
}

/* 필터 선택에 따라 항목 표시/숨김 */
#cx-f-pp:checked ~ .cx-works .cx-work,
#cx-f-epm:checked ~ .cx-works .cx-work {
    display: none;
}

#cx-f-pp:checked ~ .cx-works .cx-work[data-cat="projectpoint"],
#cx-f-epm:checked ~ .cx-works .cx-work[data-cat="epm"] {
    display: flex;
}


/* ---------- CTA 밴드 ----------------------------------------------------- */

.cx-cta {
    position: relative;
    overflow: hidden;
    background: var(--cx-ink-900);
    border-radius: var(--cx-radius-xl);
    padding: clamp(40px, 5vw, 72px);
    color: var(--cx-ink-300);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cx-cta::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -6%;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 169, 199, .26), transparent 62%);
    pointer-events: none;
}

.cx-cta > * {
    position: relative;
    z-index: 1;
}

.cx-cta h2 {
    color: var(--cx-white);
}

.cx-cta .cx-lead,
.cx-cta .cx-body {
    color: var(--cx-ink-300);
}


/* ---------- 푸터 --------------------------------------------------------- */

.cx-footer {
    background: var(--cx-ink-900);
    color: var(--cx-ink-400);
    padding: clamp(56px, 6vw, 88px) 0 32px;
    font-size: .9375rem;
}

.cx-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}

.cx-footer__logo {
    height: 28px;
    width: auto;
    margin-bottom: 20px;
}

.cx-footer__title {
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cx-ink-300);
    margin-bottom: 18px;
}

.cx-footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cx-footer__list a:hover {
    color: var(--cx-white);
}

.cx-footer__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: .875rem;
    line-height: 1.7;
    color: var(--cx-ink-400);
}

.cx-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: clamp(40px, 5vw, 64px);
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .8125rem;
    color: var(--cx-ink-500);
}

.cx-footer__bottom a:hover {
    color: var(--cx-white);
}


/* ---------- 오류 박스 ---------------------------------------------------- */

.cx-error {
    max-width: 880px;
    margin: 80px auto;
    padding: 32px;
    border: 1px solid var(--cx-ink-200);
    border-radius: var(--cx-radius-lg);
    background: var(--cx-ink-50);
}

.cx-error__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--cx-ink-900);
    line-height: 1.7;
    margin-bottom: 16px;
}

.cx-error__detail {
    font-size: .8125rem;
    color: var(--cx-ink-500);
    word-break: break-all;
    margin-bottom: 6px;
}


/* ---------- 반응형 ------------------------------------------------------- */

@media (max-width: 1199.98px) {
    .cx-nav {
        margin-left: 0;
        gap: 0;
    }

    .cx-nav__link {
        padding: 0 9px;
        font-size: .875rem;
    }

    .cx-nav__link.is-active::after {
        left: 9px;
        right: 9px;
    }

    .cx-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cx-plans--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cx-works {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .cx-nav {
        display: none;
    }

    .cx-header__actions .cx-btn {
        display: none;
    }

    .cx-burger {
        display: inline-flex;
    }

    .cx-hero__grid,
    .cx-split,
    .cx-split--sidebar,
    .cx-split--aside,
    .cx-feature-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-feature-row--reverse .cx-feature-row__media,
    .cx-split__media--first {
        order: 0;
    }

    .cx-grid--4,
    .cx-stats,
    .cx-plans,
    .cx-posts,
    .cx-grid--3,
    .cx-listview .k-listview-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cx-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .cx-container {
        padding: 0 20px;
    }

    .cx-grid--2,
    .cx-grid--3,
    .cx-grid--4,
    .cx-stats,
    .cx-plans,
    .cx-posts,
    .cx-form__grid,
    .cx-listview .k-listview-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .cx-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    /* 로고/포트폴리오는 한 줄에 하나씩이면 너무 길어지므로 2열 유지 */
    .cx-logos,
    .cx-works {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cx-works {
        gap: 12px;
    }

    .cx-work__logo {
        height: 88px;
        padding: 16px;
    }

    .cx-work__logo img {
        max-width: 100%;
    }

    .cx-work__body {
        padding: 14px;
    }

    .cx-work__period {
        font-size: .75rem;
        white-space: nowrap;
    }

    .cx-logos__item {
        padding: 20px 12px;
        min-height: 84px;
    }

    .cx-logos__item img {
        max-width: 100%;
        max-height: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cx-app * {
        transition: none !important;
    }
}
