/* CLIIP 너와나 통합 홈(/) — 2026-11-22 대표 「상단엔 메뉴바 · 배너를 어도비처럼 · 슬라이드 5칸 · 이후에 어도비처럼 간결하게」 「문장 하나씩만」.
   흰 판 — 맨 위 메뉴 줄(초록 로고 · 남색 글자 메뉴 셋) → 큰 제목 → 남색 배너(흐르는 그림 띠 네 줄) → 제목 한 줄 · 일곱 단계. 구역 사이를 띄운다. 맨 위 줄 · 푸터는 home.css 것을 그대로 쓴다. 색은 tokens.css 의 --wt-* 만 쓴다. */
/* ── 맨 위 메뉴 줄: 흰 바탕 · 초록 로고 · 남색 글자 메뉴 셋(알약이 아니라 글자 · 사이를 넓게) ── */
body.hub { background: var(--wt-bg); color: var(--wt-text); }
.hub .wh-header { background: var(--wt-bg); border-bottom: 1px solid var(--wt-line); }
.hub .wh-header__in { min-height: 84px; }
.hub .wh-logo img { height: 34px; }
.hub .wh-header__in { max-width: none; padding-left: 20px; }
.hub .wh-nav { position: static; transform: none; display: flex; align-items: center; gap: 0; margin-left: 28px; }   /* 어도비처럼 로고 바로 옆 · 왼쪽 위(2026-11-22 대표 「좌상단에 메뉴」) */
.hub .wh-nav a + .svc-dd + a, .hub .wh-nav a + a { margin-left: 30px; }
html body.hub .wh-nav a:first-child { padding-left: 0; }
html body.hub .wh-nav a.svc-has-dd.svc-has-dd { padding-right: 38px; }   /* 글자와 화살표 사이 */
html body.hub .wh-nav a { padding-top: 8px; padding-bottom: 8px; border: 0; border-radius: 0; background: none; color: var(--wt-text); font-size: 18px; font-weight: 800; }
html body.hub .wh-nav a:hover, html body.hub .wh-nav a:focus-visible { color: var(--hub-accent); background: none; }
/* 통합 홈에서는 서비스 이름 옆 펼침 화살표를 두지 않는다 — 바로 아래 둘째 줄이 그 내용이다 */
.hub .wh-nav .svc-dd { display: none; }
html body.hub .wh-nav a.svc-has-dd.svc-has-dd { padding-right: 0; }
.hub-aux { color: var(--wt-text-2); font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hub-aux:hover, .hub-aux:focus-visible { color: var(--hub-accent); }
/* ── 둘째 줄: 기능 · 소재 메뉴 ── */
.hub-sub { border-top: 1px solid var(--wt-line); background: var(--wt-bg); }
.hub-sub__in { display: flex; align-items: center; gap: 34px; padding: 0 20px 0 188px; min-height: 52px; overflow-x: auto; scrollbar-width: none; }
.hub-sub__in::-webkit-scrollbar { display: none; }
.hub-sub a { flex: none; padding: 14px 0; color: var(--wt-text); font-size: 15.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hub-sub a:hover, .hub-sub a:focus-visible { color: var(--hub-accent); }
/* ── 큰 제목 ── */
.hub-top { padding: 88px 24px 84px; text-align: center; }
/* 2026-11-22 대표 「장면을 영상으로 글자체로 모두 같은 글꼴 통일해」 — 제목 한 줄 전체를 손글씨(나눔손글씨 펜 · OFL · 사이트 안 파일)로. 글꼴이 오기 전에는 기본 글꼴로 먼저 보인다. 휴대폰 폭에서는 쉼표 뒤에서 두 줄. */
@font-face { font-family: "Nanum Pen Script"; src: url("/assets/fonts/nanum-pen-script/NanumPenScript-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
.hub-h1 { margin: 0; font-family: "Nanum Pen Script", var(--font-sans); font-size: clamp(46px, 5.6vw, 92px); line-height: 1.08; font-weight: 400; letter-spacing: 0; color: var(--wt-text); word-break: keep-all; }
.hub-h1 span { display: inline-block; }
@media (max-width: 760px) { .hub-h1 span { display: block; } }
/* ── 아래 구역: 이 안에서만 네 줄이 흐른다 ── */
.hub-band { position: relative; overflow: hidden; background: var(--hub-band); }
.hub-runs { display: grid; grid-template-rows: repeat(4, 140px); gap: 10px; padding: 20px 0; min-width: 0; overflow: hidden; }
.hub-run { overflow: hidden; min-height: 0; }
.hub-run__track { display: flex; gap: 10px; height: 100%; width: max-content; animation: hub-run 90s linear infinite; will-change: transform; }
.hub-run--r .hub-run__track { animation-direction: reverse; }
.hub-run--1 .hub-run__track { animation-duration: 150s; } .hub-run--2 .hub-run__track { animation-duration: 175s; } .hub-run--3 .hub-run__track { animation-duration: 135s; } .hub-run--4 .hub-run__track { animation-duration: 140s; }
.hub-run__track a, .hub-run__track .hub-tile { display: block; flex: none; height: 100%; border-radius: 10px; overflow: hidden; background: var(--hub-band-card); outline-offset: -2px; }
.hub-run__track a:hover, .hub-run__track a:focus-visible { outline: 2px solid var(--wt-yellow); }
.hub-run__track img { display: block; height: 100%; width: auto; }
.hub-runs:hover .hub-run__track, .hub-runs:focus-within .hub-run__track { animation-play-state: paused; }
@keyframes hub-run { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 5px)); } }
@media (prefers-reduced-motion: reduce) { .hub-run__track { animation: none; } }
/* ── 제목 한 줄 + 일곱 단계(그림 + 제목 + 한 문장 + 단추가 좌우로 엇갈린다) ── */
.hub-lead { max-width: 900px; margin: 0 auto; padding: 112px 40px 8px; text-align: center; }
.hub-lead h2 { margin: 0 0 14px; font-family: var(--font-sans); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.25; font-weight: 900; color: var(--wt-text); word-break: keep-all; }
.hub-lead p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--wt-text-2); word-break: keep-all; }
.hub-feat:last-of-type { padding-bottom: 96px; }
.hub-feat { max-width: 1000px; margin: 0 auto; padding: 64px 40px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.hub-feat--rev .hub-feat__img { order: 2; }
.hub-feat__img { display: block; border-radius: 12px; overflow: hidden; background: var(--wt-bg-2); border: 1px solid var(--wt-line); }
.hub-feat__img--tall { width: min(100%, 340px); justify-self: center; }
.hub-feat__img img { display: block; width: 100%; height: auto; }
.hub-feat__img--top { aspect-ratio: 3 / 4; } .hub-feat__img--top img { height: 100%; object-fit: cover; object-position: 50% 0; }   /* 긴 안내 그림의 첫 화면만 보인다 */
.hub-eight { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; background: var(--wt-line); }
.hub-feat__n { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 800; letter-spacing: .12em; color: var(--hub-accent); }
.hub-feat__t h3 { margin: 0 0 12px; font-family: var(--font-sans); font-size: 28px; line-height: 1.25; font-weight: 900; color: var(--wt-text); word-break: keep-all; }
.hub-feat__t p { margin: 0 0 22px; font-size: 18px; line-height: 1.55; color: var(--wt-text-2); word-break: keep-all; }
.hub-btn { display: inline-block; padding: 10px 20px; border: 2px solid var(--wt-text); border-radius: 999px; color: var(--wt-text); font-size: 15px; font-weight: 800; text-decoration: none; }
/* 2026-11-23 단추 옆 작은 글자 링크(「이렇게 만들었습니다」) */
.hub-also { margin-left: 14px; font-size: 14px; font-weight: 700; color: var(--wt-text-2); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.hub-also:hover, .hub-also:focus-visible { color: var(--hub-accent); }
.hub-btn:hover, .hub-btn:focus-visible { border-color: var(--hub-accent); color: var(--hub-accent); }
/* ── 세 서비스 입구 ── */
.hub-more { max-width: 1240px; margin: 0 auto; padding: 40px 40px 0; }
.hub-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hub-card { display: flex; flex-direction: column; border: 1px solid var(--wt-line); border-radius: 12px; overflow: hidden; background: var(--wt-card); color: var(--wt-text); text-decoration: none; }
.hub-card:hover, .hub-card:focus-visible { border-color: var(--wt-yellow); }
.hub-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--wt-bg-2); }
.hub-card__img img { display: block; width: 100%; height: 100%; object-fit: contain; }   /* 자르지 않는다 */
.hub-card b { display: block; padding: 18px 20px 0; font-size: 20px; font-weight: 900; }
.hub-card__p { display: block; padding: 6px 20px 22px; font-size: 15px; line-height: 1.5; color: var(--wt-text-2); }
.hub .wh-footer a, .hub-src { color: var(--wt-text-2); text-decoration: none; font-size: 13px; }
.hub .wh-footer a:hover { text-decoration: underline; }
@media (max-width: 1000px) { .hub-runs { grid-template-rows: repeat(4, 120px); } .hub-cards { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .hub-top { padding: 52px 16px 52px; } .hub-runs { grid-template-rows: repeat(4, 96px); gap: 6px; padding: 12px 0; } .hub-run__track { gap: 6px; } .hub-lead { padding: 72px 20px 0; } .hub-lead p { font-size: 16px; } .hub-feat { grid-template-columns: 1fr; gap: 20px; padding: 44px 20px 0; } .hub-feat--rev .hub-feat__img { order: 0; } .hub-feat__t h3 { font-size: 23px; } .hub-feat__t p { font-size: 16px; margin-bottom: 16px; } .hub-more { padding: 20px 20px 0; } .hub-cards { gap: 10px; } .hub-card__img { display: none; } .hub-card b { padding: 14px 16px 0; font-size: 18px; } .hub-card__p { padding: 4px 16px 14px; font-size: 14px; } .hub-feat:last-of-type { padding-bottom: 64px; } }
/* 폭 1,024px 아래 — 다른 화면에서는 서비스 단추 셋을 숨기지만 통합 홈에서는 메뉴 줄 아래 한 줄로 보인다 */
@media (max-width: 1024px) { .hub .wh-header__in { flex-wrap: wrap; row-gap: 0; } .hub .wh-nav { order: 9; flex: 0 0 100%; justify-content: flex-start; margin-left: 0; padding: 4px 0 12px; } .hub .wh-header__in { padding-left: 16px; } .hub .wh-nav a + .svc-dd + a, .hub .wh-nav a + a { margin-left: 22px; } html body.hub .wh-nav a.svc-has-dd.svc-has-dd { padding-left: 0; } html body.hub .wh-nav a { font-size: 15px; } .hub .wh-logo img { height: 26px; } .hub .wh-header__in { min-height: 0; padding-top: 10px; } .hub-aux { display: none; } .hub-sub__in { padding: 0 16px; gap: 22px; min-height: 46px; } .hub-sub a { font-size: 14.5px; padding: 12px 0; } }
.hub .wh-footer { flex-wrap: wrap; row-gap: 8px; } .hub-src { flex: 1 1 320px; line-height: 1.5; }
/* ── 오픈 라이선스 웹툰: 타일 딱지 + 누르면 뜨는 작품 · 크레딧 창 ── */
.hub-run__track button.hub-tile { position: relative; padding: 0; border: 0; cursor: pointer; font: inherit; }
.hub-run__track button.hub-tile:hover, .hub-run__track button.hub-tile:focus-visible { outline: 2px solid var(--wt-yellow); }
.hub-tile em { position: absolute; left: 6px; bottom: 6px; padding: 3px 7px; border-radius: 6px; background: var(--hub-band); color: var(--nwf-band-text); font-size: 11px; font-style: normal; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.hub-open { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 26px 26px 22px; border: 1px solid var(--wt-line); border-radius: 16px; background: var(--wt-bg); color: var(--wt-text); overflow: auto; }
.hub-open::backdrop { background: rgba(8, 20, 40, 0.6); }
.hub-open__x { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--wt-bg-2); color: var(--wt-text); font-size: 22px; line-height: 1; cursor: pointer; }
.hub-open__tag { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: var(--hub-accent); }
.hub-open h2 { margin: 0 0 14px; font-size: 24px; font-weight: 900; }
.hub-open img { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--wt-bg-2); }
.hub-open__c { margin: 14px 0 0; font-size: 14px; line-height: 1.65; color: var(--wt-text-2); word-break: break-all; }
/* ── 하단: 이 화면의 사업자 · 약관 · 그림 출처(그 위의 크레딧 띠 · 전체 메뉴는 공통 파일 menu-foot) ── */
.hub .hub-foot { display: block; max-width: none; margin: 0; padding: 0 40px 30px; background: var(--wt-bg-2); border-top: 0; }
.hub-foot__base { max-width: 1240px; margin: 0 auto; padding-top: 22px; border-top: 1px solid var(--wt-line-2); display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; font-size: 13px; color: var(--wt-text-2); }
.hub-foot__logo img { display: block; height: 26px; width: auto; }
.hub .hub-foot .hub-src { max-width: 1240px; margin: 14px auto 0; font-size: 12px; line-height: 1.6; color: var(--wt-text-3); }
@media (max-width: 760px) { .hub .hub-foot { padding: 0 20px 26px; } }

/* 2026-11-23 대표 「기업용에 마우스 대면 Api / MCP 가 sub메뉴로」 「자체 제작공정 + mcp … 이 자리에 api 와 기본 mcp 를 먼저」 */
.hub-drop { position: relative; display: inline-flex; align-items: center; }
.hub-drop__menu { position: absolute; top: 100%; right: 0; z-index: 30; display: none; min-width: 148px; padding: 8px; border: 1px solid var(--wt-line); border-radius: 12px; background: var(--wt-bg); box-shadow: 0 12px 32px rgba(8, 20, 40, .14); }
.hub-drop:hover .hub-drop__menu, .hub-drop:focus-within .hub-drop__menu { display: grid; gap: 2px; }
.hub-drop__menu a { padding: 9px 12px; border-radius: 8px; color: var(--wt-text); font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hub-drop__menu a:hover, .hub-drop__menu a:focus-visible { background: var(--wt-bg-2); color: var(--hub-accent); }
.hub-drop::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 8px; }
.hub-conn { display: grid; align-content: center; gap: 14px; padding: 34px 30px; border-color: var(--hub-band-line); background: var(--hub-band); aspect-ratio: 16 / 9; }
.hub-conn__row { margin: 0; display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--hub-band-line); border-radius: 12px; background: var(--hub-band-card); }
.hub-conn__row b { color: var(--nwf-btn); font-size: 19px; font-weight: 800; }
.hub-conn__row span { color: var(--nwf-band-sub); font-size: 14.5px; line-height: 1.55; word-break: keep-all; }
.hub-btns { display: inline-flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .hub-conn { padding: 20px 16px; aspect-ratio: auto; } }
