@charset "UTF-8";

/* ============================================================
   최사장의 비밀노트 — 사이트 스타일
   브랜드: 네이비 #1D2B54 (다오 로고), 베이지 #C9B79C, 크림 배경
   폰트: Paperlogy (최대 굵기 700)
============================================================ */


/* 공통(리셋·토큰·헤더·폼·모달·푸터)은 base.css */

.section { padding: 96px 0; }
.section-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    color: var(--ink);
}
.section-title-sm { font-size: 22px; font-weight: 700; }
.section-title-sm .count { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 8px; }
.section-lead { margin-top: 12px; text-align: center; color: var(--muted); font-size: 16px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head .section-title { text-align: left; font-size: 26px; }

.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--ink); background: var(--cream); }


.search-bar {
    display: flex;
    align-items: center;
    margin: 32px auto 0;
    max-width: 620px;
    height: 60px;
    padding: 0 8px 0 24px;
    border-radius: 999px;
    background: var(--white);
    border: 2px solid var(--navy);
    box-shadow: 0 12px 32px rgba(28, 31, 38, .12);
    transition: box-shadow .2s;
}
.search-bar:focus-within { box-shadow: 0 12px 36px rgba(28, 31, 38, .2); }
.search-bar input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    background: transparent;
    font-size: 17px;
    color: var(--ink);
}
.search-bar input::placeholder { color: #9AA1AC; }
.search-bar input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-bar button {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--navy);
    transition: background .15s;
}
.search-bar button:hover { background: var(--navy-soft); }
.search-bar-sm { height: 52px; margin: 0 auto; box-shadow: var(--shadow-sm); }
.search-bar-sm input { font-size: 16px; }

/* ============================================================
   Help — 전문가가 필요한 부분만
============================================================ */
.help-section { background: var(--cream); }
.help-section .section-title { line-height: 1.4; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.help-card {
    display: flex; flex-direction: column;
    padding: 28px 26px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid var(--line);
}
.help-eyebrow { font-size: 12.5px; font-weight: 700; color: var(--gold); letter-spacing: .02em; }
.help-card h3 { margin-top: 8px; font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.help-card p { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.help-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: auto; padding-top: 22px;
    font-size: 14px; font-weight: 700; color: var(--navy);
    align-self: flex-start;
}
.help-link::after { content: '›'; font-size: 16px; transition: transform .16s; }
.help-card:hover .help-link::after { transform: translateX(3px); }

/* ============================================================
   CTA 밴드
============================================================ */
.cta-section { padding: 20px 0 96px; }
.cta-band {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 40px 44px;
    border-radius: 22px;
    background: var(--navy);
    color: var(--white);
}
.cta-band h2 { font-size: 25px; font-weight: 700; letter-spacing: -.02em; }
.cta-band p { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .72); }

/* 결과 없음 */
.empty-box {
    padding: 64px 20px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    background: var(--cream);
    text-align: center;
    color: var(--muted);
    font-size: 15px;
}

/* 서브 페이지 칩 행 */
.category-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.chip {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--white);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ============================================================
   Posts
============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card a, .post-row a { display: block; }
.post-card a {
    height: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--white);
    transition: transform .2s, box-shadow .2s;
}
.post-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb {
    aspect-ratio: 16 / 9;
    background: var(--cream);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb.is-blank img.thumb-icon { width: 72px; height: 72px; object-fit: contain; }
.post-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.post-meta { font-size: 12.5px; color: var(--muted); }
.post-meta em { color: var(--navy); font-weight: 600; }
.post-body h3 {
    font-size: 17px; font-weight: 700; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-body p {
    font-size: 14px; color: var(--muted); line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-date { font-size: 12.5px; color: #A2A8B3; margin-top: 4px; }

.post-list { display: flex; flex-direction: column; gap: 14px; }
.post-row a {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--white);
    transition: box-shadow .2s, border-color .2s;
}
.post-row a:hover { box-shadow: var(--shadow); border-color: transparent; }
.post-row .post-thumb { border-radius: 12px; }
.post-row .post-body { padding: 4px 0; justify-content: center; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.page-btn {
    min-width: 40px; height: 40px;
    padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    font-weight: 600;
    color: var(--ink);
    border: 1px solid var(--line);
    background: var(--white);
}
.page-btn:hover { border-color: var(--navy); color: var(--navy); }
.page-btn.is-current { background: var(--navy); color: var(--white); border-color: var(--navy); }

.empty-state {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 64px 20px;
    text-align: center;
    border-radius: var(--radius);
    background: var(--cream);
}
.empty-state img { width: 96px; height: 96px; margin-bottom: 8px; }
.empty-state h3 { font-size: 20px; font-weight: 700; }
.empty-state p { color: var(--muted); }
.empty-state .btn { margin-top: 12px; }

/* ============================================================
   Sub hero / Article
============================================================ */
.sub-hero { background: var(--cream); padding: 48px 0 32px; border-bottom: 1px solid var(--line); }
.sub-hero-inner { display: flex; align-items: center; gap: 20px; margin-bottom: 8px; }
.sub-hero-icon { width: 72px; height: 72px; object-fit: contain; }
.sub-title { font-size: 30px; font-weight: 700; color: var(--navy); }
.sub-lead { color: var(--muted); margin-top: 4px; }

.article { padding: 64px 0 96px; }
.article-wrap { max-width: 820px; }
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 32px; }
.article-menu {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--navy-soft);
    color: var(--navy);
    font-size: 13px; font-weight: 600;
    margin-bottom: 14px;
}
.article-head h1 { font-size: 32px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.article-meta { display: flex; gap: 14px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.article-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.article-link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--beige-light);
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 28px;
}
.article-body { font-size: 16.5px; line-height: 1.85; color: #33363D; }
.article-body h2 { font-size: 24px; font-weight: 700; margin: 40px 0 14px; color: var(--ink); }
.article-body h3 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 16px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body img { border-radius: 12px; margin: 8px 0; }
.article-body blockquote { margin: 20px 0; padding: 16px 20px; border-left: 4px solid var(--beige); background: var(--cream); border-radius: 0 12px 12px 0; }
.article-body a { color: var(--navy); text-decoration: underline; }
.article-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article-body th { background: var(--cream); }
.article-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ============================================================
   CTA
============================================================ */
.cta-section { padding: 0 0 96px; }
.cta-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 48px 56px;
    border-radius: 24px;
    background: linear-gradient(120deg, var(--navy) 0%, #33373F 100%);
    color: var(--white);
    box-shadow: 0 20px 50px rgba(28, 31, 38, .25);
}
.cta-text h2 { font-size: 28px; font-weight: 700; }
.cta-text p { margin-top: 8px; color: rgba(255, 255, 255, .8); font-size: 16px; }

/* ============================================================
   Auth / My page / Forms
============================================================ */
.auth-section { padding: 80px 20px; background: #F2F4F6; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.auth-card {
    width: 100%; max-width: 460px;
    margin: 0 auto;
    padding: 48px 40px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
}
.auth-logo { width: 72px; height: 72px; }
.auth-card h1 { font-size: 26px; font-weight: 700; color: var(--navy); margin-top: 12px; }
.auth-lead { color: var(--muted); margin: 12px 0 28px; font-size: 15px; line-height: 1.6; }
.auth-benefits { display: flex; justify-content: center; gap: 18px; margin-top: 28px; }
.auth-benefits li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.auth-benefits img { width: 44px; height: 44px; }
.auth-note { margin-top: 28px; font-size: 12.5px; color: #A2A8B3; }
.auth-note a { text-decoration: underline; }

.my-wrap { max-width: 640px; }
.my-profile { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.my-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--beige-light); }
.my-profile h1 { font-size: 26px; font-weight: 700; }
.my-meta { display: flex; gap: 12px; color: var(--muted); font-size: 14px; margin-top: 4px; }
.card { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); margin-bottom: 20px; }
.card h2 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.my-danger h2 { color: var(--danger); }


/* ============================================================
   Policies
============================================================ */
.policy-wrap { max-width: 820px; }
.policy-body { margin-top: 28px; line-height: 1.8; color: #33363D; }
.policy-body h2 { font-size: 18px; font-weight: 700; margin: 28px 0 8px; color: var(--ink); }
.policy-date { margin-top: 32px; color: var(--muted); }
.policy-note { color: var(--danger); font-size: 13.5px; }


/* ============================================================
   Hero — 가운데 타이틀 · 메인 메뉴 5칸.
   캐릭터는 레이아웃 흐름에서 빼서(절대 위치) 콘텐츠를 밀지 않는다.
   오른쪽 끝을 콘텐츠 왼쪽(가운데 - 360px)에서 40px 떨어뜨려 둔다.
============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(820px 460px at 20% 72%, rgba(242, 183, 5, .30), transparent 65%),
        radial-gradient(700px 420px at 88% 18%, rgba(28, 31, 38, .07), transparent 60%),
        linear-gradient(180deg, #FAF8F3 0%, #FFFFFF 100%);
}
.hero::after {
    content: '';
    position: absolute; left: -15%; right: -15%; bottom: -160px; z-index: 0;
    height: 230px;
    border-radius: 50%;
    background: var(--white);   /* 바로 아래 체크리스트 섹션(흰 바탕)과 이어진다 */
}
.hero + .check-section { padding-top: 48px; }
.hero-visual {
    position: absolute; z-index: 1; bottom: 44px; right: calc(50% + 400px);
    width: clamp(260px, 24vw, 460px);
    pointer-events: none;
}
.hero-visual::before {
    content: '';
    position: absolute; bottom: -4px; left: 50%;
    width: 60%; height: 34px;
    translate: -50% 0;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(28, 31, 38, .22), transparent);
}
.hero-mascot { position: relative; display: block; width: 100%; animation: hero-float 4.5s ease-in-out infinite; }
@keyframes hero-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -12px; }
}
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-height: clamp(560px, 72vh, 680px); }
.hero-body { width: 100%; max-width: 720px; margin: 0 auto; padding: 56px 0 110px; text-align: center; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    font-size: 13px; font-weight: 600; color: var(--navy);
}
.hero-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero-title {
    margin-top: 18px;
    font-size: clamp(28px, 3.3vw, 42px);
    font-weight: 500; line-height: 1.3; letter-spacing: -.035em;
    color: var(--ink);
}
.hero-title strong { font-weight: 800; color: var(--navy); }
.hero-lead { margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.hero .svc-tabs { margin: 36px auto 0; max-width: 720px; gap: 14px; }

/* 옆자리가 모자라면 캐릭터를 타이틀 위로 올린다 */
@media (max-width: 1280px) {
    .hero-visual { position: relative; right: auto; bottom: auto; width: 220px; margin: 28px auto 0; }
    .hero-inner { min-height: 0; }
    .hero-body { padding-top: 12px; }
}
@media (max-width: 768px) {
    .hero-visual { width: 160px; margin-top: 20px; }
    .hero-visual::before { height: 20px; bottom: 0; }
    .hero-body { padding: 8px 0 76px; }
    .hero-title { font-size: 25px; }
    .hero-lead { font-size: 14.5px; }
    .hero-lead br { display: none; }
    .hero + .check-section { padding-top: 28px; }
}

/* 메뉴 3칸 */
.hero .svc-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 540px; }
.hero .svc-tab > a { background: var(--white); border-color: #ECE8DF; box-shadow: 0 8px 22px -14px rgba(28, 31, 38, .3); }
.hero .svc-tab > a:hover { border-color: var(--beige); }

/* ============================================================
   Service pages — /policy-fund /marketing /website
   구성: 히어로 → Point → 사진 배너 → Service → Partner → 추천 대상 → FAQ
============================================================ */
:root { --point: #9A7300; }
.svc-section { padding: 120px 0; }
.svc-tag {
    display: inline-flex; align-items: center;
    height: 40px; padding: 0 18px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    font-size: 18px; font-weight: 500; color: var(--ink);
}
.svc-title {
    margin-top: 26px;
    font-size: clamp(28px, 3.6vw, 48px);
    font-weight: 700; line-height: 1.3; letter-spacing: -.04em;
    color: var(--ink);
}
.svc-title em, .svc-hero-title em { color: var(--point); }
.svc-title.is-center { margin-top: 0; text-align: center; }
.svc-lead { margin-top: 18px; font-size: 18px; line-height: 1.65; color: var(--muted); }

/* 히어로 — 큰 타이틀, 떠 있는 원형 아이콘, 흐린 색 번짐 */
.svc-hero { position: relative; overflow: hidden; padding: 96px 0 140px; text-align: center; }
.svc-blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.svc-blob-a { width: 560px; height: 560px; left: -140px; top: 200px; background: rgba(28, 31, 38, .20); }
.svc-blob-b { width: 640px; height: 640px; right: -160px; top: 20px; background: rgba(242, 183, 5, .40); }
.svc-hero-inner { position: relative; z-index: 1; }
.svc-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid var(--line);
    font-size: 14px; font-weight: 600; color: var(--navy);
}
.svc-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.svc-hero-title {
    margin-top: 24px;
    font-size: clamp(32px, 5vw, 66px);
    font-weight: 800; line-height: 1.24; letter-spacing: -.045em;
    color: var(--ink);
}
.svc-hero-lead { max-width: 680px; margin: 24px auto 0; font-size: 18px; line-height: 1.7; color: #555B66; }
.svc-hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.svc-pill {
    display: inline-flex; align-items: center; gap: 14px;
    height: 64px; padding: 0 30px 0 8px;
    border-radius: 999px;
    background: var(--navy); color: var(--white);
    font-size: 18px; font-weight: 700;
    box-shadow: 0 14px 30px rgba(28, 31, 38, .25);
    transition: transform .16s, box-shadow .16s;
}
.svc-pill:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(28, 31, 38, .3); }
.svc-pill-arrow {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--white); color: var(--navy);
}
.svc-pill-ghost { padding: 0 30px; background: var(--white); color: var(--navy); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.svc-bubble {
    position: absolute; z-index: 2;
    width: 160px; height: 160px;
    pointer-events: none;
    animation: bubble-float 6s ease-in-out infinite;
}
.svc-bubble img { width: 100%; height: 100%; object-fit: contain; }
.svc-bubble-l { left: 1%; top: -10px; }
.svc-bubble-r { right: 1%; top: 210px; animation-delay: -3s; }
@keyframes bubble-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -14px; }
}

/* Point — 위: 태그·타이틀(왼쪽) + 설명(오른쪽 아래 정렬), 아래: 카드 3장 */
.svc-points-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "tag tag" "title lead";
    align-items: end;
    column-gap: 40px;
    margin-bottom: 48px;
}
.svc-points-head .svc-tag { grid-area: tag; justify-self: start; }
.svc-points-title { grid-area: title; margin-top: 26px; font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; line-height: 1.28; letter-spacing: -.045em; }
.svc-points-title em { color: var(--point); }
.svc-points-head p { grid-area: lead; padding-bottom: 8px; font-size: 17px; line-height: 1.65; color: var(--muted); text-align: right; }
.svc-point-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-point {
    display: flex; flex-direction: column; align-items: center;
    padding: 40px 26px 36px;
    border-radius: 28px;
    background: var(--white);
    border: 1px solid #EEF0F3;
    box-shadow: 0 10px 40px rgba(28, 31, 38, .08);
    text-align: center;
}
.svc-point-label { padding: 6px 14px; border-radius: 999px; background: var(--beige-light); color: #8A6414; font-size: 13px; font-weight: 700; }
.svc-point-value { margin-top: 18px; font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; color: var(--navy); }
.svc-point h3 { margin-top: 16px; font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.svc-point p { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* 사진 배너 — 흰 글씨 + 붓 터치 강조 */
.svc-banner {
    position: relative;
    display: flex; align-items: center;
    min-height: 520px;
    background: var(--navy-dark) var(--bg) center / cover no-repeat;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}
.svc-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 19, 23, .35) 0%, rgba(17, 19, 23, .75) 100%); }
.svc-banner .wrap { position: relative; }
.svc-banner-text { font-size: clamp(26px, 4vw, 52px); font-weight: 800; line-height: 1.5; letter-spacing: -.04em; }
.svc-brush { position: relative; z-index: 0; display: inline-block; padding: 0 .2em; }
.svc-brush::before {
    content: '';
    position: absolute; left: -.25em; right: -.25em; top: 22%; bottom: 4%; z-index: -1;
    border-radius: 8px 26px 10px 30px;
    background: var(--gold);
    opacity: .92;
    transform: rotate(-1.2deg) skewX(-10deg);
}

/* Service — 설명 + 클레이 일러스트 행 */
.svc-feature-list { display: grid; gap: 18px; margin-top: 56px; }
.svc-feature {
    display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: 32px;
    padding: 36px 48px;
    border-radius: 28px;
    background: #F7F8F9;
    border: 1px solid #EEF0F3;
    transition: background .2s, box-shadow .2s;
}
.svc-feature:hover { background: var(--white); box-shadow: var(--shadow); }
.svc-feature img { width: 200px; justify-self: end; }
.svc-feature-label { font-size: 18px; font-weight: 700; color: var(--point); }
.svc-feature h3 { margin-top: 12px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.04em; }
.svc-feature p { margin-top: 12px; font-size: 17px; line-height: 1.7; color: var(--muted); }

/* Partner — 제휴 서비스 소개 + 바로가기 */
.svc-partner-section { background: var(--cream); }
.svc-partner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; margin-top: 48px; }
.svc-partner-main {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 44px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--navy) 0%, #33373F 100%);
    color: var(--white);
}
.svc-partner-main::after {
    content: '';
    position: absolute; right: -80px; bottom: -80px;
    width: 260px; height: 260px;
    border-radius: 50%;
    border: 40px solid rgba(242, 183, 5, .14);
}
.svc-partner-kicker { font-size: 14px; font-weight: 600; color: var(--beige); }
.svc-partner-main h3 { margin-top: 10px; font-size: 36px; font-weight: 800; letter-spacing: -.04em; }
.svc-partner-copy { margin-top: 8px; font-size: 18px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.svc-partner-desc { margin-top: 18px; font-size: 15.5px; line-height: 1.75; color: rgba(255, 255, 255, .72); }
.svc-partner-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 32px; }
.svc-partner-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc-partner-list li { padding: 26px 24px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.svc-partner-list strong { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.03em; }
.svc-partner-list span { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.svc-partner-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* Price — 웹사이트 제작 상품 */
.svc-price-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.svc-price { display: flex; flex-direction: column; padding: 30px 26px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
.svc-price.is-best { border: 2px solid var(--navy); box-shadow: var(--shadow); }
.svc-price-name { font-size: 15px; font-weight: 700; color: var(--point); }
.svc-price-amount { margin-top: 12px; font-size: 30px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.svc-price-amount small { margin-left: 2px; font-size: 16px; font-weight: 600; color: var(--muted); }
.svc-price-period { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.svc-price ul { display: grid; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.svc-price li { position: relative; padding-left: 16px; font-size: 14.5px; color: #4A4F59; }
.svc-price li::before { content: ''; position: absolute; left: 2px; top: .58em; width: 6px; height: 6px; border-radius: 50%; background: var(--beige); }
.svc-price-foot { margin: 14px 0 40px; font-size: 13.5px; color: var(--muted); }
.svc-benefit { padding: 36px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); }
.svc-benefit strong { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.svc-benefit ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.svc-benefit li { padding: 9px 14px; border-radius: 999px; background: var(--beige-light); font-size: 14px; font-weight: 600; color: #7A5A10; }

/* 이런 사장님께 — 2x2 카드 */
.svc-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.svc-case {
    display: flex; flex-direction: column; align-items: center;
    padding: 44px 24px;
    border-radius: 28px;
    background: #F7F8F9;
    border: 1px solid #EEF0F3;
    text-align: center;
}
.svc-case img { width: 104px; height: 104px; object-fit: contain; }
.svc-case-label { margin-top: 18px; font-size: 18px; font-weight: 700; color: var(--point); }
.svc-case strong { margin-top: 10px; font-size: clamp(21px, 2.3vw, 29px); font-weight: 800; line-height: 1.4; letter-spacing: -.04em; }

/* FAQ — details 아코디언 */
.svc-faq { display: grid; gap: 14px; margin-top: 48px; }
.svc-faq-item { border: 1px solid #E2E5EA; border-radius: 16px; background: var(--white); transition: border-color .15s, box-shadow .15s; }
.svc-faq-item[open] { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.svc-faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 26px 28px;
    list-style: none; cursor: pointer;
    font-size: 19px; font-weight: 700; letter-spacing: -.03em;
}
.svc-faq-item summary::-webkit-details-marker { display: none; }
.svc-faq-item summary::after {
    content: '';
    flex: none;
    width: 9px; height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    transition: transform .2s;
}
.svc-faq-item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.svc-faq-item p { padding: 0 28px 26px; font-size: 16px; line-height: 1.75; color: #555B66; }
.svc-faq-item p a { color: var(--point); text-decoration: underline; }

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 1024px) {
    .help-grid { grid-template-columns: 1fr; }
    .post-grid { grid-template-columns: repeat(2, 1fr); }

    .svc-bubble { width: 120px; height: 120px; }
    .svc-bubble-r { top: 250px; }
    .svc-points-head { grid-template-columns: 1fr; grid-template-areas: "tag" "title" "lead"; margin-bottom: 32px; }
    .svc-points-head p { margin-top: 14px; padding-bottom: 0; text-align: left; }
    .svc-point-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .svc-partner { grid-template-columns: 1fr; }
    .svc-price-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    body { font-size: 14.5px; }
    .section { padding: 64px 0; }
    .section-title { font-size: 24px; }
    .search-bar { height: 52px; }

    .help-grid { gap: 12px; }
    .post-grid { grid-template-columns: 1fr; gap: 16px; }
    .cta-section { padding-bottom: 64px; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
    .cta-band h2 { font-size: 20px; }

    .svc-section { padding: 72px 0; }
    .svc-tag { height: 34px; padding: 0 14px; font-size: 15px; }
    .svc-title { margin-top: 18px; }
    .svc-lead { font-size: 15.5px; }
    .svc-lead br, .svc-hero-lead br, .svc-feature p br { display: none; }

    .svc-hero { padding: 40px 0 72px; }
    .svc-eyebrow { display: flex; width: fit-content; margin: 0 auto; }
    .svc-blob-a { width: 320px; height: 320px; top: 260px; }
    .svc-blob-b { width: 360px; height: 360px; }
    .svc-bubble { position: relative; left: auto; right: auto; top: auto; display: inline-block; width: 84px; height: 84px; margin: 0 10px 12px; }
    .svc-hero-title { margin-top: 12px; font-size: 30px; }
    .svc-hero-lead { font-size: 15.5px; }
    .svc-hero-cta { flex-direction: column; align-items: stretch; }
    .svc-pill { justify-content: center; height: 58px; padding-right: 22px; font-size: 16px; }
    .svc-pill-arrow { width: 42px; height: 42px; }
    .svc-pill:not(.svc-pill-ghost) { padding-right: 58px; }

    .svc-point-list { grid-template-columns: 1fr; }
    .svc-point { padding: 30px 22px 28px; }
    .svc-banner { min-height: 340px; }
    .svc-feature-list { margin-top: 36px; gap: 12px; }
    .svc-feature { grid-template-columns: 1fr; gap: 12px; padding: 28px 24px; }
    .svc-feature img { order: -1; justify-self: start; width: 112px; }
    .svc-feature p { font-size: 15px; }
    .svc-partner-main { padding: 32px 26px; }
    .svc-partner-main h3 { font-size: 28px; }
    .svc-partner-list { grid-template-columns: 1fr; }
    .svc-price-list { grid-template-columns: 1fr; }
    .svc-benefit { padding: 26px 22px; }
    .svc-cases { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
    .svc-case { padding: 30px 20px; }
    .svc-case img { width: 80px; height: 80px; }
    .svc-faq { margin-top: 32px; }
    .svc-faq-item summary { padding: 20px; font-size: 16px; }
    .svc-faq-item p { padding: 0 20px 20px; font-size: 14.5px; }
}

/* ============================================================
   Service themes — 제휴 브랜드마다 색 · 레이아웃을 다르게
   <main class="page svc-page theme-xxx"> 로 켠다.
   website     : 넥스트데브 — 블랙 + 일렉트릭 블루, 실제 사이트 화면
   marketing   : 애드스퀘어 — 로고 그라데이션, 채널 보드 목업 + 벤토
   policy-fund : 모두의지원금 — 파란 밴드 위에 겹친 화면 카드(포털형)
   payroll     : 세무법인 다오 — 네이비 · 골드, 서류 · 달력 · 단계
============================================================ */
.svc-page {
    --svc-brand: var(--navy);
    --svc-brand-2: #33373F;
    --svc-accent: var(--gold);
    --svc-soft: var(--beige-light);
    --svc-soft-ink: #8A6414;
    --svc-kicker: var(--beige);
    --svc-shadow: rgba(28, 31, 38, .25);
}
.svc-page .svc-eyebrow::before { background: var(--svc-accent); }
.svc-page .svc-pill { background: var(--svc-brand); box-shadow: 0 14px 30px var(--svc-shadow); }
.svc-page .svc-pill:hover { box-shadow: 0 18px 36px var(--svc-shadow); }
.svc-page .svc-pill-arrow { color: var(--svc-brand); }
.svc-page .svc-pill-ghost { background: var(--white); color: var(--svc-brand); box-shadow: var(--shadow-sm); }
.svc-page .svc-point-label,
.svc-page .svc-benefit li { background: var(--svc-soft); color: var(--svc-soft-ink); }
.svc-page .svc-point-value { color: var(--svc-brand); }
.svc-page .svc-brush::before { background: var(--svc-accent); }
.svc-page .svc-partner-main { background: linear-gradient(135deg, var(--svc-brand) 0%, var(--svc-brand-2) 100%); }
.svc-page .svc-partner-kicker { color: var(--svc-kicker); }
.svc-page .svc-partner-main .btn-light { color: var(--svc-brand); }
.svc-page .svc-faq-item[open] { border-color: var(--svc-brand); }
.svc-page .svc-tool a:hover { border-color: var(--svc-brand); }
.svc-partner-logo { position: absolute; right: 36px; top: 36px; width: 64px; height: auto; }

/* 스플릿 히어로 — 왼쪽 글, 오른쪽 제품 화면 */
.svc-hero--split { padding: 88px 0 120px; text-align: left; }
.svc-hero--split .svc-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 56px; }
.svc-hero--split .svc-hero-title { font-size: clamp(32px, 4vw, 54px); }
.svc-hero--split .svc-hero-lead { margin-left: 0; }
.svc-hero--split .svc-hero-cta { justify-content: flex-start; }
.svc-hero-copy { min-width: 0; }
.svc-hero-visual { position: relative; min-width: 0; }

/* 브라우저 · 휴대폰 프레임 — 실제 화면 캡처를 담는다 */
.svc-frame { overflow: hidden; margin: 0; border-radius: 16px; background: var(--white); border: 1px solid rgba(15, 23, 42, .08); box-shadow: 0 30px 70px rgba(15, 23, 42, .18); }
.svc-frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #F1F3F6; border-bottom: 1px solid #E5E8EC; }
.svc-frame-bar i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #D5D9DF; }
.svc-frame-bar i:nth-child(1) { background: #FF5F57; }
.svc-frame-bar i:nth-child(2) { background: #FEBC2E; }
.svc-frame-bar i:nth-child(3) { background: #28C840; }
.svc-frame-bar span {
    flex: 1; min-width: 0; max-width: 280px; margin: 0 auto;
    height: 20px; border-radius: 6px; background: var(--white);
    font-size: 11px; line-height: 20px; color: #8A93A0; text-align: center;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.svc-frame img { display: block; width: 100%; }
.svc-phone { position: absolute; right: -3%; bottom: -12%; width: 27%; margin: 0; padding: 7px; border-radius: 30px; background: #0E1016; box-shadow: 0 24px 50px rgba(0, 0, 0, .3); }
.svc-phone img { display: block; width: 100%; border-radius: 23px; }
.svc-shot-caption { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.svc-mock-note {
    position: absolute; left: 14px; bottom: 14px; z-index: 3;
    padding: 4px 10px; border-radius: 999px;
    background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm);
    font-size: 11.5px; font-weight: 600; color: #6B7280;
}

/* 지그재그 기능 소개 — 화면(왼쪽/오른쪽 번갈아) + 설명 */
.svc-zig { display: grid; gap: 32px; margin-top: 56px; }
.svc-zig-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.svc-zig-item:nth-child(even) .svc-zig-media { order: 2; }
.svc-zig-media {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 4 / 3;
    border-radius: 28px;
    background: var(--svc-soft);
}
.svc-zig-media > img { width: 100%; height: 100%; object-fit: cover; }
.svc-zig-media.is-contain > img { object-fit: contain; padding: 6%; }
.svc-zig-body h3 { margin-top: 12px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; line-height: 1.3; letter-spacing: -.04em; }
.svc-zig-body p { margin-top: 14px; font-size: 17px; line-height: 1.75; color: var(--muted); }

/* 벤토 그리드 — 큰 칸 1 + 작은 칸 2 */
.svc-bento { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; margin-top: 56px; }
.svc-bento-item {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    padding: 36px 36px 0;
    border-radius: 28px;
    background: var(--tile, #F5F6FA);
}
.svc-bento-item.is-tall { grid-row: span 2; }
.svc-bento-item .svc-feature-label { font-size: 16px; color: var(--tile-ink, var(--point)); }
.svc-bento-item h3 { margin-top: 10px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.04em; }
.svc-bento-item p { margin-top: 10px; font-size: 16px; line-height: 1.7; color: #5B6270; }
.svc-bento-item img { align-self: flex-end; width: 150px; margin-top: auto; padding-top: 12px; }
.svc-bento-item.is-tall img { width: 270px; }

/* ---------- website · 넥스트데브 ---------- */
.theme-nextdev {
    --svc-brand: #2F6BFF;
    --svc-brand-2: #0B1640;
    --svc-accent: #2F6BFF;
    --svc-soft: #EAF1FF;
    --svc-soft-ink: #1F57E0;
    --svc-kicker: #8DB8FF;
    --svc-shadow: rgba(47, 107, 255, .35);
    --point: #2F6BFF;
}
.theme-nextdev .svc-hero {
    background:
        radial-gradient(900px 520px at 88% 8%, rgba(0, 72, 248, .55), transparent 62%),
        radial-gradient(700px 500px at 0% 100%, rgba(77, 143, 255, .20), transparent 60%),
        #050408;
    color: var(--white);
}
.theme-nextdev .svc-hero .svc-eyebrow { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #CFE0FF; }
.theme-nextdev .svc-hero .svc-eyebrow::before { background: #4FC3F7; }
.theme-nextdev .svc-hero-title { color: var(--white); }
.theme-nextdev .svc-hero-title em {
    color: var(--white);
    background: linear-gradient(transparent 64%, rgba(79, 195, 247, .55) 64%);
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.theme-nextdev .svc-hero-lead { color: rgba(255, 255, 255, .72); }
.theme-nextdev .svc-pill { background: linear-gradient(90deg, #4FC3F7 0%, #4D8FFF 55%, #2F6BFF 100%); }
.theme-nextdev .svc-hero .svc-frame { border-color: rgba(255, 255, 255, .12); box-shadow: 0 40px 90px rgba(0, 40, 160, .5); }
.theme-nextdev .svc-hero .svc-phone { background: #1A1D26; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }

.svc-section.is-dark { background: #0A0B14; color: var(--white); }
.svc-section.is-dark .svc-tag { border-color: rgba(255, 255, 255, .4); color: var(--white); }
.svc-section.is-dark .svc-points-title { color: var(--white); }
.svc-section.is-dark .svc-points-title em { color: #7FB2FF; }
.svc-section.is-dark .svc-points-head p { color: rgba(255, 255, 255, .6); }
.svc-section.is-dark .svc-point { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); box-shadow: none; }
.svc-section.is-dark .svc-point-label { background: rgba(77, 143, 255, .16); color: #9CC2FF; }
.svc-section.is-dark .svc-point-value { background: linear-gradient(90deg, #FFFFFF 0%, #8DB8FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-section.is-dark .svc-point h3 { color: var(--white); }
.svc-section.is-dark .svc-point p { color: rgba(255, 255, 255, .6); }
.nd-process { max-width: 820px; margin: 64px auto 0; }
.nd-process img { display: block; width: 100%; }

.theme-nextdev .svc-banner::before { background: linear-gradient(180deg, rgba(5, 4, 8, .4) 0%, rgba(0, 38, 140, .8) 100%); }
.theme-nextdev .svc-brush::before { background: #2F6BFF; }
.nd-media-dark { background: radial-gradient(420px 300px at 70% 20%, rgba(0, 72, 248, .45), transparent 70%), #070A18; }
.nd-media-soft { background: linear-gradient(160deg, #F1F6FF 0%, #DCE8FF 100%); }
.theme-nextdev .svc-partner-section { background: #F4F7FF; }
.theme-nextdev .svc-partner-main { background: radial-gradient(460px 320px at 100% 0%, rgba(0, 72, 248, .62), transparent 70%), #050408; }
.theme-nextdev .svc-partner-main::after { border-color: rgba(77, 143, 255, .18); }
.theme-nextdev .svc-partner-logo { width: 116px; top: 44px; right: 40px; }
.nd-showcase { margin: 0 0 48px; }
.theme-nextdev .svc-case { background: #F4F7FF; border-color: #E3EBFF; }

/* 예약 · 검색 목업 (넥스트데브 색) */
.mock-phone { width: 46%; max-width: 230px; padding: 7px; border-radius: 30px; background: #0B0F1E; box-shadow: 0 24px 50px rgba(20, 50, 140, .25); }
.mock-screen { display: flex; flex-direction: column; gap: 10px; padding: 18px 14px; border-radius: 24px; background: var(--white); }
.mock-h { font-size: 14px; font-weight: 800; color: #111827; }
.mock-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.mock-days i, .mock-slots i { font-style: normal; }
.mock-days i { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 8px; background: #F1F4FA; font-size: 10px; color: #6B7280; }
.mock-days i.on { background: var(--svc-brand); color: var(--white); font-weight: 700; }
.mock-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mock-slots i { padding: 7px 0; border-radius: 8px; border: 1px solid #E3E8F2; font-size: 11px; text-align: center; color: #374151; }
.mock-slots i.on { border-color: var(--svc-brand); background: #EEF3FF; color: var(--svc-brand); font-weight: 700; }
.mock-line { display: block; height: 8px; border-radius: 4px; background: #EEF1F6; }
.mock-btn { margin-top: 4px; padding: 10px 0; border-radius: 10px; background: var(--svc-brand); color: var(--white); font-size: 12px; font-weight: 700; text-align: center; }
.mock-search { display: flex; flex-direction: column; gap: 10px; width: 80%; }
.mock-search-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    height: 48px; padding: 0 7px 0 18px;
    border-radius: 999px; border: 2px solid var(--svc-brand); background: var(--white);
    box-shadow: 0 10px 24px rgba(47, 107, 255, .15);
    font-size: 14px; font-weight: 600; color: #111827;
}
.mock-search-bar i { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--svc-brand); color: var(--white); }
.mock-result { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 14px; background: var(--white); }
.mock-result small { font-size: 11px; color: #15803D; }
.mock-result b { font-size: 14px; font-weight: 800; color: var(--svc-brand); }
.mock-result.is-top { border: 1.5px solid var(--svc-brand); box-shadow: 0 12px 28px rgba(47, 107, 255, .18); }
.mock-result:not(.is-top) { opacity: .55; }

/* ---------- marketing · 애드스퀘어 ---------- */
.theme-adsquare {
    --svc-brand: #2350FF;
    --svc-brand-2: #6A3DFF;
    --svc-accent: #FF5E7A;
    --svc-soft: #EEF1FF;
    --svc-soft-ink: #2350FF;
    --svc-kicker: #C9D4FF;
    --svc-shadow: rgba(35, 80, 255, .3);
    --point: #2350FF;
    --adsq-grad: linear-gradient(100deg, #7B5CFF 0%, #2F80FF 30%, #19C9B4 52%, #FF6B7A 76%, #FFB547 100%);
    --adsq-grad-text: linear-gradient(100deg, #6A3DFF 0%, #2350FF 45%, #FF5E7A 100%);
}
.theme-adsquare .svc-hero { background: #FBFBFF; }
.theme-adsquare .svc-blob-a { background: rgba(123, 92, 255, .22); }
.theme-adsquare .svc-blob-b { background: rgba(255, 107, 122, .18); }
.theme-adsquare .svc-hero-title em,
.theme-adsquare .svc-points-title em,
.theme-adsquare .svc-title em { background: var(--adsq-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.adsq-hero-wordmark { display: block; width: 168px; margin-bottom: 22px; }
.adsq-board {
    position: relative;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(35, 80, 255, .08);
    box-shadow: 0 30px 70px rgba(35, 80, 255, .14);
    backdrop-filter: blur(6px);
}
.adsq-board-mark { position: absolute; right: -24px; top: -44px; z-index: 2; width: 96px; filter: drop-shadow(0 16px 24px rgba(106, 61, 255, .25)); animation: bubble-float 6s ease-in-out infinite; }
.adsq-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; border-radius: 18px; background: var(--white); box-shadow: 0 6px 18px rgba(25, 31, 40, .06); }
.adsq-card-head { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; }
.adsq-card-head b { font-weight: 800; color: #191F28; white-space: nowrap; }
.adsq-card-head em { margin-left: auto; overflow: hidden; font-size: 11px; color: #8B95A1; white-space: nowrap; text-overflow: ellipsis; }
.adsq-dot { flex: none; width: 22px; height: 22px; border-radius: 7px; }
.adsq-dot.is-place { background: #03C75A; }
.adsq-dot.is-insta { background: linear-gradient(135deg, #FEDA75 0%, #FA7E1E 30%, #D62976 60%, #962FBF 80%, #4F5BD5 100%); }
.adsq-dot.is-search { background: #2350FF; }
.adsq-dot.is-report { background: linear-gradient(135deg, #7B5CFF, #FF5E7A); }
.adsq-place { display: flex; gap: 12px; align-items: center; }
.adsq-thumb { flex: none; width: 58px; height: 58px; border-radius: 12px; background: linear-gradient(135deg, #FFD3A5 0%, #FD6585 100%); }
.adsq-lines { display: grid; flex: 1; gap: 7px; }
.adsq-lines i { display: block; height: 8px; border-radius: 4px; background: #EEF0F4; }
.adsq-lines i:first-child { background: #D9DEE7; }
.adsq-review { display: flex; gap: 10px; align-items: center; padding-top: 10px; border-top: 1px solid #F1F2F5; }
.adsq-avatar { flex: none; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #B9A6FF, #7B5CFF); }
.adsq-avatar.is-alt { background: linear-gradient(135deg, #A6F0E6, #19C9B4); }
.adsq-board + .svc-mock-note { left: 22px; bottom: -34px; }
.adsq-feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.adsq-feed i { aspect-ratio: 1; border-radius: 8px; }
.adsq-feed i:nth-child(1) { background: linear-gradient(135deg, #7B5CFF, #B9A6FF); }
.adsq-feed i:nth-child(2) { background: linear-gradient(135deg, #FFB547, #FFE0A8); }
.adsq-feed i:nth-child(3) { background: linear-gradient(135deg, #19C9B4, #A6F0E6); }
.adsq-feed i:nth-child(4) { background: linear-gradient(135deg, #FF6B7A, #FFC2C9); }
.adsq-feed i:nth-child(5) { background: linear-gradient(135deg, #2F80FF, #A9CAFF); }
.adsq-feed i:nth-child(6) { background: linear-gradient(135deg, #F2F3F7, #DADDE5); }
.adsq-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.adsq-chips span { padding: 6px 10px; border-radius: 999px; background: #EEF1FF; font-size: 11.5px; font-weight: 700; color: #2350FF; white-space: nowrap; }
.adsq-chips span:nth-child(2) { background: #E6FAF6; color: #0E8F7C; }
.adsq-chips span:nth-child(3) { background: #FFEEF0; color: #D63D57; }
.adsq-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.adsq-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #6A3DFF 0%, #2350FF 100%); }
.adsq-bars i:last-child { background: linear-gradient(180deg, #FF6B7A 0%, #FFB547 100%); }

.theme-adsquare .svc-point { position: relative; overflow: hidden; }
.theme-adsquare .svc-point::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--adsq-grad); }
.theme-adsquare .svc-point-value { background: var(--adsq-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-adsquare .svc-banner::before { background: linear-gradient(135deg, rgba(35, 80, 255, .78) 0%, rgba(106, 61, 255, .6) 55%, rgba(255, 94, 122, .55) 100%); }
.svc-bento-item.is-violet { --tile: #F1EDFF; --tile-ink: #6A3DFF; }
.svc-bento-item.is-teal { --tile: #E3F8F4; --tile-ink: #0B8A78; }
.svc-bento-item.is-coral { --tile: #FFEEF0; --tile-ink: #D63D57; }
.theme-adsquare .svc-partner-section { background: #F6F7FF; }
.theme-adsquare .svc-partner-main { background: radial-gradient(360px 260px at 100% 0%, rgba(255, 94, 122, .45), transparent 70%), linear-gradient(135deg, #2350FF 0%, #6A3DFF 100%); }
.theme-adsquare .svc-partner-main::after { border-color: rgba(255, 255, 255, .12); }
.theme-adsquare .svc-partner-list li { position: relative; overflow: hidden; }
.theme-adsquare .svc-partner-list li::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--adsq-grad); }
.theme-adsquare .svc-case:nth-child(1) { background: #F1EDFF; border-color: transparent; }
.theme-adsquare .svc-case:nth-child(2) { background: #E3F8F4; border-color: transparent; }
.theme-adsquare .svc-case:nth-child(3) { background: #FFEEF0; border-color: transparent; }
.theme-adsquare .svc-case:nth-child(4) { background: #FFF4E3; border-color: transparent; }

/* ---------- policy-fund · 모두의지원금 ---------- */
.theme-modo {
    --svc-brand: #0062FF;
    --svc-brand-2: #0048C8;
    --svc-accent: #3D8BFF;
    --svc-soft: #EAF2FF;
    --svc-soft-ink: #0052D6;
    --svc-kicker: #BFD6FF;
    --svc-shadow: rgba(0, 98, 255, .3);
    --point: #0062FF;
}
.theme-modo .svc-hero { padding: 0 0 100px; background: #F3F6FC; }
.modo-band {
    position: relative; overflow: hidden;
    padding: 64px 0 230px;
    background:
        radial-gradient(600px 300px at 15% 0%, rgba(255, 255, 255, .18), transparent 70%),
        linear-gradient(165deg, #5D88EF 0%, #3F73EC 55%, #0062FF 100%);
    color: var(--white);
}
.modo-band-logo { display: block; width: 210px; margin: 0 auto 22px; }
.theme-modo .modo-band .svc-eyebrow { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); color: var(--white); }
.theme-modo .modo-band .svc-eyebrow::before { background: var(--white); }
.theme-modo .modo-band .svc-hero-title { color: var(--white); }
.theme-modo .modo-band .svc-hero-title em {
    color: var(--white);
    background: linear-gradient(transparent 64%, rgba(255, 255, 255, .28) 64%);
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.theme-modo .modo-band .svc-hero-lead { color: rgba(255, 255, 255, .88); }
.theme-modo .modo-band .svc-pill { background: var(--white); color: var(--svc-brand); box-shadow: 0 16px 34px rgba(0, 40, 150, .28); }
.theme-modo .modo-band .svc-pill-arrow { background: var(--svc-brand); color: var(--white); }
.modo-stage { position: relative; z-index: 2; margin-top: -180px; }
.modo-stage-card { position: relative; max-width: 1000px; margin: 0 auto; padding: 18px; border-radius: 32px; background: var(--white); box-shadow: 0 30px 80px rgba(0, 60, 180, .16); }
.modo-stage-card .svc-frame { border-color: #E6EBF5; box-shadow: none; }
.modo-stage-card .svc-phone { right: -4%; bottom: -10%; width: 21%; }
.theme-modo .svc-point { border-top: 4px solid var(--svc-brand); }
.theme-modo .svc-banner::before { background: linear-gradient(180deg, rgba(0, 40, 130, .35) 0%, rgba(0, 72, 200, .82) 100%); }
.theme-modo .svc-zig-media { background: #EAF2FF; }
.theme-modo .svc-partner-section { background: #F3F6FC; }
.theme-modo .svc-partner-logo { width: 150px; top: 44px; }
.theme-modo .svc-partner-list li { border-left: 4px solid var(--svc-brand); }
.theme-modo .svc-case { background: #F3F7FF; border-color: #E2EBFB; }

/* ---------- payroll · 세무법인 다오 ---------- */
.theme-dao .svc-hero {
    background-color: #FBF8F2;
    background-image:
        repeating-linear-gradient(0deg, rgba(28, 31, 38, .045) 0 1px, transparent 1px 36px),
        linear-gradient(180deg, #FBF8F1 0%, #FFFFFF 100%);
}
.theme-dao .svc-hero-title em {
    color: var(--navy);
    background: linear-gradient(transparent 66%, rgba(185, 154, 91, .35) 66%);
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.dao-chip {
    position: absolute; z-index: 2;
    display: flex; flex-direction: column; gap: 2px;
    padding: 14px 20px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 16px 36px rgba(28, 31, 38, .14);
    animation: bubble-float 6s ease-in-out infinite;
}
.dao-chip small { font-size: 12px; font-weight: 700; color: var(--gold); }
.dao-chip b { font-size: 20px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.dao-chip-a { left: -32px; bottom: 12%; }
.dao-chip-b { right: -20px; top: -26px; animation-delay: -3s; }
/* Point — 달력 한 장처럼: 위 네이비 띠 + 골드 고리 */
.theme-dao .svc-point { position: relative; overflow: hidden; padding-top: 78px; border-radius: 22px; }
.theme-dao .svc-point-label {
    position: absolute; left: 0; right: 0; top: 0;
    height: 46px; padding: 0;
    border-radius: 0;
    background: var(--navy); color: var(--white);
    font-size: 14px; line-height: 46px; letter-spacing: .02em;
}
.theme-dao .svc-point::before,
.theme-dao .svc-point::after { content: ''; position: absolute; z-index: 1; top: -6px; width: 12px; height: 22px; border-radius: 6px; background: var(--gold); }
.theme-dao .svc-point::before { left: 26%; }
.theme-dao .svc-point::after { right: 26%; }
/* Service — 번호 단계 */
.dao-steps { position: relative; display: grid; gap: 18px; margin-top: 56px; }
.dao-steps::before { content: ''; position: absolute; left: 31px; top: 48px; bottom: 48px; width: 2px; background: repeating-linear-gradient(180deg, var(--beige) 0 8px, transparent 8px 14px); }
.dao-step { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 28px; }
.dao-step-no {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--navy); color: var(--white);
    font-size: 20px; font-weight: 800;
    box-shadow: 0 0 0 8px var(--white);
}
.dao-step-card {
    display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: center; gap: 24px;
    padding: 30px 40px;
    border-radius: 24px;
    background: var(--cream);
    border: 1px solid #EFE9DE;
}
.dao-step-card img { width: 140px; justify-self: end; }
.dao-step-card h3 { margin-top: 10px; font-size: clamp(22px, 2.3vw, 28px); font-weight: 800; letter-spacing: -.04em; }
.dao-step-card p { margin-top: 10px; font-size: 16.5px; line-height: 1.7; color: var(--muted); }

@media (max-width: 1024px) {
    .svc-hero--split .svc-hero-inner { grid-template-columns: 1fr; gap: 56px; }
    .svc-hero-visual { width: 100%; max-width: 640px; margin: 0 auto; }
    .svc-zig-item { grid-template-columns: 1fr; gap: 24px; }
    .svc-zig-item .svc-zig-media,
    .svc-zig-item:nth-child(even) .svc-zig-media { order: -1; }
    .svc-bento { grid-template-columns: 1fr; }
    .svc-bento-item.is-tall { grid-row: auto; }
    .svc-bento-item.is-tall img { width: 190px; }
    .modo-stage { margin-top: -150px; }
    .dao-chip-a { left: -12px; }
    .dao-chip-b { right: -8px; }
}
@media (max-width: 768px) {
    .svc-hero--split { padding: 40px 0 72px; }
    .svc-hero--split .svc-eyebrow { margin: 0; }
    .svc-hero--split .svc-hero-title { font-size: 30px; }
    .svc-hero--split .svc-hero-inner { gap: 44px; }
    .svc-partner-logo { right: 24px; top: 30px; width: 48px; }
    .svc-frame { border-radius: 12px; }
    .svc-frame-bar { gap: 5px; height: 26px; padding: 0 10px; }
    .svc-frame-bar i { width: 8px; height: 8px; }
    .svc-frame-bar span { height: 16px; font-size: 10px; line-height: 16px; }
    .svc-phone { right: -2%; bottom: -14%; width: 30%; padding: 4px; border-radius: 18px; }
    .svc-phone img { border-radius: 14px; }
    .svc-mock-note { left: 10px; bottom: 10px; }

    .svc-zig { gap: 48px; margin-top: 36px; }
    .svc-zig-media { border-radius: 20px; }
    .svc-zig-media.is-mock { aspect-ratio: auto; padding: 32px 0; }
    .svc-zig-body p { font-size: 15px; }
    .svc-zig-body p br, .svc-bento-item p br, .dao-step-card p br { display: none; }
    .svc-bento { margin-top: 36px; gap: 12px; }
    .svc-bento-item { padding: 28px 24px 0; border-radius: 22px; }
    .svc-bento-item p { font-size: 15px; }
    .svc-bento-item img, .svc-bento-item.is-tall img { width: 120px; }

    .nd-process { margin-top: 40px; }
    .nd-showcase { margin-bottom: 28px; }
    .theme-nextdev .svc-partner-logo { top: 34px; right: 26px; width: 88px; }
    .mock-phone { width: 58%; }
    .mock-search { width: 88%; }

    .adsq-hero-wordmark { width: 132px; margin-bottom: 16px; }
    .adsq-board { gap: 10px; padding: 14px; border-radius: 22px; }
    .adsq-board-mark { right: -6px; top: -34px; width: 64px; }
    .adsq-card { gap: 10px; padding: 12px; border-radius: 14px; }
    .adsq-card-head { font-size: 12px; }
    .adsq-card-head em { display: none; }
    .adsq-dot { width: 18px; height: 18px; border-radius: 6px; }
    .adsq-thumb { width: 40px; height: 40px; }
    .adsq-chips span { padding: 5px 8px; font-size: 10.5px; }
    .adsq-bars { height: 48px; }

    .modo-band { padding: 44px 0 150px; }
    .modo-band-logo { width: 160px; margin-bottom: 16px; }
    .modo-stage { margin-top: -110px; }
    .modo-stage-card { padding: 8px; border-radius: 20px; }
    .modo-stage-card .svc-phone { right: -2%; width: 26%; }
    .theme-modo .svc-hero { padding-bottom: 72px; }
    .theme-modo .svc-partner-logo { width: 110px; top: 34px; }

    .dao-chip { padding: 10px 14px; border-radius: 12px; }
    .dao-chip small { font-size: 11px; }
    .dao-chip b { font-size: 15px; }
    .dao-chip-a { left: -6px; bottom: -18px; }
    .dao-chip-b { right: -4px; top: -22px; }
    .theme-dao .svc-point { padding-top: 70px; }
    .dao-steps { margin-top: 36px; gap: 14px; }
    .dao-steps::before { left: 21px; }
    .dao-step { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
    .dao-step-no { width: 44px; height: 44px; margin-top: 18px; font-size: 15px; box-shadow: 0 0 0 5px var(--white); }
    .dao-step-card { grid-template-columns: 1fr; gap: 10px; padding: 22px 20px; border-radius: 18px; }
    .dao-step-card img { order: -1; justify-self: start; width: 84px; }
    .dao-step-card p { font-size: 15px; }
}

/* ============================================================
   연구소 새 소식 (/search) — 토스피드 구성: 왼쪽 인기 글 순위, 오른쪽 글 목록
============================================================ */
.feed-hero { padding: 64px 0 40px; background: var(--cream); border-bottom: 1px solid var(--line); text-align: center; }
.search-title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.feed-hero .search-bar { margin: 24px auto 0; }
.feed-hero .category-row { margin-top: 18px; }

.feed { padding: 64px 0 96px; }
.feed-inner { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 64px; align-items: start; }
.feed-inner > .feed-main:only-child { grid-column: 1 / -1; }
.feed-side { position: sticky; top: calc(var(--header-h) + 32px); }
.feed-title { padding-top: 22px; border-top: 2px solid var(--ink); font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.feed-title .count { margin-left: 8px; font-size: 16px; font-weight: 600; color: var(--muted); }
.feed-sub { margin-top: 8px; font-size: 15.5px; color: var(--muted); }

.rank-list { margin-top: 20px; }
.rank-list a { display: flex; align-items: center; gap: 14px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.rank-num { flex: none; width: 22px; font-size: 20px; font-weight: 800; color: var(--point); text-align: center; }
.rank-text {
    flex: 1; min-width: 0;
    font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rank-list a:hover .rank-text { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.badge-new { flex: none; padding: 4px 9px; border-radius: 999px; background: var(--navy-soft); color: var(--point); font-size: 12px; font-weight: 700; }

.feed-list { margin-top: 8px; }
.feed-item a {
    display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 36px;
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}
.feed-item h3 {
    font-size: 21px; font-weight: 700; line-height: 1.45; letter-spacing: -.03em; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: color .15s;
}
.feed-item a:hover h3 { color: var(--navy); }
.feed-item p {
    margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: var(--muted);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.feed-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 14px; font-size: 13.5px; color: #9AA1AC; }
.feed-meta em { color: var(--point); font-weight: 600; }
.feed-thumb {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 3 / 2;
    border-radius: 18px;
    overflow: hidden;
    background: var(--cream);
}
.feed-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.feed-thumb.is-blank img { width: 38%; height: auto; object-fit: contain; }
.feed-item a:hover .feed-thumb img { transform: scale(1.04); }

@media (max-width: 1024px) {
    .feed-inner { grid-template-columns: 1fr; gap: 56px; }
    .feed-side { position: static; order: 2; }
    .feed-item a { grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; }
}
@media (max-width: 768px) {
    .feed-hero { padding: 40px 0 28px; }
    .feed { padding: 36px 0 64px; }
    .feed-title { font-size: 21px; }
    .feed-item a { grid-template-columns: minmax(0, 1fr) 104px; gap: 16px; padding: 22px 0; }
    .feed-item h3 { font-size: 16.5px; }
    .feed-item p { display: none; }
    .feed-meta { margin-top: 8px; font-size: 12.5px; }
    .feed-thumb { aspect-ratio: 1; border-radius: 12px; }
}

/* ============================================================
   휴대폰 미리보기 (정책자금 · 모두의지원금) — 왼쪽 기능 목록, 오른쪽 기울인 휴대폰
============================================================ */
.svc-showcase { background: linear-gradient(180deg, #F5F7FB 0%, #FFFFFF 100%); overflow: hidden; }
.showcase-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.showcase-list { margin: 36px 0 32px; border-top: 1px solid var(--line); }
.showcase-list li { border-bottom: 1px solid var(--line); }
.showcase-list button { position: relative; display: block; width: 100%; padding: 22px 0; text-align: left; }
.showcase-list strong { display: block; font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: #C3C8D0; transition: color .25s; }
.showcase-list span {
    display: block; max-height: 0; overflow: hidden;
    font-size: 15.5px; line-height: 1.65; color: var(--muted);
    transition: max-height .4s ease, margin-top .4s ease;
}
.showcase-list button:hover strong { color: #8C94A1; }
.showcase-list li.is-active strong { color: var(--ink); }
.showcase-list li.is-active span { max-height: 90px; margin-top: 8px; }
.showcase-list li.is-active button::after {
    content: '';
    position: absolute; left: 0; bottom: -1px;
    height: 2px;
    background: var(--navy);
    animation: showcase-progress 4.5s linear forwards;
}
@keyframes showcase-progress { from { width: 0; } to { width: 100%; } }

.showcase-stage { position: relative; display: flex; flex-direction: column; align-items: center; perspective: 1800px; }
.showcase-stage::before {
    content: '';
    position: absolute; top: 8%; left: 50%;
    width: 520px; height: 520px;
    translate: -50% 0;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(37, 99, 235, .16), transparent);
    pointer-events: none;
}
/* 뒤쪽 동심원 */
.showcase-stage::after {
    content: '';
    position: absolute; top: 44%; left: 50%;
    width: 560px; height: 560px;
    translate: -50% -50%;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, .10);
    box-shadow: 0 0 0 70px rgba(37, 99, 235, .025), 0 0 0 140px rgba(37, 99, 235, .018);
    pointer-events: none;
}
.phone {
    position: relative; z-index: 1;
    width: 304px;
    aspect-ratio: 390 / 844;
    padding: 10px;
    border-radius: 52px;
    background: linear-gradient(155deg, #4B515B 0%, #1F2329 32%, #3A3F48 58%, #15181D 100%);
    box-shadow:
        inset 0 0 0 1.5px rgba(255, 255, 255, .22),
        inset 0 0 0 3px #0E1014,
        0 60px 100px -40px rgba(15, 23, 42, .55),
        0 30px 70px -30px rgba(37, 99, 235, .35);
    transform: rotateY(-14deg) rotateX(5deg) rotateZ(4deg);
    transition: transform .8s cubic-bezier(.2, .8, .2, 1);
    animation: phone-float 6s ease-in-out infinite;
}
@keyframes phone-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.phone:hover { transform: rotateY(-6deg) rotateX(2deg) rotateZ(1deg); }
/* 측면 버튼 — 오른쪽 전원, 왼쪽 음량 두 개 */
.phone::before {
    content: '';
    position: absolute; right: -3px; top: 26%;
    width: 3px; height: 72px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(90deg, #2A2E35, #555B64);
}
.phone::after {
    content: '';
    position: absolute; left: -3px; top: 20%;
    width: 3px; height: 44px;
    border-radius: 3px 0 0 3px;
    background: #3A3F48;
    box-shadow: 0 58px 0 #3A3F48;
}
.phone-screen { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #fff; }
/* 유리 반사 */
.phone-screen::after {
    content: '';
    position: absolute; inset: 0; z-index: 7;
    background: linear-gradient(115deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 30%);
    pointer-events: none;
}

/* 휴대폰 옆에 떠 있는 카드 — 카톡 알림 · 적합도 */
.float-card {
    position: absolute; z-index: 2;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px 12px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .25), 0 0 0 1px rgba(15, 23, 42, .04);
    animation: card-float 5s ease-in-out infinite;
}
.float-card small { display: block; font-size: 11.5px; color: #8B95A1; }
.float-card b { display: block; font-size: 13.5px; font-weight: 700; color: #1A1D2E; white-space: nowrap; }
.float-card .ico { flex: none; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; }
.float-noti { top: 13%; left: 0; animation-delay: -1.8s; }
.float-noti .ico { border-radius: 11px; background: #FEE500; color: #191919; }
.float-noti .ico svg { width: 20px; height: 20px; }
.float-fit { bottom: 20%; right: 0; }
.float-fit .ico { border-radius: 50%; background: #EFF4FF; color: #2563EB; font-size: 14px; font-weight: 800; box-shadow: inset 0 0 0 3px #2563EB; }
@keyframes card-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.phone-screen::before {
    content: '';
    position: absolute; top: 9px; left: 50%; z-index: 6;
    width: 92px; height: 26px;
    translate: -50% 0;
    border-radius: 20px;
    background: #0B0D12;
}
.phone-status {
    position: absolute; top: 0; left: 0; right: 0; z-index: 5;
    display: flex; align-items: center; justify-content: space-between;
    height: 44px; padding: 0 26px 0 30px;
    background: #fff;
    font-size: 13px; color: #111;
}
.phone-status i { width: 22px; height: 11px; border: 1.5px solid #111; border-radius: 3px; position: relative; }
.phone-status i::after { content: ''; position: absolute; inset: 1.5px 5px 1.5px 1.5px; border-radius: 1px; background: #111; }
.screen {
    position: absolute; inset: 44px 0 0;
    opacity: 0;
    transform: translateY(14px) scale(.985);
    transition: opacity .45s ease, transform .45s ease;
}
.screen.is-active { opacity: 1; transform: none; }
.screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.showcase-dots { display: flex; gap: 8px; margin-top: 34px; }
.showcase-dots button { width: 8px; height: 8px; border-radius: 999px; background: #CBD2DC; transition: width .3s, background .3s; }
.showcase-dots button.is-active { width: 24px; background: var(--navy); }
.showcase-caption { margin-top: 14px; font-size: 13px; color: #9AA1AC; }

/* 휴대폰 속 화면 — 모두의지원금 결 (블루 #2563EB · #1056AE) */
.mg-app { height: 100%; display: flex; flex-direction: column; background: #F4F6FB; color: #1A1D2E; }
.mg-top { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: #fff; font-size: 15px; font-weight: 700; }
.mg-top img { width: 22px; height: 22px; object-fit: contain; }
.mg-hello { margin: 14px 14px 0; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #2563EB 0%, #1056AE 100%); color: #fff; }
.mg-hello small { font-size: 11px; opacity: .8; }
.mg-hello b { display: block; margin-top: 4px; font-size: 14.5px; font-weight: 700; }
.mg-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.mg-tags span { padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 10.5px; font-weight: 600; }
.mg-cards { display: grid; gap: 10px; padding: 14px; }
.mg-cards li { position: relative; padding: 13px 14px; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(26, 29, 46, .05); }
.mg-cards em { display: inline-block; padding: 2px 7px; border-radius: 6px; background: #EFF4FF; color: #2563EB; font-size: 10.5px; font-weight: 700; }
.mg-cards i { position: absolute; top: 13px; right: 13px; font-style: normal; font-size: 11px; font-weight: 700; color: #E5484D; }
.mg-cards strong { display: block; margin-top: 7px; font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.mg-cards span { display: block; margin-top: 3px; font-size: 11px; color: #5B6470; }
.mg-progress { height: 4px; background: #E3E8F2; }
.mg-progress span { display: block; width: 100%; height: 100%; background: #2563EB; }
.mg-result { flex: 1; display: flex; flex-direction: column; align-items: center; margin: 14px; padding: 22px 16px 16px; border-radius: 18px; background: #fff; text-align: center; }
.mg-result small { font-size: 11.5px; font-weight: 600; color: #5B6470; }
.mg-result > strong { margin-top: 4px; font-size: 17px; font-weight: 700; }
.mg-gauge { position: relative; display: flex; align-items: baseline; justify-content: center; gap: 2px; width: 128px; height: 128px; margin: 16px 0 18px; padding-top: 42px; border-radius: 50%; background: conic-gradient(#2563EB 0 82%, #E3E8F2 82% 100%); }
.mg-gauge::before { content: ''; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.mg-gauge b, .mg-gauge span { position: relative; }
.mg-gauge b { font-size: 32px; font-weight: 800; color: #1056AE; line-height: 1; }
.mg-gauge span { font-size: 13px; font-weight: 600; color: #5B6470; }
.mg-checks { display: grid; gap: 7px; width: 100%; text-align: left; }
.mg-checks li { display: flex; align-items: center; gap: 7px; padding: 9px 11px; border-radius: 10px; background: #F4F6FB; font-size: 11.5px; font-weight: 600; }
.mg-checks li::before { content: '✓'; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: #2563EB; color: #fff; font-size: 10px; }
.mg-checks li.warn::before { content: '!'; background: #F59E0B; }
.mg-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 42px; margin-top: auto; border-radius: 12px; background: #2563EB; color: #fff; font-size: 13px; font-weight: 700; }

/* 카카오톡 채팅방 */
.kk-app { height: 100%; display: flex; flex-direction: column; background: #B2C7DA; }
.kk-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #B2C7DA; font-size: 14.5px; color: #1E1E1E; }
.kk-back { font-size: 24px; line-height: 1; }
.kk-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 10px 12px; }
.kk-date { align-self: center; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .12); color: #fff; font-size: 10.5px; }
.kk-msg { display: flex; align-items: flex-end; gap: 6px; }
.kk-msg > div { min-width: 0; }
.kk-avatar { align-self: flex-start; flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 13px; background: #fff; }
.kk-avatar img { width: 22px; height: 22px; object-fit: contain; }
.kk-name { margin-bottom: 4px; font-size: 11.5px; color: #3B4A58; }
.kk-bubble { width: 196px; overflow: hidden; border-radius: 4px 14px 14px 14px; background: #fff; }
.kk-head { padding: 8px 12px; background: #FEE500; font-size: 12px; font-weight: 700; color: #191919; }
.kk-text { padding: 11px 12px 10px; font-size: 11.5px; line-height: 1.6; color: #1E1E1E; }
.kk-text strong { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; }
.kk-text ul { margin-top: 6px; }
.kk-text li::before { content: '■ '; font-size: 8px; vertical-align: 2px; }
.kk-link { display: flex; align-items: center; justify-content: center; height: 34px; margin: 0 12px 12px; border-radius: 8px; background: #F2F2F2; font-size: 11.5px; font-weight: 700; color: #1E1E1E; }
.kk-time { flex: none; font-size: 10px; color: #3B4A58; }

@media (max-width: 1024px) {
    .showcase-inner { grid-template-columns: 1fr; gap: 40px; }
    .showcase-stage { order: -1; }
}
@media (max-width: 768px) {
    .showcase-list { margin: 24px 0; }
    .showcase-list strong { font-size: 17.5px; }
    .showcase-list span { font-size: 14px; }
    .showcase-list button { padding: 16px 0; }
    .phone { width: 244px; padding: 8px; border-radius: 42px; transform: rotateY(-10deg) rotateX(4deg) rotateZ(3deg); }
    .phone::before { height: 56px; }
    .float-card { padding: 9px 12px 9px 9px; border-radius: 14px; }
    .float-card b { font-size: 12px; }
    .float-card .ico { width: 30px; height: 30px; }
    .float-noti { top: 6%; left: -2%; }
    .float-fit { right: -2%; bottom: 16%; }
    .showcase-stage::after { width: 380px; height: 380px; }
    .phone-screen { border-radius: 35px; }
    .showcase-stage::before { width: 340px; height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
    .showcase-list li.is-active button::after { animation: none; width: 100%; }
    .screen, .phone, .float-card { transition: none; animation: none; }
}

/* ============================================================
   제휴사 색 — 본문(main)에만 입힌다. 헤더·푸터는 다오 그대로.
   정책자금: 모두의지원금 블루 / 웹사이트: 넥스트데브 블루
============================================================ */
.theme-modogrant {
    --navy: #1E4FD8; --navy-dark: #1043A0; --navy-soft: #EFF4FF; --point: #2563EB;
    --beige: #BFD3FF; --beige-light: #EFF4FF; --gold: #2563EB; --cream: #F4F7FD;
}
.theme-nextdev {
    --navy: #2F6FE0; --navy-dark: #1F55C8; --navy-soft: #EDF4FF; --point: #2F6FE0;
    --beige: #BFD6FF; --beige-light: #EDF4FF; --gold: #4D8FFF; --cream: #F5F8FF;
}
.theme-modogrant .svc-point-label, .theme-nextdev .svc-point-label { color: var(--point); }
.theme-modogrant .svc-partner-main, .theme-nextdev .svc-partner-main { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); }
.theme-modogrant .svc-partner-main::after, .theme-nextdev .svc-partner-main::after { border-color: rgba(255, 255, 255, .12); }
.theme-modogrant .svc-partner-kicker, .theme-nextdev .svc-partner-kicker { color: rgba(255, 255, 255, .75); }
.theme-modogrant .svc-blob-a, .theme-nextdev .svc-blob-a { background: rgba(37, 99, 235, .20); }
.theme-modogrant .svc-blob-b, .theme-nextdev .svc-blob-b { background: rgba(79, 195, 247, .22); }
.theme-nextdev .svc-benefit li { color: var(--navy-dark); }

/* ============================================================
   포트폴리오 그리드 (웹사이트 · 넥스트데브)
============================================================ */
.pf-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.pf-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-filter button {
    height: 40px; padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--white);
    font-size: 14.5px; font-weight: 600; color: var(--muted);
    transition: background .15s, color .15s, border-color .15s;
}
.pf-filter button:hover { color: var(--ink); border-color: #C9CFD8; }
.pf-filter button.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.pf-card a {
    display: flex; flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: var(--white);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pf-card a:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); }
.pf-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.pf-card a:hover .pf-thumb img { transform: scale(1.04); }
.pf-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; }
.pf-type { font-size: 12.5px; font-weight: 700; color: var(--point); }
.pf-body strong { font-size: 17px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.pf-body p { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.pf-tags span { padding: 4px 9px; border-radius: 6px; background: var(--navy-soft); color: var(--navy); font-size: 12px; font-weight: 600; }
.pf-tags span + span { background: #F2F4F6; color: #4E5968; }
.pf-cta a {
    justify-content: space-between; gap: 18px;
    min-height: 260px;
    padding: 28px 24px;
    border: 0;
    background: linear-gradient(150deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
}
.pf-cta span { font-size: 14px; color: rgba(255, 255, 255, .78); }
.pf-cta strong { font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: -.03em; }
.pf-cta i { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--navy); transition: transform .2s; }
.pf-cta a:hover i { transform: translateX(4px); }

@media (max-width: 1024px) {
    .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .pf-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
    .pf-cta a { min-height: 0; }
}

/* ============================================================
   최사장의 비밀노트 — 형광펜 강조 · 손글씨 · 체크리스트 · 최사장 한마디
============================================================ */
.hand { font-family: 'Nanum Pen Script', cursive; }
.hero-title strong, .svc-title em, .svc-hero-title em, .svc-points-title em, .section-title em {
    color: var(--ink);
    font-style: normal;
    background: linear-gradient(transparent 70%, var(--marker) 70%, var(--marker) 94%, transparent 94%);
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* 체크리스트 카드 (메인) */
.check-section { background: var(--white); }
.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.check-card {
    position: relative;
    display: flex; flex-direction: column;
    padding: 30px 26px 26px;
    border-radius: 20px;
    background-color: #FFFDF7;
    background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(28, 31, 38, .07) 31px 32px);
    border: 1px solid rgba(28, 31, 38, .12);
    box-shadow: 0 10px 26px -16px rgba(28, 31, 38, .35);
}
.check-card::before { content: ''; position: absolute; top: -8px; left: 26px; width: 58px; height: 18px; background: rgba(242, 183, 5, .75); transform: rotate(-4deg); }
.check-card .hand { font-size: 24px; color: var(--redpen); line-height: 1; }
.check-card h3 { margin-top: 6px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.check-card ul { display: grid; gap: 10px; margin-top: 16px; }
.check-card li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.6; color: #3E4541; }
.check-card li::before {
    content: '✓';
    position: absolute; left: 0; top: 1px;
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px;
    border: 1.5px solid var(--redpen); border-radius: 5px;
    color: var(--redpen); font-size: 13px; font-weight: 800;
}
.check-card .help-link { margin-top: auto; padding-top: 22px; }

/* 최사장 한마디 — 서비스 페이지 히어로 아래 */
.choi-note-wrap { position: relative; z-index: 3; margin-top: -56px; padding-bottom: 8px; }
.choi-note {
    display: flex; align-items: center; gap: 18px;
    max-width: 780px; margin: 0 auto;
    padding: 16px 28px 16px 16px;
    border-radius: 22px;
    background: var(--white);
    border: 1px solid #ECE8DF;
    border-left: 5px solid var(--beige);
    box-shadow: 0 18px 38px -20px rgba(28, 31, 38, .4);
}
.choi-note-face { flex: none; width: 88px; height: 88px; object-fit: contain; }
.choi-note-text { font-size: 17px; line-height: 1.6; color: var(--ink); }
.choi-note-text .hand { display: block; margin-bottom: 2px; font-size: 25px; line-height: 1; color: var(--redpen); }
.choi-note-text b { background: linear-gradient(transparent 60%, var(--marker) 60%); }

@media (max-width: 1024px) {
    .check-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 768px) {
    .choi-note-wrap { margin-top: -36px; }
    .choi-note { gap: 12px; padding: 12px 16px 12px 10px; }
    .choi-note-face { width: 62px; height: 62px; }
    .choi-note-text { font-size: 14.5px; }
    .choi-note-text .hand { font-size: 21px; }
}

/* 푸터 로고 — 색 있는 노트 마크라 흰색으로 뒤집지 않고 종이 바탕에 올린다 */
.site-footer .footer-logo img { filter: none; opacity: 1; width: auto; height: 44px; }
