/* 갈비스 사이트 — 심플(피클식): 흰 바탕, 가운데 큰 제목, 검은 알약 버튼, 보안 구역만 검정.
   다크 모드는 시스템을 따르고, 오른쪽 위 버튼으로 직접 고를 수 있다. 장식·생성 그림 없음. */
@font-face { font-family: "Pretendard"; font-weight: 400; font-display: swap; src: url("/fonts/pretendard-400.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 600; font-display: swap; src: url("/fonts/pretendard-600.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 800; font-display: swap; src: url("/fonts/pretendard-800.woff2") format("woff2"); }

:root {
  --bg: #ffffff; --bg2: #f5f5f7; --card: #f5f5f7; --line: #e6e6ea;
  --text: #111214; --dim: #6b6f78; --faint: #9a9ea6;
  --ink: #111214; --ink-text: #ffffff; --accent: #3e63dd; --ok: #1f9a4e;
  --dark-bg: #000000; --dark-card: #1c1c1e; --dark-text: #f5f5f7; --dark-dim: #a1a1a6;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #000000; --bg2: #111113; --card: #1c1c1e; --line: #2c2c2e;
  --text: #f5f5f7; --dim: #a1a1a6; --faint: #6e6e73;
  --ink: #f5f5f7; --ink-text: #000000; --accent: #7c9cff; --ok: #4cd07d;
  --dark-bg: #111113; --dark-card: #1c1c1e;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --bg2: #111113; --card: #1c1c1e; --line: #2c2c2e;
    --text: #f5f5f7; --dim: #a1a1a6; --faint: #6e6e73;
    --ink: #f5f5f7; --ink-text: #000000; --accent: #7c9cff; --ok: #4cd07d;
    --dark-bg: #111113; --dark-card: #1c1c1e;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text);
  font: 400 16px/1.6 "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  letter-spacing: -.01em; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 99; background: var(--bg); padding: 8px 12px; border-radius: 8px; }

/* 상단바 */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); }
.top .wrap { display: flex; align-items: center; gap: 8px; height: 56px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.03em; }
.logo img { width: 26px; height: 26px; }
.nav { display: none; gap: 2px; margin-left: 20px; }
.nav a { text-decoration: none; color: var(--dim); font-weight: 600; font-size: 15px; padding: 6px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.tools { margin-left: auto; display: flex; gap: 6px; align-items: center; }
@media (min-width: 760px) { .nav { display: flex; } }
.iconbtn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; }
.iconbtn:hover { background: var(--bg2); }
.iconbtn svg { width: 18px; height: 18px; }
.menu-btn { display: grid; }
@media (min-width: 760px) { .menu-btn { display: none; } }
.drawer { display: none; padding: 4px 0 12px; }
.drawer.open { display: block; }
.drawer a { display: block; padding: 12px 16px; text-decoration: none; font-weight: 600; font-size: 17px; }
@media (min-width: 760px) { .drawer { display: none !important; } }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 0; white-space: nowrap; }
.btn svg { width: 17px; height: 17px; }
.btn.ink { background: var(--ink); color: var(--ink-text); }
.btn.soft { background: var(--bg2); color: var(--text); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* 타이포 */
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.25; font-weight: 800; }
h1 { font-size: clamp(34px, 8.4vw, 60px); }
h2 { font-size: clamp(26px, 5.4vw, 40px); }
h3 { font-size: 18px; letter-spacing: -.02em; }
.lead { color: var(--dim); font-size: clamp(16px, 2.2vw, 18px); }
.dim { color: var(--dim); }
section { padding: 72px 0; }
@media (min-width: 720px) { section { padding: 112px 0; } }
.center { text-align: center; display: grid; justify-items: center; gap: 14px; }
.center .lead { max-width: 560px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--accent); }

/* 히어로 */
.hero { padding: 56px 0 24px; }
@media (min-width: 720px) { .hero { padding: 96px 0 32px; } }
.hero h1 { max-width: 760px; }
.soon { font-size: 13px; color: var(--faint); }

/* 폰 화면(HTML로 그린 앱 채팅) */
.phone { width: 300px; max-width: 86vw; margin: 40px auto 0; border-radius: 44px; padding: 10px; background: #111214; box-shadow: 0 30px 80px rgba(0,0,0,.14); }
.screen { border-radius: 35px; background: #ffffff; color: #111214; height: 560px; display: flex; flex-direction: column; overflow: hidden; }
.screen .bar { display: flex; justify-content: space-between; padding: 14px 22px 0; font-size: 12px; font-weight: 700; }
.screen .who { display: grid; justify-items: center; gap: 2px; padding: 10px 0 8px; border-bottom: 1px solid #f0f0f2; }
.screen .who img { width: 30px; height: 30px; }
.screen .who b { font-size: 12px; }
.screen .msgs { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; font-size: 13.5px; line-height: 1.45; }
.b { max-width: 82%; padding: 9px 13px; border-radius: 18px; }
.b.me { align-self: flex-end; background: #c9d4ff; color: #1d2350; border-bottom-right-radius: 6px; }
.b.bot { align-self: flex-start; background: #f0f0f2; border-bottom-left-radius: 6px; }
.ask { align-self: stretch; border: 1px solid #e6e6ea; border-radius: 16px; padding: 12px; display: grid; gap: 8px; background: #fff; }
.ask b { font-size: 14px; }
.ask dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 12.5px; }
.ask dt { color: #9a9ea6; }
.ask .row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ask .row span { text-align: center; padding: 8px; border-radius: 10px; font-weight: 700; font-size: 13px; }
.ask .ok { background: #111214; color: #fff; }
.ask .no { background: #f0f0f2; color: #6b6f78; }
.screen .input { margin: 0 10px 14px; border: 1px solid #e6e6ea; border-radius: 999px; padding: 9px 14px; font-size: 12.5px; color: #9a9ea6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.chips button { font: inherit; font-weight: 600; font-size: 15px; color: var(--text); background: var(--bg2); border: 1px solid transparent; border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.chips button[aria-selected="true"] { background: var(--ink); color: var(--ink-text); }
.demo-note { text-align: center; color: var(--dim); font-size: 14px; margin-top: 14px; min-height: 22px; }

/* 숫자 띠 */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; margin-top: 40px; text-align: center; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats b { display: block; font-size: clamp(36px, 7vw, 52px); letter-spacing: -.04em; line-height: 1.1; }
.stats span { color: var(--dim); font-size: 14px; }

/* 둘러보기 목록 */
.jobs { display: grid; gap: 8px; margin-top: 36px; width: 100%; text-align: left; }
@media (min-width: 720px) { .jobs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .jobs { grid-template-columns: 1fr 1fr 1fr; } }
.jobs li { list-style: none; display: flex; gap: 10px; align-items: baseline; padding: 14px 16px; border-radius: 16px; background: var(--bg2); font-size: 15px; }
.jobs em { font-style: normal; flex: none; font-size: 12px; font-weight: 700; color: var(--dim); }

/* 검정 보안 구역 */
.dark { background: var(--dark-bg); color: var(--dark-text); }
.dark .lead, .dark .dim { color: var(--dark-dim); }
.dark .btn.soft { background: #2c2c2e; color: #f5f5f7; }
.dark .btn.ink { background: #f5f5f7; color: #000; }
.cards { display: grid; gap: 12px; margin-top: 40px; width: 100%; text-align: left; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cards.four { grid-template-columns: repeat(4, 1fr); } .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; padding: 24px 22px; border-radius: 22px; background: var(--card); }
@media (min-width: 960px) { .card { min-height: 200px; } }
.dark .card { background: var(--dark-card); }
.card small { font-size: 13px; color: var(--faint); font-weight: 600; }
.dark .card small { color: #8e8e93; }
.card p { color: var(--dim); font-size: 15px; }
.dark .card p { color: var(--dark-dim); }
.card .go { margin-top: auto; align-self: flex-end; font-size: 18px; opacity: .6; }
a.card:hover .go { opacity: 1; }

/* 가리기 */
.mask { display: grid; gap: 10px; margin-top: 36px; width: 100%; max-width: 720px; text-align: left; }
.mask .line { padding: 16px 18px; border-radius: 16px; background: var(--card); font-size: clamp(15px, 2.4vw, 18px); font-weight: 600; }
.dark .mask .line { background: var(--dark-card); }
.mask .line small { display: block; font-size: 12px; font-weight: 600; color: var(--faint); margin-bottom: 4px; }
.tok { color: var(--accent); font-weight: 800; }
.dark .tok { color: #7c9cff; }
.try { display: grid; gap: 8px; margin-top: 8px; }
.try label { font-size: 14px; font-weight: 700; }
.try textarea, .try output { font-family: -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
.try textarea { width: 100%; min-height: 84px; resize: vertical; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.try output { display: block; white-space: pre-wrap; border-radius: 14px; background: var(--card); padding: 12px 14px; min-height: 52px; font-weight: 600; }
.try small { color: var(--faint); font-size: 13px; }

/* 보관 기한 표 */
.keep { width: 100%; max-width: 720px; margin-top: 36px; border-collapse: collapse; text-align: left; }
.keep td { padding: 14px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dark .keep td { border-color: #2c2c2e; }
.keep td:first-child { font-weight: 800; font-size: 20px; width: 84px; letter-spacing: -.03em; }
.keep td span { display: block; font-size: 14px; color: var(--dim); }
.dark .keep td span { color: var(--dark-dim); }

/* FAQ */
.faq { width: 100%; max-width: 760px; margin-top: 28px; text-align: left; }
details { border-bottom: 1px solid var(--line); }
details summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ""; position: absolute; right: 6px; top: 27px; width: 9px; height: 9px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); top: 31px; }
details p { color: var(--dim); padding: 0 0 20px; font-size: 15px; }

/* 문서·하위 페이지 */
.doc-head { padding: 56px 0 8px; display: grid; gap: 12px; }
.subnav { position: sticky; top: 56px; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; text-decoration: none; color: var(--dim); font-weight: 600; font-size: 15px; padding: 12px 10px; }
.subnav a[aria-current="page"] { color: var(--text); font-weight: 800; }
.prose { max-width: 720px; display: grid; gap: 14px; padding: 32px 0 0; }
.prose h2 { font-size: clamp(22px, 4.4vw, 30px); margin-top: 36px; }
.prose h3 { margin-top: 12px; }
.prose p, .prose li { color: var(--dim); }
.prose ul, .prose ol { padding-left: 20px; display: grid; gap: 6px; }
.prose strong { color: var(--text); }
.inapp { justify-self: start; font-size: 13px; color: var(--dim); background: var(--bg2); border-radius: 8px; padding: 5px 10px; }
.inapp b { color: var(--text); }
.items { display: grid; gap: 14px; }
.items div { display: grid; gap: 2px; }
.items dt { font-weight: 700; }
.items dd { color: var(--dim); }
.scroll-x { overflow-x: auto; }
.dtable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.dtable th, .dtable td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtable thead th { color: var(--dim); font-size: 13px; }
.dtable tbody th { font-weight: 700; }
.dtable td { color: var(--dim); }
.toc { display: flex; flex-wrap: wrap; gap: 6px; }
.toc a { font-size: 13px; text-decoration: none; color: var(--dim); background: var(--bg2); border-radius: 8px; padding: 5px 10px; }
.pager { display: flex; justify-content: space-between; gap: 10px; margin: 56px 0 0; max-width: 720px; }
.pager a { flex: 1; text-decoration: none; background: var(--bg2); border-radius: 16px; padding: 14px 18px; display: grid; gap: 2px; font-weight: 700; }
.pager a small { color: var(--faint); font-size: 13px; font-weight: 600; }
.pager a.next { text-align: right; }
.note { padding: 14px 16px; background: var(--bg2); border-radius: 14px; color: var(--dim); font-size: 15px; }
.who-sees { display: grid; gap: 10px; }
@media (min-width: 640px) { .who-sees { grid-template-columns: 1fr 1fr; } }
.who-sees div { background: var(--bg2); border-radius: 16px; padding: 18px; display: grid; gap: 4px; }
.who-sees p { font-size: 15px; }

/* 푸터 */
.end { text-align: center; display: grid; justify-items: center; gap: 16px; padding: 96px 0 64px; }
.end img { width: 72px; height: 72px; }
footer { padding: 28px 0 48px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer nav a { text-decoration: none; color: var(--dim); font-size: 14px; }
footer nav a:hover { color: var(--text); }
footer small { color: var(--faint); font-size: 13px; }

.rise { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .rise { opacity: 1; transform: none; } }

/* ── 그림(앱의 3D 아이콘·캐릭터) ── */
.stage { position: relative; width: 100%; max-width: 760px; margin: 0 auto; }
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.fl { position: absolute; width: 58px; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 10px 16px rgba(0,0,0,.12)); }
.fl img { width: 100%; height: auto; }
.f1 { left: -4px; top: 24px; }
.f2 { right: -4px; top: 120px; animation-delay: -1.2s; }
.f3 { left: -4px; top: 330px; animation-delay: -2.4s; }
.f4 { right: -4px; top: 440px; animation-delay: -3.1s; }
.f5, .f6 { display: none; }
@media (min-width: 720px) {
  .fl { width: 96px; }
  .floaters { z-index: 0; }
  .f1 { left: 4%; top: 70px; } .f2 { right: 3%; top: 60px; } .f3 { left: 0; top: 300px; } .f4 { right: 0; top: 300px; }
  .f5 { display: block; left: 9%; top: 500px; animation-delay: -.6s; } .f6 { display: block; right: 9%; top: 520px; animation-delay: -1.8s; }
}
@keyframes bob { 50% { translate: 0 -10px; } }
.phone { position: relative; z-index: 1; }

.jobs li { align-items: center; gap: 12px; padding: 10px 14px 10px 10px; }
.jobs li img { width: 44px; height: 44px; flex: none; }
.jobs li span { display: grid; gap: 1px; line-height: 1.4; }

.card .obj { display: block; width: 88px; height: 88px; margin: -4px 0 6px -6px; }
.card .obj img { width: 100%; height: 100%; }
@media (min-width: 960px) { .card .obj { width: 104px; height: 104px; } }
.dark .card .obj img { filter: drop-shadow(0 8px 20px rgba(0,0,0,.5)); }

.head-obj { display: block; width: 96px; height: 96px; margin-bottom: 4px; }
.head-obj img { width: 100%; height: 100%; }

.chars { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.chars figure { display: grid; justify-items: center; gap: 2px; width: 84px; }
.chars img { width: 84px; height: 84px; }
.chars figcaption { font-size: 13px; color: var(--dim); font-weight: 600; }
@media (min-width: 720px) { .chars figure { width: 120px; } .chars img { width: 120px; height: 120px; } }
@media (prefers-reduced-motion: reduce) { .fl { animation: none; } }

/* ═════════ 메인 v3 (피클급) ═════════ */
/* 상단바: 히어로 위에선 투명, 내려가면 흐린 배경 */
.top.over { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .3s; }
.top.over .logo, .top.over .nav a, .top.over .iconbtn { color: #111214; }
.top.over.scrolled { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); }
.top.over.scrolled .logo, .top.over.scrolled .nav a, .top.over.scrolled .iconbtn { color: var(--text); }
.top.over.scrolled .nav a { color: var(--dim); }

/* 히어로: 화면 가득 장면 + 둥근 아래 모서리 */
.hero2 { position: relative; height: 100svh; min-height: 560px; max-height: 1000px; overflow: hidden; border-radius: 0 0 32px 32px; background: linear-gradient(#cfe0f5, #f6eadc); padding: 0; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg img { animation: drift 30s ease-in-out infinite alternate; transform-origin: 50% 70%; }
@keyframes drift { to { transform: scale(1.06); } }
.hero-copy { position: relative; z-index: 1; padding-top: calc(56px + 9svh); text-align: center; color: #111214; display: grid; gap: 10px; justify-items: center; }
.hero-copy h1 { font-size: clamp(36px, 9vw, 72px); text-shadow: 0 2px 30px rgba(255,255,255,.55); }
.hero-copy p { font-size: clamp(15px, 2vw, 18px); font-weight: 600; color: rgba(17,18,20,.6); }
.hero-copy > * { animation: up .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy p { animation-delay: .15s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }

/* 소개 + 폰 */
.intro { padding-top: 88px; }
.intro .eyebrow, .many .eyebrow, .keepsec .eyebrow { margin-bottom: -4px; }
.stage { position: relative; max-width: 900px; margin: 40px auto 0; }
.side { position: absolute; bottom: -28px; width: 92px; z-index: 2; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 18px 24px rgba(0,0,0,.15)); }
.side img { width: 100%; height: auto; }
.side.left { left: -10px; }
.side.right { right: -10px; animation-delay: -2.5s; }
@media (min-width: 720px) { .side { width: 220px; bottom: 120px; } .side.left { left: 2%; } .side.right { right: 2%; } }
.phone { margin-top: 0; }
.screen { height: 580px; }
.screen .bar .sig { display: flex; gap: 2px; align-items: end; }
.screen .bar .sig i { width: 3px; background: #111214; border-radius: 1px; height: 6px; }
.screen .bar .sig i:nth-child(2) { height: 8px; } .screen .bar .sig i:nth-child(3) { height: 10px; }
.st { opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .35s ease, transform .35s ease; }
.st.on { opacity: 1; transform: none; }
.typing { align-self: flex-start; background: #f0f0f2; border-radius: 16px; padding: 10px 12px; display: flex; gap: 4px; }
.typing.gone { display: none; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a9ea6; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .3; transform: translateY(-2px); } }
.ask .ok { transition: transform .15s, background .2s; }
.ask.pressed .ok { transform: scale(.94); background: #3e63dd; }
.b.done { background: #e7f6ec; color: #145c2f; }
.chips button { display: inline-flex; align-items: center; gap: 6px; position: relative; overflow: hidden; padding: 8px 16px 8px 10px; }
.chips button img { width: 22px; height: 22px; }
.chips .prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: currentColor; opacity: .35; }
.chips button[aria-selected="true"] .prog { animation: prog var(--dur, 7s) linear forwards; }
.chips.paused .prog { animation-play-state: paused; }
@keyframes prog { to { width: 100%; } }

/* 흐르는 칩 */
.many { overflow: hidden; }
.mq { display: grid; gap: 12px; margin-top: 36px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 90s linear infinite; }
.mq .rev .mq-track { animation-direction: reverse; animation-duration: 110s; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq-row { display: flex; gap: 10px; padding-right: 10px; list-style: none; }
.mq-row li { display: flex; align-items: center; gap: 8px; white-space: nowrap; background: var(--bg2); border-radius: 999px; padding: 8px 18px 8px 8px; font-size: 15px; font-weight: 600; }
.mq-row li img { width: 36px; height: 36px; }
@keyframes mq { to { transform: translateX(-50%); } }
.many .stats { margin-top: 56px; }
.stats b { font-size: clamp(30px, 6vw, 48px); }

/* 보안: 큰 오브젝트 카드 */
.sec { border-radius: 32px; margin: 0 8px; }
@media (min-width: 720px) { .sec { margin: 0 16px; } }
.objcards { display: grid; gap: 12px; margin-top: 40px; width: 100%; }
@media (min-width: 760px) { .objcards { grid-template-columns: repeat(3, 1fr); } }
.oc { position: relative; display: flex; flex-direction: column; text-decoration: none; background: #1c1c1e; border-radius: 24px; padding: 20px; min-height: 300px; overflow: hidden; text-align: left; transition: transform .3s; }
.oc:hover { transform: translateY(-4px); }
.oc .o { flex: 1; display: grid; place-items: center; }
.oc .o img { width: 150px; height: 150px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.oc:hover .o img { transform: rotate(-6deg) scale(1.06); }
.oc .t { font-weight: 800; font-size: 19px; line-height: 1.35; letter-spacing: -.02em; color: #f5f5f7; }
.oc .t small { display: block; font-size: 12px; font-weight: 600; color: #8e8e93; margin-bottom: 4px; }
.oc .arr { position: absolute; right: 20px; bottom: 20px; color: #8e8e93; font-size: 18px; }
.maskline { margin-top: 12px; width: 100%; background: #1c1c1e; border-radius: 24px; padding: 22px 24px; text-align: left; }
.maskline small { color: #8e8e93; font-size: 12px; font-weight: 600; }
.maskline p { font-size: clamp(16px, 2.6vw, 22px); font-weight: 700; color: #f5f5f7; margin-top: 6px; line-height: 1.6; }
.sw s { text-decoration: none; }
.sw b { display: none; color: #7c9cff; }
.maskline.on .sw s { display: none; }
.maskline.on .sw b { display: inline; animation: pop .45s ease; }
@keyframes pop { from { opacity: 0; filter: blur(4px); } }

/* 보관 기한 */
.tl { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; margin: 36px 0 24px; }
@media (min-width: 880px) { .tl { grid-template-columns: repeat(6, 1fr); } }
.tl li { background: var(--bg2); border-radius: 20px; padding: 18px 16px; display: grid; gap: 2px; text-align: left; align-content: start; }
.tl b { font-size: 30px; letter-spacing: -.04em; }
.tl span { font-weight: 700; font-size: 15px; }
.tl small { color: var(--dim); font-size: 13px; }

/* 끝 + 하단 고정 버튼 */
.end { padding: 96px 0 72px; }
.chars { gap: 0; }
.chars figure { animation: bob 4.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
@media (min-width: 720px) { .chars img { width: 140px; height: 140px; } .chars figure { width: 150px; } }
.pin { position: fixed; left: 0; right: 0; bottom: 16px; z-index: 30; display: flex; justify-content: center; pointer-events: none; opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s; }
.pin.show { opacity: 1; transform: none; }
.pin .btn { box-shadow: 0 10px 30px rgba(0,0,0,.25); height: 48px; }
@media (prefers-reduced-motion: reduce) { .st { opacity: 1; transform: none; } .typing { display: none; } .mq-track, .hero-bg img, .chars figure, .side { animation: none; } }
