/* 이미지창고 랜딩 (2026-10-29) — 접두어 ib-, 밝은 바탕 · 파랑(로고 색). 좌우 대신 논리 속성(ar 대비) */
:root {
	--bg: #f6f8fc;
	--bg-alt: #eef2f9;
	--card: #fff;
	--line: #dfe5ef;
	--text: #18202e;
	--sub: #5b6678;
	--pri: #1f7ae0;
	--pri-dk: #1765bd;
	--pri-bg: #e8f1fd;
	--ok: #13865a;
	--err: #c62f3a;
	--r: 14px;
	--wrap: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.ib {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.65 "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	overflow-wrap: anywhere;
	word-break: keep-all;
}
:lang(ja) body.ib, html:lang(ja) body { font-family: "Pretendard JP Variable", "Pretendard Variable", system-ui, sans-serif; }
html:lang(zh-Hans) body { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Pretendard Variable", sans-serif; }
img, svg { display: block; }
a { color: var(--pri); }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

.ib-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.ib-narrow { max-width: 780px; }
.ib-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.ib-skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.ib-skip:focus { top: 12px; }
.ib-ic { width: 22px; height: 22px; }
.ib-small { font-size: 13px; color: var(--sub); }

/* ---------- 상단 ---------- */
.ib-top { position: sticky; top: 0; z-index: 20; background: rgba(246, 248, 252, .86); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.ib-top.is-stuck { border-bottom-color: var(--line); }
.ib-top__in { display: flex; align-items: center; gap: 20px; height: 60px; }
.ib-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); text-decoration: none; }
.ib-brand a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.ib-brand__icon { border-radius: 5px; }
.ib-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.ib-nav a { color: var(--sub); text-decoration: none; font-size: 15px; padding: 6px 10px; border-radius: 8px; }
.ib-nav a:hover { color: var(--text); background: var(--bg-alt); }
.ib-lang { position: relative; }
.ib-lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--sub); font-size: 14px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.ib-lang summary::-webkit-details-marker { display: none; }
.ib-lang .ib-ic { width: 16px; height: 16px; }
.ib-lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(20, 30, 50, .12); min-width: 170px; max-height: 70vh; overflow: auto; }
.ib-lang li a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 14px; }
.ib-lang li a:hover, .ib-lang li a[aria-current] { background: var(--pri-bg); color: var(--pri-dk); }

/* ---------- 첫 화면 ---------- */
.ib-hero { padding: 56px 0 64px; background:
	radial-gradient(60% 50% at 50% 0%, rgba(31, 122, 224, .10), transparent 70%),
	var(--bg); }
.ib-hero__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ib-tags { display: flex; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.ib-tags li { font-size: 13px; font-weight: 600; color: var(--pri-dk); background: var(--pri-bg); padding: 4px 12px; border-radius: 999px; }
.ib-hero__title { font-size: clamp(30px, 5.4vw, 50px); line-height: 1.22; letter-spacing: -.02em; font-weight: 800; }
.ib-line { display: block; }
.ib-hero__title em { font-style: normal; color: var(--pri); }
.ib-hero__lead { margin-top: 16px; color: var(--sub); font-size: clamp(16px, 2vw, 18px); }

.ib-notice { margin-top: 24px; width: 100%; max-width: 640px; padding: 12px 16px; border-radius: 12px; background: #fff4e5; border: 1px solid #f3c98b; color: #7a4a06; font-weight: 600; }

.ib-up { margin-top: 28px; width: 100%; max-width: 640px; }
.ib-drop { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 34px 24px; background: var(--card); border: 2px dashed #b9c7dc; border-radius: 20px; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; box-shadow: 0 10px 30px rgba(31, 60, 110, .07); }
.ib-drop:hover, .ib-drop:focus-within, .ib-drop.is-over { border-color: var(--pri); background: #fbfdff; box-shadow: 0 12px 34px rgba(31, 122, 224, .14); }
.ib-drop.is-busy { cursor: default; pointer-events: none; }
.ib-drop__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--pri-bg); color: var(--pri); }
.ib-drop__ic .ib-ic { width: 28px; height: 28px; }
.ib-drop__idle, .ib-drop__busy { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.ib-drop b { font-size: 18px; }
.ib-drop__or { color: var(--sub); font-size: 14px; }
.ib-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; font-size: 15px; color: #fff; background: var(--pri); border: 0; border-radius: 10px; padding: 10px 20px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.ib-btn:hover { background: var(--pri-dk); }
.ib-bar { width: 100%; max-width: 360px; height: 8px; appearance: none; border: 0; border-radius: 999px; overflow: hidden; background: var(--bg-alt); }
.ib-bar::-webkit-progress-bar { background: var(--bg-alt); }
.ib-bar::-webkit-progress-value { background: var(--pri); transition: width .2s; }
.ib-bar::-moz-progress-bar { background: var(--pri); }
.ib-hint { margin-top: 12px; color: var(--sub); font-size: 13px; }
.ib-error { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: #fdecee; color: var(--err); font-weight: 600; font-size: 14px; }

.ib-done { display: flex; gap: 18px; align-items: center; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 30px rgba(31, 60, 110, .07); text-align: start; }
.ib-done__thumb { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; background: var(--bg-alt); flex: none; }
.ib-done__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ib-done__h { font-weight: 700; color: var(--ok); }
.ib-done__row { display: flex; gap: 8px; }
.ib-url { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); direction: ltr; }
.ib-done__links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.ib-link { font: inherit; color: var(--sub); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }

.ib-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.ib-chips li { font-size: 14px; color: var(--sub); background: var(--card); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }
.ib-chips li::before { content: "✓"; color: var(--pri); font-weight: 700; margin-inline-end: 6px; }

/* ---------- 섹션 ---------- */
.ib-sec { padding: 72px 0; }
.ib-sec--alt { background: var(--bg-alt); }
.ib-head { text-align: center; margin-bottom: 36px; }
.ib-head h2 { font-size: clamp(24px, 3.6vw, 32px); letter-spacing: -.015em; }
.ib-head p { margin-top: 10px; color: var(--sub); }
.ib-grid { display: grid; gap: 16px; }
.ib-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ib-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ib-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; }
.ib-card h3 { font-size: 17px; margin: 14px 0 6px; }
.ib-card p { color: var(--sub); font-size: 15px; }
.ib-card__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--pri-bg); color: var(--pri); }
.ib-card__ic--short { background: #f0ebfe; color: #6a45d6; }
.ib-card__ic--ext { background: #e6f6ee; color: var(--ok); }
.ib-card__ic--auto { background: #fff1e3; color: #c2650c; }
.ib-rule { margin-top: 20px; text-align: center; color: var(--sub); font-size: 14px; }

.ib-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.ib-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; }
.ib-step__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pri); color: #fff; font-weight: 800; }
.ib-step h3 { font-size: 17px; margin: 14px 0 6px; }
.ib-step p { color: var(--sub); font-size: 15px; }

.ib-acc details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.ib-acc summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.ib-acc summary::-webkit-details-marker { display: none; }
.ib-acc summary::after { content: "+"; color: var(--sub); font-weight: 400; font-size: 20px; line-height: 1; }
.ib-acc details[open] summary::after { content: "−"; }
.ib-acc details p { padding: 0 20px 18px; color: var(--sub); }

/* ---------- 바닥 ---------- */
.ib-foot { border-top: 1px solid var(--line); padding: 28px 0 36px; }
.ib-foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ib-foot .ib-small a { color: inherit; }
.ib-foot__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.ib-foot__links a { color: var(--sub); text-decoration: none; }
.ib-foot__links a:hover { color: var(--text); }
.ib-x svg { width: 15px; height: 15px; }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 860px) {
	.ib-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.ib-grid--3, .ib-steps { grid-template-columns: 1fr; }
	.ib-nav { display: none; }
	.ib-lang { margin-inline-start: auto; }
}
@media (max-width: 520px) {
	.ib-grid--4 { grid-template-columns: 1fr; }
	.ib-hero { padding: 36px 0 48px; }
	.ib-sec { padding: 56px 0; }
	.ib-drop { padding: 26px 16px; }
	.ib-done { flex-direction: column; align-items: stretch; }
	.ib-done__thumb { width: 100%; height: 160px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; animation: none !important; }
}
