/* ============================================================
   아크 랜딩페이지 — 화이트 기반
   색상은 3계열만 사용한다 — 브랜드 블루 #2563FF · 딥 네이비 #0D1B2A(뉴트럴) · 보조 그린 #1F9D55
   ============================================================ */

:root {
    --blue: #2563FF;
    --blue-dim: #1A4FE0;
    --blue-soft: #EDF3FF;
    --green: #1F9D55;
    --green-soft: #E9F6EF;

    --ink: #0D1B2A;          /* 본문 최암부 — 브랜드 딥 네이비 */
    --ink-2: #2A3749;
    --muted: #556275;
    --muted-2: #8893A5;
    --line: #E3E8F0;
    --surface: #F2F5FA;
    --white: #FFFFFF;

    --shadow-s: 0 1px 2px rgba(13, 27, 42, .05);
    --shadow-m: 0 4px 18px rgba(13, 27, 42, .07);
    --shadow-l: 0 18px 48px rgba(13, 27, 42, .12);

    --maxw: 1200px;
    --pad: clamp(18px, 5vw, 40px);
    --radius: 16px;

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

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--white);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}

img, video, canvas { max-width: 100%; display: block; }

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.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;
}

/* ── 헤더 ───────────────────────────────────────────────── */
.hd {
    position: fixed; inset: 0 0 auto 0; z-index: 60; height: 66px;
    display: flex; align-items: center;
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
    border-bottom: 1px solid transparent;
}
.hd.solid {
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}
.hd .wrap { display: flex; align-items: center; gap: 16px; }
.hd .logo { display: flex; align-items: center; flex: none; }
.hd .logo img { height: 28px; width: auto; }
.hd nav { margin-left: auto; display: flex; gap: 26px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.hd nav a:hover { color: var(--ink); }
.hd .cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hd nav + .cta { margin-left: 22px; }
.hd .go {
    display: inline-flex; align-items: center; height: 38px; padding: 0 16px;
    border-radius: 19px; background: var(--blue); color: var(--white); font-size: 14px; font-weight: 700;
    white-space: nowrap; transition: background .18s ease, border-color .18s ease;
}
.hd .go:hover { background: var(--blue-dim); }
/* 영상 배경 위에서도 묻히지 않게 — 항상 흰 배경 + 또렷한 파란 윤곽 */
.hd .go.ghost {
    background: var(--white); color: var(--blue); border: 1.5px solid var(--blue);
    box-shadow: 0 2px 10px rgba(13, 27, 42, .08);
}
.hd .go.ghost:hover { background: var(--blue-soft); }
@media (max-width: 1040px) { .hd nav { display: none; } .hd nav + .cta { margin-left: auto; } }
@media (max-width: 520px) { .hd .go.ghost { display: none; } }

/* ── 히어로 ─────────────────────────────────────────────── */
/* 배경 영상·사진 없이 흰 바탕에 글과 실제 앱 화면만 둔다 */
.hero { position: relative; background: var(--white); }
.hero .wrap { padding-top: clamp(108px, 13vw, 148px); padding-bottom: clamp(48px, 7vw, 84px); }
.hero-grid {
    display: grid; grid-template-columns: 1.06fr .94fr;
    align-items: center; gap: clamp(24px, 4vw, 56px);
}
/* 오른쪽 — 흰 바탕에 실제 앱 화면(휴대폰)과 광고 시안 한 장만 둔다 (뒤에 판을 깔지 않는다) */
.hero-art { position: relative; width: min(470px, 100%); margin-inline: auto; aspect-ratio: 1 / 1.2; }
.hero-art .phone { position: absolute; right: 12%; top: 0; width: 56%; }
.hero-art .sheet {
    position: absolute; left: 5%; bottom: 7%; width: 37%; margin: 0;
    transform: rotate(-5deg); transform-origin: 30% 100%;
}
/* 관리자가 올린 사진이 있으면 구성 대신 그 사진을 그대로 보여준다 */
.hero-art.photo { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; }
.hero-art.photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { width: min(340px, 88vw); margin-top: 16px; }
}

/* 문구 세 벌 — 같은 자리에 겹쳐 두고 한 벌씩 떠오른다 (칸 높이는 가장 긴 문구에 맞춰진다) */
.hero-slides { display: grid; }
.hero-slide {
    grid-area: 1 / 1; min-width: 0;
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .55s ease, transform .55s ease, visibility 0s linear .55s;
}
.hero-slide.on { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; }
/* 순서 표시 — 짧은 막대 셋. 지금 문구의 막대가 넘어갈 때까지 차오른다 */
.hero-nav { display: flex; gap: 8px; margin-top: 24px; }
.hero-nav button {
    position: relative; width: 36px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer;
}
.hero-nav button::before, .hero-nav button::after {
    content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 4px; border-radius: 2px;
}
.hero-nav button::before { background: var(--line); }
.hero-nav button::after { background: var(--blue); transform: scaleX(0); transform-origin: left center; }
.hero-nav button.on::after { transform: none; }
.hero-nav.auto button.on::after { animation: heroFill var(--hero-ms, 5s) linear both; }
.hero-nav.auto.hold button.on::after { animation-play-state: paused; }
.hero-nav button:hover::before { background: #CBD4E2; }
@keyframes heroFill { from { transform: scaleX(0); } to { transform: none; } }
/* 문구가 바뀔 때 시안도 같이 바뀐다 */
.hero-art .sheet { aspect-ratio: 720 / 1018; }
.hero-art .sheet img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity .9s ease;
}
.hero-art .sheet img.on, .hero-art .sheet img:first-of-type:not(:has(~ img.on)) { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .hero-slide, .phone img, .hero-art .sheet img { transition: none; }
}

/* A4 광고 시안 한 장 (종이) */
.sheet { background: var(--white); border-radius: 4px; overflow: hidden; box-shadow: 0 1px 0 rgba(13, 27, 42, .06), 0 14px 34px rgba(13, 27, 42, .18); }
.sheet img { width: 100%; height: auto; display: block; }

/* 휴대폰 프레임 — 안에 실제 앱 화면이 들어간다. 여러 장이면 겹쳐 놓고 한 장씩 바뀐다 */
.phone {
    position: relative; aspect-ratio: 390 / 812; border-radius: 38px; padding: 9px;
    background: var(--ink); box-shadow: 0 26px 52px rgba(13, 27, 42, .24);
}
.phone img {
    position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px);
    object-fit: cover; object-position: top; border-radius: 30px; display: block;
    opacity: 0; transition: opacity .9s ease;
}
.phone img.on, .phone img:first-of-type:not(:has(~ img.on)) { opacity: 1; }
.phone.sm { border-radius: 30px; padding: 7px; box-shadow: 0 16px 36px rgba(13, 27, 42, .16); }
.phone.sm img { inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); border-radius: 24px; }

/* 히어로 킥커 — 배지 없이 담백한 한 줄 (섹션 eyebrow와 같은 결) */
.kicker {
    margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .2px; color: var(--blue);
}

.hero .head {
    margin: 22px 0 0; font-weight: 800; letter-spacing: -1.6px; line-height: 1.14;
    font-size: clamp(32px, 7vw, 66px); color: var(--ink);
}
.hero .head .accent { color: var(--blue); }
/* 두 번째 슬로건 줄 — 제목보다 한 단계 작게 */
.head2 {
    margin: 14px 0 0; font-weight: 800; letter-spacing: -.8px; line-height: 1.3;
    font-size: clamp(20px, 3.4vw, 32px); color: var(--ink);
}
.head2 .accent { color: var(--blue); }
/* 브랜드 가이드의 짧은 파란 선 */
.hero-rule { display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--blue); margin: 26px 0 0; }
.hero-rule + .sub { margin-top: 18px; }
.sub {
    margin: 20px 0 0; max-width: 32em; color: var(--muted);
    font-size: clamp(14.5px, 2.2vw, 18px); line-height: 1.72;
}

.dl { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: 36px; }
.dl-btn {
    display: inline-flex; align-items: center; gap: 11px; height: 60px; padding: 0 20px 0 17px;
    border-radius: 15px; background: var(--ink); color: var(--white); border: 1px solid var(--ink);
    box-shadow: 0 6px 20px rgba(13, 27, 42, .18);
    transition: transform .18s ease, box-shadow .18s ease;
}
.dl-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-l); }
.dl-btn .badge { width: 26px; height: 26px; flex: none; }
.dl-btn .t { display: flex; flex-direction: column; line-height: 1.22; text-align: left; }
.dl-btn .t small { font-size: 11.5px; color: rgba(255, 255, 255, .74); font-weight: 600; letter-spacing: .2px; }
.dl-btn .t b { font-size: 15.5px; font-weight: 800; letter-spacing: -.3px; }
.dl-btn.ghost { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-s); }
.dl-btn.ghost .t small { color: var(--muted-2); }
/* 링크가 아직 없을 때 — 아이콘 색은 그대로 두고 상태만 표시한다 */
.dl-btn[aria-disabled="true"] { cursor: default; }
.dl-btn[aria-disabled="true"]:hover { transform: none; box-shadow: 0 6px 20px rgba(13, 27, 42, .18); }
.dl-btn[aria-disabled="true"] .t small { color: rgba(255, 255, 255, .55); }

/* 구글·애플 공식 배지 — 두 배지의 원본 비율이 달라 실제 로고 크기가 같아 보이도록 맞춘다.
   구글 배지는 이미지에 여백이 들어 있어 살짝 키우고 그만큼 잘라낸다. */
.badge-link {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    height: 60px; width: 186px; border-radius: 11px; overflow: hidden; background: transparent;
    transition: transform .18s ease, box-shadow .18s ease;
}
.badge-link img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* 구글 공식 배지는 상하좌우 여백이 커서 조금 확대해 애플 배지와 글자 크기를 맞춘다 */
.badge-link:first-of-type img { transform: scale(1.16); }
.badge-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-l); }
.badge-link[aria-disabled="true"] { cursor: default; filter: grayscale(1); }
.badge-link[aria-disabled="true"]:hover { transform: none; box-shadow: none; }
.badge-link .soon {
    position: absolute; top: -8px; right: -6px; padding: 3px 9px; border-radius: 10px;
    background: var(--blue); color: var(--white); font-size: 10.5px; font-weight: 800; letter-spacing: .2px;
}
@media (max-width: 380px) { .badge-link { height: 56px; } }
.dl-note { margin-top: 15px; font-size: 12.5px; color: var(--muted-2); }

/* ── 히어로 안 찾기 바 ─────────────────────────────────── */
.finder {
    display: flex; align-items: stretch; gap: 0; margin-top: 30px; max-width: 560px;
    background: var(--white); border: 1px solid var(--line); border-radius: 16px;
    /* 드롭다운 패널이 알약 밖으로 나와야 하므로 overflow를 자르지 않는다 */
    overflow: visible;
    box-shadow: 0 8px 28px rgba(13, 27, 42, .10), 0 1px 2px rgba(13, 27, 42, .06);
    position: relative; z-index: 10;
}
.f-field {
    position: relative; display: flex; flex-direction: column; justify-content: center; gap: 1px;
    padding: 11px 34px 11px 18px; flex: 1; min-width: 0; cursor: pointer; border-radius: 13px;
    transition: background .16s ease;
}
.f-field:hover, .f-field:focus-within { background: var(--surface); }
.f-field > span { font-size: 11.5px; font-weight: 700; color: var(--muted-2); letter-spacing: .2px; }
/* 기본 select 화살표를 지우고 직접 그린 꺾쇠를 쓴다 */
.f-field::after {
    content: ''; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px;
    border-right: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2);
    transform: translateY(-70%) rotate(45deg); pointer-events: none; transition: border-color .16s ease;
}
.f-field:hover::after, .f-field:focus-within::after { border-color: var(--blue); }
.f-field select {
    appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 0; width: 100%;
    font-family: inherit; font-size: 15.5px; font-weight: 700; color: var(--ink); cursor: pointer;
    text-overflow: ellipsis; letter-spacing: -.3px;
}
.f-field select:focus { outline: none; }
.f-field select option { font-weight: 600; color: var(--ink); background: var(--white); }

/* ── 직접 만든 선택기 (기본 select 대신) ─────────────── */
/* 스크립트가 씌워지면 원래 select 는 감춘다 */
.f-field.has-picker > span, .f-field.has-picker select { position: absolute; opacity: 0; pointer-events: none; height: 0; }
.f-field.has-picker::after { z-index: 2; }
.pk-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 1px;
    width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
    font-family: inherit;
}
.pk-btn .pk-label { font-size: 11.5px; font-weight: 700; color: var(--muted-2); letter-spacing: .2px; }
.pk-btn .pk-value {
    font-size: 15.5px; font-weight: 700; color: var(--ink); letter-spacing: -.3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pk { position: absolute; inset: auto auto 0 0; z-index: 40; }
.pk-panel {
    position: absolute; top: 12px; left: -18px; width: 288px; max-width: 84vw;
    border-radius: 16px; background: var(--white); border: 1px solid var(--line);
    box-shadow: var(--shadow-l); overflow: hidden;
    opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
}
.pk.open .pk-panel { opacity: 1; transform: none; pointer-events: auto; }
.pk-head { display: flex; align-items: center; padding: 15px 16px 11px; }
.pk-head b { font-size: 13.5px; font-weight: 800; letter-spacing: -.2px; }
.pk-x { margin-left: auto; width: 26px; height: 26px; border: 0; border-radius: 8px; background: var(--surface);
        color: var(--muted); font-size: 17px; line-height: 1; cursor: pointer; }
.pk-x:hover { background: var(--line); color: var(--ink); }
.pk-find { padding: 0 12px 10px; }
.pk-find input {
    width: 100%; height: 38px; padding: 0 13px; border-radius: 10px;
    border: 1px solid var(--line); background: var(--surface);
    font-family: inherit; font-size: 14px; color: var(--ink);
}
.pk-find input:focus { outline: none; border-color: var(--blue); background: var(--white); }
.pk-list { max-height: 292px; overflow-y: auto; padding: 0 8px 10px; overscroll-behavior: contain; }
.pk-item {
    display: block; width: 100%; padding: 11px 12px; border: 0; border-radius: 10px;
    background: none; text-align: left; cursor: pointer;
    font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}
.pk-item:hover { background: var(--surface); }
.pk-item.on { background: var(--blue-soft); color: var(--blue); font-weight: 700; }
.pk-item[hidden] { display: none; }

/* 좁은 화면에서는 아래에서 올라오는 시트로 */
@media (max-width: 640px) {
    body.picker-open { overflow: hidden; }
    .pk.open::before {
        content: ''; position: fixed; inset: 0; z-index: 1; background: rgba(13, 27, 42, .38);
    }
    .pk-panel {
        position: fixed; inset: auto 0 0 0; z-index: 2; width: auto; max-width: none;
        border-radius: 20px 20px 0 0; border-bottom: 0;
        transform: translateY(100%); transition: transform .24s cubic-bezier(.2, .7, .2, 1), opacity .2s ease;
    }
    .pk.open .pk-panel { transform: none; }
    .pk-panel::before {
        content: ''; display: block; width: 38px; height: 4px; border-radius: 2px;
        background: var(--line); margin: 10px auto 0;
    }
    .pk-list { max-height: 46vh; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
    .pk-item { padding: 14px 12px; font-size: 15.5px; }
}
.f-div { width: 1px; background: var(--line); margin: 12px 0; flex: none; }
.f-go {
    display: inline-flex; align-items: center; gap: 7px; border: 0; margin: 6px; padding: 0 18px;
    border-radius: 11px; background: var(--blue); color: var(--white);
    font-family: inherit; font-size: 14.5px; font-weight: 700; white-space: nowrap; cursor: pointer;
    transition: background .18s ease;
}
.f-go:hover { background: var(--blue-dim); }
.f-go svg { width: 18px; height: 18px; }
@media (max-width: 520px) {
    .finder { flex-wrap: wrap; }
    .f-field { flex-basis: calc(50% - 1px); }
    .f-go { flex-basis: calc(100% - 12px); margin: 0 6px 6px; border-radius: 11px; height: 50px; justify-content: center; }
    .f-div { margin: 12px 0 0; height: 44px; }
}

/* ── 업종 바로가기 ─────────────────────────────────────── */
.sec.tight { padding: clamp(36px, 5vw, 56px) 0 clamp(56px, 8vw, 84px); }
h2.t2.sm { font-size: clamp(21px, 3vw, 27px); }
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 26px; }
.cat {
    display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 15px;
    border-radius: 14px; background: var(--white); border: 1px solid var(--line);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.cat:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow-m); }
.cat .ic {
    display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border-radius: 12px; background: var(--surface); color: var(--ink-2);
    transition: background .18s ease, color .18s ease;
}
.cat .ic svg { width: 24px; height: 24px; }
.cat:hover .ic { background: var(--blue-soft); color: var(--blue); }
.cat b { font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: -.2px; }
.cat.on { border-color: var(--blue); background: var(--blue-soft); }
.cat.on .ic { background: var(--white); color: var(--blue); }
.cat.on b { color: var(--blue); }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .cats { grid-template-columns: repeat(3, 1fr); gap: 9px; } .cat { padding: 14px 6px 12px; } .cat b { font-size: 12px; } }

/* ── 모집중인 자리 ─────────────────────────────────────── */
.spaces-head { display: flex; align-items: baseline; gap: 12px; margin-top: 46px; }
.spaces-head h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.4px; }
.spaces-head em { font-style: normal; margin-left: 6px; color: var(--blue); }
.spaces-head .reset { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--muted); }
.spaces-head .reset:hover { color: var(--blue); }
/* 한 칸씩 저절로 흘러가는 가로 줄 */
.space-rail {
    margin-top: 18px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* 다른 레일과 똑같이 — 양끝을 흐려서 잘린 카드가 튀어 보이지 않게 */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.space-rail::-webkit-scrollbar { display: none; }
.space-grid { display: flex; gap: 16px; }
.space-grid > .space { flex: none; width: 268px; scroll-snap-align: start; }
@media (max-width: 520px) { .space-grid > .space { width: min(268px, 76vw); } }
.space {
    border-radius: var(--radius); overflow: hidden; background: var(--white);
    border: 1px solid var(--line); box-shadow: var(--shadow-s);
    transition: transform .22s ease, box-shadow .22s ease;
}
.space:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.space .ph { aspect-ratio: 4 / 3; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.space .in { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 3px; }
.space .who { font-size: 12px; font-weight: 600; color: var(--muted-2); }
.space b { font-size: 15.5px; font-weight: 800; letter-spacing: -.3px; }
.space .pos { font-size: 12.5px; color: var(--muted); }
.space .price { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.space .price strong { font-size: 17px; font-weight: 800; color: var(--blue); letter-spacing: -.4px; }
.space .price span { color: var(--muted-2); }
.spaces-note { margin: 18px 0 0; font-size: 13px; color: var(--muted-2); }
.empty { margin: 20px 0 0; padding: 30px; text-align: center; border-radius: var(--radius);
         background: var(--surface); border: 1px dashed var(--line); color: var(--muted); font-size: 14px; }

/* ── 공통 섹션 ─────────────────────────────────────────── */
section { position: relative; }
.sec { padding: clamp(64px, 9vw, 108px) 0; }
.sec.tint { background: var(--surface); border-block: 1px solid var(--line); }
/* 섹션 이름표 — 영문 대문자 대신 짧은 우리말 한 줄 */
.eyebrow { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: -.1px; color: var(--blue); }
h2.t2 { margin: 12px 0 0; font-size: clamp(25px, 4.4vw, 42px); font-weight: 800; letter-spacing: -1.1px; line-height: 1.26; color: var(--ink); }
.lead { margin: 15px 0 0; color: var(--muted); font-size: clamp(14px, 2vw, 16.5px); max-width: 40em; }

/* 3단계 — 단계마다 그 일을 하는 실제 앱 화면을 보여준다 */
.steps { display: grid; gap: 22px; margin-top: 44px; grid-template-columns: repeat(3, 1fr); }
.step {
    overflow: hidden; border-radius: 20px; background: var(--white);
    border: 1px solid var(--line); box-shadow: var(--shadow-s);
    opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease;
}
.step.in { opacity: 1; transform: none; }
.step .pic { height: 292px; overflow: hidden; border-bottom: 1px solid var(--line); }
.step .pic .phone { width: min(224px, 62%); margin: 30px auto 0; }
.step .n { display: block; margin: 22px 26px 0; font-size: 13.5px; font-weight: 800; color: var(--blue); }
.step h3 { margin: 6px 26px 8px; font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.step p { margin: 0 26px 28px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) {
    .steps { grid-template-columns: 1fr; gap: 16px; }
    .step .pic { height: 260px; }
}

/* 걸리는 자리 — 계산대·벽면·출입문을 단순한 도형으로 그린 그림 위에 A4 시안을 얹는다 */
.mounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.mount { margin: 0; }
.m-stage { position: relative; aspect-ratio: 400 / 360; border-radius: 22px; overflow: hidden; background: #EAF0FB; }
.m-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.m-ad { position: absolute; z-index: 1; background: var(--white); transform: translateX(-50%); }
.m-ad img { width: 100%; height: auto; display: block; }
/* 계산대 위 — 투명 꽂이 (받침은 그림에 있다) */
.mount.stand .m-ad {
    left: 50%; bottom: 26.6%; width: 38%; padding: 5px 5px 0; border: 1px solid #B9C6DC; border-bottom: 0;
    border-radius: 5px 5px 0 0; background: rgba(255, 255, 255, .75);
}
/* 벽면 — 의자 위 짙은 액자 */
.mount.wall .m-ad { left: 40%; top: 9%; width: 33%; border: 6px solid var(--ink); border-radius: 2px; box-shadow: 0 12px 22px rgba(13, 27, 42, .18); }
/* 출입문 — 유리문 안쪽에 붙인 한 장 */
.mount.door .m-ad { left: 49%; top: 34%; width: 25%; box-shadow: 0 4px 12px rgba(13, 27, 42, .14); }
.mount figcaption { margin-top: 16px; }
.mount figcaption b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.4px; }
.mount figcaption span { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
    /* 좁은 화면에서는 옆으로 넘겨 본다 */
    .mounts {
        display: flex; gap: 14px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
        overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
        -webkit-overflow-scrolling: touch; scrollbar-width: none;
    }
    .mounts::-webkit-scrollbar { display: none; }
    .mount { flex: none; width: min(280px, 72vw); scroll-snap-align: start; }
}

/* 숫자 — 짙은 남색 띠 */
.band { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: clamp(76px, 11vw, 132px) 0; }
/* 뒤에 깔리는 거리 영상 — 남색 막으로 눌러 글자가 먼저 읽히게 한다 */
.band video.bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.band::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(13, 27, 42, .93) 0%, rgba(13, 27, 42, .84) 50%, rgba(13, 27, 42, .7) 100%);
}
.band .wrap { position: relative; z-index: 2; }
@media (max-width: 900px) { .band::before { background: rgba(13, 27, 42, .86); } }
.band-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: end; }
.band .eyebrow { color: #9DB8FF; }
.band h2.t2 { color: var(--white); }
.band .lead { color: rgba(255, 255, 255, .8); }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.num { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .32); }
.num b { display: block; font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; letter-spacing: -1.6px; line-height: 1.1; }
.num span { display: block; margin-top: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .78); }
@media (max-width: 900px) { .band-in { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .nums { gap: 12px; } .num span { font-size: 12.5px; } }

/* 기능 카드 — 글과 그 기능의 실제 앱 화면 */
.feat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 44px; }
.fcard {
    grid-column: span 2; display: flex; flex-direction: column; overflow: hidden;
    border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s);
}
.fcard .body { flex: 1; padding: 30px 30px 0; }
.fcard .tag { font-size: 13.5px; font-weight: 700; color: var(--blue); }
.fcard h3 { margin: 8px 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -.5px; line-height: 1.35; }
.fcard p { margin: 0; color: var(--muted); font-size: 14.5px; }
/* 앱 화면 조각 — 카드 아래에서 올라온 것처럼 위쪽만 보인다 */
.fcard .snip {
    flex: none; width: min(264px, calc(100% - 60px)); height: 230px; margin: 26px auto 0;
    border-radius: 20px 20px 0 0; overflow: hidden; background: var(--white);
    box-shadow: 0 0 0 1px var(--line), 0 -8px 30px rgba(13, 27, 42, .07);
}
.fcard .snip img { width: 100%; height: auto; display: block; }
/* 관리자가 올린 사진이 있을 때 */
.fcard .photo { flex: none; margin-top: 26px; aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.fcard.wide { grid-column: span 3; flex-direction: row; }
.fcard.wide .body { align-self: center; padding: 34px 8px 34px 34px; }
.fcard.wide .snip { width: 236px; height: 290px; margin: 34px 34px 0 16px; align-self: flex-end; }
.fcard.wide .photo { width: 46%; margin: 0; aspect-ratio: auto; }
@media (max-width: 980px) {
    .feat { grid-template-columns: 1fr; }
    .fcard, .fcard.wide { grid-column: auto; }
}
@media (max-width: 560px) {
    .fcard.wide { flex-direction: column; }
    .fcard.wide .body { align-self: stretch; padding: 30px 30px 0; }
    .fcard.wide .snip { width: min(264px, calc(100% - 60px)); height: 230px; margin: 26px auto 0; align-self: auto; }
    .fcard.wide .photo { width: auto; margin-top: 26px; aspect-ratio: 16 / 10; }
    .fcard .body { padding: 26px 24px 0; }
}

/* 달란트 — 오른쪽에 실제 달란트 화면 */
.talent { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.talent-vis { width: min(270px, 70vw); margin-inline: auto; }
.talent ul { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.talent li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-2); align-items: flex-start; }
.talent li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--green); }
@media (max-width: 900px) { .talent { grid-template-columns: 1fr; } .talent-vis { width: min(230px, 62vw); margin-top: 8px; } }

/* 아크가 다른 점 */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 26px; margin-top: 44px; }
.why-item .ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 13px; background: var(--blue-soft); color: var(--blue);
}
.why-item .ico.g { background: var(--green-soft); color: var(--green); }
.why-item .ico svg { width: 24px; height: 24px; }
.why-item h3 { margin: 16px 0 7px; font-size: 17px; font-weight: 800; letter-spacing: -.4px; }
.why-item p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; gap: 26px; } }

/* 후기 — 한 줄로 계속 흘러간다 (PC·모바일 공통) */
.rev-rail {
    margin-top: 42px; margin-inline: calc(var(--pad) * -1); overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.rev-track { display: flex; gap: 16px; width: max-content; animation: revslide 72s linear infinite; }
.rev-rail:hover .rev-track { animation-play-state: paused; }
@keyframes revslide { to { transform: translateX(-50%); } }
.rev {
    flex: none; width: 330px; padding: 24px 22px; border-radius: var(--radius);
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s);
}
.rev .stars { display: flex; gap: 2px; color: var(--blue); }
.rev .stars svg { width: 14px; height: 14px; }
.rev p {
    margin: 13px 0 16px; font-size: 14.5px; color: var(--ink-2); line-height: 1.72;
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.rev .by { font-size: 12.5px; color: var(--muted-2); }
@media (max-width: 640px) { .rev { width: min(300px, 80vw); padding: 20px 18px; } .rev-track { animation-duration: 56s; } }
@media (prefers-reduced-motion: reduce) {
    .rev-rail { overflow-x: auto; }
    .rev-track { animation: none; }
}

/* 맨 위로 — 스크롤이 내려가면 조용히 나타난다 */
.to-top {
    position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vw, 30px); z-index: 70;
    width: 48px; height: 48px; border: 1px solid rgba(13, 27, 42, .08); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    background: rgba(255, 255, 255, .62); color: var(--ink-2);
    backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4);
    box-shadow: 0 6px 22px rgba(13, 27, 42, .12);
    opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
    transition: opacity .3s ease, transform .3s cubic-bezier(.2,.7,.2,1), background .2s ease, color .2s ease;
}
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 520px) { .to-top { width: 44px; height: 44px; } }

/* FAQ */
.faq { margin-top: 38px; border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; padding: 21px 44px 21px 0; position: relative;
    font-size: 16px; font-weight: 700; letter-spacing: -.3px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::after {
    content: ''; position: absolute; right: 10px; top: 50%; width: 9px; height: 9px;
    border-right: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2);
    transform: translateY(-70%) rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 0 24px; color: var(--muted); font-size: 14.5px; white-space: pre-line; }

/* 마지막 CTA */
.final { background: var(--white); }
.sec.final { padding-top: 0; }
.final-in {
    position: relative; z-index: 2; border-radius: 24px; overflow: hidden;
    background: var(--blue); color: var(--white);
    display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 20px;
    padding: clamp(30px, 5vw, 58px);
}
.final-in .eyebrow { color: rgba(255, 255, 255, .84); }
.final-in h2.t2 { color: var(--white); }
.final-in .lead { color: rgba(255, 255, 255, .88); }
.final-in .dl-note { color: rgba(255, 255, 255, .8); }
.final-in .dl-note a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.final-in .dl-btn.ghost { border-color: var(--white); box-shadow: none; }
.final-in .phone { box-shadow: 0 26px 52px rgba(13, 27, 42, .34); }
.final-in .device { display: flex; justify-content: center; }
.final-in .phone { width: min(258px, 68vw); }
@media (max-width: 900px) { .final-in { grid-template-columns: 1fr; } .final-in .device { order: -1; } .final-in .phone { width: min(216px, 60vw); } }

/* 약관 문서 페이지 */
.doc { padding: 120px 0 80px; }
.doc-title { margin: 12px 0 0; font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -1px; }
.doc-meta { margin: 10px 0 0; font-size: 13px; color: var(--muted-2); }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.doc-tabs a {
    padding: 8px 15px; border-radius: 19px; font-size: 13.5px; font-weight: 600;
    color: var(--muted); background: var(--surface); border: 1px solid var(--line);
}
.doc-tabs a:hover { color: var(--ink); }
.doc-tabs a.on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.doc-body {
    white-space: pre-line; font-size: 15px; line-height: 1.95; color: var(--ink-2);
    max-width: 820px; padding: 30px 32px; border-radius: var(--radius);
    background: var(--white); border: 1px solid var(--line);
}
.doc-back { margin-top: 26px; font-size: 14px; }
.doc-back a { color: var(--blue); font-weight: 600; }
@media (max-width: 640px) { .doc { padding: 100px 0 60px; } .doc-body { padding: 22px 20px; font-size: 14.5px; } }

/* 푸터 */
footer { border-top: 1px solid var(--line); padding: 46px 0 58px; background: var(--surface); }
footer .cols { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; }
footer .logo { display: flex; align-items: center; }
footer .logo img { height: 26px; width: auto; }
footer .motto { margin: 14px 0 0; font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -.2px; }
footer .motto b { color: var(--blue); font-weight: 800; }
footer .biz { margin-top: 14px; font-size: 12.5px; color: var(--muted); line-height: 1.9; max-width: 44em; }
footer .biz a { color: var(--blue); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; font-weight: 600; color: var(--muted); }
footer .links a:hover { color: var(--ink); }
/* 사업자 정보 (전자상거래법 표시 항목) */
footer .corp {
    margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--line);
    font-style: normal; font-size: 12.5px; line-height: 1.95; color: var(--muted);
}
footer .corp p { margin: 0; display: flex; flex-wrap: wrap; column-gap: 18px; }
footer .corp a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
footer .corp a:hover { color: var(--blue); }
footer .copy { margin-top: 14px; font-size: 12px; color: var(--muted-2); }

/* 접근성 — 모션 최소화 설정을 존중한다 */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .strip-track { animation: none; }
    .step { opacity: 1; transform: none; transition: none; }
    .dl-btn:hover { transform: none; }
}

/* 아주 작은 화면 (320px) 보호 */
@media (max-width: 640px) {
    .dl { display: grid; grid-template-columns: 1fr 1fr; }
    .dl .badge-link { width: 100%; }
    /* 애플 배지가 빠져 구글 배지와 웹 보기 버튼을 한 줄에 나란히 둔다 */
    .dl .dl-btn { width: 100%; justify-content: center; padding: 0 12px; }
}
@media (max-width: 380px) { .hero .head { letter-spacing: -1px; } }


/* 카카오 · 네이버 · 인스타 — 각 브랜드 공식 색을 그대로 쓴다 */
.sns { display: flex; gap: 10px; margin-top: 18px; }
.sns-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.sns-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.sns-btn svg { width: 22px; height: 22px; }
.sns-btn { background: var(--white); border: 1px solid var(--line); color: var(--muted); }
.sns-btn:hover { color: var(--blue); border-color: var(--blue); }

/* 광고 시안 — 한 칸씩 계속 흘러간다 (PC·모바일 공통) */
.flyer-rail {
    margin-top: 44px; margin-inline: calc(var(--pad) * -1); overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.flyer-track { display: flex; gap: 20px; width: max-content; animation: flyerslide 60s linear infinite; }
.flyer-rail:hover .flyer-track { animation-play-state: paused; }
@keyframes flyerslide { to { transform: translateX(-50%); } }
.flyer {
    flex: none; width: 250px; margin: 0; border-radius: 12px; overflow: hidden;
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-m);
    transition: transform .25s ease, box-shadow .25s ease;
}
.flyer:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.flyer img { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--line); }
.flyer figcaption { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 3px; }
.flyer figcaption b { font-size: 11.5px; font-weight: 800; letter-spacing: .5px; color: var(--blue); }
.flyer figcaption span { font-size: 13.5px; font-weight: 700; color: var(--ink); letter-spacing: -.3px; }
@media (max-width: 640px) { .flyer { width: 200px; } .flyer-track { animation-duration: 46s; } }
@media (prefers-reduced-motion: reduce) {
    .flyer-rail { overflow-x: auto; }
    .flyer-track { animation: none; }
}

/* FAQ 옆 문의 카드 */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq-grid .faq { max-width: none; }
.faq-more { margin: 20px 0 0; font-size: 14px; }
.faq-more a { color: var(--blue); font-weight: 600; }
.faq-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 90px; margin-top: 38px; }
.side-card {
    display: block; padding: 22px 22px 20px; border-radius: var(--radius);
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.side-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); border-color: var(--blue); }
.side-card .ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); margin-bottom: 12px;
}
.side-card .ico.g { background: var(--green-soft); color: var(--green); }
.side-card .ico svg { width: 21px; height: 21px; }
.side-card b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.side-card p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.side-card em { display: inline-block; margin-top: 12px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--blue); }
.side-card.flat { box-shadow: none; }
@media (max-width: 900px) {
    .faq-grid { grid-template-columns: 1fr; }
    .faq-side { position: static; flex-direction: row; flex-wrap: wrap; }
    .faq-side .side-card { flex: 1 1 240px; }
}

/* ── 섹션 등장 연출 — 스크롤에 맞춰 한 번 은은하게 떠오른다 ── */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .rv { opacity: 1; transform: none; transition: none; }
}

/* 가로 레일 — 쉬고 있을 때 첫 카드가 본문 왼쪽 선에 맞게 */
.space-rail { scroll-padding-inline: var(--pad); }

/* 모바일 메뉴 */
.hd .menu-btn { display: none; }
@media (max-width: 1040px) {
    .hd .menu-btn {
        display: inline-flex; align-items: center; justify-content: center;
        width: 38px; height: 38px; margin-left: 4px; border-radius: 10px;
        border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
    }
    .hd .menu-btn svg { width: 20px; height: 20px; }
    .hd.open { background: var(--white); border-bottom-color: var(--line); }
    .hd.open nav {
        display: flex; flex-direction: column; gap: 0;
        position: absolute; top: 66px; left: 0; right: 0;
        background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-m);
        padding: 6px var(--pad) 12px;
    }
    .hd.open nav a { padding: 13px 2px; font-size: 15px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
    .hd.open nav a:last-child { border-bottom: 0; }
}

/* 문단 끝에 한 단어만 떨어지지 않게, 제목은 줄 길이를 고르게 */
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
