/* ============================================================
   Onforis 웹사이트 디자인 시스템
   - 톤: 화이트 베이스 + 딥퍼플(#544A75) + 비비드 퍼플 포인트
   - 폰트: Pretendard Variable (자체 호스팅) — 없으면 시스템 폰트 폴백
   - 모든 색은 :root 토큰만 사용 (hex 하드코딩 금지)
   ============================================================ */

@font-face {
    font-family: 'Pretendard Variable';
    font-weight: 45 920;
    font-style: normal;
    font-display: swap;
    src: url('/assets/fonts/PretendardVariable.woff2') format('woff2-variations');
}

:root {
    /* 브랜드 */
    --brand:        #9A8CC9;   /* 관리자와 동일한 라이트 퍼플 */
    --brand-vivid:  #6C57C9;   /* 웹사이트용 심화 퍼플 (포인트) */
    --brand-deep:   #544A75;   /* 딥 퍼플 (헤딩·강조) */
    --brand-soft:   #EDE9F6;   /* 연한 배경 */
    --brand-faint:  #F7F5FB;   /* 아주 연한 섹션 배경 */

    /* 뉴트럴 (퍼플기 있는 그레이) */
    --ink:          #1E1B29;
    --text:         #2A2833;
    --text-sub:     #6E6A7E;
    --border:       #E7E4F0;
    --surface:      #FFFFFF;

    /* 그라데이션 */
    --grad-hero:    linear-gradient(135deg, #544A75 0%, #6C57C9 55%, #9A8CC9 100%);
    --grad-cta:     linear-gradient(120deg, #443B63 0%, #6C57C9 100%);

    /* 레이아웃 */
    --max-w:        1140px;
    --header-h:     72px;
    --radius:       16px;
    --radius-lg:    24px;
    --shadow-sm:    0 2px 8px rgba(84, 74, 117, .06);
    --shadow-md:    0 8px 30px rgba(84, 74, 117, .12);
    --shadow-lg:    0 20px 60px rgba(84, 74, 117, .18);
    --ease-out:     cubic-bezier(.22, 1, .36, 1);   /* 부드러운 감속 이징 */

    --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
            'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
}

/* ─── 리셋 ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--surface);
    line-height: 1.65;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .875em; font-weight: 600;
    padding: 2px 7px; border-radius: 5px;
    background: var(--brand-soft); color: var(--brand-deep);
    word-break: break-all;
}

/* 선택 영역·포커스 — 브랜드 컬러 일관성 */
::selection { background: var(--brand-vivid); color: #fff; }
:focus-visible { outline: 2.5px solid var(--brand-vivid); outline-offset: 3px; border-radius: 4px; }

/* ─── 공통 레이아웃 ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 110px 0; }
.section-soft { background: var(--brand-faint); }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--brand-vivid);
    text-transform: uppercase;
    margin-bottom: 14px;
}
/* 라벨 앞 짧은 그라데이션 바 — 섹션 시작점 시각 앵커 */
.section-label::before {
    content: '';
    width: 26px; height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand-vivid), var(--brand));
}
.section-head.center .section-label::after {
    content: '';
    width: 26px; height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-vivid));
}
.section-title {
    font-size: clamp(1.75rem, 3.6vw, 2.75rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--ink);
    letter-spacing: -.02em;
}
.section-desc { margin-top: 18px; font-size: 1.125rem; color: var(--text-sub); }

/* ─── 버튼 ─── */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    border: none;
    border-radius: 999px;
    font-size: 1.0625rem;
    font-weight: 700;
    overflow: hidden;
    transition: transform .25s var(--ease-out), box-shadow .25s, background .25s;
}
/* 호버 시 샤인 스윕 효과 */
.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg);
    transition: left .5s var(--ease-out);
    pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--brand-vivid); color: #fff; box-shadow: 0 8px 24px rgba(108, 87, 201, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(108, 87, 201, .45); background: var(--brand-deep); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-outline { background: #fff; color: var(--brand-deep); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--brand-vivid); color: var(--brand-vivid); }

/* ============================================================
   헤더
   ============================================================ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    z-index: 100;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, background .25s;
}
.site-header.scrolled {
    border-bottom-color: var(--border);
    background: rgba(255,255,255,.94);
    box-shadow: 0 4px 20px rgba(84, 74, 117, .07);
}
.header-inner {
    max-width: var(--max-w);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-logo { display: flex; align-items: center; transition: opacity .2s; }
.header-logo:hover { opacity: .75; }
.header-logo img { height: 26px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--brand-vivid); background: var(--brand-faint); }
.nav-link.active { color: var(--brand-vivid); }
/* 무료 배포 메뉴 — 앞에 점을 찍어 유료 메뉴와 구분 */
.nav-free { display: inline-flex; align-items: center; gap: 7px; }
.nav-free::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--brand-vivid); flex-shrink: 0;
}
.nav-cta {
    margin-left: 14px;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--brand-vivid);
    color: #fff;
    font-weight: 700;
    font-size: .9375rem;
    transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--brand-deep); transform: translateY(-1px); }

/* 모바일 햄버거 */
.header-burger { display: none; background: none; border: none; width: 44px; height: 44px; position: relative; }
.header-burger span {
    position: absolute; left: 10px; right: 10px; height: 2px;
    background: var(--ink); border-radius: 2px; transition: all .25s;
}
.header-burger span:nth-child(1) { top: 15px; }
.header-burger span:nth-child(2) { top: 21px; }
.header-burger span:nth-child(3) { top: 27px; }
.header-burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.header-burger.open span:nth-child(2) { opacity: 0; }
.header-burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.site-main { padding-top: var(--header-h); }

/* ============================================================
   히어로
   ============================================================ */
.hero {
    position: relative;
    padding: 140px 0 160px;
    background: var(--grad-hero);
    color: #fff;
    overflow: hidden;
}
/* 오로라 오브 — 느린 부유 애니메이션 */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .38;
    pointer-events: none;
    animation: orbFloat 14s ease-in-out infinite alternate;
}
.hero::before { width: 560px; height: 560px; background: #B7A8E8; top: -180px; right: -120px; }
.hero::after  { width: 420px; height: 420px; background: #3D3260; bottom: -160px; left: -100px; animation-delay: -7s; animation-duration: 18s; }
@keyframes orbFloat {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-50px, 40px) scale(1.12); }
}
/* 도트 그리드 패턴 오버레이 — 질감 부여 */
.hero-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 70% 20%, #000 0%, transparent 70%);
    mask-image: radial-gradient(ellipse 75% 65% at 70% 20%, #000 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.3);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: .9375rem;
    font-weight: 600;
    margin-bottom: 28px;
}
/* 뱃지 라이브 도트 — 펄스 애니메이션 */
.hero-badge::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #C9F5D9;
    box-shadow: 0 0 0 0 rgba(201, 245, 217, .6);
    animation: badgePulse 2.4s ease-out infinite;
}
@keyframes badgePulse {
    0%   { box-shadow: 0 0 0 0 rgba(201, 245, 217, .55); }
    70%  { box-shadow: 0 0 0 9px rgba(201, 245, 217, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 245, 217, 0); }
}
.hero h1 {
    font-size: clamp(2.25rem, 5.4vw, 4rem);
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: -.025em;
    max-width: 780px;
}
/* 헤드라인 하이라이트 — 밝은 퍼플 그라데이션 텍스트 */
.hero h1 .hl {
    background: linear-gradient(92deg, #EDE7FF 0%, #C9B8F5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #C9B8F5;
}
.hero p.hero-sub {
    margin-top: 26px;
    font-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
    color: rgba(255,255,255,.85);
    max-width: 620px;
}
.hero-actions { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }

/* 히어로 하단 물결 구분 */
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 1; }
.hero-wave svg { display: block; width: 100%; height: 70px; }

/* ============================================================
   통계 밴드
   ============================================================ */
.stats { padding: 80px 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
/* 데스크톱(4열)에서만 열 사이 세로 구분선 */
.stats-grid > div { position: relative; }
.stats-grid > div + div::before { display: none; }
@media (min-width: 1025px) {
    .stats-grid > div + div::before { display: block; }
}
.stats-grid > div + div::before {
    content: '';
    position: absolute;
    left: -16px; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 56px;
    background: linear-gradient(to bottom, transparent, var(--border) 30%, var(--border) 70%, transparent);
}
.stat-num {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    background: linear-gradient(120deg, var(--brand-deep), var(--brand-vivid));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--brand-vivid);
    letter-spacing: -.02em;
    line-height: 1.1;
}
.stat-num .unit { font-size: .55em; font-weight: 800; margin-left: 2px; }
.stat-label { margin-top: 10px; font-size: 1rem; color: var(--text-sub); font-weight: 600; }

/* ============================================================
   서비스 카드
   ============================================================ */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.svc-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    overflow: hidden;
    transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
/* 상단 그라데이션 액센트 바 — 호버 시 슬라이드 인 */
.svc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-vivid), var(--brand));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease-out);
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand);
}
.svc-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--brand-soft);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    transition: transform .3s var(--ease-out), background .3s;
}
.svc-card:hover .svc-icon {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, var(--brand-soft), #E0D6F5);
}
.svc-icon svg { width: 28px; height: 28px; stroke: var(--brand-vivid); }
.svc-card h3 { font-size: 1.3125rem; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.svc-card p { font-size: 1rem; color: var(--text-sub); }
.svc-more { display: inline-block; margin-top: 18px; font-weight: 700; font-size: .9375rem; color: var(--brand-vivid); }
.svc-more::after { content: ' →'; }

/* ============================================================
   특징 (교차 배치)
   ============================================================ */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.feature-row + .feature-row { margin-top: 110px; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-copy h3 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    line-height: 1.35;
    color: var(--ink);
    letter-spacing: -.02em;
}
.feature-copy p { margin-top: 16px; font-size: 1.0625rem; color: var(--text-sub); }
.feature-copy ul { margin-top: 22px; list-style: none; }
.feature-copy li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
}
.feature-copy li::before {
    content: '✓';
    position: absolute; left: 0; top: 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-vivid);
    font-size: .75rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    margin-top: 3px;
}

/* 특징 비주얼 — CSS 목업 카드 */
.feature-visual {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--grad-hero);
    /* 목업 내용 높이가 기능마다 달라 고정 비율 대신 최소 높이 + 여백 */
    min-height: 400px;
    padding: 40px 0;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
/* 비주얼 배경 장식 — 도트 패턴 + 링 */
.feature-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 25%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 70% at 30% 25%, #000, transparent 75%);
    pointer-events: none;
}
.feature-visual::after {
    content: '';
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.22);
    bottom: -70px; right: -60px;
    box-shadow: 0 0 0 34px rgba(255,255,255,.05);
    pointer-events: none;
}
/* 핵심기능 쇼케이스 카드 안의 간이 목업 (.core-mock 전용) */
.mock-title { font-size: .8125rem; font-weight: 700; color: var(--text-sub); letter-spacing: .04em; margin-bottom: 12px; }
.mock-bar { height: 10px; border-radius: 6px; background: var(--brand-soft); margin-bottom: 10px; overflow: hidden; }
.mock-bar i { display: block; height: 100%; border-radius: 6px; background: var(--brand-vivid); }
.mock-big { font-size: 2rem; font-weight: 900; color: var(--brand-deep); letter-spacing: -.02em; }
.mock-row { display: flex; justify-content: space-between; gap: 10px; font-size: .875rem; color: var(--text-sub); margin-top: 6px; }

/* ============================================================
   기능 그래픽 목업 UI 키트
   — feature-visual / svc-detail-visual 안에 들어가는 "가짜 화면"
   — 외부 이미지·라이브러리 없이 CSS + 인라인 SVG 로만 구성
   ============================================================ */
.ui-mock {
    position: relative;
    width: min(84%, 392px);
    transition: transform .45s var(--ease-out);
}
.feature-visual:hover .ui-mock,
.svc-detail-visual:hover .ui-mock { transform: translateY(-7px); }

/* ── 창(윈도우) 프레임 ── */
.ui-win { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.ui-win-bar {
    display: flex; align-items: center; gap: 9px;
    padding: 10px 14px;
    background: #F4F1FA; border-bottom: 1px solid var(--border);
}
.ui-dots { display: flex; gap: 4px; flex-shrink: 0; }
.ui-dots i { width: 7px; height: 7px; border-radius: 50%; background: #D6CFE8; }
.ui-win-title {
    font-size: .75rem; font-weight: 800; letter-spacing: .02em; color: var(--brand-deep);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ui-win-tag {
    margin-left: auto; flex-shrink: 0;
    padding: 3px 9px; border-radius: 999px;
    background: var(--brand-vivid); color: #fff;
    font-size: .625rem; font-weight: 800; letter-spacing: .05em;
}
.ui-win-body { padding: 14px 16px 16px; }

/* ── 공통 조각 ── */
.ui-label { font-size: .6875rem; font-weight: 800; letter-spacing: .07em; color: var(--text-sub); }
.ui-amount {
    font-size: 1.75rem; font-weight: 900; color: var(--brand-deep);
    letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums;
}
.ui-amount small { font-size: .75rem; font-weight: 700; color: var(--text-sub); letter-spacing: 0; margin-left: 6px; }
.ui-flex { display: flex; align-items: center; gap: 10px; }
.ui-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ui-sep { height: 1px; background: var(--border); margin: 12px 0; }

.ui-ico {
    width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
    background: var(--brand-soft); color: var(--brand-vivid);
    display: flex; align-items: center; justify-content: center;
}
.ui-ico svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.ui-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: .8125rem; }
.ui-row + .ui-row { border-top: 1px dashed var(--border); }
.ui-row .r-main { flex: 1; min-width: 0; }
.ui-row .r-name, .ui-row .r-sub { display: block; }
.ui-row .r-name { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-row .r-sub { font-size: .6875rem; color: var(--text-sub); margin-top: 2px; }
.ui-row .r-val { font-weight: 800; color: var(--brand-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }

.ui-chip {
    display: inline-block; flex-shrink: 0;
    padding: 3px 9px; border-radius: 999px;
    background: var(--brand-soft); color: var(--brand-vivid);
    font-size: .6875rem; font-weight: 800; white-space: nowrap;
}
.ui-chip.ok    { background: #E1F3E9; color: #1B7F4E; }
.ui-chip.warn  { background: #FDEEDA; color: #A9660F; }
.ui-chip.live  { background: #FBE3E3; color: #C0332E; }
.ui-chip.ghost { background: var(--brand-faint); color: var(--text-sub); border: 1px solid var(--border); }

.ui-meter { height: 6px; border-radius: 4px; background: var(--brand-soft); overflow: hidden; }
.ui-meter i { display: block; height: 100%; border-radius: 4px; background: var(--brand-vivid); }
.ui-meter.soft i { background: var(--brand); }

/* 떠 있는 보조 카드 */
.ui-float {
    position: absolute; z-index: 2;
    display: flex; align-items: center; gap: 9px;
    padding: 10px 13px; border-radius: 12px;
    background: #fff; box-shadow: var(--shadow-md);
    font-size: .75rem; font-weight: 700; color: var(--text);
}
.ui-float .f-val { font-size: .875rem; font-weight: 900; color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.ui-float.br { right: -14px; bottom: -16px; }
.ui-float.bl { left: -14px; bottom: -16px; }
.ui-float.tr { right: -14px; top: -16px; }

/* ── ① 영수증 OCR — 영수증 이미지 + 인식 박스 + 스캔 라인 ── */
.ui-receipt {
    position: relative; flex-shrink: 0;
    width: 78px; height: 100px; border-radius: 8px;
    background: #fff; border: 1px solid var(--border);
    box-shadow: var(--shadow-sm); overflow: hidden;
}
.ui-receipt .rc-line { height: 4px; border-radius: 2px; background: #E9E5F2; margin: 0 10px 6px; }
.ui-receipt .rc-line:first-child { margin-top: 12px; width: 44%; background: #D8D2E8; }
.ui-receipt .rc-hit {
    position: absolute; left: 9px; right: 9px; bottom: 14px; height: 18px;
    border: 1.5px solid var(--brand-vivid); border-radius: 5px;
    background: rgba(108,87,201,.12);
}
.ui-scan {
    position: absolute; left: 0; right: 0; height: 2px;
    background: var(--brand-vivid); box-shadow: 0 0 9px 2px rgba(108,87,201,.55);
    animation: ui-scan 3s var(--ease-out) infinite;
}
@keyframes ui-scan {
    0%, 100% { top: 6%;  opacity: 0; }
    12%      { opacity: 1; }
    55%      { top: 86%; opacity: 1; }
    68%      { opacity: 0; }
}

/* ── ② 택시비 — 경로 지도 ── */
.ui-map {
    position: relative; border-radius: 10px; overflow: hidden;
    background: var(--brand-faint); border: 1px solid var(--border);
    height: 108px;
}
.ui-map::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 26px 26px; opacity: .55;
}
.ui-map svg { position: relative; width: 100%; height: 100%; display: block; }
.ui-map .m-route { fill: none; stroke: var(--brand-vivid); stroke-width: 2.6; stroke-linecap: round; }
.ui-map .m-dash {
    fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round;
    stroke-dasharray: 5 7; animation: ui-dash 1.6s linear infinite;
}
@keyframes ui-dash { to { stroke-dashoffset: -24; } }
.ui-map .m-pin { fill: var(--brand-deep); }
.ui-map .m-pin.end { fill: var(--brand-vivid); }
.ui-map-tag {
    position: absolute; padding: 3px 8px; border-radius: 6px;
    background: #fff; box-shadow: var(--shadow-sm);
    font-size: .625rem; font-weight: 800; color: var(--brand-deep); white-space: nowrap;
}

/* ── ③ 서베이 스냅 — 설문지 인식 ── */
.ui-sheet { display: flex; flex-direction: column; gap: 9px; }
.ui-sheet-q { display: flex; align-items: center; gap: 7px; }
.ui-opt { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--border); flex-shrink: 0; position: relative; background: #fff; }
.ui-opt.on { border-color: var(--brand-vivid); background: var(--brand-vivid); }
.ui-opt.on::after {
    content: '✓'; position: absolute; inset: 0; color: #fff;
    font-size: 9px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
}
.ui-opt-line { height: 5px; border-radius: 3px; background: #EDEAF5; flex: 1; }

/* ── ④ AI 검색 — 입력창 + 해석된 조건 칩 ── */
.ui-search {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px; border-radius: 10px;
    border: 1.5px solid var(--brand-vivid); background: var(--brand-faint);
    font-size: .8125rem; font-weight: 700; color: var(--brand-vivid);
}
.ui-search svg { width: 14px; height: 14px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.ui-caret { width: 1.5px; height: 13px; background: var(--brand-vivid); animation: ui-caret 1.1s steps(1) infinite; }
@keyframes ui-caret { 50% { opacity: 0; } }
.ui-arrow { text-align: center; color: var(--brand); font-size: .875rem; font-weight: 900; margin: 8px 0 6px; }
.ui-chips { display: flex; flex-wrap: wrap; gap: 5px; }

/* ── ⑤ 예약발송 — 타임라인 ── */
.ui-time { display: flex; gap: 10px; align-items: flex-start; }
.ui-time .t-when {
    width: 54px; flex-shrink: 0; text-align: right; padding-top: 1px;
    font-size: .6875rem; font-weight: 800; color: var(--text-sub); font-variant-numeric: tabular-nums;
}
.ui-time .t-track { position: relative; width: 10px; flex-shrink: 0; display: flex; justify-content: center; }
.ui-time .t-track::before { content: ''; position: absolute; top: 6px; bottom: -8px; width: 1.5px; background: var(--border); }
.ui-time:last-child .t-track::before { display: none; }
.ui-time .t-dot {
    width: 10px; height: 10px; border-radius: 50%; margin-top: 2px;
    background: #fff; border: 2px solid var(--brand); position: relative; z-index: 1;
}
.ui-time.done .t-dot { background: var(--brand-vivid); border-color: var(--brand-vivid); }
.ui-time .t-body { flex: 1; min-width: 0; padding-bottom: 13px; }
.ui-time:last-child .t-body { padding-bottom: 0; }
.ui-time .t-name, .ui-time .t-sub { display: block; }
.ui-time .t-name { font-size: .78125rem; font-weight: 700; color: var(--text); }
.ui-time .t-sub { font-size: .6875rem; color: var(--text-sub); margin-top: 2px; }

/* ── ⑥ 등록 폼 빌더 ── */
.ui-field { margin-bottom: 9px; }
.ui-field .f-lb { font-size: .625rem; font-weight: 800; color: var(--text-sub); margin-bottom: 4px; letter-spacing: .02em; }
.ui-field .f-in {
    height: 26px; border: 1.5px solid var(--border); border-radius: 7px; background: #fff;
    display: flex; align-items: center; gap: 5px; padding: 0 9px;
    font-size: .6875rem; color: var(--text-sub);
}
.ui-field .f-in.focus { border-color: var(--brand-vivid); box-shadow: 0 0 0 3px rgba(108,87,201,.13); color: var(--text); font-weight: 600; }
.ui-field .f-in.custom { border-style: dashed; border-color: var(--brand); color: var(--brand-vivid); font-weight: 700; }
.ui-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

/* ── ⑦ 현장 운영 — 타이머 ── */
.ui-clock {
    font-size: 2.625rem; font-weight: 900; letter-spacing: -.03em; line-height: 1;
    color: var(--brand-deep); font-variant-numeric: tabular-nums; text-align: center;
}
.ui-clock.warn { color: #D97A28; }
.ui-ctrl { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.ui-ctrl span {
    padding: 5px 12px; border-radius: 8px;
    background: var(--brand-faint); border: 1px solid var(--border);
    font-size: .6875rem; font-weight: 800; color: var(--text-sub);
}
.ui-ctrl span.on { background: var(--brand-vivid); border-color: var(--brand-vivid); color: #fff; }

/* ── ⑧ 실시간 투표 — 결과 막대 ── */
.ui-poll { display: flex; flex-direction: column; gap: 9px; }
.ui-poll .p-head { display: flex; justify-content: space-between; font-size: .75rem; margin-bottom: 4px; }
.ui-poll .p-name { font-weight: 600; color: var(--text); }
.ui-poll .p-pct { font-weight: 800; color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.ui-poll .p-item.lead .p-pct { color: var(--brand-vivid); }

/* ── ⑨ 전자방명록 — 서명 패드 ── */
.ui-sign {
    border: 1.5px dashed var(--brand); border-radius: 10px;
    background: var(--brand-faint);
    height: 86px; padding: 8px 12px;
}
.ui-sign svg { width: 100%; height: 100%; display: block; }
.ui-sign path {
    fill: none; stroke: var(--brand-deep); stroke-width: 2.4;
    stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 900; stroke-dashoffset: 900;
    animation: ui-draw 4.5s var(--ease-out) infinite;
}
@keyframes ui-draw {
    0%       { stroke-dashoffset: 900; opacity: 1; }
    45%, 88% { stroke-dashoffset: 0;   opacity: 1; }
    100%     { stroke-dashoffset: 0;   opacity: 0; }
}

/* ── ⑩ 럭키드로우 — 이름 롤링 릴 ── */
.ui-reel {
    position: relative; height: 96px; overflow: hidden;
    border-radius: 10px; background: var(--grad-cta);
}
.ui-reel ul { list-style: none; margin: 0; padding: 0; animation: ui-roll 3.6s cubic-bezier(.16,.85,.25,1) infinite; }
.ui-reel li {
    height: 32px; line-height: 32px; text-align: center;
    font-size: .875rem; font-weight: 700; color: rgba(255,255,255,.45);
}
.ui-reel li.hit { color: #fff; font-size: 1.0625rem; font-weight: 900; letter-spacing: -.01em; }
@keyframes ui-roll { 0% { transform: translateY(0); } 72%, 100% { transform: translateY(-96px); } }
.ui-reel::after {
    content: ''; position: absolute; left: 0; right: 0; top: 32px; height: 32px;
    border-top: 1.5px solid rgba(255,255,255,.3); border-bottom: 1.5px solid rgba(255,255,255,.3);
    pointer-events: none;
}

/* ── ⑪ 웨비나 — 플레이어 ── */
.ui-player {
    position: relative; border-radius: 10px; overflow: hidden;
    background: linear-gradient(150deg, #372F55 0%, #5B4F84 100%);
    aspect-ratio: 16 / 9;
    display: flex; align-items: center; justify-content: center;
}
.ui-player .p-play {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.94); color: var(--brand-deep);
    display: flex; align-items: center; justify-content: center;
}
.ui-player .p-play svg { width: 15px; height: 15px; fill: currentColor; margin-left: 2px; }
.ui-player .p-live { position: absolute; top: 9px; left: 9px; }
.ui-player .p-count {
    position: absolute; top: 9px; right: 9px;
    padding: 3px 9px; border-radius: 999px;
    background: rgba(0,0,0,.4); color: #fff;
    font-size: .625rem; font-weight: 800;
}
.ui-player .p-bar { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.28); }
.ui-player .p-bar i { display: block; height: 100%; border-radius: 2px; background: #fff; }

/* ============================================================
   프로세스 (도입 단계)
   ============================================================ */
/* auto-fit — 카드 개수에 맞춰 열이 자동으로 줄어든다.
   3단계(index 도입 프로세스)든 4단계(timer 설치)든 항상 가로를 꽉 채워 균등 분할한다.
   ⚠️ repeat(4, 1fr) 로 고정하면 카드를 하나 빼는 순간 오른쪽에 빈 칸이 남는다 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; counter-reset: step; }
.step-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 26px 30px;
    transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand);
}
/* 스텝 사이 연결 화살표 (마지막 카드 제외) */
.step-card:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 40px; right: -21px;
    z-index: 1;
    color: var(--brand);
    font-size: 1.25rem;
    font-weight: 800;
}
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-vivid), var(--brand-deep));
    color: #fff;
    font-weight: 800;
    font-size: 1.0625rem;
    margin-bottom: 18px;
    box-shadow: 0 5px 14px rgba(108, 87, 201, .3);
}
.step-card h4 { font-size: 1.125rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.step-card p { font-size: .9375rem; color: var(--text-sub); }

/* ============================================================
   CTA 밴드
   ============================================================ */
.cta-band {
    background: var(--grad-cta);
    border-radius: var(--radius-lg);
    padding: 80px 48px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute; width: 460px; height: 460px;
    border-radius: 50%; background: rgba(154,140,201,.35);
    filter: blur(80px); top: -200px; right: -100px;
}
/* 좌하단 보조 오브 + 도트 패턴 */
.cta-band::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 60% 90% at 15% 85%, #000, transparent 70%);
    mask-image: radial-gradient(ellipse 60% 90% at 15% 85%, #000, transparent 70%);
    pointer-events: none;
}
.cta-band h2 { position: relative; font-size: clamp(1.625rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.cta-band p { position: relative; margin-top: 14px; font-size: 1.125rem; color: rgba(255,255,255,.82); }
.cta-band .btn { position: relative; margin-top: 36px; background: #fff; color: var(--brand-deep); }
.cta-band .btn:hover { background: var(--brand-soft); }

/* ============================================================
   페이지 히어로 (서브 페이지 공통)
   ============================================================ */
.page-hero {
    padding: 110px 0 90px;
    background: var(--grad-hero);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; width: 480px; height: 480px; border-radius: 50%;
    background: #B7A8E8; filter: blur(100px); opacity: .35; top: -180px; right: -80px;
}
/* 서브 페이지 히어로에도 도트 패턴 통일 적용 */
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.15) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 20%, #000, transparent 70%);
    mask-image: radial-gradient(ellipse 70% 80% at 75% 20%, #000, transparent 70%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.25; }
.page-hero p { margin-top: 18px; font-size: 1.1875rem; color: rgba(255,255,255,.85); max-width: 640px; }

/* ============================================================
   회사소개 — 미션 · 타임라인
   ============================================================ */
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mission-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
}
.mission-card .m-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--brand-soft);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.mission-card .m-icon svg { width: 26px; height: 26px; stroke: var(--brand-vivid); }
.mission-card h3 { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.mission-card p { color: var(--text-sub); font-size: 1rem; }

/* 타임라인 */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 36px; }
.timeline::before {
    content: '';
    position: absolute; left: 8px; top: 6px; bottom: 6px;
    width: 2px; background: var(--border);
}
.tl-item { position: relative; padding-bottom: 46px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
    content: '';
    position: absolute; left: -34px; top: 7px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--brand-vivid);
    border: 3px solid var(--brand-soft);
}
.tl-year { font-size: 1.0625rem; font-weight: 800; color: var(--brand-vivid); letter-spacing: .02em; }
.tl-item h4 { font-size: 1.1875rem; font-weight: 800; color: var(--ink); margin-top: 6px; }
.tl-item p { margin-top: 6px; color: var(--text-sub); font-size: 1rem; }

/* ============================================================
   서비스 상세
   ============================================================ */
.svc-anchor-nav {
    position: sticky;
    top: var(--header-h);
    z-index: 50;
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.svc-anchor-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 4px;
    white-space: nowrap;
}
.svc-anchor-inner a {
    padding: 16px 18px;
    font-size: .9765rem;
    font-weight: 700;
    color: var(--text-sub);
    border-bottom: 2.5px solid transparent;
    transition: color .15s, border-color .15s;
}
.svc-anchor-inner a:hover, .svc-anchor-inner a.current { color: var(--brand-vivid); border-bottom-color: var(--brand-vivid); }

.svc-detail { padding: 100px 0; }
.svc-detail:nth-child(even) { background: var(--brand-faint); }
.svc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.svc-detail-grid.reverse .svc-detail-visual { order: 2; }
.svc-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-vivid);
    font-size: .8125rem;
    font-weight: 800;
    letter-spacing: .05em;
    margin-bottom: 16px;
}
.svc-detail h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.3; }
.svc-detail .svc-detail-desc { margin-top: 16px; font-size: 1.0625rem; color: var(--text-sub); }
.svc-detail ul.svc-points { margin-top: 24px; list-style: none; }
.svc-detail ul.svc-points li {
    position: relative; padding-left: 30px; margin-bottom: 12px;
    font-size: 1rem; font-weight: 500;
}
.svc-detail ul.svc-points li::before {
    content: '✓';
    position: absolute; left: 0; top: 3px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--brand-soft); color: var(--brand-vivid);
    font-size: .75rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
}
.svc-detail-visual {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--grad-hero);
    /* 목업 내용 높이가 기능마다 달라 고정 비율 대신 최소 높이 + 여백 */
    min-height: 400px;
    padding: 40px 0;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* ============================================================
   문의 폼
   ============================================================ */
.contact-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.3; }
.contact-info > p { margin-top: 16px; color: var(--text-sub); font-size: 1.0625rem; }
.contact-channels { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.contact-channel {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 22px;
    background: var(--brand-faint);
    border-radius: var(--radius);
}
.contact-channel .cc-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    background: #fff; box-shadow: var(--shadow-sm);
    display: flex; align-items: center; justify-content: center;
}
.contact-channel .cc-icon svg { width: 22px; height: 22px; stroke: var(--brand-vivid); }
.contact-channel .cc-label { font-size: .8125rem; font-weight: 700; color: var(--text-sub); }
.contact-channel .cc-value { font-size: 1.0625rem; font-weight: 700; color: var(--ink); }

.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .9375rem; font-weight: 700; color: var(--ink); }
.form-field label .req { color: var(--brand-vivid); }
.form-field input,
.form-field select,
.form-field textarea {
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--brand-vivid);
    box-shadow: 0 0 0 3px rgba(108, 87, 201, .14);
}
.form-field textarea { resize: vertical; min-height: 150px; }
.form-agree { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; font-size: .9375rem; color: var(--text-sub); }
.form-agree input { margin-top: 4px; accent-color: var(--brand-vivid); }
.form-submit { margin-top: 28px; width: 100%; justify-content: center; }

/* 알림 박스 */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 26px;
    font-size: .9765rem;
}
.alert-ok  { background: #EDF7F1; color: #2F7A54; border: 1px solid #CBE7D8; }
.alert-err { background: #FBEEEE; color: #B3474B; border: 1px solid #F0D4D5; }

/* 허니팟 — 화면에서 숨김 (스팸봇 전용 필드) */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ============================================================
   푸터
   ============================================================ */
.site-footer {
    position: relative;
    background: #221E30;
    color: #B9B4C7;
    padding: 72px 0 36px;
}
/* 푸터 상단 그라데이션 헤어라인 */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-deep), var(--brand-vivid) 40%, var(--brand) 75%, transparent);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.footer-top { display: grid; grid-template-columns: 1fr 2.4fr; gap: 48px; }
.footer-logo { filter: brightness(0) invert(1); opacity: .92; height: 26px; width: auto; }
.footer-tagline { margin-top: 16px; font-size: .9765rem; color: #8F89A3; }
.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer-col h4 { color: #fff; font-size: .9375rem; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; font-size: .9375rem; color: #B9B4C7; padding: 5px 0; transition: color .15s, transform .2s var(--ease-out); }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom {
    margin-top: 56px; padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: .875rem; color: #8F89A3;
}
/* 법적 고지 — 이용약관·개인정보처리방침 + 사업자 정보 */
.footer-bottom .fl-links { margin-bottom: 12px; }
.footer-bottom .fl-links a { font-size: .9375rem; font-weight: 700; color: #D8D3E4; transition: color .15s; }
.footer-bottom .fl-links a.strong { font-weight: 800; color: #fff; }
.footer-bottom .fl-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom .fl-links .sep { margin: 0 10px; color: rgba(255,255,255,.22); }
.footer-bottom .fl-info { display: flex; flex-wrap: wrap; font-size: .8125rem; line-height: 1.9; }
.footer-bottom .fl-info span { white-space: nowrap; }
.footer-bottom .fl-info span + span::before { content: '|'; margin: 0 9px; color: rgba(255,255,255,.18); }
.footer-bottom .fl-copy { margin-top: 12px; font-size: .8125rem; color: #7D7791; }
/* KB에스크로 인증마크 */
.footer-bottom .fl-escrow { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.footer-bottom .fl-escrow img { display: block; border-radius: 8px; background: #fff; padding: 4px; }
.footer-bottom .fl-escrow-desc { font-size: .78125rem; color: #7D7791; line-height: 1.6; max-width: 420px; }

/* ============================================================
   약관·정책 문서 페이지 (terms.php · privacy.php)
   — 히어로 / 사이드 목차(JS 자동 생성) / 본문 카드
   ============================================================ */
.doc-hero { padding: 78px 0 66px; }
.doc-kicker, .hero-kicker {
    display: inline-block;
    padding: 5px 13px; border-radius: 999px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
    font-size: .75rem; font-weight: 800; letter-spacing: .12em;
    margin-bottom: 18px;
}
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.doc-badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 15px; border-radius: 999px;
    background: rgba(255,255,255,.94); color: var(--brand-deep);
    font-size: .8125rem; font-weight: 700;
}
.doc-badge svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.doc-badge.ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.3); }

.doc-section { padding: 60px 0 100px; }
.doc-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 52px; align-items: start; }
.doc-main { min-width: 0; }

/* ── 사이드 목차 ── */
.doc-side { position: sticky; top: calc(var(--header-h) + 24px); }
.doc-toc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 14px;
    box-shadow: var(--shadow-sm);
}
.doc-toc-head {
    font-size: .6875rem; font-weight: 800; letter-spacing: .1em;
    color: var(--text-sub); padding: 0 10px 12px;
    border-bottom: 1px solid var(--border); margin-bottom: 10px;
}
.doc-toc nav { display: flex; flex-direction: column; gap: 1px; max-height: 58vh; overflow-y: auto; }
.doc-toc nav a {
    font-size: .8125rem; line-height: 1.5;
    padding: 7px 11px; border-radius: 8px;
    color: var(--text-sub);
    transition: background .15s, color .15s;
}
.doc-toc nav a:hover { background: var(--brand-faint); color: var(--brand-vivid); }
.doc-toc nav a.current { background: var(--brand-soft); color: var(--brand-vivid); font-weight: 700; }
.doc-print {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; margin-top: 12px;
    padding: 11px 14px; border-radius: 10px;
    border: 1.5px solid var(--border); background: var(--surface);
    font-size: .8125rem; font-weight: 700; color: var(--text-sub);
    transition: border-color .15s, color .15s;
}
.doc-print:hover { border-color: var(--brand); color: var(--brand-vivid); }
.doc-print svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── 본문 카드 ── */
.doc-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 50px 54px;
}
.doc-lead {
    padding: 20px 24px; margin-bottom: 8px;
    border-radius: var(--radius);
    background: var(--brand-faint);
    border: 1px solid var(--brand-soft);
    font-size: .9375rem; line-height: 1.8; color: var(--text);
}
.doc-card h2 {
    position: relative;
    font-size: 1.125rem; font-weight: 800; color: var(--brand-deep);
    margin: 40px 0 14px; padding-left: 16px;
    scroll-margin-top: calc(var(--header-h) + 24px);
}
.doc-card h2::before {
    content: '';
    position: absolute; left: 0; top: .22em; bottom: .22em;
    width: 4px; border-radius: 3px; background: var(--brand-vivid);
}
.doc-card > *:first-child { margin-top: 0; }
.doc-card p, .doc-card li { font-size: .9375rem; line-height: 1.85; color: var(--text); }
.doc-card p { margin: 0 0 12px; }
.doc-card ol, .doc-card ul { padding-left: 22px; margin: 0 0 14px; }
.doc-card li { margin-bottom: 7px; }
.doc-card li::marker { color: var(--brand-vivid); font-weight: 700; }
.doc-card li > ul, .doc-card li > ol { margin-top: 9px; }
.doc-card li > ul li::marker { color: var(--brand); }
.doc-card table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    font-size: .875rem; margin: 14px 0 16px;
    border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.doc-card th, .doc-card td { padding: 11px 14px; text-align: left; vertical-align: top; }
.doc-card th { background: var(--brand-faint); color: var(--ink); font-weight: 700; white-space: nowrap; }
.doc-card tr + tr th, .doc-card tr + tr td { border-top: 1px solid var(--border); }
.doc-card th + td, .doc-card th + th, .doc-card td + td { border-left: 1px solid var(--border); }

.doc-xlink {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 28px; padding: 18px;
    border-radius: var(--radius);
    background: var(--brand-faint); border: 1px solid var(--brand-soft);
    font-size: .9375rem;
}
.doc-xlink a { font-weight: 700; color: var(--brand-vivid); }
.doc-xlink a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
    .doc-layout { grid-template-columns: 1fr; gap: 28px; }
    .doc-side { position: static; }
    .doc-toc nav { flex-direction: row; flex-wrap: wrap; gap: 6px; max-height: none; overflow: visible; }
    .doc-toc nav a {
        border: 1px solid var(--border); border-radius: 999px;
        padding: 6px 13px; font-size: .78125rem;
    }
    .doc-print { width: auto; margin-left: auto; }
}

@media print {
    .site-header, .site-footer, .doc-hero, .doc-side, .doc-xlink { display: none !important; }
    .doc-section { padding: 0; }
    .doc-layout { display: block; }
    .doc-card { border: none; box-shadow: none; padding: 0; }
    .doc-card h2 { page-break-after: avoid; }
    .doc-card table, .doc-card li { page-break-inside: avoid; }
}

/* ============================================================
   타이머 무료 다운로드 (timer.php)
   ============================================================ */
.dl-hero { padding: 92px 0 80px; }
.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.btn-white { background: #fff; color: var(--brand-deep); box-shadow: 0 10px 30px rgba(30,27,41,.22); }
.btn-white:hover { transform: translateY(-2px); background: var(--brand-soft); }
.dl-note { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: .875rem; color: rgba(255,255,255,.8); }
.dl-note span { display: inline-flex; align-items: center; gap: 7px; }
.dl-note svg { width: 15px; height: 15px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ── 구성도 ── */
.net-map { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; }
.net-node {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px 22px; text-align: center;
    box-shadow: var(--shadow-sm);
}
.net-node.center { border-color: var(--brand-vivid); box-shadow: var(--shadow-md); }
.net-ico {
    width: 46px; height: 46px; border-radius: 14px; margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand-vivid);
}
.net-node.center .net-ico { background: var(--brand-vivid); color: #fff; }
.net-ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.net-node h4 { font-size: 1rem; font-weight: 800; color: var(--ink); }
.net-node p { margin-top: 7px; font-size: .8125rem; color: var(--text-sub); line-height: 1.65; }
.net-tag {
    display: inline-block; margin-top: 13px;
    padding: 4px 11px; border-radius: 999px;
    background: var(--brand-faint); border: 1px solid var(--border);
    font-size: .6875rem; font-weight: 800; color: var(--text-sub);
}
.net-link { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 16px; color: var(--brand-vivid); font-size: .6875rem; font-weight: 800; }
.net-link i { display: block; width: 54px; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 6px, transparent 6px 12px); }

/* ── 시스템 요구사항 ── */
.spec-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
    font-size: .9375rem;
}
.spec-table th, .spec-table td { padding: 16px 20px; text-align: left; vertical-align: top; line-height: 1.7; }
.spec-table th { width: 200px; background: var(--brand-faint); color: var(--ink); font-weight: 700; white-space: nowrap; }
.spec-table tr + tr th, .spec-table tr + tr td { border-top: 1px solid var(--border); }
.spec-table th + td { border-left: 1px solid var(--border); }

/* ── 알아두기 카드 ── */
.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.note-card {
    background: var(--surface); border: 1px solid var(--border);
    border-left: 4px solid var(--brand-vivid); border-radius: var(--radius);
    padding: 26px 24px;
}
.note-card.warn { border-left-color: #D97A28; }
.note-card h4 { font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: 9px; }
.note-card p { font-size: .9375rem; color: var(--text-sub); line-height: 1.75; }

/* ── 다운로드 카드 ── */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dl-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px 30px;
    display: flex; flex-direction: column;
}
.dl-card.primary { border-color: var(--brand-vivid); box-shadow: var(--shadow-md); }
.dc-top { display: flex; align-items: center; gap: 14px; }
.dc-ico {
    width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
    background: var(--brand-soft); color: var(--brand-vivid);
    display: flex; align-items: center; justify-content: center;
}
.dl-card.primary .dc-ico { background: var(--brand-vivid); color: #fff; }
.dc-ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dl-card h3 { font-size: 1.125rem; font-weight: 800; color: var(--ink); }
.dc-size { font-size: .8125rem; color: var(--text-sub); margin-top: 3px; }
.dl-card > p { margin-top: 18px; font-size: .9375rem; color: var(--text-sub); line-height: 1.75; flex: 1; }
.dl-card .btn { margin-top: 24px; justify-content: center; width: 100%; }

/* ── 업데이트 내역 (Changelog) ── */
/* 항목 수는 timer.php 의 $updates 배열에 따라 늘어난다 — 개수와 무관하게 그려지도록 할 것 */
.ul-list { list-style: none; max-width: 820px; margin: 0 auto; }
.ul-item { position: relative; padding: 0 0 34px 34px; }
.ul-item:last-child { padding-bottom: 0; }
.ul-item::before {                                      /* 항목을 잇는 세로선 */
    content: ''; position: absolute; left: 6px; top: 20px; bottom: 0;
    width: 2px; background: var(--border);
}
.ul-item:last-child::before { display: none; }
.ul-dot {
    position: absolute; left: 0; top: 6px; z-index: 1;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--surface); border: 3px solid var(--brand);
}
.ul-item.latest .ul-dot { border-color: var(--brand-vivid); box-shadow: 0 0 0 5px rgba(108, 87, 201, .13); }
.ul-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ul-date { font-size: .8125rem; font-weight: 800; color: var(--text-sub); font-variant-numeric: tabular-nums; }
.ul-tag, .ul-latest {
    padding: 3px 10px; border-radius: 999px;
    font-size: .6875rem; font-weight: 800; letter-spacing: .02em;
}
.ul-tag        { background: var(--brand-soft); color: var(--brand-vivid); }
.ul-tag.imp    { background: #E1F3E9; color: #1B7F4E; }
.ul-tag.fix    { background: #FDEEDA; color: #A9660F; }
.ul-latest     { background: var(--brand-vivid); color: #fff; }
.ul-item h3 { margin-top: 9px; font-size: 1.125rem; font-weight: 800; color: var(--ink); line-height: 1.45; }
.ul-item > ul { margin-top: 12px; list-style: none; }
.ul-item > ul > li { position: relative; padding-left: 15px; margin-top: 8px; font-size: .9375rem; color: var(--text-sub); line-height: 1.75; }
.ul-item > ul > li::before {
    content: ''; position: absolute; left: 1px; top: .72em;
    width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}
.ul-item > ul > li strong { color: var(--text); font-weight: 700; }

/* 오래된 내역은 접어 둔다 (JS 없이 <details>) */
.ul-more { max-width: 820px; margin: 32px auto 0; }
.ul-more > summary {
    cursor: pointer; list-style: none;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border);
    font-size: .875rem; font-weight: 700; color: var(--text-sub);
    transition: color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.ul-more > summary::-webkit-details-marker { display: none; }
.ul-more > summary::after { content: '▾'; font-size: .6875rem; }
.ul-more[open] > summary::after { content: '▴'; }
.ul-more > summary:hover { color: var(--brand-vivid); border-color: var(--brand-vivid); }
.ul-more .ul-list { margin-top: 32px; }

/* 기능 목록 안의 NEW 배지 · 본문 인라인 링크 */
.pt-badge {
    display: inline-block; vertical-align: 2px; margin-right: 7px;
    padding: 2px 8px; border-radius: 999px;
    background: var(--brand-vivid); color: #fff;
    font-size: .625rem; font-weight: 900; letter-spacing: .06em;
}
.inline-link { color: var(--brand-vivid); font-weight: 700; border-bottom: 1px solid rgba(108, 87, 201, .35); }
.inline-link:hover { border-bottom-color: var(--brand-vivid); }
/* ── 목업 확장: 채팅 스레드 · 호출 알림 · 색상 스와치 ── */
.ui-thread { display: flex; flex-direction: column; gap: 8px; }
.ui-bubble { max-width: 84%; padding: 9px 12px; border-radius: 12px; font-size: .78125rem; line-height: 1.55; }
.ui-bubble .b-who { display: block; font-size: .625rem; font-weight: 800; opacity: .72; margin-bottom: 3px; }
.ui-bubble.in  { align-self: flex-start; background: var(--brand-faint); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 4px; }
.ui-bubble.out { align-self: flex-end; background: var(--brand-vivid); color: #fff; border-bottom-right-radius: 4px; }
.ui-bubble.sys { align-self: center; max-width: none; background: #F1EEF8; color: var(--text-sub); font-size: .6875rem; font-weight: 700; border-radius: 999px; padding: 5px 13px; }

.ui-alert {
    display: flex; align-items: center; gap: 11px;
    padding: 13px 15px; border-radius: 12px;
    background: #FBE3E3; border: 1.5px solid #F0B9B7; color: #A32B26;
    animation: ui-flash 1.9s ease-in-out infinite;
}
.ui-alert .a-ico {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    background: #C0332E; color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.ui-alert .a-ico svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ui-alert .a-t { font-size: .8125rem; font-weight: 800; }
.ui-alert .a-s { font-size: .6875rem; opacity: .82; margin-top: 1px; }
@keyframes ui-flash {
    0%, 100% { box-shadow: 0 0 0 0 rgba(192,51,46,.35); }
    50%      { box-shadow: 0 0 0 8px rgba(192,51,46,0); }
}

.ui-swatch { display: flex; gap: 6px; }
.ui-swatch span {
    flex: 1; height: 24px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: .5625rem; font-weight: 800; color: #fff;
}

/* ============================================================
   기능 맵 — 행사 전·중·후 전체 기능 한눈 시각화
   ============================================================ */
.fmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fmap-col {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    position: relative;
}
.fmap-phase {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.125rem; font-weight: 800; color: var(--ink);
    padding-bottom: 16px; margin-bottom: 18px;
    border-bottom: 2px solid var(--brand-soft);
}
.fmap-phase .fp-num {
    width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
    background: var(--brand-vivid); color: #fff;
    font-size: .9375rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.fmap-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--brand-faint);
    font-size: .875rem; font-weight: 600; color: var(--text);
    transition: border-color .15s, transform .15s;
}
a.chip:hover { border-color: var(--brand); transform: translateY(-1px); }
.chip.core {
    background: var(--brand-vivid);
    border-color: var(--brand-vivid);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(108, 87, 201, .3);
}
.chip.core::before { content: '★'; font-size: .75em; }
.fmap-legend { margin-top: 22px; text-align: center; font-size: .9375rem; color: var(--text-sub); }
.fmap-legend .chip { pointer-events: none; padding: 4px 12px; font-size: .8125rem; }

/* ============================================================
   핵심 기능 쇼케이스 (다크 그라데이션 밴드)
   ============================================================ */
.core-section {
    background: var(--grad-cta);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.core-section::before {
    content: '';
    position: absolute; width: 560px; height: 560px; border-radius: 50%;
    background: rgba(154,140,201,.35); filter: blur(100px);
    top: -220px; right: -120px; pointer-events: none;
}
.core-section .section-label { color: #CBBFF0; }
.core-section .section-title { color: #fff; }
.core-section .section-desc { color: rgba(255,255,255,.78); }
.core-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.core-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    display: flex; flex-direction: column;
    transition: transform .25s, background .25s;
}
.core-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.11); }
.core-badge {
    align-self: flex-start;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: var(--brand-deep);
    font-size: .75rem; font-weight: 900; letter-spacing: .08em;
    margin-bottom: 20px;
}
.core-card h3 { font-size: 1.375rem; font-weight: 800; line-height: 1.35; }
.core-card > p { margin-top: 12px; font-size: .9765rem; color: rgba(255,255,255,.78); flex: 1; }
.core-mock {
    margin-top: 24px;
    background: rgba(255,255,255,.96);
    border-radius: 14px;
    padding: 18px 20px;
    color: var(--text);
}
.core-mock .mock-title { font-size: .75rem; font-weight: 700; color: var(--text-sub); letter-spacing: .05em; margin-bottom: 10px; }
.core-mock .mock-big { font-size: 1.5rem; }
.core-mock .mock-row { font-size: .8125rem; }
.core-more { margin-top: 20px; font-weight: 700; font-size: .9375rem; color: #E4DEF7; }
.core-more::after { content: ' ↓'; }
.core-card:hover .core-more { color: #fff; }

/* ============================================================
   스크롤 리빌 애니메이션
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero::before, .hero::after, .hero-badge::before { animation: none; }
    .btn::after { display: none; }
    /* 목업 그래픽 애니메이션 — 최종 상태로 고정 */
    .ui-scan { animation: none; opacity: 0; }
    .ui-map .m-dash { animation: none; }
    .ui-caret { animation: none; }
    .ui-sign path { animation: none; stroke-dashoffset: 0; }
    .ui-reel ul { animation: none; transform: translateY(-96px); }
    .ui-alert { animation: none; }
}

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .fmap, .core-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step-card:not(:last-child)::after { display: none; }   /* 2열 이하에서는 연결 화살표 숨김 */
    .feature-row, .svc-detail-grid { gap: 48px; }

    /* 타이머 페이지 — 구성도는 세로로, 카드는 2열 */
    .net-map { grid-template-columns: 1fr; }
    .net-link { flex-direction: row; padding: 14px 0; }
    .net-link i { width: 2px; height: 30px; background: repeating-linear-gradient(180deg, var(--brand) 0 6px, transparent 6px 12px); }
    .note-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    section { padding: 80px 0; }
    .header-nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 22px;
        gap: 4px;
        display: none;
        box-shadow: var(--shadow-md);
    }
    .header-nav.open { display: flex; }
    .nav-link { padding: 13px 14px; font-size: 1.0625rem; }
    .nav-cta { margin: 10px 0 0; text-align: center; }
    .header-burger { display: block; }

    .feature-row, .svc-detail-grid, .contact-wrap { grid-template-columns: 1fr; }
    .feature-row.reverse .feature-visual, .svc-detail-grid.reverse .svc-detail-visual { order: 0; }
    .feature-row + .feature-row { margin-top: 72px; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
    .contact-form { padding: 32px 24px; }
    .dl-grid { grid-template-columns: 1fr; }
    .dl-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 560px) {
    .hero { padding: 90px 0 110px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .svc-grid, .steps, .mission-grid, .form-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-band { padding: 60px 28px; }
    .note-grid { grid-template-columns: 1fr; }
    .spec-table th { width: auto; white-space: normal; }
    .spec-table th, .spec-table td { padding: 12px 14px; font-size: .875rem; }

    /* 사업자 정보 — 좁은 화면에서는 구분자 없이 한 줄씩 */
    .footer-bottom .fl-info { display: block; }
    .footer-bottom .fl-info span { white-space: normal; display: block; }
    .footer-bottom .fl-info span + span::before { content: none; margin: 0; }

    /* 약관 문서 — 여백 축소 + 표 헤더 줄바꿈 허용 */
    .doc-hero { padding: 60px 0 50px; }
    .doc-section { padding: 40px 0 72px; }
    .doc-card { padding: 30px 22px; }
    .doc-card h2 { font-size: 1.0625rem; margin-top: 32px; }
    .doc-card table { font-size: .8125rem; }
    .doc-card th, .doc-card td { padding: 9px 10px; }
    .doc-card th { white-space: normal; }

    /* 업데이트 내역 — 타임라인 들여쓰기 축소 */
    .ul-item { padding-left: 26px; }
    .ul-item h3 { font-size: 1.0625rem; }

    /* 목업 그래픽 — 좁은 화면에서 폭 확보 */
    .ui-mock { width: min(92%, 340px); }
    .ui-float.br { right: -6px; bottom: -10px; }
    .ui-float.bl { left: -6px; bottom: -10px; }
    .ui-float.tr { right: -6px; top: -10px; }
    .ui-amount { font-size: 1.5rem; }
    .ui-clock { font-size: 2.125rem; }
}
