/* LOOP · loopwork.kr */
:root {
  --cream: #F7F4EE;
  --paper: #FFFFFF;
  --sand: #EFEAE1;
  --ink: #16151C;
  --ink-2: #4A4852;
  --ink-3: #7B7884;
  --line: #E2DCD1;
  --coral: #FF5A36;
  --coral-ink: #D9401F;
  --coral-soft: #FFE6DE;
  --ok: #1F9D6B;
  --warn: #E8A317;
  --bad: #D8432F;
  --night: #16151C;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22, 21, 28, .06), 0 12px 32px -12px rgba(22, 21, 28, .18);
  --wrap: 1160px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; margin-top: 32px; }

/* 버튼·링크 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--coral); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--coral-ink); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream); }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { color: var(--coral-ink); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }
.link.light { color: #FF8A6E; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--coral-ink); letter-spacing: .02em; margin-bottom: 14px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); margin-top: 18px; }

/* 로고 */
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 30px; width: auto; }
.site-footer .logo img { height: 34px; }
.mark { width: 28px; height: 28px; color: var(--coral); flex: none; }
.mark.mini { width: 18px; height: 18px; color: #fff; }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 238, .9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: var(--sand); }
.nav .nav-check { color: var(--coral-ink); }
.menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 12px 10px; cursor: pointer; }
.menu span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.menu span + span { margin-top: 8px; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

/* 히어로 */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; }
.hl { color: var(--coral); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 28px 0 0; font-size: 14px; color: var(--ink-3); }
.hero-proof li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }
.hero-visual { position: relative; display: grid; gap: 16px; }
.hero-visual .result { margin-left: 12%; margin-top: -40px; position: relative; }

/* 창 모형 */
.window { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #FBFAF7; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win-bar span { margin-left: 8px; }
.chat-body { padding: 16px; display: grid; gap: 16px; }
.msg { display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--sand); font-weight: 800; font-size: 14px; color: var(--ink-2); }
.msg.ai .avatar { background: var(--coral); }
.msg-name { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.msg-name em { font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 4px; background: var(--coral-soft); color: var(--coral-ink); }
.msg-body p { font-size: 14.5px; color: var(--ink-2); margin-top: 2px; }
.file { display: inline-block; margin-top: 8px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; color: var(--ink-2); background: #FBFAF7; }
.report { display: block; margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: var(--ink); color: #F3EFE7; font: 600 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: normal; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

.result-body { padding: 18px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metric { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 6px; color: var(--ok); }
.metric:has(.sig-warn) { color: var(--warn); }
.m-label { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.metric b { font-size: 24px; color: var(--ink); letter-spacing: -0.02em; }
.metric small { font-size: 13px; margin-left: 2px; color: var(--ink-3); }
.m-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-3); }
.spark { width: 100%; height: 24px; }
.sig { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.sig::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.sig-ok::before { background: var(--ok); } .sig-warn::before { background: var(--warn); } .sig-bad::before { background: var(--bad); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 160px; }
.cbar { flex: 1; height: var(--h); background: linear-gradient(var(--coral), #FF8A6E); border-radius: 5px 5px 2px 2px; position: relative; transform-origin: bottom; animation: grow .7s both; }
.cbar:nth-last-child(-n+2) { background: var(--coral-ink); }
.cbar span { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 10.5px; color: var(--ink-3); white-space: nowrap; }
.result-body:has(.bars) { padding-bottom: 32px; }
@keyframes grow { from { transform: scaleY(0); } }
.doc { margin: 0; display: grid; }
.doc div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.doc div:last-child { border-bottom: 0; font-weight: 800; }
.doc dt { color: var(--ink-3); } .doc dd { margin: 0; text-align: right; font-weight: 600; }
.sitemock { position: relative; border: 1px solid var(--line); border-radius: 10px; height: 190px; overflow: hidden; background: linear-gradient(180deg, #F4F1EA, #fff); }
.sm-nav { display: flex; gap: 8px; padding: 10px; align-items: center; }
.sm-nav span { height: 6px; width: 30px; background: var(--line); border-radius: 3px; }
.sm-nav .sm-logo { width: 46px; height: 12px; background: var(--ink); margin-right: auto; }
.sm-hero { padding: 18px 14px; display: grid; gap: 8px; }
.sm-hero span { height: 12px; width: 60%; background: var(--line); border-radius: 4px; } .sm-hero span + span { width: 40%; }
.sm-pop { position: absolute; inset: 34px 16% auto; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 4px; text-align: center; border-top: 4px solid var(--coral); }
.sm-pop b { font-size: 16px; } .sm-pop span { font-size: 12.5px; color: var(--ink-2); } .sm-pop small { font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.tally { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; margin-bottom: 14px; }
.tally > span:not(.sig) { width: 1px; height: 14px; background: var(--line); }
.areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.area { padding: 12px 6px; border-radius: 8px; text-align: center; font-size: 13px; font-weight: 700; background: #E7F5EE; color: #146B49; }
.area-warn { background: #FDF2DA; color: #8A5E00; } .area-bad { background: #FBE3DF; color: #A22E1E; }

/* 섹션 */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--night); color: #F3EFE7; }
.section.dark .lead { color: #BDB8C4; }
.section.dark .eyebrow { color: #FF8A6E; }
.section h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 64px); }
.page-head h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -0.035em; max-width: 880px; }
.page-head .split h1 { font-size: clamp(32px, 4.4vw, 52px); }
.crumb { display: inline-block; margin-bottom: 20px; color: var(--ink-3); text-decoration: none; font-weight: 600; font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.steps b { font-size: 14px; color: var(--coral-ink); padding-top: 4px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 19px; } .steps p { color: var(--ink-2); margin-top: 4px; }

.loop-diagram { position: relative; aspect-ratio: 1; width: min(440px, 100%); margin-inline: auto; }
.loop-diagram svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.loop-run { transform-origin: center; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loop-node { position: absolute; transform: translate(-50%, -50%); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 12px; padding: 10px 14px; font-weight: 800; font-size: 15px; white-space: nowrap; display: grid; text-align: center; }
.loop-node b { font-size: 11px; color: var(--coral-ink); }
.n0 { left: 50%; top: 12.5%; } .n1 { left: 87.5%; top: 50%; } .n2 { left: 50%; top: 87.5%; } .n3 { left: 12.5%; top: 50%; }
.loop-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; font-weight: 800; letter-spacing: .06em; }
.loop-center .mark { width: 48px; height: 48px; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.tabs button { font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; min-height: 44px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.uc-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.uc-text h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.uc-text p { color: var(--ink-2); margin: 14px 0 20px; font-size: 17px; }
.uc-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }

.cards { display: grid; gap: 16px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.five { grid-template-columns: repeat(5, 1fr); }
.card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.section.alt .card { background: var(--cream); }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 20px; font-weight: 800; }
.card p { color: var(--ink-2); font-size: 15px; }
.card .card-lead { color: var(--ink); font-weight: 700; }
.card .link { margin-top: auto; padding-top: 6px; }
.card .eyebrow { margin: 0; font-size: 13px; }

.iso { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.iso li { padding: 22px; border-radius: var(--radius); border: 1px solid #34323D; background: #1E1D26; display: grid; gap: 6px; }
.iso b { font-size: 18px; } .iso span { color: #BDB8C4; font-size: 15px; }

.video { display: grid; gap: 10px; }
.poster { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); background: radial-gradient(120% 120% at 0% 0%, #2A2833, var(--night)); overflow: hidden; }
.poster::after { content: ""; position: absolute; right: -20%; bottom: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 14px solid var(--coral); opacity: .9; }
.play { position: absolute; left: 20px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; background: #fff; z-index: 1; }
.play::after { content: ""; position: absolute; left: 19px; top: 15px; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.len { position: absolute; right: 12px; top: 12px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0,0,0,.4); padding: 2px 8px; border-radius: 6px; z-index: 1; }
.soon { position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 700; color: var(--ink); background: var(--warn); padding: 2px 8px; border-radius: 6px; z-index: 1; }
.video h3 { font-size: 17px; font-weight: 800; } .video h3 small { color: var(--coral-ink); margin-right: 4px; }
.video p { color: var(--ink-2); font-size: 15px; }
.note { margin-top: 32px; color: var(--ink-3); font-size: 15px; }

.checks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--coral-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 7 11l5-6' fill='none' stroke='%23D9401F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks.cols { grid-template-columns: 1fr 1fr; margin-top: 40px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--coral-soft); color: var(--coral-ink); font-weight: 700; font-size: 14px; }

.story { display: grid; gap: 40px; max-width: 820px; }
.story-step { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start; }
.story-step > b { font-size: 15px; color: var(--coral-ink); padding-top: 4px; }
.story-step > p { font-size: 18px; color: var(--ink-2); }

.cta-band { background: var(--coral); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.03em; }
.cta-band p { margin-top: 10px; opacity: .92; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.brand-swap { display: grid; gap: 12px; }
.bs-card { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.bs-card:nth-child(2) { margin-left: 8%; } .bs-card:nth-child(3) { margin-left: 16%; }
.bs-logo { grid-row: span 2; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff; }
.bs-logo.a { background: #2B5CE6; } .bs-logo.b { background: #138A63; } .bs-logo.c { background: var(--ink); } .bs-logo .mark { width: 26px; height: 26px; }
.bs-card small { color: var(--ink-3); }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.timeline li { position: relative; padding-top: 56px; }
.timeline li::before { content: ""; position: absolute; top: 20px; left: 44px; right: -16px; height: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline b { position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.timeline h3 { font-size: 18px; } .timeline p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }

/* 폼 */
.form, .check { display: grid; gap: 22px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 700; font-size: 15px; padding: 0; }
.field i, .agree i { font-style: normal; font-size: 12px; color: var(--coral-ink); margin-left: 4px; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); min-height: 48px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft); }
[aria-invalid="true"] { border-color: var(--bad); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; font-size: 15px; cursor: pointer; transition: all .15s; }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.check fieldset { border: 0; padding: 0 0 22px; margin: 0; border-bottom: 1px solid var(--line); }
.check legend { font-weight: 800; font-size: 18px; margin-bottom: 12px; padding: 0; }
.check legend b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; font-size: 13px; margin-right: 8px; }
.check legend small, .field legend small { font-weight: 600; color: var(--ink-3); font-size: 13px; margin-left: 6px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.agree input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--coral); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--bad); font-weight: 700; }
.attached { padding: 16px 18px; border-radius: var(--radius); background: var(--coral-soft); color: var(--ink); font-size: 15px; }
.attached b { display: block; margin-bottom: 4px; }
.attached button { font: inherit; background: none; border: 0; color: var(--coral-ink); font-weight: 700; cursor: pointer; padding: 0; margin-top: 6px; }
.form-done { text-align: center; padding: 48px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 14px; justify-items: center; }
.form-done h2 { font-size: 28px; }

.check-result { margin-top: 40px; display: grid; gap: 20px; }
.check-result h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.rc { padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 12px; }
.rc h3 { font-size: 18px; }
.rooms { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rooms li { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 12px 14px; border-radius: 10px; background: var(--cream); }
.rooms b { font-size: 15px; } .rooms span { grid-column: 2; color: var(--ink-2); font-size: 14px; }
.rooms .hash { grid-row: span 2; color: var(--coral-ink); font-weight: 800; }

.prose h2 { font-size: 20px; margin: 32px 0 8px; }
.prose p { color: var(--ink-2); }

/* 바닥글 */
.site-footer { background: var(--night); color: #BDB8C4; padding: 64px 0 32px; }
.site-footer .logo { color: #fff; }
.foot-top { display: grid; gap: 14px; max-width: 420px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 200px)); gap: 32px; margin: 44px 0; }
.foot-cols h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.foot-cols a { display: block; text-decoration: none; padding: 4px 0; font-size: 15px; }
.foot-cols a:hover, .foot-bottom a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid #34323D; font-size: 14px; }
.foot-bottom a { text-decoration: none; }

.phone { width: min(300px, 100%); margin-inline: auto; padding: 12px; border-radius: 40px; background: var(--ink); box-shadow: var(--shadow); }
.phone-screen { border-radius: 30px; overflow: hidden; background: var(--cream); padding: 28px 10px 20px; }
.phone .metrics { grid-template-columns: 1fr; }

/* 반응형 */
@media (max-width: 1080px) {
  .cards.five { grid-template-columns: repeat(3, 1fr); }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .timeline li:nth-child(3)::before { display: none; }
  .uc-visual { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu { display: block; order: 3; }
  .bar { gap: 12px; }
  .bar .btn-sm { margin-left: auto; }
  .nav { position: fixed; inset: 68px 0 auto; flex-direction: column; padding: 12px 16px 20px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .hero-grid, .split, .uc-panel { grid-template-columns: 1fr; }
  .hero-visual .result { margin-left: 6%; margin-top: -24px; }
  .cards.three, .cards.five { grid-template-columns: repeat(2, 1fr); }
  .story-step { grid-template-columns: 1fr; gap: 12px; }
  .checks.cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards.three, .cards.four, .cards.five, .grid2, .iso { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics .metric:last-child { grid-column: span 2; }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .timeline li::before { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .loop-node { font-size: 13px; padding: 8px 10px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .bs-card:nth-child(n) { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- 슬랙식 가운데 히어로 + 화면 재생기 ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-center { text-align: center; padding-bottom: 0; background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 55%, #fff 55%); }
.hero-center .hero-copy { max-width: 860px; margin-inline: auto; }
.hero-center h1 { font-size: clamp(42px, 6.4vw, 80px); }
.hero-center .hero-actions, .hero-center .hero-proof { justify-content: center; }
.hero-stage { margin: clamp(40px, 6vw, 64px) auto 0; max-width: 1080px; padding-bottom: clamp(48px, 7vw, 88px); }
.br-wide { display: none; }
@media (min-width: 900px) { .br-wide { display: inline; } }

.player { position: relative; }
.app { position: relative; height: clamp(440px, 52vw, 580px); border-radius: 16px; overflow: hidden; background: var(--ink); box-shadow: 0 2px 4px rgba(22,21,28,.08), 0 40px 80px -30px rgba(22,21,28,.45); display: flex; flex-direction: column; text-align: left; font-size: 14px; }
.app-top { height: 36px; flex: none; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.app-top > i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; } .app-top > i:nth-child(2) { background: #FEBC2E; } .app-top > i:nth-child(3) { background: #28C840; }
.app-search { margin: 0 auto; width: min(420px, 50%); height: 22px; border-radius: 6px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: 12px; display: grid; place-items: center; }
.app-body { flex: 1; min-height: 0; display: flex; padding: 0 6px 6px 0; }
.app-rail { width: 68px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 4px; }
.rail-logo { width: 36px; height: 36px; border-radius: 10px; background: var(--coral); display: grid; place-items: center; margin-bottom: 10px; }
.rail-logo .mark { width: 22px; height: 22px; color: #fff; }
.rail-i { display: grid; justify-items: center; gap: 3px; color: rgba(255,255,255,.7); font-size: 10.5px; font-weight: 600; padding: 4px 0; width: 60px; }
.rail-i b { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.08); transition: background .2s; }
.rail-i.on { color: #fff; } .rail-i.on b { background: rgba(255,255,255,.22); }
.rail-i.press b { transform: scale(.9); }
.app-side { width: 220px; flex: none; background: #22212B; border-radius: 10px 0 0 10px; color: #CFCBD6; padding: 14px 10px; }
.side-ws { color: #fff; font-weight: 800; font-size: 16px; padding: 0 8px 12px; }
.side-h { font-size: 12px; padding: 6px 8px; color: #9D99A6; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.side-list li { padding: 5px 10px; border-radius: 6px; font-size: 14px; }
.side-list li::before { content: "# "; opacity: .6; }
.side-list li.on { background: var(--coral); color: #fff; font-weight: 700; }
.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; border-radius: 0 10px 10px 0; }
.main-h { display: flex; align-items: baseline; gap: 10px; padding: 12px 18px; border-bottom: 1px solid #EEEAE3; }
.main-title { font-size: 16px; } .main-title::before { content: "# "; color: var(--ink-3); }
.main-sub { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-scroll { flex: 1; min-height: 0; overflow: hidden; padding: 14px 18px 6px; }
.feed { display: grid; gap: 14px; }
.pm { display: grid; grid-template-columns: 36px 1fr; gap: 10px; }
.pm.in { animation: pmIn .35s cubic-bezier(.2,.8,.2,1) both; }
@keyframes pmIn { from { opacity: 0; transform: translateY(10px); } }
.pm-av { width: 36px; height: 36px; border-radius: 9px; background: #E9E4DA; display: grid; place-items: center; font-weight: 800; color: var(--ink-2); }
.pm.ai .pm-av { background: var(--coral); } .pm-av .mark { width: 20px; height: 20px; }
.pm-n { font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.pm-n em { font-style: normal; font-size: 10.5px; padding: 1px 6px; border-radius: 4px; background: var(--coral-soft); color: var(--coral-ink); }
.pm-n time { font-weight: 500; font-size: 11.5px; color: var(--ink-3); }
.pm-t { color: var(--ink-2); line-height: 1.55; }
.pm-t p { margin-top: 1px; }
.pm-file { display: inline-block; margin-top: 6px; padding: 6px 10px; border: 1px solid #E6E1D8; border-radius: 8px; font-size: 13px; background: #FBFAF7; }
.pm-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 6px 12px; border-radius: 999px; background: var(--coral-soft); color: var(--coral-ink); font-size: 13px; font-weight: 700; }
.dots { display: inline-flex; gap: 3px; } .dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: dot 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.pm-card { margin-top: 10px; border: 1px solid #E6E1D8; border-radius: 12px; padding: 12px; max-width: 520px; background: #fff; box-shadow: 0 6px 18px -10px rgba(22,21,28,.25); }
.pm-card.in, .report.in, .pm-file.in { animation: pmIn .4s cubic-bezier(.2,.8,.2,1) both; }
.card-h { font-size: 12px; font-weight: 800; color: var(--ink-3); margin-bottom: 8px; letter-spacing: .02em; }
.pm-card .bars { height: 110px; } .pm-card .sitemock { height: 150px; }
.pm .report { max-width: 520px; }
.composer { margin: 6px 18px 14px; border: 1.5px solid #E2DCD1; border-radius: 12px; padding: 10px 12px 8px; transition: border-color .2s, box-shadow .2s; }
.app.typing .composer { border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft); }
.comp-text { min-height: 22px; max-height: 66px; overflow: hidden; color: var(--ink); }
.comp-ph { color: var(--ink-3); }
.caret { display: none; width: 2px; height: 16px; background: var(--ink); vertical-align: -3px; margin-left: 1px; animation: dot 1s steps(1) infinite; }
.app.typing .caret { display: inline-block; }
.comp-tools { display: flex; gap: 12px; color: var(--ink-3); margin-top: 6px; font-size: 13px; }
.comp-send { margin-left: auto; width: 28px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: #EEEAE3; transition: background .15s, transform .1s; }
.app.typing .comp-send { background: var(--coral); color: #fff; }
.comp-send.press { transform: scale(.88); }
.view { flex: 1; min-height: 0; overflow: hidden; padding: 18px; background: #FBFAF7; animation: pmIn .4s both; }
.view-in { display: grid; gap: 14px; }
.view .areas { grid-template-columns: repeat(5, 1fr); }
.view .area { padding: 18px 6px; font-size: 14px; transition: background .4s, color .4s; }
.area.flip { animation: flip .6s; }
@keyframes flip { 50% { transform: scale(1.08); } }
.view-note { display: grid; gap: 6px; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid #EEEAE3; font-size: 14px; color: var(--ink-2); }
.view-note b { color: var(--ink); }
.cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; opacity: 0; transition: transform .6s cubic-bezier(.45,0,.2,1), opacity .2s; pointer-events: none; z-index: 5; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.cursor.show { opacity: 1; }

.pl-controls { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 22px; }
.pl-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pl-tabs button { position: relative; overflow: hidden; font: inherit; font-weight: 700; font-size: 15px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.pl-tabs button span { position: relative; z-index: 1; }
.pl-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pl-tabs button i { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--coral); transition: width .4s linear; }
.pl-pause { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 13px; color: var(--ink-3); background: none; border: 0; cursor: pointer; padding: 6px; }
.pl-ico { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; }
.pl-ico::before, .pl-ico::after { content: ""; position: absolute; top: 7px; width: 3px; height: 9px; background: var(--ink-2); left: 8px; }
.pl-ico::after { left: 13px; }
.is-paused .pl-ico::after { display: none; }
.is-paused .pl-ico::before { left: 9px; top: 6px; width: 0; height: 0; background: none; border-left: 9px solid var(--ink-2); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.player[data-external-tabs] .pl-controls { align-items: flex-start; }
.dark .pl-pause { color: #BDB8C4; } .dark .pl-ico { border-color: #4A4852; } .dark .pl-ico::before, .dark .pl-ico::after { background: #BDB8C4; }
.dark .is-paused .pl-ico::before { background: none; border-left-color: #BDB8C4; }

/* 어두운 띠 + 기능 목록 */
.band { background: var(--night); }
.center-head { text-align: center; margin-inline: auto; }
.section.dark .section-head p { color: #BDB8C4; }
.feat { display: grid; grid-template-columns: 380px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feat-list button { position: relative; overflow: hidden; width: 100%; text-align: left; font: inherit; color: #fff; background: transparent; border: 1.5px solid #34323D; border-radius: 14px; padding: 16px 18px; cursor: pointer; display: grid; gap: 6px; }
.feat-list b { font-size: 17px; }
.feat-list span { display: none; color: #BDB8C4; font-size: 15px; line-height: 1.55; }
.feat-list button[aria-pressed="true"] { background: #22212B; border-color: #4A4852; }
.feat-list button[aria-pressed="true"] span { display: block; }
.feat-list i { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--coral); transition: width .4s linear; }
.feat-stage .app { height: clamp(440px, 46vw, 540px); }

/* 사례 카드 줄 */
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; max-width: none; }
.rail-cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.ucard { scroll-snap-align: start; display: grid; grid-template-rows: 220px auto; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.ucard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ucard-pv { background: var(--ink); padding: 18px 18px 0; overflow: hidden; }
.ucard-pv > * { pointer-events: none; }
.ucard-pv .card-h { color: #BDB8C4; }
.ucard-pv .metrics, .ucard-pv .bars, .ucard-pv .doc, .ucard-pv .sitemock, .ucard-pv .areas, .ucard-pv .tally { background: #fff; border-radius: 10px; padding: 10px; }
.ucard-pv .bars { height: 150px; padding-bottom: 24px; }
.ucard-pv .tally { margin-bottom: 8px; }
.ucard-pv .metrics { grid-template-columns: 1fr 1fr; } .ucard-pv .metric:last-child { display: none; }
.ucard-tx { padding: 18px; display: grid; gap: 6px; }
.ucard-tx h3 { font-size: 18px; font-weight: 800; }
.ucard-tx p { color: var(--ink-3); font-size: 14px; }
.tag { justify-self: start; font-size: 12px; font-weight: 800; color: var(--coral-ink); background: var(--coral-soft); padding: 3px 10px; border-radius: 999px; }

.story-step .app, .split .app { height: 500px; }

@media (max-width: 1080px) {
  .feat { grid-template-columns: 1fr; }
  .feat-list { grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); overflow-x: auto; }
}
@media (max-width: 560px) {
  .app-side { display: none; }
  .app-main { border-radius: 10px; }
  .main-sub { display: none; }
}
@media (max-width: 560px) {
  .app { height: 480px; font-size: 13px; }
  .app-rail { width: 52px; } .rail-i { width: 48px; font-size: 9.5px; } .rail-i b { width: 28px; height: 28px; }
  .app-search { display: none; }
  .main-scroll { padding: 12px 12px 4px; } .composer { margin: 4px 10px 10px; }
  .view .areas { grid-template-columns: repeat(3, 1fr); }
  .pl-tabs button { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .row-head { flex-direction: column; align-items: flex-start; }
  .rail-cards { grid-auto-columns: 84%; }
}

/* ---------- 재생기 v2: 슬랙 영상 연출에 맞춤 ---------- */
.hero-stage { max-width: 980px; }
.app { background: linear-gradient(165deg, #2E2731 0%, #1B1A21 60%, #16151C 100%); border: 1px solid #2E2C36; }
.app-top { position: relative; }
.app-search { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.08); }
.app-me, .rail-me { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #FFB199, #FF5A36); }
.app-me { position: absolute; right: 14px; }
.rail-me { margin-top: auto; margin-bottom: 10px; width: 30px; height: 30px; border-radius: 8px; }
.app-side { background: transparent; border-radius: 0; color: #D9D4DE; }
.side-top { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 1px; }
.side-top li { padding: 4px 10px; font-size: 14px; color: #BDB8C4; }
.side-top li::before { content: "◦ "; }
.side-list li.on { background: #fff; color: var(--ink); }
.app-main { border-radius: 10px; overflow: hidden; }
.main-h { padding: 12px 18px; align-items: center; }
.main-mem { margin-left: auto; font-size: 12.5px; color: var(--ink-3); border: 1px solid #EEEAE3; border-radius: 6px; padding: 2px 8px; }
.app.dm .main-title::before, .app.viewing .main-title::before { content: none; }
.app.dm .main-mem { display: none; }
.stage { flex: 1; min-height: 0; display: flex; flex-direction: column; transition: opacity .3s ease; }
.app.swap .stage, .app.swap .main-h { opacity: 0; transition: opacity .3s ease; }
.app.viewing .composer { display: none; }

/* 홈 인사 화면 */
.app.home .stage { justify-content: center; }
.app.home .main-scroll { flex: none; overflow: visible; }
.app.home .composer { margin: 4px 48px 0; border-image: linear-gradient(90deg, #FF5A36, #FFB199, #1F9D6B, #E8A317) 1; border-radius: 0; border-width: 2px; }
.app.home .main-h { visibility: hidden; }
.greet { padding: 0 30px 12px; display: grid; gap: 14px; }
.greet-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--coral); display: grid; place-items: center; }
.greet-mark .mark { width: 26px; height: 26px; }
.greet h3 { font-size: 22px; font-weight: 800; color: var(--ink); }
.greet-sg { display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-2); margin: 22px 48px 0; }
.greet-sg b { color: var(--ink); }
.greet-sg.in { animation: pmIn .4s .1s both; }

/* 메시지 */
.pm-av { border-radius: 8px; background: hsl(var(--h, 20) 60% 86%); color: hsl(var(--h, 20) 45% 28%); font-size: 15px; }
.pm-av.ai { background: var(--coral); }
.pm-n em { background: #EEEAE3; color: var(--ink-3); font-size: 10px; }
.pm-status { background: none; padding: 0; margin-top: 2px; color: var(--ink-3); font-weight: 500; font-size: 13.5px; border-radius: 0; }
.pm-status .st { background: linear-gradient(90deg, var(--ink-3) 0%, var(--ink-3) 40%, #D8D3CB 50%, var(--ink-3) 60%, var(--ink-3) 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.pm-file { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 10px; background: #fff; }
.pm-file b { width: 30px; height: 30px; border-radius: 7px; background: var(--coral-soft); display: grid; place-items: center; font-size: 15px; }
.pm-file span { font-weight: 700; color: var(--ink); }
.pm-react { display: flex; gap: 6px; margin-top: 8px; }
.pm-react span { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 999px; border: 1px solid #E6E1D8; background: #F7F5F1; font-size: 12px; color: var(--ink-2); transition: all .2s; }
.pm-react span b { font-weight: 400; font-size: 13px; }
.pm-react span.mine { background: #FFF1EC; border-color: #FFB199; color: var(--coral-ink); font-weight: 700; }
.pm-react span.press { transform: scale(.92); }
.pm-react .add { color: var(--ink-3); }
.pm-react.in { animation: pmIn .35s both; }

/* 손가락 커서 */
.cursor { width: 26px; height: 26px; margin: -4px 0 0 -10px; transition: transform .75s cubic-bezier(.45,0,.2,1), opacity .25s; }
.cursor.down path { fill: #F3F0EA; }
.composer.press { border-color: var(--coral); }

/* 탭: 선택은 어둡게 채우고 진행 막대 없음 */
.pl-tabs button { display: inline-flex; align-items: center; gap: 8px; }
.pl-tabs button em { font-style: normal; font-size: 14px; opacity: .7; position: relative; }
.pl-tabs button i { display: none; }
.pl-tabs button[aria-selected="true"] em { opacity: 1; }
.pl-controls { flex-direction: column-reverse; }

/* AI가 만든 대시보드 */
.view { padding: 16px; background: #F7F5F1; }
.dash { display: grid; gap: 12px; }
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dcard { background: #fff; border: 1px solid #EEEAE3; border-radius: 12px; padding: 14px; animation: pmIn .45s both; }
.dash-row .dcard:nth-child(2) { animation-delay: .12s; }
.dash > .dcard { animation-delay: .24s; }
.dcard h4 { font-size: 15px; font-weight: 800; }
.dcard > p { font-size: 12.5px; color: var(--ink-3); margin: 2px 0 12px; }
.dcard .bars { height: 130px; margin-bottom: 18px; }
.dcard .areas { grid-template-columns: repeat(5, 1fr); gap: 6px; }
.dcard .area { padding: 14px 4px; font-size: 12.5px; }
.ins { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.ins div { border: 1px solid #EEEAE3; border-radius: 10px; padding: 12px; display: grid; gap: 4px; }
.ins b { font-size: 14px; } .ins span { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 560px) {
  .dash-row, .ins { grid-template-columns: 1fr; }
  .app.home .composer { margin: 4px 14px 0; }
  .greet { padding: 0 14px 10px; }
  .app.home .greet-sg { display: none; }
}

/* ---------- 재생기 v3: 실제 Alive 화면 구성 + LOOP 색 ---------- */
.app-rail { width: 76px; gap: 2px; padding-top: 6px; }
.rail-team { width: 36px; height: 36px; border-radius: 10px; background: var(--coral); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 10px; box-shadow: 0 0 0 2px #16151C, 0 0 0 4px rgba(255,255,255,.25); }
.rail-i { width: 66px; gap: 3px; font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,.72); letter-spacing: -0.01em; }
.rail-i b { position: relative; width: 42px; height: 42px; border-radius: 12px; background: transparent; display: grid; place-items: center; }
.rail-i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.rail-i em { position: absolute; top: -4px; right: -6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; border: 2px solid #1E1C24; background: var(--coral); color: #fff; font: 700 10px/12px inherit; font-style: normal; text-align: center; }
.rail-i.on { color: #fff; font-weight: 600; }
.rail-i.on b { background: rgba(255,255,255,.16); }
.rail-me { margin-top: auto; margin-bottom: 12px; width: auto; height: auto; background: none; display: grid; justify-items: center; gap: 3px; font-size: 11.5px; color: rgba(255,255,255,.72); }
.rail-me b { width: 36px; height: 36px; border-radius: 10px; background: hsl(32 60% 86%); color: hsl(32 45% 28%); display: grid; place-items: center; font-size: 15px; }
.app-side { width: 232px; background: rgba(255,255,255,.035); border-right: 1px solid rgba(255,255,255,.06); padding: 12px 8px; overflow: hidden; }
.side-ws { font-size: 16px; padding: 2px 10px 12px; }
.side-ws small { font-size: 11px; opacity: .6; }
.side-top li { display: flex; align-items: center; gap: 6px; border-radius: 6px; color: rgba(255,255,255,.72); padding: 5px 10px; }
.side-top li::before { content: none; }
.side-list ul, .side-dm { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.side-h { padding: 10px 10px 4px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.55); }
.side-list li, .side-dm li { position: relative; padding: 5px 10px; border-radius: 6px; font-size: 14px; color: rgba(255,255,255,.72); }
.side-list li::before { content: "# "; opacity: .55; }
.side-list li.on, .side-dm li.on, .side-top li.on { background: rgba(255,255,255,.16); color: #fff; font-weight: 600; }
.side-list li.on::after, .side-dm li.on::after, .side-top li.on::after { content: ""; position: absolute; left: -8px; top: 4px; bottom: 4px; width: 4px; border-radius: 0 4px 4px 0; background: var(--coral); }
.side-top li.press, .side-list li.press { background: rgba(255,255,255,.22); }
.side-dm li { display: flex; align-items: center; gap: 8px; }
.side-dm img, .side-dm .dm-av { width: 20px; height: 20px; border-radius: 6px; object-fit: cover; }
.side-dm .dm-av { background: hsl(262 60% 86%); color: hsl(262 45% 28%); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.side-dm i { font-style: normal; font-size: 9.5px; padding: 0 5px; border-radius: 4px; background: rgba(255,255,255,.14); color: rgba(255,255,255,.8); }
.pm-av.ai { background: none; overflow: hidden; }
.pm-av img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.greet-mark { background: none; width: 52px; height: 52px; }
.greet-mark img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
@media (max-width: 560px) {
  .app-rail { width: 56px; } .rail-i { width: 52px; font-size: 9.5px; } .rail-i b { width: 34px; height: 34px; } .rail-i svg { width: 19px; height: 19px; }
  .rail-team { width: 30px; height: 30px; }
}

/* ---------- v4: 슬랙처럼 위에서 아래로, 섹션마다 한 화면 ---------- */
.sec { padding: clamp(64px, 8vw, 104px) 0; }
.sec.alt { background: var(--paper); }
.sec.dark { background: var(--night); color: #F3EFE7; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 44px); }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; letter-spacing: -0.035em; }
.sec-head p { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
.sec.dark .sec-head p { color: #BDB8C4; } .sec.dark .eyebrow { color: #FF8A6E; }
.sec-stage { max-width: 1120px; margin: 0 auto; }
.sec.dark .pl-tabs button { background: transparent; color: #D9D4DE; border-color: #3A3842; }
.sec.dark .pl-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.loop-row { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.loop-row li { position: relative; padding: 28px 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.loop-row li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--coral); color: #fff; font-size: 13px; display: grid; place-items: center; z-index: 1; }
.loop-row b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--coral-soft); color: var(--coral-ink); font-size: 13px; margin-bottom: 14px; }
.loop-row h3 { font-size: 20px; font-weight: 800; } .loop-row p { color: var(--ink-2); margin-top: 6px; font-size: 15px; }
.iso.four { grid-template-columns: repeat(4, 1fr); max-width: 1080px; margin: 0 auto; }
.sec .center { margin-top: 28px; }

/* 히어로: 제목 + 큰 화면이 한 화면에 */
.hero-center { padding-top: clamp(36px, 5vw, 64px); }
.hero-center h1 { font-size: clamp(40px, 5.6vw, 72px); }
.hero-center .lead { margin-top: 14px; }
.hero-center .hero-actions { margin-top: 24px; }
.hero-stage { max-width: 1180px; margin-top: clamp(32px, 4vw, 48px); }

/* 앱 화면 크게 */
.app { height: clamp(520px, 50vw, 680px); font-size: 15.5px; border-radius: 18px; }
.app-top { height: 40px; }
.app-search { height: 26px; font-size: 13px; }
.main-h { padding: 14px 22px; } .main-title { font-size: 18px; } .main-sub { font-size: 13.5px; }
.main-scroll { padding: 18px 24px 8px; }
.feed { gap: 18px; }
.pm { grid-template-columns: 40px 1fr; gap: 12px; }
.pm-av, .pm-av img, .ai-av { width: 40px; height: 40px; border-radius: 10px; }
.pm-n { font-size: 15.5px; } .pm-n time { font-size: 12.5px; }
.pm-t { font-size: 15.5px; line-height: 1.6; }
.pm-card { max-width: 600px; padding: 16px; border-radius: 14px; }
.pm-card .metric b { font-size: 26px; }
.composer { margin: 8px 24px 18px; padding: 12px 14px 10px; font-size: 15.5px; border-radius: 14px; }
.ai-av { display: grid; place-items: center; background: var(--coral); }
.ai-av .mark { width: 24px; height: 24px; color: #fff; }
.side-dm li .ai-av { width: 20px; height: 20px; border-radius: 6px; } .side-dm .ai-av .mark { width: 13px; height: 13px; }
.greet-mark .ai-av { width: 56px; height: 56px; border-radius: 16px; } .greet-mark .ai-av .mark { width: 32px; height: 32px; }
.greet h3 { font-size: 26px; }
.app-side { width: 240px; font-size: 15px; }
.side-list li, .side-dm li { font-size: 15px; }

/* 알림 팝업 (슬랙의 허들 창 자리) */
.stage { position: relative; }
.toast { position: absolute; left: 20px; bottom: 96px; z-index: 4; display: grid; gap: 4px; min-width: 280px; padding: 14px 18px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: 0 18px 40px -12px rgba(22,21,28,.5); animation: toastIn .45s cubic-bezier(.2,.8,.2,1) both; }
.toast b { font-size: 15px; } .toast span { font-size: 13.5px; color: #CFCBD6; }
.toast.out { animation: toastOut .3s both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* 큰 화면들 */
.bars.big { height: 220px; gap: 10px; margin-bottom: 22px; }
.cbar > i { position: absolute; left: 50%; bottom: 0; width: 40%; height: var(--h); transform: translateX(-50%); background: rgba(22,21,28,.18); border-radius: 4px 4px 0 0; }
.dcard h4 small { float: right; font-weight: 600; font-size: 12px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 10px; height: 10px; border-radius: 3px; display: inline-block; } .lg.now { background: var(--coral); } .lg.prev { background: rgba(22,21,28,.25); margin-left: 6px; }
.dash .metrics .metric b { font-size: 30px; }
.docv { display: grid; place-items: start center; padding: 6px 0 20px; }
.docv-page { width: min(560px, 100%); background: #fff; border-radius: 6px; box-shadow: 0 10px 30px -12px rgba(22,21,28,.3); padding: 28px 32px; animation: pmIn .45s both; }
.docv-h { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 14px; }
.docv-h .mark { width: 30px; height: 30px; } .docv-h b { display: block; font-size: 19px; } .docv-h span { font-size: 13px; color: var(--ink-3); }
.docv table { width: 100%; border-collapse: collapse; font-size: 15px; }
.docv th, .docv td { padding: 11px 6px; border-bottom: 1px solid #EEEAE3; text-align: left; } .docv td { text-align: right; font-weight: 600; }
.docv th { font-weight: 500; color: var(--ink-2); }
.docv tr:last-child th, .docv tr:last-child td { font-weight: 800; color: var(--ink); border-bottom: 0; }
.docv tr.hi { background: #FFF1EC; animation: hi 1.6s .8s both; } .docv tr.hi td { color: var(--coral-ink); }
@keyframes hi { from { background: transparent; } }
.docv-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.sitev { position: relative; height: 100%; min-height: 420px; border-radius: 12px; overflow: hidden; background: #FBF6EE; border: 1px solid #EEEAE3; }
.sitev-nav { display: flex; gap: 22px; align-items: center; padding: 16px 24px; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid #EEE4D4; }
.sitev-logo { margin-right: auto; font-weight: 900; font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }
.sitev-hero { padding: 48px 24px 28px; display: grid; gap: 10px; justify-items: start; }
.sitev-hero b { font-size: 34px; letter-spacing: -0.03em; } .sitev-hero span { color: var(--ink-2); }
.sitev-hero i { font-style: normal; margin-top: 8px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.sitev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 24px; } .sitev-grid span { height: 90px; border-radius: 10px; background: #EFE6D8; }
.sitev-pop { position: absolute; left: 50%; top: 50%; width: 300px; transform: translate(-50%, -50%); background: #fff; border-radius: 14px; border-top: 6px solid var(--coral); padding: 26px 22px 18px; display: grid; gap: 6px; text-align: center; box-shadow: 0 30px 60px -20px rgba(22,21,28,.45); animation: popIn .5s 1.2s cubic-bezier(.2,.9,.3,1.2) both; }
.sitev-pop b { font-size: 22px; } .sitev-pop span { color: var(--ink-2); font-size: 14px; } .sitev-pop small { margin-top: 10px; color: var(--ink-3); font-size: 12px; }
@keyframes popIn { from { opacity: 0; transform: translate(-50%, -40%) scale(.9); } }

@media (max-width: 1080px) { .loop-row { grid-template-columns: repeat(2, 1fr); } .loop-row li:nth-child(2)::after { display: none; } .iso.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .loop-row, .iso.four { grid-template-columns: 1fr; } .loop-row li::after { display: none; }
  .app { height: 540px; font-size: 14px; } .pm-t, .pm-n { font-size: 14px; } .main-scroll { padding: 14px 12px 6px; }
  .toast { left: 10px; right: 10px; min-width: 0; bottom: 84px; }
  .bars.big { height: 150px; } .docv-page { padding: 18px; } .sitev-hero b { font-size: 24px; }
}
.app-main { color: var(--ink); }
.sec { padding: clamp(56px, 7vw, 88px) 0; }
.sec-stage .app { height: clamp(460px, 62vh, 600px); }
.sec .pl-controls { margin-top: 18px; gap: 12px; }

/* ---------- v5: 탭 아이콘, 새 대시보드 ---------- */
.pl-tabs { gap: 10px; }
.pl-tabs button { min-height: 52px; padding: 0 22px 0 24px; gap: 12px; font-size: 17px; font-weight: 800; color: var(--ink); border: 1px solid #ECE7DF; box-shadow: 0 1px 2px rgba(22,21,28,.04); }
.pl-tabs button:hover { border-color: #D9D2C6; }
.pl-tabs button em { opacity: 1; display: grid; place-items: center; width: 24px; height: 24px; }
.pl-tabs button em svg { width: 22px; height: 22px; }
.pi-ai { width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, #FF8A6E, #FF5A36 55%, #E8A317); display: grid; place-items: center; }
.pi-ai .mark { width: 15px; height: 15px; color: #fff; }
.pl-tabs button[aria-selected="true"] em { color: #fff; }

.bd { display: grid; gap: 12px; }
.bd-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bd-kpi { position: relative; background: #fff; border: 1px solid #EEEAE3; border-radius: 14px; padding: 14px 16px 10px; display: grid; gap: 2px; animation: pmIn .4s both; overflow: hidden; }
.bd-kpi:nth-child(2) { animation-delay: .06s; } .bd-kpi:nth-child(3) { animation-delay: .12s; } .bd-kpi:nth-child(4) { animation-delay: .18s; }
.bd-kpi > span { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.bd-kpi b { font-size: 28px; letter-spacing: -0.03em; } .bd-kpi b small { font-size: 13px; color: var(--ink-3); margin-left: 3px; }
.bd-kpi em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--ok); } .bd-kpi em.flat { color: #A87400; }
.kspark { width: 100%; height: 30px; margin-top: 4px; }
.bd-row { display: grid; grid-template-columns: 300px 1fr; gap: 12px; }
.ring { display: flex; align-items: center; gap: 18px; }
.ring svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.ring b { font-size: 34px; display: block; line-height: 1; } .ring span { font-size: 13px; color: var(--ink-3); }
.ring-lg { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 14px; font-size: 13px; color: var(--ink-2); }
.ring-lg i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.ring-lg .sig-ok { background: var(--ok); } .ring-lg .sig-warn { background: var(--warn); } .ring-lg .sig-bad { background: var(--bad); }
.bd-areas ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.bd-areas li { display: grid; grid-template-columns: 10px 64px 1fr auto; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #F1EDE6; font-size: 14px; transition: background .4s; }
.bd-areas li i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.bd-areas li span { color: var(--ink-3); font-size: 13px; }
.bd-areas li em { font-style: normal; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #E7F5EE; color: #146B49; }
.bd-areas li.area-warn i { background: var(--warn); } .bd-areas li.area-warn em { background: #FDF2DA; color: #8A5E00; }
.bd-areas li.area-bad i { background: var(--bad); } .bd-areas li.area-bad em { background: #FBE3DF; color: #A22E1E; }
.bd-areas li.area-warn, .bd-areas li.area-bad { background: none; color: inherit; padding: 7px 0; text-align: left; }
.bd-areas li.flip { animation: flip .6s; background: #FFF8EA; }
.bd-alerts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bd-alert { background: #fff; border: 1px solid #EEEAE3; border-left: 4px solid var(--warn); border-radius: 12px; padding: 14px 16px; display: grid; gap: 4px; }
.bd-alert.bad { border-left-color: var(--bad); }
.bd-alert b { font-size: 15px; } .bd-alert span { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 560px) { .bd-kpis { grid-template-columns: 1fr 1fr; } .bd-row, .bd-alerts { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pl-tabs button { min-height: 44px; font-size: 14px; padding: 0 14px; } .bd-areas ul { grid-template-columns: 1fr; } }

/* ---------- 둘러보기: 따라오는 탭 + 요약 ---------- */
.tour { background: #fff; }
.tour-nav { position: sticky; top: 68px; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.tour-tabs { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); }
.tour-tabs a { text-align: center; padding: 18px 0 16px; text-decoration: none; font-weight: 700; font-size: 17px; color: var(--ink-3); transition: color .2s; }
.tour-tabs a[aria-current] { color: var(--ink); }
.tour-bar { position: absolute; left: 0; bottom: -1px; height: 3px; border-radius: 3px; background: var(--coral); transition: transform .35s cubic-bezier(.2,.8,.2,1), width .35s; }
.tour-sec { padding: clamp(56px, 7vw, 96px) 0; scroll-margin-top: 130px; }
.tour-sec + .tour-sec { border-top: 1px solid #F1EDE6; }
.tour-body { display: grid; grid-template-columns: 360px 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.tour-sum { display: grid; gap: 4px; }
.ts-item { padding: 14px 0 14px 20px; border-left: 3px solid #EEEAE3; cursor: pointer; transition: border-color .2s; }
.ts-item h3 { font-size: 19px; font-weight: 800; color: var(--ink-3); transition: color .2s; }
.ts-item p { display: none; margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.ts-item.on { border-left-color: var(--coral); }
.ts-item.on h3 { color: var(--ink); } .ts-item.on p { display: block; }
.ts-stat { margin-top: 28px; display: grid; gap: 6px; }
.ts-stat b { font-size: clamp(48px, 6vw, 72px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--coral); }
.ts-stat span { color: var(--ink-2); font-weight: 600; }
.tour-vis .app { height: clamp(460px, 44vw, 580px); }
.tour-vis .brand-swap { max-width: 520px; margin: 0 auto; }
@media (max-width: 960px) { .tour-body { grid-template-columns: 1fr; } .tour-nav { top: 68px; } .tour-tabs a { font-size: 15px; padding: 14px 0 12px; } }

/* ---------- 둘러보기 v2: 슬랙 accordion carousel 방식 ---------- */
.tour { overflow-x: clip; }
.tour-nav { background: rgba(255,255,255,.82); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 8px 24px -18px rgba(22,21,28,.4); }
.tour-sec .sec-head h2 { font-size: clamp(32px, 4.6vw, 58px); }
.tour-body { grid-template-columns: 37% 58%; gap: 5%; align-items: start; }
.tour-left { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 100%; padding-top: 8px; }
.tour-sum { gap: 22px; }
.ts-item { position: relative; border-left: 0; padding: 4px 0 4px 26px; }
.ts-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 4px; background: #F3EFE8; overflow: hidden; }
.ts-bar b { display: block; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--coral); border-radius: 4px; transition: height 1.2s linear; }
.ts-item.run .ts-bar b { animation: tsfill 8s linear forwards; }
@keyframes tsfill { from { height: 0; } to { height: 100%; } }
.ts-item h3 { font-size: clamp(20px, 2vw, 25px); font-weight: 800; color: var(--ink); line-height: 1.35; cursor: pointer; transition: color .25s; }
.ts-item.on h3 { color: var(--coral-ink); }
.ts-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1); }
.ts-more > * { overflow: hidden; }
.ts-item.on .ts-more { grid-template-rows: 1fr; }
.ts-more p { display: block; margin: 12px 0 0; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.ts-more a { display: inline-block; margin-top: 12px; font-size: 16px; }
.ts-more { min-height: 0; }
.ts-more > div, .ts-more > p, .ts-more > a { min-height: 0; }
.ts-stat { margin-top: 0; }
.ts-stat b { font-size: clamp(56px, 7vw, 92px); }
.ts-stat span { font-size: 18px; color: var(--ink); }
/* 오른쪽 화면은 120% 폭으로 화면 밖까지 */
.tour-vis { position: relative; width: 120%; }
.tour-vis .app { height: clamp(500px, 46vw, 620px); }
.tour-vis .pl-controls { align-items: flex-start; }
.own-stack { position: relative; min-height: 520px; }
.own-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s; pointer-events: none; }
.own-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.own-vis { height: 100%; min-height: 520px; border-radius: 18px; background: linear-gradient(160deg, #2E2731, #16151C); padding: clamp(28px, 4vw, 56px); display: grid; place-items: center; }
.own-vis .brand-swap { width: min(460px, 100%); }
.iso-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; max-width: 620px; }
.iso-co { background: #22212B; border: 1px solid #3A3842; border-radius: 16px; padding: 18px; display: grid; gap: 8px; color: #F3EFE7; }
.iso-co b { font-size: 18px; margin-bottom: 4px; }
.iso-co span { padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.07); font-size: 14px; }
.iso-co i { font-style: normal; justify-self: start; margin-top: 4px; font-size: 12px; font-weight: 800; color: #fff; background: var(--coral); padding: 3px 10px; border-radius: 999px; }
.perm { display: grid; gap: 10px; width: min(520px, 100%); }
.perm div { display: grid; grid-template-columns: 40px 80px 1fr; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; }
.pav { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: hsl(32 60% 86%); color: hsl(32 45% 28%); }
.perm em { font-style: normal; font-size: 14px; justify-self: start; padding: 4px 10px; border-radius: 999px; background: #E7F5EE; color: #146B49; font-weight: 700; }
.perm em.warn { background: #FFF1EC; color: var(--coral-ink); }
@media (max-width: 1023px) {
  .tour-body { grid-template-columns: 1fr; }
  .tour-vis { width: 100%; }
  .own-stack, .own-vis { min-height: 380px; }
  .iso-map { grid-template-columns: 1fr; }
}

/* 얼굴 사진 (없으면 아래 글자가 보임) */
.pm-av, .rail-me b, .dm-av { position: relative; overflow: hidden; }
.pm-av > img, .rail-me b > img, .dm-av > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* AI는 왼쪽 줄 맨 아래 (실제 화면에서 수빈이 있던 자리) */
.rail-ai { margin-top: auto; margin-bottom: 12px; }
.rail-ai b .ai-av { width: 36px; height: 36px; border-radius: 10px; }
.rail-ai b .ai-av .mark { width: 21px; height: 21px; }
.rail-ai.on b { background: rgba(255,255,255,.16); box-shadow: 0 0 0 2px var(--coral); }
/* AI와 대화할 때는 채널 목록 없이 넓게 */
.app.dm .app-side { display: none; }
.app.dm .app-main { border-radius: 10px; }
.dm-av { background: hsl(var(--h, 262) 60% 86%); color: hsl(var(--h, 262) 45% 28%); }

/* LOOP AI: 프로젝트 바로 아래 메뉴 (실제 화면의 수빈 자리), 둥근 아이콘 */
.rail-ai { margin-top: 6px; margin-bottom: 0; }
.rail-ai b { width: 46px; height: 46px; border-radius: 50%; }
.rail-ai b .ai-av { width: 38px; height: 38px; border-radius: 50%; }
.rail-ai b .ai-av .mark { width: 22px; height: 22px; }
.rail-ai.on b { background: rgba(255,255,255,.16); box-shadow: none; border-radius: 14px; width: 54px; height: 50px; }

/* ---------- 활동 · 프로젝트 화면 ---------- */
.app.wide .app-side { display: none; }
.app.wide .view { padding: 0; background: #fff; }
.mini-av { position: relative; overflow: hidden; display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 7px; font-size: 12px; font-weight: 800; background: hsl(var(--h) 60% 86%); color: hsl(var(--h) 45% 28%); vertical-align: middle; }
.mini-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-av .mark { width: 15px; height: 15px; color: #fff; }
.mini-av:has(.mark) { background: var(--coral); }
.pm.hi { background: #FFF6E5; margin: 0 -24px; padding: 8px 24px; box-shadow: inset 3px 0 0 var(--warn); }
.pm-thread { display: flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 13.5px; }
.pm-thread .pm-av.mini { width: 22px; height: 22px; border-radius: 6px; font-size: 11px; }
.pm-thread b { color: var(--coral-ink); margin-left: 4px; }

.act { padding: 6px 0; }
.act-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 22px 0; border-bottom: 1px solid #EEEAE3; }
.act-tabs { display: flex; gap: 4px; }
.act-tabs span { padding: 10px 12px; font-size: 14.5px; font-weight: 700; color: var(--ink-3); border-bottom: 2px solid transparent; display: inline-flex; gap: 6px; align-items: center; }
.act-tabs span i { font-style: normal; font-size: 11px; background: var(--coral); color: #fff; border-radius: 9px; padding: 0 6px; line-height: 16px; }
.act-tabs span.on { color: var(--ink); border-bottom-color: var(--ink); }
.act-tabs span.press, .lay i.press, .ask.press, .pa-btn.press { transform: scale(.94); }
.act-read { font-size: 13px; color: var(--ink-3); }
.act-list { list-style: none; margin: 0; padding: 6px 12px; display: grid; gap: 2px; }
.act-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 12px 12px; border-radius: 10px; transition: background .2s, opacity .3s; }
.act-list li .mini-av { width: 36px; height: 36px; border-radius: 9px; font-size: 15px; }
.act-list li.unread { background: #FFF8F5; }
.act-list li.unread p b:first-child::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); margin-right: 6px; vertical-align: 2px; }
.act-list li.press { background: #F1EDE6; }
.act-list p { font-size: 14.5px; color: var(--ink-2); }
.act-list p b { color: var(--ink); }
.act-list time { float: right; font-size: 12px; color: var(--ink-3); }
.act-list span { font-size: 14px; color: var(--ink-3); display: block; margin-top: 2px; }
.act.f-men li:not(.k-men) { display: none; }

.prj { display: grid; grid-template-columns: 200px 1fr 0; height: 100%; min-height: 100%; transition: grid-template-columns .45s cubic-bezier(.2,.8,.2,1); }
.prj.ai-open { grid-template-columns: 200px 1fr 260px; }
.prj-side { background: #FAF8F4; border-right: 1px solid #EEEAE3; padding: 14px 10px; font-size: 13.5px; }
.prj-sh { display: flex; justify-content: space-between; font-weight: 800; font-size: 15px; padding: 0 6px 10px; }
.prj-sh i { font-style: normal; color: var(--ink-3); }
.prj-my { padding: 7px 8px; border-radius: 8px; color: var(--ink-2); display: flex; justify-content: space-between; }
.prj-my i { font-style: normal; font-size: 11px; background: #EEEAE3; padding: 0 6px; border-radius: 9px; line-height: 18px; }
.prj-side ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.prj-side li { padding: 8px; border-radius: 8px; display: grid; }
.prj-side li b { font-size: 14px; } .prj-side li span { font-size: 11.5px; color: var(--ink-3); }
.prj-side li.on { background: #fff; box-shadow: 0 1px 3px rgba(22,21,28,.08); }
.prj-main { min-width: 0; padding: 14px 18px; overflow: hidden; }
.prj-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.prj-h b { font-size: 19px; display: block; } .prj-h span { font-size: 12.5px; color: var(--ink-3); }
.prj-tools { display: flex; gap: 8px; align-items: center; }
.ask { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px; background: var(--coral); color: #fff !important; font-weight: 700; font-size: 13px !important; }
.ask .mark { width: 14px; height: 14px; color: #fff; }
.lay { display: inline-flex; background: #F1EDE6; border-radius: 9px; padding: 3px; }
.lay i { font-style: normal; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 7px; color: var(--ink-3); }
.lay i.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(22,21,28,.1); }
.prj-stats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 12px; font-size: 13px; }
.prj-stats > span { padding: 4px 10px; border-radius: 999px; background: #F5F2EC; color: var(--ink-2); }
.prj-stats .need { background: #FFF1EC; color: var(--coral-ink); font-weight: 700; }
.prj-stats .pct { margin-left: auto; background: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.prj-stats .pct i { width: 90px; height: 6px; border-radius: 3px; background: #EEEAE3; position: relative; overflow: hidden; }
.prj-stats .pct i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--ok); border-radius: 3px; }
.st { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.s-in_progress.st { background: #E6EEFF; color: #2F57C9; } .s-not_started.st { background: #F1EDE6; color: var(--ink-2); }
.s-blocked.st { background: #FBE3DF; color: #A22E1E; } .s-done.st { background: #E7F5EE; color: #146B49; }
.prj-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.prj-table th { text-align: left; font-size: 12px; color: var(--ink-3); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid #EEEAE3; }
.prj-table td { padding: 8px; border-bottom: 1px solid #F3F0EA; white-space: nowrap; }
.prj-table td:nth-child(2) { white-space: normal; font-weight: 600; color: var(--ink); }
.prj-table td .mini-av { width: 22px; height: 22px; font-size: 11px; margin-right: 6px; }
.prj-table tr.is-done td:nth-child(2) { color: var(--ink-3); text-decoration: line-through; }
.chk { display: inline-block; width: 15px; height: 15px; border: 1.5px solid #CFC8BC; border-radius: 4px; }
tr.is-done .chk { background: var(--ok); border-color: var(--ok); }
.due-late { color: var(--bad) !important; font-weight: 700; } .due-soon { color: #A87400 !important; font-weight: 700; }
.nobody { font-size: 12px; color: var(--coral-ink); font-weight: 700; }
.prio { display: inline-flex; gap: 2px; align-items: flex-end; } .prio i { width: 4px; height: 6px; border-radius: 1px; background: #E2DCD1; }
.prio i:nth-child(2) { height: 9px; } .prio i:nth-child(3) { height: 12px; } .prio i.f { background: var(--coral); }
.prj-board { display: none; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.prj.board .prj-table { display: none; } .prj.board .prj-board { display: grid; animation: pmIn .35s both; }
.pcol { background: #F7F5F1; border-radius: 12px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.pcol h5 { margin: 0 0 2px; font-size: 13px; color: var(--ink-3); display: flex; gap: 6px; align-items: center; }
.pcard { background: #fff; border: 1px solid #EEEAE3; border-radius: 10px; padding: 10px; display: grid; gap: 8px; font-size: 13px; }
.pcard b { font-size: 13.5px; } .pcard div { display: flex; align-items: center; gap: 8px; } .pcard em { font-style: normal; font-size: 12px; color: var(--ink-3); margin-left: auto; }
.pcard .mini-av { width: 22px; height: 22px; font-size: 11px; }
.pcard.new { border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft); animation: pmIn .45s both; }
.prj-ai { overflow: hidden; background: #FFFBF8; border-left: 1px solid #F3E4DC; padding: 16px; font-size: 13.5px; color: var(--ink-2); display: grid; gap: 10px; align-content: start; opacity: 0; transition: opacity .3s .2s; }
.prj.ai-open .prj-ai { opacity: 1; }
.pa-h { display: flex; align-items: center; gap: 8px; } .pa-h b { color: var(--ink); } .pa-h span { font-size: 12px; color: var(--ink-3); }
.prj-ai ul { margin: 0; padding-left: 16px; display: grid; gap: 4px; }
.pa-btn { justify-self: start; padding: 8px 14px; border-radius: 9px; background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; }
.pa-btn.is-done { background: var(--ok); }
.pa-btn.is-done::after { content: " ✓"; }
@media (max-width: 560px) {
  .prj, .prj.ai-open { grid-template-columns: 1fr; position: relative; } .prj-side { display: none; }
  .prj-ai { position: absolute; top: 0; right: 0; bottom: 0; width: 82%; z-index: 3; box-shadow: -12px 0 30px -12px rgba(22,21,28,.3); transform: translateX(105%); transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; }
  .prj.ai-open .prj-ai { transform: none; } .prj-board { grid-template-columns: 1fr 1fr; }
  .prj-table th:nth-child(5), .prj-table td:nth-child(5), .prj-table th:nth-child(6), .prj-table td:nth-child(6) { display: none; }
}

/* ---------- 사용 가이드 ---------- */
.guide { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 4vw, 64px); padding-bottom: 80px; }
.g-toc { position: sticky; top: 92px; align-self: start; display: grid; gap: 2px; font-size: 15px; }
.g-toc b { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.g-toc a { text-decoration: none; color: var(--ink-2); padding: 7px 12px; border-radius: 8px; border-left: 3px solid transparent; }
.g-toc a:hover { background: var(--sand); }
.g-toc a.on { color: var(--ink); font-weight: 700; border-left-color: var(--coral); background: #fff; }
.g-toc .btn { margin-top: 16px; color: #fff; border: 0; }
.g-body { min-width: 0; display: grid; gap: 72px; }
.g-body section { scroll-margin-top: 92px; }
.g-body h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.g-body h3 { font-size: 20px; font-weight: 800; margin: 28px 0 12px; }
.g-lead { color: var(--ink-2); font-size: 17px; margin-bottom: 22px; }
.g-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: g; }
.g-steps li { counter-increment: g; position: relative; padding: 16px 18px 16px 62px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.g-steps li::before { content: counter(g); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 9px; background: var(--coral-soft); color: var(--coral-ink); font-weight: 800; display: grid; place-items: center; }
.g-steps b { font-size: 17px; } .g-steps p { color: var(--ink-2); margin-top: 4px; }
.g-defs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g-defs div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.g-defs dt { font-weight: 800; font-size: 16px; } .g-defs dd { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.g-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.g-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 760px; }
.g-table th { text-align: left; background: var(--cream); padding: 12px 14px; font-size: 13px; color: var(--ink-3); }
.g-table td { padding: 12px 14px; border-top: 1px solid #F1EDE6; vertical-align: top; }
.g-table td:first-child { font-weight: 800; white-space: nowrap; }
.g-good { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.g-good div { background: var(--coral-soft); border-radius: 14px; padding: 14px; display: grid; gap: 4px; }
.g-good b { color: var(--coral-ink); } .g-good span { font-size: 14.5px; }
.g-demo { margin-top: 28px; }
.g-demo .app { height: 520px; }
.g-depts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.g-dept { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; scroll-margin-top: 92px; }
.g-dept header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.g-dept h3 { margin: 0; font-size: 21px; } .g-dept header span { color: var(--ink-3); font-size: 14px; }
.g-dept h4 { font-size: 13px; color: var(--ink-3); margin: 14px 0 6px; }
.g-dept p { color: var(--ink-2); font-size: 15px; }
.g-say { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.g-say li { background: var(--cream); border-radius: 10px; padding: 9px 12px; font-size: 14.5px; }
.g-say li::before { content: "💬 "; }
.g-note { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--ink); color: #F3EFE7; display: grid; gap: 4px; }
.g-faq { display: grid; gap: 10px; }
.g-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.g-faq summary { font-weight: 800; cursor: pointer; }
.g-faq p { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 960px) {
  .guide { grid-template-columns: 1fr; }
  .g-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .g-toc b { width: 100%; } .g-toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
  .g-defs, .g-depts, .g-good { grid-template-columns: 1fr; }
}

/* 프로젝트 화면: 글자를 키우고, LOOP 패널이 열리면 왼쪽 목록을 접어 보드 공간 확보 */
.prj { grid-template-columns: 230px 1fr 0; font-size: 15px; }
.prj.ai-open { grid-template-columns: 0 1fr 320px; }
.prj-side { overflow: hidden; white-space: nowrap; font-size: 14.5px; padding: 16px 12px; }
.prj-sh { font-size: 17px; }
.prj-side li { padding: 10px; } .prj-side li b { font-size: 15.5px; } .prj-side li span { font-size: 12.5px; }
.prj-main { padding: 18px 22px; }
.prj-h b { font-size: 23px; } .prj-h span { font-size: 13.5px; }
.ask { font-size: 14.5px !important; padding: 9px 14px; } .ask .mark { width: 16px; height: 16px; }
.lay i { font-size: 14.5px; padding: 6px 14px; }
.prj-stats { font-size: 14px; gap: 8px; margin: 16px 0 14px; }
.prj-stats > span { padding: 5px 12px; }
.prj-stats .pct i { width: 110px; height: 7px; }
.prj-table { font-size: 15px; }
.prj-table th { font-size: 13px; padding: 8px 10px; }
.prj-table td { padding: 10px; }
.prj-table td .mini-av { width: 26px; height: 26px; font-size: 12px; }
.st { font-size: 13px; padding: 3px 9px; }
.prio i { width: 5px; } .prio i:nth-child(1) { height: 7px; } .prio i:nth-child(2) { height: 11px; } .prio i:nth-child(3) { height: 15px; }
.prj-board { gap: 12px; }
.pcol { padding: 12px; gap: 10px; }
.pcol h5 { font-size: 14px; }
.pcard { padding: 12px; gap: 10px; font-size: 14px; }
.pcard b { font-size: 15px; line-height: 1.4; }
.pcard div { flex-wrap: wrap; gap: 8px; }
.pcard .mini-av { width: 26px; height: 26px; font-size: 12px; }
.pcard em { font-size: 13px; }
.nobody { font-size: 13px; white-space: nowrap; }
.prj-ai { font-size: 15px; padding: 20px; gap: 12px; }
.pa-h b { font-size: 16px; } .pa-btn { font-size: 14.5px; padding: 10px 16px; }
/* 활동 화면도 조금 크게 */
.act-tabs span { font-size: 15.5px; padding: 12px 14px; }
.act-list li { padding: 14px; } .act-list p { font-size: 15.5px; } .act-list span { font-size: 14.5px; }
.act-list li .mini-av { width: 40px; height: 40px; font-size: 16px; }
.act-list li { grid-template-columns: 40px 1fr; }
.prj.ai-open .prj-side { padding: 0; border: 0; opacity: 0; }
.prj-side { transition: opacity .25s, padding .45s; }

/* ---------- 재생기: 고정 크기로 그리고 통째로 축소 ---------- */
.app-fit { position: relative; width: 100%; height: calc(var(--h, 680px) * var(--s, 1)); }
.player .app-fit > .app { position: absolute; left: 0; top: 0; width: var(--w, 1160px) !important; height: var(--h, 680px) !important; transform: scale(var(--s, 1)); transform-origin: 0 0; }
.tour-vis .app-fit, .sec-stage .app-fit { margin: 0; }

/* 휴대폰: 프로젝트는 한 칸 + LOOP 패널을 위에 겹쳐 열기 (앞의 데스크톱 규칙보다 뒤에 둠) */
@media (max-width: 560px) {
  .prj, .prj.ai-open { grid-template-columns: 1fr; }
  .prj-side { display: none; }
  .prj-main { padding: 14px; }
  .prj-h { flex-wrap: wrap; }
  .prj-stats .pct { margin-left: 0; }
  .prj-ai { width: 86%; }
}
@media (max-width: 560px) {
  .prj.ai-open:has(.pa-btn.is-done) .prj-ai { transform: translateX(105%); transition-delay: .9s; }
}
/* 새 알림 점 (17시 보고 도착 등) */
.rail-i b { position: relative; }
.rail-i.ping b::after { content: ""; position: absolute; top: 4px; right: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 2px #1E1C24; animation: ping 1.2s ease-out 2; }
@keyframes ping { 0% { box-shadow: 0 0 0 2px #1E1C24, 0 0 0 2px rgba(255,90,54,.7); } 100% { box-shadow: 0 0 0 2px #1E1C24, 0 0 0 12px rgba(255,90,54,0); } }

/* 하루 이야기 */
.tour-intro { text-align: center; max-width: 820px; padding: clamp(64px, 8vw, 104px) 0 clamp(24px, 3vw, 36px); }
.tour-intro h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -0.04em; }
.tour-intro p { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
.tour-tabs a { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.iso.light li { background: #fff; border-color: var(--line); }
.iso.light b { color: var(--ink); } .iso.light span { color: var(--ink-2); }
.tour-sec.day { padding-top: clamp(64px, 8vw, 104px); }
.tour-sec.day .tour-sum { gap: 18px; }
.tour-sec.day .ts-item h3 { font-size: clamp(19px, 1.8vw, 23px); }

/* ---------- 장면 사진 ---------- */
.card-photo { height: 150px; margin: -16px -16px 12px; border-radius: 14px 14px 0 0; background: center/cover no-repeat #EEE; }
.card-photo.tall { height: 210px; margin-bottom: 10px; }
.ucard-pv .card-photo { margin: -18px -18px 10px; border-radius: 0; height: 90px; }
.ncards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ncard { border: 1px solid #EEEAE3; border-radius: 12px; overflow: hidden; display: grid; gap: 4px; padding-bottom: 10px; background: #fff; }
.nphoto { height: 92px; background: center/cover no-repeat #EEE; margin-bottom: 4px; }
.ncard b { padding: 0 10px; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.ncard b em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--ok); background: #E7F5EE; padding: 1px 7px; border-radius: 999px; }
.ncard:last-child b em { color: #8A5E00; background: #FDF2DA; }
.ncard span { padding: 0 10px; font-size: 13px; color: var(--ink-2); }
.pm-card:has(.ncards) { max-width: 640px; }
.sitev-hero { background: center/cover no-repeat; color: #fff; min-height: 240px; align-content: end; padding: 32px 28px; }
.sitev-hero span { color: #F3EFE7 !important; } .sitev-hero i { background: var(--coral) !important; }
.sitev-pop { padding: 0 0 18px; overflow: hidden; width: 320px; }
.pop-photo { height: 150px; background: center/cover no-repeat #222; margin-bottom: 12px; }
.sitev-pop b, .sitev-pop span, .sitev-pop small { padding: 0 18px; }
.doc-photo { height: 120px; max-width: 560px; margin: 0 auto 0; border-radius: 10px 10px 0 0; background: center/cover no-repeat; }
.docv { padding-top: 0; }
.doc-photo + .docv .docv-page { border-radius: 0 0 6px 6px; }

/* ---------- 상세 페이지 (슬랙식) ---------- */
.hero-center.sub { padding-top: clamp(28px, 4vw, 52px); }
.hero-center.sub h1 { font-size: clamp(36px, 5vw, 64px); }
.hero-center .crumb { display: block; margin-bottom: 14px; }
.hero-center.sub .hero-stage { padding-bottom: clamp(40px, 6vw, 72px); }
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pcards.small { margin-top: 24px; }
.pcard-l { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.pcard-l:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard-l h3 { font-size: 20px; font-weight: 800; } .pcard-l p { color: var(--ink-2); font-size: 15px; } .pcard-l .tag { justify-self: start; }
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.ba-card { padding: 28px; border-radius: 18px; display: grid; gap: 10px; align-content: start; }
.ba-card span { font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.ba-card p { font-size: 18px; line-height: 1.6; }
.ba-card.before { background: #fff; border: 1px solid var(--line); } .ba-card.before span { color: var(--ink-3); } .ba-card.before p { color: var(--ink-2); }
.ba-card.after { background: var(--ink); color: #fff; } .ba-card.after span { color: #FF8A6E; }
.ba-arrow { align-self: center; width: 44px; height: 44px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-weight: 800; }
.say-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1080px; margin: 0 auto; }
.say { padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 16px; line-height: 1.55; box-shadow: 0 1px 2px rgba(22,21,28,.04); }
.say-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 1080px; margin: 14px auto 0; }
.say-out > div { padding: 18px 20px; border-radius: 16px; background: var(--coral-soft); display: grid; gap: 8px; }
.say-out span { font-size: 13px; font-weight: 800; color: var(--coral-ink); } .say-out b { font-size: 16px; }
.chips.big { justify-content: center; } .chips.big li { font-size: 16px; padding: 8px 18px; }
.vsec { padding: 0 0 clamp(56px, 7vw, 88px); }
.vstage { max-width: 1180px; margin: 0 auto; }
.vstage .pl-controls { align-items: center; }
.vlist { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 28px; }
.vlist .video { text-decoration: none; padding: 10px; border-radius: 16px; border: 1.5px solid transparent; transition: border-color .2s, background .2s; }
.vlist .video.on { border-color: var(--coral); background: #fff; }
.vlist .poster { aspect-ratio: 16 / 10; }
.vlist .video h3 { font-size: 15px; } .vlist .video p { font-size: 13px; }
.vbar { position: absolute; left: 0; bottom: 0; height: 4px; width: calc(var(--p, 0) * 100%); background: var(--coral); z-index: 2; transition: width .8s linear; }
a.video { color: inherit; }
.ent-stage { padding: 0 0 clamp(56px, 7vw, 88px); }
.own-stack.big { max-width: 1080px; margin: 0 auto; min-height: 520px; }
.own-dots { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.own-dots button { font: inherit; font-weight: 700; font-size: 15px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #ECE7DF; background: #fff; color: var(--ink); cursor: pointer; }
.own-dots button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 1080px) { .vlist { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .ba { grid-template-columns: 1fr; } .ba-arrow { justify-self: center; transform: rotate(90deg); } .say-grid, .say-out { grid-template-columns: 1fr; } .vlist { grid-template-columns: repeat(2, 1fr); } .own-stack.big, .own-stack.big .own-vis { min-height: 420px; } }

/* ---------- 실시간 대시보드 ---------- */
.bd.live { gap: 12px; }
.lv-row { display: grid; grid-template-columns: 250px 1fr 300px; gap: 12px; }
.bd-kpi.bump { animation: bump .7s ease; }
@keyframes bump { 30% { box-shadow: 0 0 0 3px var(--coral-soft); border-color: var(--coral); transform: translateY(-2px); } }
.lv-col { display: grid; grid-template-rows: auto auto 1fr; overflow: hidden; }
.lv-col h4 { display: flex; align-items: center; gap: 8px; }
.lv-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 0 rgba(216,67,47,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(216,67,47,0); } 100% { box-shadow: 0 0 0 0 rgba(216,67,47,0); } }
.lv-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.lv-feed li { display: grid; grid-template-columns: 10px 1fr; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #FAF8F4; font-size: 13.5px; }
.lv-feed li.lv-new { animation: lvIn .5s cubic-bezier(.2,.8,.2,1) both, lvGlow 1.8s ease; }
@keyframes lvIn { from { opacity: 0; transform: translateY(-12px); } }
@keyframes lvGlow { 0%, 40% { background: #FFF1EC; } }
.lv-feed b { font-size: 13.5px; } .lv-who { font-size: 11.5px; color: var(--ink-3); margin-left: 6px; }
.lv-feed p { margin-top: 2px; color: var(--ink-2); }
.lv-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; }
.lv-dot.sig-ok { background: var(--ok); } .lv-dot.sig-warn { background: var(--warn); } .lv-dot.sig-bad { background: var(--bad); }
.lv-dot::before { display: none; }
.bd.live .bd-alerts:empty { display: none; }
.bd-alert.lv-new { animation: lvIn .5s both; }
.lv-ring .ring svg circle { transition: stroke-dasharray .6s, stroke-dashoffset .6s; }
.bd.live .bd-areas ul { grid-template-columns: 1fr; gap: 0; }
.bd.live .bd-areas li { padding: 6px 0; }
@media (max-width: 560px) { .lv-row { grid-template-columns: 1fr; } }
.bd.live .bd-areas ul { grid-template-columns: 1fr 1fr; gap: 0 16px; }
.bd.live .bd-areas li { grid-template-columns: 10px 52px 1fr auto; gap: 8px; font-size: 13.5px; }
.bd.live .bd-areas li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.bd.live .lv-row { min-height: 0; }
.bd.live .lv-col { max-height: 330px; }

/* ---------- 홈 정리: 기능 카드, 회사 전용 띠, 가이드 장면 목록 ---------- */
.fgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 1080px; margin: 0 auto; }
.fcard { flex: 0 1 calc(25% - 11px); min-width: 220px; display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #D9D2C6; }
.fi { width: 46px; height: 46px; border-radius: 13px; background: var(--coral-soft); color: var(--coral-ink); display: grid; place-items: center; margin-bottom: 4px; }
.fi svg { width: 24px; height: 24px; }
.pi-ai.big { width: 30px; height: 30px; border-radius: 9px; } .pi-ai.big .mark { width: 18px; height: 18px; }
.fcard b { font-size: 19px; font-weight: 800; } .fcard > span:last-child { color: var(--ink-2); font-size: 15px; }
.own-band { background: var(--night); color: #F3EFE7; padding: clamp(40px, 5vw, 56px) 0; }
.own-band-in { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.own-band .eyebrow { color: #FF8A6E; margin-bottom: 6px; }
.own-band h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.03em; max-width: 300px; }
.own-band ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.own-band li { padding: 14px 16px; border-radius: 14px; background: #22212B; border: 1px solid #34323D; display: grid; gap: 4px; }
.own-band li b { font-size: 15px; } .own-band li span { font-size: 13px; color: #BDB8C4; }
.g-vids { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.g-vids a { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.g-vids b { color: var(--coral-ink); font-variant-numeric: tabular-nums; }
@media (max-width: 1080px) { .own-band-in { grid-template-columns: 1fr; } .own-band ul { grid-template-columns: 1fr 1fr; } .fcard { flex-basis: calc(33.3% - 10px); } }
@media (max-width: 560px) { .fcard { flex-basis: 100%; } .g-vids { grid-template-columns: 1fr; } .own-band ul { grid-template-columns: 1fr; } }

/* ---------- 자막: 재생 화면 아래, 단계마다 ---------- */
.cap { min-height: 64px; display: flex; justify-content: center; margin-top: 18px; }
.cap-in { display: inline-flex; align-items: center; gap: 14px; max-width: min(860px, 100%); padding: 10px 18px 10px 10px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 18px 40px -18px rgba(22,21,28,.55); animation: capIn .55s cubic-bezier(.2,.9,.25,1.1) both; }
.cap-in > b { flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--coral); display: grid; place-items: center; font-size: 17px; font-weight: 900; animation: capNum .55s .05s both; }
.cap-in p { font-size: clamp(16px, 1.6vw, 21px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; }
.cap-in em { font-style: normal; color: #FF8A6E; background: linear-gradient(transparent 62%, rgba(255,90,54,.28) 62%) no-repeat 0 0 / 0% 100%; animation: capMark .7s .35s ease-out forwards; }
.cap-dots { flex: none; display: inline-flex; gap: 5px; margin-left: 4px; }
.cap-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); transition: all .3s; }
.cap-dots i.done { background: rgba(255,255,255,.6); }
.cap-dots i.on { width: 18px; border-radius: 4px; background: var(--coral); }
@keyframes capIn { from { opacity: 0; transform: translateY(14px) scale(.97); filter: blur(6px); } }
@keyframes capNum { from { transform: scale(.4) rotate(-20deg); } }
@keyframes capMark { to { background-size: 100% 100%; } }
.sec.dark .cap-in { background: #fff; color: var(--ink); } .sec.dark .cap-in em { color: var(--coral-ink); }
.tour-vis .cap { justify-content: flex-start; }
@media (max-width: 560px) { .cap-in { padding: 8px 12px 8px 8px; gap: 10px; } .cap-in > b { width: 30px; height: 30px; font-size: 15px; } .cap-dots { display: none; } }
@media (prefers-reduced-motion: reduce) { .cap-in, .cap-in > b { animation: none; } .cap-in em { background-size: 100% 100%; animation: none; } }

/* 자막 v2: 상자 고정, 글자 교차 전환 */
.cap-in { width: min(720px, 100%); justify-content: flex-start; animation: none; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.cap-in.show { opacity: 1; transform: none; }
.cap-n { position: relative; overflow: hidden; }
.cap-n span { display: block; animation: capNumIn .45s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes capNumIn { from { transform: translateY(100%); opacity: 0; } }
.cap-in > b { animation: none; }
.cap-txt { flex: 1; display: grid; min-width: 0; }
.cap-txt p { grid-area: 1 / 1; align-self: center; animation: capTxtIn .5s cubic-bezier(.2,.8,.2,1) both; transition: opacity .4s ease, transform .4s ease, filter .4s ease; }
.cap-txt p.out { opacity: 0; transform: translateY(-10px); filter: blur(3px); }
.cap-txt p.dim { opacity: .35; }
@keyframes capTxtIn { from { opacity: 0; transform: translateY(12px); filter: blur(3px); } }
.cap-dots i { transition: width .45s cubic-bezier(.2,.8,.2,1), background .45s; }
.cap-dots i.past { background: rgba(255,255,255,.6); }
.cap-dots i.now { width: 18px; border-radius: 4px; background: var(--coral); }
.sec.dark .cap-dots i.past { background: rgba(22,21,28,.5); }
.tour-vis .cap-in { width: 100%; max-width: 640px; }
@media (prefers-reduced-motion: reduce) { .cap-txt p, .cap-n span { animation: none; } .cap-in { transition: none; } }

/* 자막 상자 오른쪽: 이전 · 정지/재생 · 다음 */
.cap-in { width: min(780px, 100%); }
.cap-ctl { flex: none; display: inline-flex; gap: 4px; margin-left: 10px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.14); }
.cap-ctl button { width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255,255,255,.08); cursor: pointer; position: relative; transition: background .2s, transform .1s; }
.cap-ctl button:hover { background: rgba(255,255,255,.18); }
.cap-ctl button:active { transform: scale(.92); }
.cap-ctl button:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.cap-ctl button::before, .cap-ctl button::after { content: ""; position: absolute; top: 50%; left: 50%; }
.cap-ctl [data-a="prev"]::before { width: 0; height: 0; border-right: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; transform: translate(-30%, -50%); }
.cap-ctl [data-a="prev"]::after { width: 2.5px; height: 12px; background: #fff; transform: translate(-260%, -50%); }
.cap-ctl [data-a="next"]::before { width: 0; height: 0; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; transform: translate(-70%, -50%); }
.cap-ctl [data-a="next"]::after { width: 2.5px; height: 12px; background: #fff; transform: translate(160%, -50%); }
.cap-ctl [data-a="toggle"] { background: var(--coral); }
.cap-ctl [data-a="toggle"]:hover { background: var(--coral-ink); }
.cap-ctl [data-a="toggle"]::before, .cap-ctl [data-a="toggle"]::after { width: 3px; height: 12px; background: #fff; border-radius: 1px; transform: translate(-150%, -50%); }
.cap-ctl [data-a="toggle"]::after { transform: translate(50%, -50%); }
.cap-ctl [data-a="toggle"].is-play::before { width: 0; height: 0; background: none; border-left: 10px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; transform: translate(-35%, -50%); }
.cap-ctl [data-a="toggle"].is-play::after { display: none; }
.sec.dark .cap-ctl { border-left-color: rgba(22,21,28,.12); }
.sec.dark .cap-ctl button:not([data-a="toggle"]) { background: rgba(22,21,28,.07); }
.sec.dark .cap-ctl [data-a="prev"]::before { border-right-color: var(--ink); } .sec.dark .cap-ctl [data-a="next"]::before { border-left-color: var(--ink); }
.sec.dark .cap-ctl [data-a="prev"]::after, .sec.dark .cap-ctl [data-a="next"]::after { background: var(--ink); }
/* 아래 따로 있던 일시 중지 버튼은 자막 버튼으로 대신 */
.player:has(.cap-in) .pl-pause { display: none; }
.app.seeking .cursor { opacity: 0 !important; }
@media (max-width: 560px) { .cap-ctl { margin-left: 4px; padding-left: 8px; } .cap-ctl button { width: 30px; height: 30px; } }
/* 높이에 맞춰 줄어든 앱 창은 가운데로 */
.player .app-fit { margin-inline: auto; max-width: 100%; }
.tour-vis .player .app-fit { margin-inline: 0; }
