/* (주)모두의플랫폼 회사 홈페이지 — 화면 꾸밈
   기획: 1_기획/2026-10-11_섹션구성_모티프_초안.md · 시안 D12 기준 */
:root {
  --g: #16A34A; --g-hi: #2EE27C; --g-deep: #0B6B33;
  --night: #06100B; --night-2: #0C1A13; --paper: #F5F7F5; --ink: #0E1A13;
  --on: #F2F7F4; --on-2: #A6B7AD; --on-3: #6E8177; --line: rgba(255,255,255,.12);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --ease-out: cubic-bezier(.16,1,.3,1); --snap: cubic-bezier(.3,1.5,.5,1);
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--on); font: 17px/1.7 var(--font); word-break: keep-all; overflow-wrap: break-word; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }   /* hidden 으로 숨긴 것은 display 값이 있어도 반드시 숨긴다 */
a { color: inherit; }
.wrap { width: min(100% - 48px, var(--wrap)); margin: 0 auto; }
:focus-visible { outline: 2px solid var(--g-hi); outline-offset: 3px; }

/* ── 로고 심볼 ── */
.sym { display: block; overflow: visible; }

/* ── 상단 ── */
.nav { position: fixed; z-index: 20; inset: 0 0 auto 0; height: 68px; display: flex; align-items: center; background: linear-gradient(rgba(6,16,11,.82), rgba(6,16,11,0)); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-size: 15px; }
.brand .sym { width: 34px; height: 34px; flex: none; }
/* 워드마크 : 원본 로고에서 잘라낸 이미지. 어두운 면에서는 흰판, 밝은 면에서는 검정판 */
.brand .wm { height: 30px; width: auto; }
.brand .wm-b { display: none; }
body[data-nav="light"] .nav .wm-w { display: none; }
body[data-nav="light"] .nav .wm-b { display: block; }
.menu { display: flex; gap: 28px; font-size: 14.5px; font-weight: 600; }
.menu a { text-decoration: none; color: var(--on-2); }
.menu a:hover { color: var(--on); }
/* 밝은 구간(핀딜, 회사 정보) 위에서는 상단 글자를 어둡게 */
.nav { transition: color .4s linear; }
body[data-nav="light"] .nav { background: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,0)); color: var(--ink); }
body[data-nav="light"] .menu a { color: #3E5E59; }
body[data-nav="light"] .menu a:hover { color: var(--ink); }

/* ── 광고 지면 타일 (디지털 광고에서 실제로 보는 모양들) ── */
.t { flex: none; display: grid; gap: 7px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13); }
.t i { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.2); }
.t i.s { width: 58%; }
.t .pic { height: 62px; border-radius: 8px; background: linear-gradient(135deg, rgba(46,226,124,.5), rgba(22,163,74,.12)); }
.t .cta { width: 48%; height: 16px; border-radius: 99px; background: var(--g); }
.t .dot { width: 26px; height: 26px; border-radius: 50%; background: rgba(46,226,124,.55); }
.t .ad { justify-self: start; padding: 0 6px; height: 15px; border-radius: 4px; background: rgba(46,226,124,.2); color: var(--g-hi); font: 700 9px/15px var(--font); letter-spacing: .08em; }
/* 이미지가 든 칸 : 상징물이 칸 한가운데에, 사방에 고른 여백으로 놓이게 한다.
   (원본은 정사각 안에 상징물이 60%쯤 차지. 칸 비율에 맞춰 확대율을 정함) */
.t .pic.img { height: auto; aspect-ratio: 4 / 3; background: #07160D center / contain no-repeat; }
.t .dot.img { background: #07160D center / 118% no-repeat; }
.t-video.img { background-size: cover; background-position: center; }
.t-feed { width: 150px; }
.t-banner { width: 250px; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; }
.t-banner .cta { width: 54px; }
.t-banner .dot.img, .t-noti .dot.img { width: 42px; height: 42px; border-radius: 12px; }
.t-video { width: 104px; height: 178px; align-content: end; background: linear-gradient(160deg, rgba(46,226,124,.34), rgba(255,255,255,.04) 62%); position: relative; overflow: hidden; }
.t-video::before { content: ""; position: absolute; left: 50%; top: 42%; margin: -11px 0 0 -7px; border: 11px solid transparent; border-left: 17px solid rgba(255,255,255,.9); border-right: 0; }
.t-video .bar { height: 4px; background: rgba(255,255,255,.2); border-radius: 2px; overflow: hidden; }
.t-video .bar::after { content: ""; display: block; width: 62%; height: 100%; background: var(--g-hi); }
.t-search { width: 220px; }
.t-search .row { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; }
.t-noti { width: 196px; grid-template-columns: auto 1fr; align-items: center; gap: 10px; border-radius: 18px; }
.t-noti > span { display: grid; gap: 6px; }

/* ── 1. 첫 화면 ── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 80px; overflow: hidden; isolation: isolate; }
.hero::before {       /* 뒤에 깔린 격자 */
  content: ""; position: absolute; inset: 0; z-index: -3;
  background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 72px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 72px 100%;
  -webkit-mask: radial-gradient(80% 80% at 60% 45%, #000 20%, transparent 86%); mask: radial-gradient(80% 80% at 60% 45%, #000 20%, transparent 86%); opacity: .62;
}
.hero-glow { position: absolute; z-index: -2; right: -12vw; top: 50%; width: 76vw; aspect-ratio: 1; transform: translateY(-50%); background: radial-gradient(circle, rgba(22,163,74,.42) 0%, rgba(22,163,74,.12) 36%, transparent 64%); pointer-events: none; }
/* 흐르는 타일 띠 : 먼 줄은 작고 흐리고 느리게, 가까운 줄은 크고 빠르게 */
/* 첫 화면 배경 — AI · 테크
   로고 자리(--mx, --my)를 중심으로 큰 궤도가 퍼지고 탐지선이 돈다. 격자선을 따라 신호가 지나가고 접점이 깜빡인다. */
.techbg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; --mx: 73%; --my: 50%; }
.tb-ring, .tb-sweep { position: absolute; left: var(--mx); top: var(--my); border-radius: 50%; translate: -50% -50%; }
.tb-ring { border: 1px solid rgba(46,226,124,.2); }
.tb-ring.g1 { width: 46vmax; height: 46vmax; border-style: dashed; border-color: rgba(46,226,124,.3); animation: spin 90s linear infinite; }
.tb-ring.g2 { width: 68vmax; height: 68vmax; }
.tb-ring.g3 { width: 92vmax; height: 92vmax; border-style: dotted; border-width: 2px; border-color: rgba(46,226,124,.2); animation: spin 140s linear infinite reverse; }
.tb-ring.g4 { width: 122vmax; height: 122vmax; border-color: rgba(46,226,124,.1); }
.tb-sweep { width: 124vmax; height: 124vmax; background: conic-gradient(from 0deg, rgba(46,226,124,.12), rgba(46,226,124,0) 14%); -webkit-mask: radial-gradient(circle, transparent 18%, #000 19%); mask: radial-gradient(circle, transparent 18%, #000 19%); animation: spin 11s linear infinite; }
/* 격자(72px)를 따라 달리는 신호 */
.sig { position: absolute; opacity: 0; }
.sig.h { left: 0; width: 140px; height: 1px; background: linear-gradient(90deg, transparent, var(--g-hi)); box-shadow: 0 0 8px var(--g-hi); animation: sigH var(--t) linear var(--d) infinite; }
.sig.v { top: 0; width: 1px; height: 140px; background: linear-gradient(transparent, var(--g-hi)); box-shadow: 0 0 8px var(--g-hi); animation: sigV var(--t) linear var(--d) infinite; }
@keyframes sigH { 0% { transform: translateX(-160px); opacity: 0; } 8% { opacity: .9; } 92% { opacity: .9; } 100% { transform: translateX(100vw); opacity: 0; } }
@keyframes sigV { 0% { transform: translateY(-160px); opacity: 0; } 8% { opacity: .9; } 92% { opacity: .9; } 100% { transform: translateY(100svh); opacity: 0; } }
/* 격자 접점 */
.node { position: absolute; width: 5px; height: 5px; margin: -2px; border-radius: 50%; background: var(--g-hi); box-shadow: 0 0 10px var(--g-hi); opacity: .15; animation: node var(--t) ease-in-out var(--d) infinite; }
@keyframes node { 50% { opacity: .95; transform: scale(1.5); } }
.stream { position: absolute; z-index: -1; left: 0; width: max-content; display: flex; gap: 26px; align-items: center; animation: flow var(--dur) linear infinite; pointer-events: none; }
.stream.r1 { top: 12%; --dur: 78s; opacity: .22; transform-origin: 0 50%; scale: .7; filter: blur(1.5px); }
.stream.r2 { top: 44%; --dur: 52s; opacity: .34; animation-direction: reverse; }
.stream.r3 { top: 76%; --dur: 36s; opacity: .5; scale: 1.18; transform-origin: 0 50%; }
@keyframes flow { to { transform: translateX(-50%); } }

.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-inner > div:first-child { container-type: inline-size; min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--g-hi); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--g-hi); transform: rotate(45deg); box-shadow: 0 0 14px var(--g-hi); }
/* 제목 한 줄(약 7.1글자 폭)이 칸을 넘지 않는 크기까지만 커진다 */
.hero h1 { font-size: min(clamp(36px, 6.3vw, 112px), 13.7cqi); line-height: 1.04; letter-spacing: -.055em; font-weight: 800; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; white-space: nowrap; }
.hero h1 .line > span { display: block; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--g-hi), #9BFFC4 55%, var(--g-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 30px; max-width: 27em; font-size: clamp(16px, calc(.42vw + 11.6px), 19px); color: var(--on-2); }
.hero-sub b { color: var(--on); font-weight: 700; }

/* 맞물림 무대 */
.stage { position: relative; aspect-ratio: 1; width: min(100%, 520px, 62svh); justify-self: center; }
.stage .sym { position: absolute; inset: 14%; width: 72%; height: 72%; filter: drop-shadow(0 0 46px rgba(46,226,124,.5)); }
.ring { position: absolute; inset: 14%; border-radius: 26%; rotate: 45deg; scale: .7; border: 2px solid var(--g-hi); opacity: 0; }
.fly { position: absolute; left: 50%; top: 50%; translate: -50% -50%; opacity: 0; }
.orbit { position: absolute; opacity: 0; animation: bob 6s ease-in-out infinite alternate; }
.orbit.o1 { left: -6%; top: 8%; } .orbit.o2 { right: -10%; top: 18%; animation-duration: 7.5s; }
.orbit.o3 { left: -2%; bottom: 6%; animation-duration: 8.5s; } .orbit.o4 { right: -4%; bottom: 10%; animation-duration: 5.5s; }
@keyframes bob { from { translate: 0 -8px; } to { translate: 0 12px; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* 시작 장면 : 타일이 날아와 사라지고 → 두 조각이 맞물리고 → 빛이 번지고 → 제목이 켜진다 */
.js .hero h1 .line > span { transform: translateY(105%); }
.js .hero-sub, .js .eyebrow { opacity: 0; transform: translateY(14px); }
/* 로고의 왼쪽 조각과 오른쪽 조각이 양쪽에서 들어와 맞물린다 */
.js .half-a { transform: translate(-92px, 0); opacity: 0; }
.js .half-b { transform: translate(92px, 0); opacity: 0; }
.go .fly { animation: converge 1.05s cubic-bezier(.6,0,.9,.4) var(--d) both; }
@keyframes converge { 0% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate(0, 0) rotate(0) scale(.12); } }
.go .half-a, .go .half-b { transform: none; opacity: 1; transition: transform .62s var(--snap) .95s, opacity .25s linear .95s; }
.go .ring { animation: burst .9s var(--ease-out) 1.42s both; }
@keyframes burst { from { opacity: .9; scale: .7; } to { opacity: 0; scale: 1.55; } }
.go .orbit { opacity: 1; transition: opacity .8s linear 1.7s; }
.go .eyebrow { opacity: 1; transform: none; transition: .7s var(--ease-out) 1.35s; }
.go .hero h1 .line > span { transform: none; transition: transform .95s var(--ease-out); }
.go .hero h1 .line:nth-child(1) > span { transition-delay: 1.42s; }
.go .hero h1 .line:nth-child(2) > span { transition-delay: 1.54s; }
.go .hero-sub { opacity: 1; transform: none; transition: .8s var(--ease-out) 1.85s; }

/* ── 2. 우리는 ── */
.we { padding: clamp(120px, 20vh, 240px) 0; background: var(--night); }
.we p { font-size: clamp(28px, 4.6vw, 84px); line-height: 1.24; letter-spacing: -.045em; font-weight: 800; max-width: 17em; }
.we .w { color: rgba(242,247,244,.16); transition: color .35s linear; }
.we .w.lit { color: var(--on); }
.we .w.lit.key { color: var(--g-hi); }

/* ── 3. 플랫폼 : 화면 색이 플랫폼 색으로 통째로 바뀐다 ── */
.plats { --bg: var(--night); --fg: var(--on); --fg2: var(--on-2); --ac: var(--g-hi); background: var(--bg); color: var(--fg); transition: background-color .7s cubic-bezier(.4,0,.2,1), color .5s linear; }
.plats[data-theme="findeal"] { --bg: #D5F0EA; --fg: #0D2A27; --fg2: #3E5E59; --ac: #14958A; }
.plats[data-theme="mople"]   { --bg: #062A94; --fg: #FFFFFF; --fg2: #C3D2FA; --ac: #8FC4FF; }
.plats[data-theme="dealgo"]  { --bg: #0A0A0A; --fg: #FFFFFF; --fg2: #9A9A9A; --ac: #D9F24B; }
/* 섹션은 화면 세 장 높이. 안쪽(.pin)이 화면에 붙어 있는 동안, 내린 만큼 플랫폼이 옆으로 넘어간다 */
.plats { height: 320svh; }
.pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 4vh, 44px); padding: 84px 0 36px; overflow: hidden; }
.plats-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.plats-title { margin-top: 16px; font-size: clamp(28px, 3.8vw, 60px); line-height: 1.14; letter-spacing: -.045em; font-weight: 800; }
.plats-ctl { display: flex; align-items: center; gap: 8px; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 99px; border: 1.5px solid currentColor; margin-right: 6px; }
.tabs button { min-height: 44px; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.tabs button { padding: 0 18px; border-radius: 99px; opacity: .6; transition: background .3s, color .3s, opacity .3s; }
.tabs button[aria-pressed="true"] { background: var(--ac); color: #0A0A0A; opacity: 1; }
.track { display: flex; will-change: transform; }
.pbar { height: 3px; border-radius: 2px; background: color-mix(in srgb, currentColor 18%, transparent); overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--ac); transform-origin: 0 50%; transform: scaleX(0); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--ac); }
.plat { flex: 0 0 100%; display: flex; align-items: center; }
.plat .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.plat-no { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--ac); }
.plat-name { margin: 14px 0 6px; font-size: clamp(48px, 6.6vw, 108px); line-height: .98; letter-spacing: -.05em; font-weight: 800; }
.plat[data-p="dealgo"] .plat-name { font-family: 'Bebas Neue', var(--font); font-weight: 400; letter-spacing: .01em; }
.plat-name sup, .plat-name .pt { color: var(--ac); }
.plat-name sup { font-size: .5em; vertical-align: .62em; }
.plat-line { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; letter-spacing: -.035em; font-weight: 700; }
.plat-desc { margin-top: 18px; max-width: 25em; font-size: clamp(16px, calc(.42vw + 11.6px), 19px); color: var(--fg2); }
.plat-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; min-height: 48px; padding: 0 22px; border-radius: 99px; border: 1.5px solid currentColor; text-decoration: none; font-weight: 700; font-size: 15px; transition: background .25s, color .25s, border-color .25s; }
.plat-link:hover { background: var(--ac); border-color: var(--ac); color: #0A0A0A; }
.plat-link::after { content: "→"; }
.scene { position: relative; aspect-ratio: 5 / 4; width: 100%; max-width: min(680px, 64svh); justify-self: center; }

/* 핀딜 : 깔려 있던 카드 중 하나가 떠오른다 — '발견' */
.sc-find { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3.2%; align-content: center; }
.sc-find .c { aspect-ratio: 3 / 4; border-radius: 12%; background: rgba(255,255,255,.62); display: grid; align-content: end; gap: 7%; padding: 10%; transition: transform .7s var(--ease-out), box-shadow .7s, background .5s; }
.sc-find .c::before { content: ""; aspect-ratio: 1; border-radius: 14%; background: #CFF2E8 center / cover no-repeat; margin-bottom: auto; }
.sc-find .c:nth-child(1)::before { background-image: url(../img/fd1.jpg); }
.sc-find .c:nth-child(2)::before { background-image: url(../img/fd2.jpg); }
.sc-find .c:nth-child(3)::before { background-image: url(../img/fd3.jpg); }
.sc-find .c:nth-child(4)::before { background-image: url(../img/fd4.jpg); }
.sc-find .c:nth-child(5)::before { background-image: url(../img/fd6.jpg); }
.sc-find .c:nth-child(6)::before { background-image: url(../img/fd7.jpg); }
.sc-find .c:nth-child(7)::before { background-image: url(../img/fd8.jpg); }
.sc-find .c:nth-child(8)::before { background-image: url(../img/fd9.jpg); }
.sc-find .c.pick::before { box-shadow: 0 0 0 2px #14958A; }

/* 모플플러스 : 영상이 재생되고, 다 보면 예약 버튼이 나타난다 — '보고 나서' */
.sc-mople { display: grid; align-content: center; gap: 20px; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: url(../img/sm3.jpg) center 44% / 132% no-repeat #042687; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 30px 70px rgba(3,14,70,.45); }
.player::before { content: none; }
.play { display: none; position: absolute; left: 50%; top: 46%; width: 76px; height: 76px; margin: -38px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.6); }
.play::after { content: ""; position: absolute; left: 30px; top: 23px; border: 14px solid transparent; border-left: 22px solid #fff; border-right: 0; }
.prog { display: none; position: absolute; left: 22px; right: 22px; bottom: 20px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.2); overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--ac); transform-origin: 0 50%; transform: scaleX(0); }
.plats[data-theme="mople"] .tabs button[aria-pressed="true"] { color: #062A94; }
.book { position: absolute; right: 22px; bottom: 22px; padding: 10px 18px; border-radius: 99px; background: #FFD25A; color: #062A94; font-weight: 800; font-size: 14px; opacity: 0; transform: translateY(10px) scale(.9); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; list-style: none; margin: 0; padding: 0; font-size: 13.5px; font-weight: 700; color: var(--fg2); }
.steps li { display: grid; gap: 8px; }
.steps li::before { content: ""; height: 4px; border-radius: 2px; background: rgba(255,255,255,.16); }
.on .play { animation: pulse 7s linear infinite; }
.on .prog i { animation: fill 7s linear infinite; }
.on .book { animation: book 7s linear infinite; }
.on .steps li { animation: stepc 7s linear infinite; } .on .steps li::before { animation: stepb 7s linear infinite; }
.on .steps li:nth-child(2), .on .steps li:nth-child(2)::before { animation-delay: 1.4s; }
.on .steps li:nth-child(3), .on .steps li:nth-child(3)::before { animation-delay: 2.8s; }
.on .steps li:nth-child(4), .on .steps li:nth-child(4)::before { animation-delay: 4.2s; }
@keyframes fill { 0% { transform: scaleX(0); } 72%, 100% { transform: scaleX(1); } }
@keyframes pulse { 0%, 8% { opacity: 1; transform: scale(1); } 14%, 100% { opacity: 0; transform: scale(1.3); } }
@keyframes book { 0%, 70% { opacity: 0; transform: translateY(10px) scale(.9); } 76%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes stepc { 0%, 2% { color: var(--fg2); } 6%, 100% { color: #fff; } }
@keyframes stepb { 0%, 2% { background: rgba(255,255,255,.16); } 6%, 100% { background: var(--ac); } }

/* 딜고 : 빈 화면에 블록이 쌓여 페이지 한 장이 조립된다 — '맞춰 만든다' */
.sc-deal { display: grid; place-items: center; }
.page { width: 46%; max-width: 250px; aspect-ratio: 9 / 16; border: 1.5px solid rgba(255,255,255,.26); border-radius: 22px; padding: 5%; display: grid; grid-template-rows: 7% 34% 5% 5% 22% 10%; gap: 3.2%; align-content: start; position: relative; }
.page b { display: block; border-radius: 8px; background: rgba(255,255,255,.13); opacity: 0; transform: translateY(-46px); }
.page b:nth-child(2) { background: linear-gradient(rgba(10,10,10,.05), rgba(10,10,10,.45)), url(../img/sd1.jpg) center / auto 118% no-repeat #000; }
.page b:nth-child(3) { width: 82%; } .page b:nth-child(4) { width: 56%; }
.page b:nth-child(5) { background: transparent; border: 1.5px solid rgba(255,255,255,.26); }
.page b:nth-child(6) { background: var(--ac); border-radius: 99px; }
.tag { position: absolute; font: 400 15px/1 'Bebas Neue', var(--font); letter-spacing: .1em; color: var(--ac); opacity: 0; }
.tag.t1 { left: 4%; top: 22%; } .tag.t2 { right: 2%; top: 46%; } .tag.t3 { left: 6%; bottom: 16%; }
.on .page b { animation: drop 6.5s var(--ease-out) infinite; }
.on .page b:nth-child(2) { animation-delay: .35s; } .on .page b:nth-child(3) { animation-delay: .7s; }
.on .page b:nth-child(4) { animation-delay: .9s; } .on .page b:nth-child(5) { animation-delay: 1.25s; }
.on .page b:nth-child(6) { animation-delay: 1.65s; }
@keyframes drop { 0% { opacity: 0; transform: translateY(-46px); } 8%, 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(16px); } }
.on .tag { animation: tag 6.5s linear infinite; }
.on .tag.t2 { animation-delay: .8s; } .on .tag.t3 { animation-delay: 1.5s; }
@keyframes tag { 0%, 6% { opacity: 0; } 12%, 80% { opacity: 1; } 88%, 100% { opacity: 0; } }

/* ── 3. 하는 일 : 매체 집행 · 제휴 채널 · 소재 제작 ── */
.work { padding: clamp(100px, 14vh, 170px) 0 clamp(40px, 6vh, 80px); background: var(--night); overflow: hidden; }
.work .kicker { color: var(--g-hi); }
.svc { padding: clamp(56px, 9vh, 110px) 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; }
.svc .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.svc.flip .wrap > :first-child { order: 2; }
.svc-no { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--g-hi); }
.svc-name { margin: 14px 0 10px; font-size: clamp(44px, 7vw, 120px); line-height: 1; letter-spacing: -.055em; font-weight: 800; }
.svc-line { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; letter-spacing: -.035em; font-weight: 700; color: var(--g-hi); }
.svc-desc { margin-top: 18px; max-width: 26em; font-size: clamp(16px, calc(.42vw + 11.6px), 19px); color: var(--on-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 매체 : 이름 아홉 개가 차례로 켜진다 — 광고가 매체를 옮겨 가며 집행되는 모습 */
.media { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.media li {
  aspect-ratio: 5 / 3; display: grid; place-items: center; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(255,255,255,.035);
  font-size: clamp(17px, 1.9vw, 26px); font-weight: 800; letter-spacing: -.03em; color: var(--on-3);
  transition: color .45s, background .45s, border-color .45s, box-shadow .45s, transform .45s var(--ease-out);
}
.media li.hot { color: #06100B; background: var(--g-hi); border-color: var(--g-hi); box-shadow: 0 0 44px rgba(46,226,124,.5); transform: scale(1.04); }
.media li.warm { color: var(--on); border-color: rgba(46,226,124,.45); }

/* 제휴 채널 : 이름 띠 세 줄이 엇갈려 흐른다 */
.partners { display: grid; gap: 12px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12% 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12% 88%, transparent); }
.band { display: flex; width: max-content; gap: 12px; animation: flow 46s linear infinite; }
.band.rev { animation-direction: reverse; animation-duration: 56s; }
.band span { flex: none; padding: 16px 30px; border-radius: 99px; border: 1px solid var(--line); font-size: clamp(18px, 2vw, 28px); font-weight: 800; letter-spacing: -.03em; color: var(--on); white-space: nowrap; }
.band.rev span { background: rgba(46,226,124,.1); border-color: rgba(46,226,124,.3); color: #BFF5D4; }

/* AI : 지시 한 줄 → 시안 여섯 장이 차례로 생성 → 하나가 골라짐 → 아래 그래프가 반응 (8초 주기) */
.ai { display: grid; gap: 14px; max-width: 460px; width: 100%; justify-self: center; }
.ai-bar { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid rgba(46,226,124,.4); background: rgba(46,226,124,.07); }
.spark { flex: none; width: 14px; height: 14px; background: var(--g-hi); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 2s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(.6) rotate(45deg); opacity: .6; } }
.ai-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,.5); width: 0; animation: aiType 8s steps(22, end) infinite; }
@keyframes aiType { 0% { width: 0; } 18%, 92% { width: 58%; } 100% { width: 0; } }
.caret { width: 2px; height: 20px; background: var(--g-hi); animation: caret .9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 420px; width: 100%; justify-self: center; }
.ai-grid span { aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--line); background: #07160D center / cover no-repeat; opacity: 0; animation: aiPop 8s var(--ease-out) infinite; }
.ai-grid span:nth-child(1) { background-image: url(../img/k7.jpg); }
.ai-grid span:nth-child(2) { background-image: url(../img/q7.jpg); animation-delay: .22s; }
.ai-grid span:nth-child(3) { background-image: url(../img/k8.jpg); animation-delay: .44s; }
.ai-grid span:nth-child(4) { background-image: url(../img/q8.jpg); animation-delay: .66s; }
.ai-grid span:nth-child(5) { background-image: url(../img/k9.jpg); animation-name: aiPick; animation-delay: .88s; }
.ai-grid span:nth-child(6) { background-image: url(../img/q9.jpg); animation-delay: 1.1s; }
@keyframes aiPop { 0%, 20% { opacity: 0; transform: translateY(14px) scale(.94); } 27%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes aiPick { 0%, 20% { opacity: 0; transform: translateY(14px) scale(.94); box-shadow: none; border-color: var(--line); } 27%, 48% { opacity: 1; transform: none; box-shadow: none; border-color: var(--line); } 56%, 88% { opacity: 1; transform: scale(1.06); box-shadow: 0 0 40px rgba(46,226,124,.55); border-color: var(--g-hi); } 96%, 100% { opacity: 0; transform: none; } }
.ai-chart { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding-top: 6px; border-bottom: 1px solid var(--line); }
.ai-chart i { flex: 1; height: 100%; border-radius: 3px 3px 0 0; background: linear-gradient(to top, rgba(46,226,124,.2), var(--g-hi)); transform-origin: 50% 100%; transform: scaleY(.18); animation: aiBar 8s var(--ease-out) infinite; }
.ai-chart i:nth-child(2) { --h: .3; } .ai-chart i:nth-child(3) { --h: .26; } .ai-chart i:nth-child(4) { --h: .42; } .ai-chart i:nth-child(5) { --h: .38; } .ai-chart i:nth-child(6) { --h: .55; }
.ai-chart i:nth-child(7) { --h: .5; } .ai-chart i:nth-child(8) { --h: .68; } .ai-chart i:nth-child(9) { --h: .62; } .ai-chart i:nth-child(10) { --h: .8; } .ai-chart i:nth-child(11) { --h: .76; } .ai-chart i:nth-child(12) { --h: .96; }
@keyframes aiBar { 0%, 54% { transform: scaleY(.18); } 72%, 90% { transform: scaleY(var(--h, .22)); } 100% { transform: scaleY(.18); } }

/* 소재 : 배너 · 영상 · 피드 세 가지가 겹쳐 떠 있다 */
.creative { position: relative; height: 430px; max-width: 580px; width: 100%; justify-self: center; }
.cr { position: absolute; animation: bob 7s ease-in-out infinite alternate; }
.cr .t { background-color: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); box-shadow: 0 30px 60px rgba(0,0,0,.4); }
/* 배너는 위 왼쪽, 세로 영상은 오른쪽, 피드 카드는 아래 왼쪽. 서로 가리지 않는다 */
.cr.c1 { left: 0; top: 0; scale: 1.42; transform-origin: 0 0; }
.cr.c2 { right: 0; top: 34px; scale: 1.42; transform-origin: 100% 0; animation-duration: 8.5s; }
.cr.c3 { left: 10%; top: 128px; scale: 1.42; transform-origin: 0 0; animation-duration: 6s; }

/* ── 5. 방향 ── */
.next { padding: clamp(120px, 20vh, 230px) 0; background: radial-gradient(60% 80% at 50% 110%, rgba(22,163,74,.32), transparent 70%), var(--night-2); text-align: center; }
.next { position: relative; overflow: hidden; isolation: isolate; }
.next .stream { opacity: .16; }
.next .sym { width: clamp(64px, 8vw, 104px); height: auto; margin: 0 auto clamp(28px, 5vh, 48px); filter: drop-shadow(0 0 36px rgba(46,226,124,.55)); }
.next-kicker { margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--g-hi); }
.next-sub { margin: 26px auto 0; max-width: 30em; font-size: clamp(16px, calc(.42vw + 11.6px), 19px); color: var(--on-2); }
.next h2 { font-size: clamp(34px, 6vw, 108px); line-height: 1.08; letter-spacing: -.05em; font-weight: 800; }
.next h2 em { font-style: normal; color: var(--g-hi); }

/* ── 6. 문의 (밝은 면, 포멀한 양식) ── */
.contact { background: var(--paper); color: var(--ink); padding: clamp(80px, 12vh, 130px) 0; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.c-kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--g-deep); }
.contact h2 { margin-top: 12px; font-size: clamp(32px, 4vw, 56px); letter-spacing: -.045em; line-height: 1.1; font-weight: 800; }
.c-sub { margin-top: 18px; max-width: 22em; font-size: clamp(16px, calc(.42vw + 11.6px), 19px); color: #4B5C52; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; padding: clamp(22px, 3vw, 36px); background: #fff; border: 1px solid #DCE4DE; border-radius: 14px; }
.form .full { grid-column: 1 / -1; }
.f { display: grid; gap: 7px; }
.f label { font-size: 14px; font-weight: 700; }
.f label b, .chk b { color: var(--g-deep); font-weight: 700; }
.f label small { margin-left: 4px; font-size: 12.5px; font-weight: 500; color: #6B7C72; }
.f input, .f select, .f textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #C4CFC8; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.f textarea { resize: vertical; line-height: 1.6; }
.f input::placeholder { color: #9AA8A0; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--g); outline: 2px solid rgba(22,163,74,.22); outline-offset: 0; }
.f [aria-invalid="true"] { border-color: #C62828; }
.agree { padding: 4px 16px; border: 1px solid #DCE4DE; border-radius: 8px; background: #F8FAF8; }
.agree summary { display: flex; align-items: center; justify-content: space-between; min-height: 46px; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.agree summary::-webkit-details-marker { display: none; }
.agree .chev { width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid #4B5C52; border-bottom: 2px solid #4B5C52; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.agree details[open] .chev { transform: translateY(2px) rotate(-135deg); }
.agree table { width: 100%; margin: 2px 0 12px; border-collapse: collapse; font-size: 13.5px; line-height: 1.6; }
.agree th, .agree td { padding: 8px 10px; border: 1px solid #DCE4DE; text-align: left; vertical-align: top; background: #fff; }
.agree th { width: 96px; font-weight: 700; background: #F1F5F2; white-space: nowrap; }
.chk { display: flex; align-items: center; gap: 10px; min-height: 46px; border-top: 1px solid #DCE4DE; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.chk input { width: 20px; height: 20px; margin: 0; accent-color: var(--g); }
.f-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.f-note { font-size: 14px; color: #C62828; }
.f-note.ok { color: var(--g-deep); }
.submit { min-width: 168px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: background .2s; }
.submit:hover { background: var(--g-deep); }

/* ── 푸터 : 작고 촘촘하게 ── */
.foot { background: #040A07; color: #8FA197; padding: 26px 0 22px; font-size: 12.5px; line-height: 1.7; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.09); }
.foot .brand { color: #E6EEE9; font-size: 12px; gap: 8px; }
.foot .brand .sym { width: 24px; height: 24px; }
.foot .brand .wm { height: 22px; }
.foot nav { display: flex; gap: 18px; }
.foot nav a { color: #C9D6CE; text-decoration: none; font-weight: 600; }
.foot nav a:hover { text-decoration: underline; }
.foot-info { display: flex; flex-wrap: wrap; gap: 0 14px; }
.foot-info span { white-space: nowrap; }   /* 사업자번호·전화가 중간에서 끊기지 않게 */
.foot-info .addr { white-space: normal; }
.foot-info span + span::before { content: ""; display: inline-block; width: 1px; height: 10px; margin-right: 14px; background: rgba(255,255,255,.18); vertical-align: -1px; }
.foot-legal { margin-top: 8px; }
.foot-copy { margin-top: 4px; color: #5E7067; }

/* ── 좁은 화면 ── */
/* ═══ 기기별 맞춤 ═══
   큰 모니터(1600~) · 노트북(901~1599, 기본값) · 태블릿 세로(601~900) · 폰(~600) · 키 작은 화면 */

/* 큰 모니터 : 본문 폭을 넓혀 양옆이 비어 보이지 않게 */
@media (min-width: 1600px) { :root { --wrap: 1400px; } }

/* 태블릿 세로 이하 : 첫 화면과 플랫폼은 위아래로 쌓는다 */
@media (max-width: 900px) {
  .menu { display: none; }
  .hero { padding: 96px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 12px; }
  .stage { order: -1; width: min(58vw, 400px, 52svh); margin: 12px 0 20px; }
  .orbit { scale: .8; }
  .techbg { --mx: 50%; --my: 30%; }
  .plat .wrap { grid-template-columns: 1fr; gap: 24px; }
  .plats-ctl { width: 100%; }
  .tabs { flex: 1; } .tabs button { flex: 1; padding: 0 8px; }
  .pin { padding: 84px 0 28px; gap: 20px; justify-content: flex-start; }
  .plats-title { font-size: clamp(24px, 4.4vw, 36px); margin-top: 10px; }
  .plat-name { font-size: clamp(44px, 9vw, 72px); margin: 8px 0 4px; }
  .plat-link { margin-top: 18px; }
  /* 장면은 남는 높이에 맞춰 커진다 (글 높이 약 560px를 뺀 나머지) */
  .scene { max-width: min(460px, calc((100svh - 584px) * 1.25)); }
  .page { width: 52%; }
  .contact-grid { grid-template-columns: 1fr; }
  .next { padding: clamp(96px, 14vh, 150px) 0; }
}

/* 작은 노트북 · 태블릿 : 소재 타일이 칸 밖으로 넘치지 않게 */
@media (max-width: 1100px) {
  .creative { height: 300px; max-width: 360px; }
  .cr.c1, .cr.c2, .cr.c3 { scale: 1; }
  .cr.c2 { top: 44px; }
  .cr.c3 { left: 6%; top: 92px; }
}

/* 좁은 태블릿 이하 : 하는 일 블록도 쌓는다 */
@media (max-width: 720px) {
  .svc .wrap { grid-template-columns: 1fr; gap: 28px; }
  .svc.flip .wrap > :first-child { order: 0; }
  .svc { padding: 56px 0; }
  /* 타일 세 장이 서로 가리지 않게 : 배너는 위 왼쪽, 세로 영상은 오른쪽, 피드 카드는 아래 왼쪽 */
  .creative { margin: 0 auto; }
}

/* 폰 */
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .nav { height: 60px; }
  .hero { padding: 84px 0 56px; }
  .stage { width: min(70vw, 300px, 38svh); margin: 10px 0 18px; }
  .orbit { scale: .62; }
  .tb-sweep { opacity: .7; }
  .techbg { --my: 27%; }
  .eyebrow { margin-bottom: 18px; font-size: 12px; }
  .hero-sub { margin-top: 20px; }
  .we { padding: 88px 0; }
  .work { padding-top: 80px; }
  .media { gap: 8px; } .media li { border-radius: 12px; }
  .band span { padding: 12px 22px; }
  .pin { padding: 72px 0 22px; gap: 12px; }
  .plats-title { font-size: 23px; margin-top: 6px; }
  .plat .wrap { gap: 14px; }
  .plat-name { font-size: 42px; margin: 4px 0 2px; }
  .plat-line { font-size: 19px; }
  .plat-desc { margin-top: 8px; font-size: 15px; line-height: 1.6; }
  .plat-link { margin-top: 12px; min-height: 44px; }
  .scene { max-width: min(300px, calc((100svh - 548px) * 1.25)); }
  .page { width: 58%; }
  .next { padding: 88px 0; }
  .contact { padding: 72px 0; }
  .form { gap: 14px 10px; padding: 18px 16px; }
  .f input, .f select, .f textarea { padding: 10px 11px; }
  .agree { padding: 2px 12px; } .agree th { width: 76px; }
  .f-foot { flex-direction: column-reverse; align-items: stretch; }
  /* 푸터 : 한 줄에 안 들어가면 가운뎃점으로 이어 붙여 줄 수를 줄인다 */
  .foot { padding: 22px 0 18px; }
  .foot-info { display: block; }
  .foot-info span + span::before { display: none; }
  .foot-info span:not(:last-child)::after { content: "·"; margin-left: 7px; color: rgba(255,255,255,.3); }   /* 구분점을 뒤에 붙여 줄 머리에 점이 오지 않게 */
  .foot-info span { display: inline-block; margin-right: 7px; }
  .foot-info .addr { display: inline; }
}

/* 키 작은 폰(세로 720px 이하) : 플랫폼 머리말을 빼서 장면 자리를 확보 */
@media (max-width: 900px) and (max-height: 720px) {
  .plats-title { display: none; }
  .scene { max-width: min(300px, calc((100svh - 486px) * 1.25)); }
}

/* 아주 낮은 화면(폰을 가로로 눕힘 등) : 화면 고정을 풀고 세 플랫폼을 위아래로 차례로 보여준다 */
@media (max-height: 540px) {
  .plats { height: auto; background: none; }
  .pin { position: static; height: auto; padding: 0; gap: 0; overflow: visible; }
  .plats-head, .pbar { display: none; }
  .track { display: block; transform: none !important; }
  .plat { padding: 64px 0; background: var(--bg); color: var(--fg); }
  .plat[data-p="findeal"] { --bg: #D5F0EA; --fg: #0D2A27; --fg2: #3E5E59; --ac: #14958A; }
  .plat[data-p="mople"]   { --bg: #062A94; --fg: #FFFFFF; --fg2: #C3D2FA; --ac: #8FC4FF; }
  .plat[data-p="dealgo"]  { --bg: #0A0A0A; --fg: #FFFFFF; --fg2: #9A9A9A; --ac: #D9F24B; }
  .plat .wrap { grid-template-columns: 1fr 1fr; }
  .scene { max-width: 320px; }
  .hero { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero h1 .line > span, .js .hero-sub, .js .eyebrow, .js .half-a, .js .half-b { opacity: 1 !important; transform: none !important; }
  .orbit { opacity: 1; } .we .w { color: var(--on); }
  .page b, .tag, .book, .ai-grid span { opacity: 1; transform: none; } .prog i { transform: scaleX(.6); }
  .ai-line { width: 58%; } .ai-chart i { transform: scaleY(var(--h, .22)); }
}

/* ═══ 개인정보처리방침 (밝은 면의 글 페이지) ═══ */
.legal-page { background: var(--paper); color: var(--ink); }
.legal { max-width: 760px; margin: 0 auto; padding: 132px 24px 96px; }
.legal h1 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.045em; line-height: 1.15; font-weight: 800; }
.legal-meta { margin-top: 10px; font-size: 14px; color: #5F7167; }
.legal-lead { margin-top: 22px; color: #3C4B43; }
.legal-sum { margin: 30px 0 8px; padding: 6px 20px; border: 1px solid #DCE4DE; border-radius: 12px; background: #fff; }
.legal-sum div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid #EDF1EE; }
.legal-sum div:last-child { border-bottom: 0; }
.legal-sum dt { font-size: 14px; color: #5F7167; } .legal-sum dd { margin: 0; font-weight: 700; }
.legal h2 { margin: 44px 0 12px; font-size: 19px; letter-spacing: -.03em; font-weight: 800; }
.legal p, .legal li { font-size: 16px; line-height: 1.8; color: #2C3A32; }
.legal ul { margin: 8px 0; padding-left: 20px; }
.legal a { color: var(--g-deep); font-weight: 600; }
.legal-back { margin-top: 48px; }
.legal-back a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 99px; color: var(--ink); text-decoration: none; font-weight: 700; }
.legal-back a:hover { background: var(--ink); color: #fff; }
@media (max-width: 600px) { .legal { padding: 104px 20px 72px; } .legal-sum div { grid-template-columns: 92px 1fr; } }
/* 문의 접수 완료 */
.done { display: grid; gap: 10px; justify-items: start; padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid #DCE4DE; border-radius: 14px; }
.done h3 { font-size: 24px; letter-spacing: -.035em; font-weight: 800; }
.done p { color: #4B5C52; }
.done button { margin-top: 10px; min-height: 48px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 8px; background: none; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree a { color: var(--g-deep); font-weight: 600; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 8px; background: #fff; color: #0E1A13; font-weight: 700; }
.skip:focus { top: 12px; }
