/* ============================================================
   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;   /* 아주 연한 섹션 배경 */
    --brand-hover:  #8375B4;   /* --brand 버튼 호버 */

    /* 뉴트럴 (퍼플기 있는 그레이) */
    --ink:          #1E1B29;
    --text:         #2A2833;
    --text-sub:     #6E6A7E;
    --border:       #E7E4F0;
    --surface:      #FFFFFF;
    --bg-page:      #FAFAFC;   /* 메인 히어로 바탕 */

    /* 상태색 — 메인 히어로의 체크 원·배경 빛 번짐에만 쓴다 */
    --success:      #7FB89A;
    --info:         #93B4DA;
    --error:        #DB9A93;

    /* 그라데이션 */
    --grad-hero:    linear-gradient(135deg, #544A75 0%, #6C57C9 55%, #9A8CC9 100%);
    --grad-cta:     linear-gradient(120deg, #443B63 0%, #6C57C9 100%);
    --grad-quiet:   linear-gradient(90deg, #544A75, #8375B4, #6E8FC0, #544A75);   /* "조용히 돕는 AI" 흐르는 글자 */

    /* 레이아웃 */
    --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(250, 250, 252, .7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background .25s, box-shadow .25s;
}
.site-header.scrolled {
    background: rgba(250, 250, 252, .9);
    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;
}
/* 히어로 위에서는 블러를 끈다 — 아래 배경이 계속 움직여서 매 프레임 다시 블러해야 했다.
   히어로가 거의 단색이라 블러 유무가 눈에 띄지 않는다. 히어로를 지나면(site.js 의 .past-hero) 다시 켠다 */
.site-header.is-home:not(.past-hero) { -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-home.scrolled:not(.past-hero) { background: rgba(250, 250, 252, .97); }   /* 블러가 없으니 뒤 글자가 비치지 않게 */
.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);
    color: #fff;
    font-weight: 700;
    font-size: .9375rem;
    transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--brand-hover); 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); }

/* ============================================================
   메인 히어로 (.hh) — 2026-10 리디자인
   - 밝은 배경 + 제품 UI 카드 스택(3D 틸트) + 배경 모션
   - 진입 애니메이션은 CSS keyframes 로만 (H1 줄은 overflow:hidden 마스크 안이라
     IntersectionObserver 로는 감지가 안 된다 → animation-fill-mode: both)
   - 데모(타이핑·카운트·타이머)·틸트·스포트라이트는 site.js 의 '메인 히어로' 블록
   ============================================================ */
.hh {
    position: relative;
    /* 반투명 헤더 밑으로 깔리도록 헤더 높이만큼 끌어올린다 */
    margin-top: calc(-1 * var(--header-h));
    padding: calc(var(--header-h) + 56px) 0 72px;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: var(--bg-page);
    color: var(--text);
    overflow: hidden;
    isolation: isolate;
}

/* ── 배경 모션 ── */
.hh-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* 빛 번짐 — filter: blur 대신 처음부터 흐린 원(radial-gradient)을 그려 두고 transform 만 움직인다.
   blur 는 움직일 때마다 GPU 가 다시 계산해야 해서 저사양 PC 에서 버벅였다 (2026-10 성능 개선) */
.hh-glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--c) 0%, var(--c) 32%, transparent 100%);
}
.hh-glow.g1 { --c: var(--brand); width: 740px; height: 740px; top: -290px; left: -250px; opacity: .42; animation: hhDrift1 13s ease-in-out infinite alternate; }
.hh-glow.g2 { --c: var(--info);  width: 680px; height: 680px; top: calc(18% - 90px); right: -270px; opacity: .38; animation: hhDrift2 15s ease-in-out infinite alternate; }
.hh-glow.g3 { --c: var(--error); width: 700px; height: 600px; bottom: -330px; left: calc(32% - 90px); opacity: .18; animation: hhDrift3 17s ease-in-out infinite alternate; }
@keyframes hhDrift1 { to { transform: translate(120px, 80px) scale(1.12); } }
@keyframes hhDrift2 { to { transform: translate(-110px, 70px) scale(.92); } }
@keyframes hhDrift3 { to { transform: translate(-140px, -60px) scale(1.1); } }

/* 64px 그리드 — 아래로 천천히 흐른다. 가장자리 페이드는 mask 대신 배경색 덮개(::after)로 낸다
   (mask 는 안쪽이 움직이면 히어로 전체를 매 프레임 다시 합성한다). 덮개가 빛 번짐을 가리지 않도록
   마크업에서 그리드를 빛 번짐보다 먼저(아래에) 둔다 */
.hh-grid {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hh-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 55% at 50% 45%, transparent 20%, var(--bg-page) 75%);
}
.hh-grid i {
    position: absolute;
    inset: -64px 0 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 64px 64px;
    animation: hhGridFlow 4s linear infinite;
}
@keyframes hhGridFlow { to { transform: translateY(64px); } }

/* 마우스 스포트라이트 — 위치는 site.js 가 transform 으로 옮긴다 */
.hh-spot {
    position: absolute;
    top: 0; left: 0;
    width: 640px; height: 640px;
    margin: -320px 0 0 -320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(154, 140, 201, .26) 0%, transparent 65%);
    opacity: 0;
    transition: transform .25s ease-out, opacity .4s;
    will-change: transform;
}
.hh.spot-on .hh-spot { opacity: 1; }

/* ── 레이아웃 ── */
.hh-inner {
    width: 100%;
    max-width: var(--max-w);   /* 헤더·다른 페이지와 같은 폭 — 메뉴 이동 시 로고·메뉴 위치가 바뀌지 않게 */
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
    gap: 48px;
    align-items: center;
}
/* 넓은 화면 2단 — 카피 쪽을 조금 넓혀 H1 첫 줄(72px)이 한 줄에 들어가게 */
@media (min-width: 1101px) {
    .hh-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}

/* ── 카피 ── */
.hh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 14px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-size: .875rem;
    font-weight: 700;
    white-space: nowrap;
    animation: hhFadeUp .8s cubic-bezier(.2, .8, .2, 1) both;
}
.hh-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }
.hh-pulse::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: 50%;
    background: var(--brand);
    animation: hhPulse 2s ease-out infinite;
}
@keyframes hhPulse { from { transform: scale(1); opacity: .7; } to { transform: scale(2.8); opacity: 0; } }

.hh-title {
    margin-top: 26px;
    font-size: clamp(40px, 5.6vw, 72px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.16;
    color: var(--ink);
}
/* 줄 마스크 — 안쪽 span 이 아래에서 올라온다 */
.hh-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hh-line > span { display: block; animation: hhRise 1s cubic-bezier(.2, .8, .2, 1) both; }
.hh-line:nth-child(1) > span { animation-delay: .1s; }
.hh-line:nth-child(2) > span { animation-delay: .25s; }
.hh-line:nth-child(3) > span { animation-delay: .4s; }
.hh-grad {
    font-style: normal;
    background: var(--grad-quiet);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--brand-deep);
    /* background-position 은 매 프레임 글자를 다시 그린다 — 세 번만 흐르고 멈춘다 (끝 색 = 시작 색이라 이음매 없음) */
    animation: hhFlow 5s linear 1s 3;
}
@keyframes hhFlow { to { background-position: -200% 0; } }

.hh-desc {
    margin-top: 28px;
    max-width: 540px;
    font-size: clamp(1rem, 1.4vw, 1.1875rem);
    line-height: 1.75;
    color: var(--text-sub);
    text-wrap: pretty;
    animation: hhFadeUp .9s cubic-bezier(.2, .8, .2, 1) .55s both;
}
.hh-actions {
    margin-top: 40px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: hhFadeUp .9s cubic-bezier(.2, .8, .2, 1) .7s both;
}
.hh-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 30px;
    border-radius: 999px;
    font-size: 1.0625rem;
    font-weight: 700;
    overflow: hidden;
    transition: transform .25s var(--ease-out), background .2s, border-color .2s, box-shadow .25s, color .2s;
}
.hh-btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 28px rgba(84, 74, 117, .18); }
.hh-btn-primary:hover { background: var(--brand-hover); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(84, 74, 117, .24); }
/* 빛 스윕 — 주기적으로 버튼을 가로지른다 */
.hh-btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 45%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: translateX(-120%) skewX(-20deg);
    animation: hhShine 3.6s ease-in-out 1.6s infinite;
    pointer-events: none;
}
@keyframes hhShine {
    0%        { transform: translateX(-120%) skewX(-20deg); }
    40%, 100% { transform: translateX(320%) skewX(-20deg); }
}
.hh-btn-line { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.hh-btn-line:hover { border-color: var(--brand); color: var(--brand-deep); }
.hh-btn:active { transform: translateY(0) scale(.98); }

/* ── 제품 UI 카드 스택 ── */
.hh-visual {
    position: relative;
    height: 500px;
    perspective: 1400px;
    animation: hhPop 1s cubic-bezier(.2, .8, .2, 1) .45s both;
}
.hh-stack {
    position: relative;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
}
.hh-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(84, 74, 117, .16), 0 2px 6px rgba(84, 74, 117, .06);
}

/* 메인 카드 — 참가자 검색 AI */
.hh-main {
    position: absolute;
    top: 50%; left: 50%;
    width: min(420px, 84%);
    padding: 22px 22px 16px;
    transform: translate(-50%, -50%) translateZ(0);
}
.hh-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hh-card-title { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 800; color: var(--ink); }
.hh-card-title svg { width: 18px; height: 18px; stroke: var(--brand); }
.hh-card-tag { font-size: .75rem; font-weight: 600; color: var(--text-sub); padding: 4px 10px; border-radius: 999px; background: var(--brand-faint); white-space: nowrap; }

.hh-input {
    margin-top: 16px;
    height: 50px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid var(--brand);
    border-radius: 14px;
    box-shadow: 0 0 0 4px var(--brand-soft);
    font-size: .9875rem;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
}
.hh-input svg { width: 18px; height: 18px; stroke: var(--text-sub); flex-shrink: 0; }
.hh-typed { min-width: 0; }
.hh-caret { width: 2px; height: 20px; margin-left: -8px; background: var(--brand-deep); animation: hhBlink 1s steps(1) infinite; }
@keyframes hhBlink { 50% { opacity: 0; } }

.hh-parse {
    margin-top: 14px;
    font-size: .8125rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: .02em;
}
.hh-chips { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.hh-chip {
    padding: 7px 12px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-size: .8438rem;
    font-weight: 600;
    white-space: nowrap;
}
.hh-chip b { font-weight: 800; }

.hh-result {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.hh-result > span { font-size: .8438rem; font-weight: 600; color: var(--text-sub); }
.hh-result strong { font-size: 1.875rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hh-result strong small { font-size: .5em; font-weight: 700; margin-left: 2px; color: var(--text-sub); }
.hh-rows { list-style: none; margin-top: 6px; }
.hh-rows li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: .8438rem;
    font-weight: 600;
    color: var(--text);
}
.hh-rows li + li { border-top: 1px solid var(--brand-faint); }
.hh-rows i { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); flex-shrink: 0; }
.hh-rows em { font-style: normal; font-weight: 500; color: var(--text-sub); }
.hh-rows span { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: var(--brand-faint); color: var(--brand-deep); font-size: .75rem; font-weight: 700; }

/* 데모 단계 — site.js 가 .is-live 를 붙인 뒤에만 숨겼다가 단계별로 드러낸다
   (JS 가 없거나 모션 축소 환경이면 마크업 그대로 = 최종 상태) */
.hh-main.is-live .hh-parse,
.hh-main.is-live .hh-chip,
.hh-main.is-live .hh-rows li { opacity: 0; transition: opacity .35s, transform .35s; }
.hh-main.is-live .hh-parse { transform: translateY(-4px); }
.hh-main.is-live .hh-chip { transform: scale(.6); transition: opacity .3s, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.hh-main.is-live .hh-rows li { transform: translateY(6px); }
.hh-main.p-parse .hh-parse,
.hh-main.p-c1 .hh-chip:nth-child(1),
.hh-main.p-c2 .hh-chip:nth-child(2),
.hh-main.p-rows .hh-rows li { opacity: 1; transform: none; }
.hh-main.p-rows .hh-rows li:nth-child(2) { transition-delay: .12s; }
.hh-main.p-rows .hh-rows li:nth-child(3) { transition-delay: .24s; }
.hh-main.is-typing .hh-caret { animation: none; opacity: 1; }

/* 떠 있는 카드 — 바깥은 깊이(translateZ), 안쪽은 위아래 흔들림 */
.hh-float { position: absolute; }
.hh-float.f-tr { top: -4%; right: -1%; transform: translateZ(90px); }
.hh-float.f-bl { bottom: 5%; left: -2%; transform: translateZ(130px); }
.hh-float.f-br { bottom: 0; right: 3%; transform: translateZ(60px); }
.hh-float-in {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 18px 44px rgba(84, 74, 117, .16);
    animation: hhBob 6s ease-in-out infinite;
}
.f-tr .hh-float-in { display: flex; align-items: center; gap: 12px; animation-duration: 5s; }
.f-bl .hh-float-in { animation-duration: 7s; animation-delay: -2s; }
.f-br .hh-float-in { animation-duration: 6s; animation-delay: -4s; min-width: 176px; }
@keyframes hhBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hh-float strong { display: block; font-size: .875rem; font-weight: 800; color: var(--ink); line-height: 1.35; }
.hh-float small { display: block; font-size: .75rem; font-weight: 600; color: var(--text-sub); line-height: 1.4; }
.hh-ok {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--success);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hh-ok svg { width: 18px; height: 18px; stroke: #fff; }

.hh-float-in.hh-dark { background: var(--brand-deep); border-color: var(--brand-deep); padding: 16px 20px; }
.hh-dark small { color: rgba(255, 255, 255, .7); }
.hh-timer {
    margin-top: 2px;
    font-size: 2.125rem !important;
    color: #fff !important;
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
    line-height: 1.15 !important;
}

.hh-receipt { margin-top: 4px; font-size: 1.5rem !important; font-variant-numeric: tabular-nums; }
.hh-receipt span { font-size: .6em; font-weight: 700; color: var(--text-sub); }
.hh-meter { display: block; margin-top: 8px; height: 6px; border-radius: 3px; background: var(--brand-soft); overflow: hidden; }
.hh-meter i { display: block; width: 95.7%; height: 100%; border-radius: 3px; background: var(--brand); }

/* ── 진입 애니메이션 ── */
@keyframes hhFadeUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes hhRise   { from { transform: translateY(110%); } }
@keyframes hhPop    { from { opacity: 0; transform: translateY(40px) scale(.95); } }

/* ── 서비스 흐름 띠 (marquee) ── */
.hh-marquee {
    position: relative;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 22px 0;
    overflow: hidden;
}
/* 좌우 페이드 — mask 대신 흰색→투명 덮개 (바탕이 흰색이라 결과는 같고 합성 비용이 없다) */
.hh-marquee::before,
.hh-marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 12%;
    z-index: 1;
    pointer-events: none;
}
.hh-marquee::before { left: 0;  background: linear-gradient(90deg, var(--surface), transparent); }
.hh-marquee::after  { right: 0; background: linear-gradient(-90deg, var(--surface), transparent); }
.hh-track { display: flex; width: max-content; animation: hhMarquee 32s linear infinite; }
.hh-marquee:hover .hh-track { animation-play-state: paused; }
.hh-track ul { display: flex; list-style: none; }
.hh-track li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 22px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-sub);
    white-space: nowrap;
}
.hh-track li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }
@keyframes hhMarquee { to { transform: translateX(-50%); } }

/* 히어로가 화면 밖이면 배경·카드 모션도 쉰다 (site.js 가 .is-off 부착) */
.hh.is-off *, .hh.is-off *::before, .hh.is-off *::after { animation-play-state: paused !important; }

/* ── 반응형 ── */
@media (max-width: 1100px) {
    .hh { padding-bottom: 56px; }
    .hh-inner { gap: 40px; }
    /* 1단일 때 카드 스택이 너무 넓으면 떠 있는 카드가 화면 가장자리에서 잘린다 */
    .hh-visual { width: 100%; max-width: 600px; margin: 0 auto; }
}
@media (max-width: 560px) {
    .hh { padding: calc(var(--header-h) + 36px) 0 40px; }
    .hh-inner { padding: 0 16px; gap: 28px; }
    .hh-desc { margin-top: 22px; }
    .hh-actions { margin-top: 30px; }
    .hh-btn { width: 100%; }
    /* 카드 스택 — 높이 축소 + 우하단 카드 숨김 + 깊이 완화 */
    .hh-visual { height: 470px; }
    .hh-main { top: 54%; width: 94%; padding: 18px 16px 12px; }   /* 우상단 카드가 제목을 가리지 않게 살짝 내림 */
    .hh-rows li:nth-child(3) { display: none; }
    .hh-float.f-br { display: none; }
    .hh-float.f-tr { top: 0; right: 0; transform: translateZ(30px); }
    .hh-float.f-bl { bottom: 0; left: 0; transform: translateZ(40px); }
    .hh-float-in { padding: 11px 13px; }
    .hh-float-in.hh-dark { padding: 12px 16px; }
    .hh-timer { font-size: 1.625rem !important; }
    .hh-marquee { padding: 18px 0; }
    .hh-track li { font-size: .9375rem; padding: 0 16px; }
}
@media (max-width: 420px) {
    .hh-title { font-size: clamp(30px, 8.6vw, 40px); }
    .hh-eyebrow { font-size: .8125rem; }
    .hh-input { font-size: .9063rem; }
    .hh-card-tag { display: none; }
}

/* ============================================================
   통계 밴드
   ============================================================ */
.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); }

/* ============================================================
   페이지 히어로 (서브 페이지 공통)
   ============================================================ */
/* 2026-10-22 — 메인 첫 화면(.hh)과 같은 결로 통일: 진한 보라 띠 → 밝은 바탕 + 은은한 빛 번짐 + 진한 글씨 */
.page-hero {
    padding: 128px 0 88px;
    background: var(--bg-page);
    color: var(--ink);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid var(--border);
}
.page-hero::before,
.page-hero::after {
    content: '';
    position: absolute; z-index: -1; border-radius: 50%;
    filter: blur(90px); pointer-events: none;
}
.page-hero::before { width: 640px; height: 640px; top: -320px; left: -220px; background: var(--brand); opacity: .32; }
.page-hero::after  { width: 560px; height: 560px; top: -160px; right: -260px; background: var(--info);  opacity: .26; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.125rem, 4.4vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; color: var(--ink); }
.page-hero p { margin-top: 20px; font-size: 1.125rem; line-height: 1.75; color: var(--text-sub); max-width: 620px; }
.page-hero p strong { color: var(--ink); }
/* 머리말 — 메인 .hh-eyebrow 와 같은 알약 모양 */
.page-hero .hero-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 22px; padding: 7px 14px;
    border-radius: 999px; border: 1px solid var(--border);
    background: rgba(255,255,255,.75);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: .8125rem; font-weight: 700; letter-spacing: .02em; color: var(--brand-deep);
}
.page-hero .hero-kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
/* 밝은 바탕 위 버튼 — 흰 버튼은 주 버튼으로, 투명 버튼은 선 버튼으로 */
.page-hero .btn-white { background: var(--brand); color: #fff; box-shadow: 0 10px 28px rgba(84, 74, 117, .18); }
.page-hero .btn-white:hover { background: var(--brand-hover); transform: translateY(-2px); }
.page-hero .btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.page-hero .btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.page-hero .dl-note { color: var(--text-sub); }

/* ============================================================
   회사소개 — 미션 · 타임라인
   ============================================================ */
.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; }
}

/* ============================================================
   기능 카드 격자 · 자주 묻는 질문 (2026-10-22 — 서비스·타이머 단순화)
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-grid.two { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feat-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
    padding: 30px 28px; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
    scroll-margin-top: calc(var(--header-h) + 24px);
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feat-card:target { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.feat-phase { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.feat-phase em { font-style: normal; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep); letter-spacing: 0; text-transform: none; }
.feat-card h3 { margin-top: 12px; font-size: 1.1875rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.feat-card p { margin-top: 8px; font-size: .9375rem; line-height: 1.7; color: var(--text-sub); }
.feat-card.big { padding: 36px 34px; }
.feat-card.big h3 { font-size: 1.375rem; }
.feat-card ul { list-style: none; margin-top: 18px; display: grid; gap: 9px; }
.feat-card li { position: relative; padding-left: 20px; font-size: .9375rem; color: var(--text); }
.feat-card li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
    list-style: none; cursor: pointer; position: relative;
    padding: 22px 44px 22px 4px; font-size: 1.0625rem; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
    border-right: 2px solid var(--text-sub); border-bottom: 2px solid var(--text-sub);
    transform: rotate(45deg); transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--brand-deep); }
.faq details p { padding: 0 4px 24px; font-size: .9375rem; line-height: 1.8; color: var(--text-sub); }
.faq details p strong { color: var(--ink); }

/* 카드 아래 "자세히 보기" — 상세 페이지(services/*.php)로 가는 링크 */
.feat-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .875rem; font-weight: 700; color: var(--brand-deep); }
.feat-more::after { content: '→'; transition: transform .25s var(--ease-out); }
.feat-more:hover::after, .feat-link:hover .feat-more::after { transform: translateX(4px); }
.feat-link { display: block; color: inherit; }
.feat-link h3 { margin-top: 10px; }
/* 상세 페이지 히어로 위 "← 전체 서비스" */
.svc-back { display: table; margin-bottom: 18px; font-size: .875rem; font-weight: 600; color: var(--text-sub); }
.svc-back:hover { color: var(--brand-deep); }
@media (max-width: 1024px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .feat-grid, .feat-grid.two { grid-template-columns: 1fr; } .feat-card.big { padding: 28px 24px; } }

@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); }

/* ── 업무별 비교표 (services, AEO 2026-11) ── */
.cmp-wrap { max-width: 1000px; margin: 0 auto; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.cmp-table {
    width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0;
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
    background: var(--surface); font-size: .9375rem;
}
.cmp-table th, .cmp-table td { padding: 15px 18px; text-align: left; vertical-align: top; line-height: 1.65; }
.cmp-table thead th { background: var(--brand-soft); color: var(--brand-deep); font-size: .8125rem; font-weight: 800; white-space: nowrap; }
.cmp-table tbody tr + tr > * { border-top: 1px solid var(--border); }
.cmp-table tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.cmp-table tbody th a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--brand); }
.cmp-table tbody th a:hover { color: var(--brand-vivid); }
.cmp-table .cmp-phase { color: var(--brand-vivid); font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.cmp-table .cmp-before { color: var(--text-sub); }
.cmp-table .cmp-after { color: var(--ink); font-weight: 600; background: var(--brand-faint); }

/* 좁은 화면: 표 → 행마다 카드 ("Onforis에서는" 칸이 가로 스크롤 뒤로 숨지 않게). 칸 이름은 data-label */
@media (max-width: 640px) {
    .cmp-wrap { overflow: visible; }
    .cmp-table { min-width: 0; border: 0; border-radius: 0; overflow: visible; background: none; }
    .cmp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
    .cmp-table tbody, .cmp-table tr, .cmp-table th, .cmp-table td { display: block; width: auto; }
    .cmp-table tbody tr { margin-bottom: 12px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
    .cmp-table tbody tr + tr > * { border-top: 0; }
    .cmp-table .cmp-phase { padding: 14px 16px 0; }
    .cmp-table tbody th { padding: 2px 16px 10px; font-size: 1rem; white-space: normal; }
    .cmp-table .cmp-before, .cmp-table .cmp-after { padding: 10px 16px; font-size: .875rem; }
    .cmp-table .cmp-after { padding-bottom: 14px; }
    .cmp-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .75rem; font-weight: 700; color: var(--text-sub); }
}

/* ── 한눈에 보기 (overview, AEO 2026-11) — 백과사전식 사실 정리 ── */
.ov-summary {
    max-width: 860px; margin: 0 auto 56px; padding: 24px 28px;
    border-left: 4px solid var(--brand-vivid); border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--brand-faint); color: var(--ink); font-size: 1.0625rem; line-height: 1.85;
}
.ov-block { max-width: 1000px; margin: 0 auto; }
.ov-title { margin-bottom: 18px; font-size: 1.375rem; font-weight: 800; color: var(--brand-deep); }
.ov-block .spec-table a, .ov-summary a { color: var(--brand-vivid); }
@media (max-width: 560px) { .ov-summary { padding: 18px 18px; font-size: 1rem; } }

/* 화면에는 숨기고 스크린리더·크롤러에는 남김 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ── 알아두기 카드 ── */
.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%; }
.dl-card.wide { grid-column: 1 / -1; }

/* ── 온포리스 QR브라우저 (timer.php #browser) ── */
.dl-release {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
    padding: 9px 18px 9px 10px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    color: var(--brand-deep); font-size: .875rem; font-weight: 700; line-height: 1.5;
    transition: background .2s var(--ease-out);
}
.dl-release:hover { background: var(--brand-soft); }
.dl-release em { flex-shrink: 0; padding: 2px 9px; border-radius: 999px; background: var(--brand-vivid); color: #fff; font-size: .6875rem; font-style: normal; font-weight: 900; letter-spacing: .06em; }
.br-actions { display: flex; justify-content: center; margin-top: 20px; }
/* Google 공식 배지 — 원본 PNG(위아래 투명 여백 포함)를 그대로 쓴다. 색·글자를 바꾸거나 다시 그리지 말 것 */
.play-badge { display: inline-block; transition: opacity .2s var(--ease-out); }
.play-badge:hover { opacity: .85; }
.play-badge img { display: block; width: 186px; height: auto; }
.dl-card .play-badge { align-self: flex-start; margin-top: 10px; }
.play-legal { margin-top: 44px; text-align: center; font-size: .75rem; color: var(--text-sub); }
.br-story {
    max-width: 860px; margin: 0 auto 56px; padding: 30px 34px;
    border-left: 4px solid var(--brand-vivid); border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--brand-faint); color: var(--text); font-size: 1.0625rem; line-height: 1.85;
}
.br-story h3 { margin-bottom: 12px; font-size: 1.375rem; font-weight: 800; color: var(--brand-deep); }
.br-story p + p { margin-top: 14px; }
.br-story strong { color: var(--ink); }
.br-block { margin-top: 72px; }
.br-block > h3 { margin-bottom: 26px; text-align: center; font-size: 1.375rem; font-weight: 800; color: var(--brand-deep); }
@media (max-width: 560px) {
    .dl-release { border-radius: 16px; align-items: flex-start; }
    .br-story { padding: 22px 20px; font-size: 1rem; }
    .br-block { margin-top: 52px; }
}

/* ── 업데이트 내역 (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; }
    /* 메인 히어로 — 모든 모션 정지, 최종 상태 노출 (데모는 site.js 가 돌리지 않는다) */
    .hh *, .hh *::before, .hh *::after,
    .hh-marquee * { animation: none !important; transition: none !important; }
    .hh-btn-primary::after { display: 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) {
    .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; }
}
