/* 톡 스튜디오 랜딩 — 공통 CSS (셸·섹션공통·FAQ·CTA·pf카드·인사이트·푸터·반응형·빈상태) */
/* ============================================================
   디지털 스튜디오 랜딩 — 전용 스타일 (공용 없음)
   제목=GmarketSans · 본문=Pretendard · 파랑 계열 · 친숙한 전문가
   ============================================================ */
@font-face {
    font-family: 'GmarketSans';
    font-weight: 500;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
}

@font-face {
    font-family: 'GmarketSans';
    font-weight: 700;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
}

:root {
    --blue: #ff6d01;
    --blue2: #ff9a4d;
    --blue-d: #d95900;
    --blue-l: #fff3e9;
    --navy: #181c32;
    --ink: #1b2733;
    --gray: #566177;
    --gray2: #7e8299;
    --line: #e7ecf4;
    --line2: #eef1f6;
    --bg2: #f5f8fc;
    --ok: #0f9d6e;
    --warn: #f0a020;
    --red: #e8543f;
    --pay: #0f9d6e;
    --talk: #ff6d01;
    --double: #7c3aed;
    --grad: linear-gradient(120deg, #ff6d01, #ff9a4d);
    --shadow: 0 10px 30px rgba(24, 28, 50, .07);
    --maxw: 1120px;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body.dg {
    margin: 0;
    font-family: 'Pretendard', -apple-system, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    max-width: 100vw;
    min-height: 100dvh;        /* 콘텐츠가 짧아도 화면 높이만큼 확보 */
    display: flex;
    flex-direction: column;    /* 헤더·본문·푸터 세로 스택 */
}

/* 푸터를 항상 화면 바닥으로 (스티키 푸터) */
.dg-ft {
    margin-top: auto;
}

.dg a {
    color: inherit;
    text-decoration: none;
}

.dg img {
    max-width: 100%;
}

.dg ul,
.dg ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.font_g {
    font-family: 'GmarketSans', 'Pretendard', sans-serif;
}

.em_grad {
    background: linear-gradient(120deg, #ff6d01, #ff8a2b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.em_grad_light {
    background: linear-gradient(120deg, #fdba74, #fde68a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dg-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* 스크롤 등장(fade-in) 제거 — 콘텐츠는 로드 즉시 그대로 노출. */
.dg-reveal,
.dg-reveal.in {
    opacity: 1;
    transform: none;
}

/* ── 헤더(메뉴 중앙) ── */
.dg-hd {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(8px);
}

.dg-hd-inner {
    position: relative;
    display: flex;
    align-items: center;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
}

.dg-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -.02em;
    font-family: 'GmarketSans', sans-serif;
}

.dg-logo .mk {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    object-fit: contain;
    display: block;
}

.dg-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    font-size: 15.5px;
    color: var(--navy);
    font-weight: 500;
}

.dg-nav a {
    transition: .15s;
}

.dg-nav a:hover,
.dg-nav a:active,
.dg-nav a.on {
    color: var(--blue);
}

.dg-hd-r {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dg-console {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 10px;
    transition: .15s;
}

.dg-console:hover,
.dg-console:active {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-l);
}

.dg-quote:active {
    background: var(--blue);
}

.dg-console .gi {
    width: 19px;
    height: 19px;
}

.dg-quote {
    font-size: 14.5px;
    font-weight: 700;
    padding: 8px 22px;
    border-radius: 10px;
    background: var(--grad);
    color: #fff;
    transition: .15s;
}

.dg-quote:hover {
    filter: brightness(1.06);
}

.dg-burger {
    display: none;
    background: none;
    border: none;
    font-size: 27px;
    color: var(--navy);
    cursor: pointer;
    margin-left: auto;
}

/* 모바일 오프캔버스 드로어 — 오른쪽에서 왼쪽으로 덮음(스크롤 위치 무관) */
.dg-mnav-dim {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
    z-index: 1090;
}

.dg-mnav-dim.open {
    opacity: 1;
    visibility: visible;
}

.dg-mnav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(82vw, 320px);
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: -10px 0 36px rgba(15, 23, 42, .14);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    z-index: 1100;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.dg-mnav.open {
    transform: translateX(0);
}

.dg-mnav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}

.dg-mnav-ttl {
    font-weight: 800;
    font-size: 16px;
    color: var(--navy);
}

.dg-mnav-x {
    display: flex;
    background: none;
    border: none;
    padding: 4px;
    font-size: 26px;
    line-height: 1;
    color: var(--navy);
    cursor: pointer;
}

.dg-mnav-links {
    display: flex;
    flex-direction: column;
    padding: 6px 0;
}

.dg-mnav a {
    padding: 15px 22px;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--navy);
}

.dg-mnav a.on {
    color: var(--blue);
    font-weight: 700;
}

/* 모바일 메뉴 하단 CTA — 헤더 우측 두 버튼과 동일 구성 */
.dg-mnav-cta {
    margin: auto 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dg-mnav a.m-console {
    padding: 13px 18px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--navy);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dg-mnav a.m-quote {
    padding: 13px 18px;
    border-radius: 12px;
    background: var(--grad);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dg-mnav a.m-console .m-console-ic {
    width: 24px;
    height: 24px;
    padding: 3px;
    background: #fff;
    border-radius: 7px;
    box-sizing: border-box;
}

/* ── 섹션 공통 ── */
.dg-sect {
    padding: clamp(54px, 7vw, 88px) 0;
}

.dg-sect.alt {
    background: var(--bg2);
}

.dg-sect.dark {
    background: var(--navy);
    color: #fff;
}

.dg-head {
    max-width: 760px;
    margin: 0 auto clamp(30px, 4vw, 44px);
    text-align: center;
}

.dg-head.left {
    text-align: left;
    margin-left: 0;
}

.dg-eyebrow {
    display: inline-block;
    font-family: 'GmarketSans', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: .12em;
    margin-bottom: 12px;
}

.dg-h2 {
    font-family: 'GmarketSans', sans-serif;
    font-size: clamp(23px, 3.6vw, 34px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.32;
    margin: 0 0 14px;
}

.dg-desc {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--gray);
    margin: 0;
}

.dg-desc strong {
    color: var(--ink);
    font-weight: 600;
}

/* 화면엔 숨기고 크롤러·스크린리더에는 노출(SEO/접근성) */
.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;
}

/* 타이틀 아래 회색 구분선 (인사이트·공지 등 상단 타이틀 공용) */
.dg-head-divider {
    display: block;
    width: 56px;
    height: 2px;
    margin: 22px auto 0;
    background: rgba(0, 0, 0, .18);
}

.head_split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    max-width: var(--maxw);
    margin: 0 auto clamp(30px, 4vw, 44px);
}

.head_split .dg-h2 {
    text-align: left;
}

.dg-more {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    border: 1px solid var(--line);
    padding: 10px 17px;
    border-radius: 10px;
    transition: .15s;
    background: #fff;
}

.dg-more:hover {
    border-color: var(--blue);
    background: var(--blue-l);
}

/* ── FAQ ── */
.faq_list {
    margin: 0 auto;
}

.faq_item {
    border: 1px solid var(--line);
    border-radius: 13px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}

.faq_q {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 19px;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    color: var(--ink);
    font-family: inherit;
}

.faq_q .qm {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'GmarketSans', sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.faq_q .qt {
    flex: 1;
}

.faq_q .qx {
    font-size: 21px;
    color: var(--blue);
    transition: .3s;
}

.faq_a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq_item.open .faq_a {
    max-height: 400px;
}

.faq_item.open .qx {
    transform: rotate(45deg);
}

.faq_a_inner {
    padding: 0 19px 18px 55px;
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.75;
}

.faq_a_inner strong {
    color: var(--ink);
}

.faq_more_item {
    display: none;
}

.faq_list.show_all .faq_more_item {
    display: block;
}

.faq_more_wrap {
    text-align: center;
    margin-top: 18px;
}

.faq_more_btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    border: 1px solid var(--line);
    background: #fff;
    padding: 11px 20px;
    border-radius: 11px;
    cursor: pointer;
}

/* ── 최종 CTA ── */
.final_cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f1a30, #1b3aa3);
    border-radius: 24px;
    padding: clamp(40px, 5vw, 64px);
    text-align: center;
    color: #fff;
}

.final_cta .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    background: rgba(255, 255, 255, .12);
    padding: 6px 15px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.final_cta h2 {
    font-family: 'GmarketSans', sans-serif;
    font-size: clamp(24px, 3.6vw, 34px);
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
}

.final_cta h2 .strike {
    text-decoration: line-through;
    opacity: .55;
}

.final_cta .desc {
    font-size: 15px;
    opacity: .85;
    margin: 0 0 26px;
}

.fcta_btns {
    display: flex;
    gap: 11px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.fcta_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 12px;
    font-size: 15px;
    transition: .15s;
}

.fcta_btn.primary {
    background: #fff;
    color: var(--blue);
}

.fcta_btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
}

.fcta_btn.ghost {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .4);
}

.fcta_info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: clamp(16px, 3vw, 30px);
    justify-content: center;
    flex-wrap: wrap;
    font-size: clamp(15px, 2vw, 22px);
    font-weight: 500;
    opacity: .95;
}

.fcta_info li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fcta_info li i {
    font-size: 1.2em;
    color: #7ff0c4;
}

/* ── 포트폴리오 ── */
.dg-narrow {
    max-width: 860px;
}

.pf-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto clamp(24px, 4vw, 38px);
    max-width: var(--maxw);
}

.pf-chip {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    background: #fff;
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: .15s;
}

.pf-chip:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.pf-chip.on {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

/* ── 무한 스크롤 로더(스피너) — 포인트 컬러는 var(--blue) ── */
.pf-loadmore {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 56px;
    margin-top: clamp(20px, 3vw, 32px);
}

.pf-loadmore .pf-spin {
    width: 26px;
    height: 26px;
    border: 3px solid var(--line);
    border-top-color: var(--blue);
    border-radius: 50%;
    opacity: 0;
    transition: opacity .2s ease;
}

.pf-loadmore.on .pf-spin {
    opacity: 1;
    animation: pf-spin .7s linear infinite;
}

@keyframes pf-spin {
    to { transform: rotate(360deg); }
}

/* ── 목록 페이지네이션 (공지) — 포인트 컬러 var(--blue) ── */
.pg {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: clamp(28px, 4vw, 40px);
}

.pg-num,
.pg-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    background: #fff;
    transition: .15s;
}

.pg-num:hover,
.pg-arrow:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.pg-num.on {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.pg-arrow.off {
    color: var(--gray2);
    opacity: .45;
    pointer-events: none;
}

.pg-gap {
    padding: 0 4px;
    color: var(--gray2);
}

.pf-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.2vw, 22px);
}

.pf-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(24, 28, 50, .04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pf-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: #cdddf7;
}

.pf-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: flex-end;
    padding: 14px;
}

.pf-thumb-cat {
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(4px);
    padding: 5px 11px;
    border-radius: 999px;
}

.pf-card-body {
    padding: 16px 18px 18px;
}

.pf-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -.01em;
}

.pf-card-sum {
    font-size: 13px;
    color: var(--gray);
    margin: 0 0 14px;
    line-height: 1.55;
}

.pf-card-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
}

.pf-card-more i {
    transition: transform .2s ease;
}

.pf-card:hover .pf-card-more i {
    transform: translateX(3px);
}

.pf-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 22px;
    transition: .15s;
}

.pf-back:hover {
    color: var(--blue);
}

/* ── 상세 공용 레이아웃 (인사이트·공지 상세 동일 형태) ── */
/* 상세 첫 섹션: 상단 헤더와의 간격 축소 */
.dg-sect.in-d-sect {
    padding-top: clamp(20px, 3vw, 34px);
}

/* 본문 컬럼: 860px 가운데 정렬 */
.in-d-col {
    max-width: 860px;
    margin: 0 auto;
}

/* '목록으로'를 헤더 '바로 시작'(.dg-quote) 크기의 버튼으로 */
.in-d-col .pf-back {
    background: #fff;
    border: 1px solid var(--line);
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 30px;
}

.in-d-col .pf-back:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: #fff;
}

/* 타이틀↔본문 / 본문 끝 긴 구분선 */
.in-d-rule {
    border: 0;
    border-top: 1px solid var(--line);
    margin: clamp(22px, 3.5vw, 32px) 0;
}

/* 타이틀 아래 날짜(평문) + 링크복사 라인 */
.in-d-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.in-d-date {
    display: inline-flex;
    align-items: center;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray);
}

.in-d-bar .pf-share-btn {
    margin-top: 0;
    margin-left: auto;        /* 날짜 유무와 무관하게 항상 우측 끝 */
    background: var(--bg2);   /* 연한 회색 면색 */
}

.pf-d-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    background: var(--blue-l);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.pf-d-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.3;
    margin: 0 0 12px;
}

.pf-d-sum {
    font-size: clamp(15px, 2vw, 17px);
    color: var(--gray);
    margin: 0 0 22px;
}

.pf-d-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pf-d-meta li {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.pf-d-meta li span {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--gray2);
    letter-spacing: .03em;
}

.pf-d-hero {
    aspect-ratio: 16 / 8;
    border-radius: 18px;
    margin: clamp(24px, 4vw, 36px) 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-d-hero-mark {
    font-size: clamp(34px, 7vw, 60px);
    font-weight: 700;
    color: rgba(255, 255, 255, .85);
    letter-spacing: .06em;
}

.pf-d-h2 {
    font-size: clamp(18px, 2.6vw, 22px);
    font-weight: 700;
    letter-spacing: -.01em;
    margin: clamp(26px, 4vw, 36px) 0 12px;
}

.pf-d-body p {
    font-size: clamp(14.5px, 2vw, 16px);
    color: var(--gray);
    line-height: 1.8;
    margin: 0;
}

.pf-d-feat {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}

.pf-d-feat li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink);
}

.pf-d-feat i {
    color: var(--ok);
    font-size: 17px;
    flex-shrink: 0;
}

.pf-d-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pf-d-tech span {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-d);
    background: var(--blue-l);
    padding: 7px 14px;
    border-radius: 9px;
}

.pf-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: clamp(26px, 4vw, 36px);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray);
    background: #fff;
    border: 1px solid var(--line);
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: .15s;
}

.pf-share-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.pf-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: radial-gradient(120% 120% at 0% 0%, #1b3aa3, var(--navy));
    color: #fff;
    border-radius: 20px;
    padding: clamp(28px, 4vw, 40px);
    margin: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 44px);
}

.pf-cta-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    color: #7ff0c4;
    margin-bottom: 10px;
}

.pf-cta-l h2 {
    font-size: clamp(20px, 3vw, 27px);
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0 0 8px;
    line-height: 1.35;
}

.pf-cta-l p {
    font-size: 14px;
    color: #aab4c8;
    margin: 0;
}

.pf-cta-r {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.pf-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 11px;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    transition: .15s;
}

.pf-cta-btn:hover {
    transform: translateY(-2px);
}

.pf-cta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 14px;
    font-weight: 500;
}

.pf-cta-info li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.pf-cta-info i {
    color: #7ff0c4;
    font-size: 1.1em;
}

.pf-related-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.pf-related-head .dg-h2 {
    margin: 0;
    text-align: left;
    font-size: clamp(20px, 3vw, 26px);
}

/* 인사이트 — 카드 날짜 + 기사 본문 */
.in-card-date {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray2);
    margin-bottom: 7px;
}

.in-d-content {
    margin-top: clamp(8px, 2vw, 16px);
}

.in-d-content h2 {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    letter-spacing: -.01em;
    margin: clamp(28px, 4vw, 38px) 0 14px;
}

.in-d-content h3 {
    font-size: clamp(17px, 2.4vw, 20px);
    font-weight: 700;
    margin: 26px 0 10px;
}

.in-d-content p {
    font-size: clamp(15px, 2vw, 16.5px);
    color: var(--gray);
    line-height: 1.85;
    margin: 0 0 18px;
}

.in-d-content p strong {
    color: var(--ink);
    font-weight: 600;
}

.in-d-content ul,
.in-d-content ol {
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.in-d-content li {
    display: flex;
    gap: 10px;
    font-size: clamp(14.5px, 2vw, 16px);
    color: var(--ink);
    line-height: 1.7;
}

.in-d-content li::before {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    margin-top: 9px;
}

.in-d-content blockquote {
    margin: 0 0 18px;
    padding: 14px 18px;
    border-left: 3px solid var(--blue);
    background: var(--blue-l);
    border-radius: 0 10px 10px 0;
    font-size: 15px;
    color: var(--ink);
    line-height: 1.7;
}

.in-d-content img {
    width: 100%;
    border-radius: 12px;
    margin: 8px 0 18px;
}

.in-d-content a {
    color: var(--blue);
    text-decoration: underline;
}

@media (max-width: 980px) {
    .pf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {

    .pf-grid,
    .pf-d-feat {
        grid-template-columns: 1fr;
    }

    /* 상세 하단 '다른 인사이트' = 세로 스택 대신 가로 캐러셀(스와이프) */
    .pf-related {
        display: flex;
        grid-template-columns: none;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-padding-left: 24px;
        margin: 0 -24px;          /* 좌우 가장자리까지 스와이프 */
        padding: 4px 24px 10px;
    }

    .pf-related .pf-card {
        flex: 0 0 80%;
        scroll-snap-align: start;
    }

    .pf-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .pf-cta-r {
        width: 100%;
    }
}

/* ── 푸터 ── */
.dg-ft {
    background: #fff;
    color: #9aa3b0;
    border-top: 1px solid var(--line);   /* 헤더 하단 테두리와 동일 색 */
}

.dg-fam {
    position: relative;
}

.dg-fam-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    border: 1px solid #e0e3e8;
    padding: 9px 15px;
    border-radius: 9px;
    cursor: pointer;
    background: transparent;
}

.dg-fam-btn:hover {
    border-color: #c3c8d0;
    color: #4b5563;
}

.dg-fam-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    width: 210px;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .18s;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    z-index: 5;
}

.dg-fam:hover .dg-fam-menu,
.dg-fam.open .dg-fam-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.dg-fam-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 12px;
    color: #7b8493;
    border-radius: 8px;
}

.dg-fam-menu a:hover {
    background: rgba(0, 0, 0, .04);
    color: #4b5563;
}

.dg-fam-menu .d {
    width: 9px;
    height: 9px;
    border-radius: 3px;
    flex-shrink: 0;
}

.dg-fam-menu .d-ic {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    object-fit: contain;
    margin: 0 -1px 0 -2px;
}

.dg-ft-main {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 34px;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 36px 24px;
}

.dg-cs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dg-cs-label {
    font-size: 12px;
    font-weight: 600;
    color: #3f4653;
    margin-bottom: 9px;
}

.dg-ft .dg-cs-num {
    font-family: 'GmarketSans', sans-serif;
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 700;
    color: #3f4653;
    letter-spacing: -.02em;
    line-height: 1.05;
    display: flex;
    align-items: baseline;
    gap: 11px;
    flex-wrap: wrap;
}

.dg-cs-num span {
    font-family: 'Pretendard';
    font-size: 15px;
    font-weight: 600;
    color: var(--blue);
    background: var(--blue-l);
    padding: 6px 12px;
    border-radius: 20px;
}

.dg-cs-time {
    font-size: 12px;
    color: #3f4653;
    margin-top: 12px;
}

.dg-ft .dg-cs-mail {
    font-size: 12px;
    color: #3f4653;
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.dg-cs-mail i {
    color: #3f4653;
}

.dg-biz {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 24px;
    align-self: center;
}

.dg-biz-row {
    font-size: 12px;
    color: #aab2bf;
    line-height: 1.5;
}

.dg-biz-row span {
    display: inline-block;
    min-width: 78px;
    color: #aab2bf;
}

.dg-biz-row.full {
    grid-column: 1 / -1;
}

.dg-ft-bottom {
    border-top: 1px solid var(--line);   /* 끝까지 꽉 찬 하단 구분선 (헤더 테두리와 동일 색) */
}

.dg-ft-bottom-in {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.dg-ft-copy {
    font-size: 12px;
    color: #aab2bf;
}

/* ── 반응형 ── */
@media(max-width:980px) {
    .dg-hero-inner {
        grid-template-columns: 1fr;
    }

    .hero_visual {
        display: none;
    }

    .dg-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .studios_grid,
    .tools_grid,
    .dg-cards.c4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .ceo_hero,
    .server_layout {
        grid-template-columns: 1fr;
    }

    .process_tl {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 26px;
    }

    .process_tl li:before {
        display: none;
    }
}

@media(max-width:680px) {

    .dg-nav,
    .dg-hd-r {
        display: none;
    }

    .dg-burger {
        display: block;
    }

    .empathy_list,
    .dg-stats,
    .studios_grid,
    .tools_grid,
    .lang_grid,
    .dg-cards.c2,
    .dg-cards.c3,
    .dg-cards.c4 {
        grid-template-columns: 1fr;
    }

    .head_split {
        flex-direction: column;
        align-items: flex-start;
    }

    .compare_table {
        font-size: 12px;
    }

    .compare_table th,
    .compare_table td {
        padding: 10px 6px;
    }

    .dg-ft-main {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .dg-biz {
        grid-template-columns: 1fr;
    }

    .process_tl {
        grid-template-columns: repeat(2, 1fr);
    }

    .team_principle {
        grid-template-columns: 1fr;
    }
}
/* ── 빈 상태(공지/인사이트 준비중) ── */
/* 빈 상태: pf-empty가 든 섹션이 남는 세로 공간을 채우고 카드를 가운데로 */
/* (빈 상태 중앙정렬 제거 — 본문은 위쪽 기준 정렬, 푸터는 margin-top:auto 로 바닥 고정) */

.pf-empty {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 48px 30px;
    box-shadow: 0 2px 10px rgba(24, 28, 50, .04);
}
.pf-empty-ic {
    display: inline-flex;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--blue-l);
    color: var(--blue);
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}
.pf-empty p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    margin: 0 0 18px;
}

/* ── 공유 컴포넌트(카드 그리드·feature 3열) — home.css에서 이동 ── */
/* ── 공통 카드 그리드 (서비스/인증/심사 등) ── */
.dg-cards {
    display: grid;
    gap: 14px;
}

.dg-cards.c2 {
    grid-template-columns: repeat(2, 1fr);
}

.dg-cards.c3 {
    grid-template-columns: repeat(3, 1fr);
}

.dg-cards.c4 {
    grid-template-columns: repeat(4, 1fr);
}

.dg-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
    transition: .2s;
}

.dg-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #cdddf7;
}

.dg-card .pd {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--blue);
    background: var(--blue-l);
    padding: 3px 9px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.dg-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
}

.dg-card p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
}

.dg-card .ic {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    color: #fff;
    margin-bottom: 13px;
}

/* ── 팀 ── */
.team_principle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 26px;
}

.team_principle div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.team_principle i {
    font-size: 26px;
    color: var(--blue);
}

.team_principle h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 10px 0 5px;
}

.team_principle p {
    font-size: 12.5px;
    color: var(--gray);
    margin: 0;
}

.ceo_hero {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 2fr);
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: var(--shadow);
}

.ceo_avatar {
    background: linear-gradient(150deg, #1b3aa3, #2563eb);
    color: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 230px;
}

.ceo_role .kr {
    display: block;
    font-family: 'GmarketSans', sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.ceo_role .en {
    font-size: 12px;
    opacity: .7;
    letter-spacing: .04em;
}

.ceo_badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, .16);
    padding: 6px 12px;
    border-radius: 20px;
    align-self: flex-start;
}

.ceo_body {
    padding: 30px;
}

.ceo_body h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 4px;
}

.ceo_body h3 .en {
    font-size: 12px;
    color: var(--gray2);
    font-weight: 500;
    margin-left: 7px;
}

.ceo_dept {
    font-size: 13px;
    color: var(--gray);
    margin: 0 0 16px;
}

.ceo_quote {
    margin: 0;
    border-left: 3px solid var(--blue);
    padding-left: 16px;
}

.ceo_quote p {
    font-size: 14px;
    color: var(--ink);
    line-height: 1.75;
    margin: 0 0 12px;
}

.ceo_quote strong {
    color: var(--blue-d);
    font-weight: 700;
}

.ceo_sign {
    margin-top: 14px;
    font-size: 13px;
    color: var(--gray);
    font-weight: 600;
}

.team_dept {
    margin-top: 24px;
}

.team_dept_head {
    margin-bottom: 16px;
}

.team_dept_head .no {
    font-family: 'GmarketSans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--blue2);
}

.team_dept_head h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 4px 0 4px;
}

.team_dept_head h3 .cnt {
    color: var(--blue);
    font-size: 15px;
}

.team_dept_head p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
}

.team_card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}

.tc_avatar {
    padding: 18px 20px;
    color: #fff;
}

.tc_avatar .kr {
    font-family: 'GmarketSans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    display: block;
}

.tc_avatar .en {
    font-size: 11px;
    opacity: .7;
    letter-spacing: .04em;
}

.tc_body {
    padding: 18px 20px;
}

.tc_body h3 {
    font-size: 15.5px;
    font-weight: 700;
    margin: 0 0 3px;
}

.tc_body h3 .en {
    font-size: 11.5px;
    color: var(--gray2);
    font-weight: 500;
    margin-left: 6px;
}

.tc_dept {
    font-size: 12.5px;
    color: var(--blue);
    margin: 0 0 11px;
    font-weight: 600;
}

.tc_quote {
    margin: 0;
    font-size: 12.5px;
    color: var(--gray);
    line-height: 1.65;
    font-style: italic;
}


/* ── 인사이트/공지 상세·관련·리스트형(페이 이식, 주황 var 자동) ── */
.pf-related-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.pf-related-head .dg-h2 { margin: 0; text-align: left; font-size: clamp(20px, 3vw, 26px); }
.pf-d-date { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 8px 15px; background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--gray); }
.pf-d-date i { font-size: 15px; color: var(--blue); }

/* 공지 리스트형(썸네일 없음) */
.nt-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.nt-list li+li { border-top: 1px solid var(--line2); }
.nt-list a { display: flex; align-items: center; gap: 16px; padding: 17px 22px; transition: background .15s; }
.nt-list a:hover { background: var(--bg2); }
.nt-list .nt-title { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-list a:hover .nt-title { color: var(--blue); }
.nt-list .nt-date { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--gray2); font-variant-numeric: tabular-nums; }
.nt-list .nt-go { flex: 0 0 auto; font-size: 18px; color: var(--gray2); transition: .15s; }
.nt-list a:hover .nt-go { color: var(--blue); transform: translateX(2px); }
.tk-more-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
