/* 예별이(해) · 제별이(달) 소개 사이트 */
:root {
  --sun-bg: #fff6dc;
  --sun-bg2: #ffeebb;
  --sun-surface: #fffdf6;
  --sun-ink: #4a3324;
  --sun-muted: #8a6d55;
  --sun-accent: #f5b82e;
  --sun-strong: #d98a00;
  --sun-line: #f3dfa6;

  --moon-bg: #14121f;
  --moon-bg2: #1c1930;
  --moon-surface: #221f36;
  --moon-ink: #ece9fa;
  --moon-muted: #9a96b5;
  --moon-accent: #9b8cff;
  --moon-strong: #c4baff;
  --moon-line: #353150;

  --wrap: 1160px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--moon-bg);
  color: var(--sun-ink);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* 섹션마다 화자에 맞춰 색을 바꿉니다 */
.sun {
  --bg: var(--sun-bg); --bg2: var(--sun-bg2); --surface: var(--sun-surface); --ink: var(--sun-ink);
  --muted: var(--sun-muted); --accent: var(--sun-accent); --strong: var(--sun-strong); --line: var(--sun-line);
  --on-accent: #4a3324;
}
.moon {
  --bg: var(--moon-bg); --bg2: var(--moon-bg2); --surface: var(--moon-surface); --ink: var(--moon-ink);
  --muted: var(--moon-muted); --accent: var(--moon-accent); --strong: var(--moon-strong); --line: var(--moon-line);
  --on-accent: #14121f;
}

/* ───────── 상단 메뉴: 왼쪽은 해, 오른쪽은 달 ───────── */
.nav {
  position: fixed; top: 12px; left: 0; right: 0; margin-inline: auto; width: max-content; z-index: 50;
  display: flex; align-items: stretch; border-radius: 999px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(20, 18, 31, .28), 0 0 0 1px rgba(255, 255, 255, .08);
  font-weight: 650; font-size: 15px; max-width: calc(100% - 24px);
}
.nav-brand {
  display: flex; align-items: center; gap: 8px; padding: 7px 16px 7px 8px;
  background: var(--sun-bg); color: var(--sun-ink); text-decoration: none; white-space: nowrap;
}
.nav-brand img { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.nav-brand img + img { margin-left: -16px; box-shadow: 0 0 0 2px var(--sun-bg); }
.nav-links { display: flex; align-items: center; gap: 2px; padding: 5px 8px; background: var(--moon-bg); color: var(--moon-ink); }
.nav-links a { padding: 6px 13px; border-radius: 999px; text-decoration: none; white-space: nowrap; color: var(--moon-muted); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--moon-ink); }
.nav-links a[aria-current='page'] { background: var(--moon-surface); color: var(--moon-strong); }
.nav .short { display: none; }

/* ───────── 좌우로 나뉜 첫 화면 ───────── */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate;
  padding: 96px 0 56px;
}
.hero::before, .hero::after { content: ''; position: absolute; top: 0; bottom: 0; width: 50%; z-index: -1; }
.hero::before {
  left: 0;
  background:
    radial-gradient(60% 45% at 30% 100%, rgba(255, 214, 110, .9), transparent 70%),
    linear-gradient(180deg, rgba(255, 246, 220, .72), rgba(255, 238, 187, .55)),
    url(../img/banner-sun.jpg) 22% bottom / cover;
}
.hero::after {
  right: 0;
  background:
    radial-gradient(50% 40% at 75% 12%, rgba(155, 140, 255, .35), transparent 70%),
    linear-gradient(180deg, rgba(20, 18, 31, .35), rgba(20, 18, 31, .7)),
    url(../img/banner-moon.jpg) 82% bottom / cover;
}
.hero--sub { min-height: 0; padding: 120px 0 64px; }
.hero-in { width: 100%; display: grid; gap: clamp(20px, 4vh, 40px); justify-items: center; }
.duo { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
.who { margin: 0; display: grid; justify-items: center; gap: 10px; text-align: center; padding: 0 12px; }
.who img {
  width: clamp(104px, 17vw, 208px); aspect-ratio: 1; border-radius: 50%; object-fit: cover;
  animation: float 6s ease-in-out infinite;
}
.who.sun img { box-shadow: 0 0 0 5px #fffdf6, 0 0 0 9px rgba(245, 184, 46, .55), 0 18px 60px rgba(245, 160, 20, .5); }
.who.moon img { box-shadow: 0 0 0 5px #221f36, 0 0 0 9px rgba(155, 140, 255, .5), 0 18px 60px rgba(120, 100, 255, .45); animation-delay: -3s; }
.who strong { font-size: clamp(22px, 3vw, 34px); font-weight: 850; letter-spacing: -.02em; line-height: 1.1; }
.who .tags { font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.who.sun { color: var(--sun-ink); }
.who.sun .tags { color: var(--sun-strong); }
.who.moon { color: var(--moon-ink); }
.who.moon .tags { color: var(--moon-strong); }
.who .line {
  font-size: clamp(13px, 1.5vw, 16px); font-weight: 600; padding: 8px 14px; border-radius: 16px; max-width: 240px; position: relative;
}
.who.sun .line { background: #fffdf6; color: var(--sun-ink); border: 1.5px solid var(--sun-accent); border-top-left-radius: 4px; }
.who.moon .line { background: #221f36; color: var(--moon-ink); border: 1.5px solid var(--moon-accent); border-top-right-radius: 4px; }
.hero--sub .who img { width: clamp(72px, 10vw, 112px); }
.hero--sub .who .line { display: none; }

/* 가운데 경계선에 걸친 제목: 같은 글자를 두 겹으로 놓고 반씩 잘라 색을 다르게 */
.split { display: grid; width: 100%; text-align: center; }
.split > * { grid-area: 1 / 1; padding: 0 16px; }
.split > :first-child { clip-path: inset(0 50% 0 0); color: var(--sun-ink); }
.split > :last-child { clip-path: inset(0 0 0 50%); color: var(--moon-ink); }
h1.split { font-size: clamp(34px, 7.4vw, 92px); font-weight: 900; letter-spacing: -.045em; line-height: 1.04; }
.hero--sub h1.split { font-size: clamp(32px, 6vw, 68px); }
p.split { font-size: clamp(15px, 1.9vw, 20px); font-weight: 600; }
p.split > :first-child { color: var(--sun-muted); }
p.split > :last-child { color: var(--moon-muted); }

.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 0 16px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
  font-weight: 750; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit;
  transition: transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sun { background: var(--sun-accent); color: #4a3324; box-shadow: 0 8px 24px rgba(245, 160, 20, .45); }
.btn-moon { background: var(--moon-accent); color: #14121f; box-shadow: 0 8px 24px rgba(120, 100, 255, .45); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-lg { padding: 17px 32px; font-size: 18px; }

/* ───────── 화자가 번갈아 설명하는 섹션 ───────── */
.talk { background: var(--bg); color: var(--ink); padding: clamp(64px, 10vw, 120px) 0; position: relative; }
/* 해 질 녘 / 동틀 녘처럼 섹션 사이를 부드럽게 잇습니다 */
.talk.sun + .talk.moon::before, .talk.moon + .talk.sun::before, .hero + .talk::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none;
}
.talk.sun + .talk.moon::before { background: linear-gradient(180deg, var(--sun-bg), #f0a56a 28%, #7a4f8f 62%, transparent); opacity: .5; }
.talk.moon + .talk.sun::before { background: linear-gradient(180deg, var(--moon-bg), #6a4f9c 30%, #ffb980 66%, transparent); opacity: .45; }

.talk-in { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.talk.moon .talk-in { grid-template-columns: minmax(0, 1fr) 104px; }
.talk.moon .speaker { order: 2; }
.speaker { display: grid; justify-items: center; gap: 8px; position: sticky; top: 84px; font-weight: 800; font-size: 15px; color: var(--strong); }
.speaker img { width: 88px; height: 88px; border-radius: 50%; box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--accent), 0 10px 30px color-mix(in srgb, var(--accent) 45%, transparent); }

.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--strong); margin-bottom: 10px; }
.talk h2 { font-size: clamp(28px, 4.2vw, 48px); font-weight: 880; letter-spacing: -.035em; line-height: 1.15; margin-bottom: 18px; }
.talk h2 em { font-style: normal; color: var(--strong); }
.bubble {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; padding: 18px 22px;
  font-size: clamp(15px, 1.5vw, 17px); max-width: 60ch; box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}
.talk.sun .bubble { border-top-left-radius: 6px; }
.talk.moon .bubble { border-top-right-radius: 6px; }
.bubble b, .bubble strong { color: var(--strong); font-weight: 750; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.talk.moon .feature { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.talk.moon .feature .copy { order: 2; }
.phrases { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.phrases li {
  font-size: 14px; font-weight: 600; padding: 7px 13px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.phrases li::before { content: '🎤 '; }

.cap { margin-top: 14px; min-height: 1.7em; font-weight: 700; font-size: 15px; color: var(--strong); text-align: center; }
.cap .kw { display: inline-block; white-space: pre; }
.replay { margin: 10px auto 0; display: flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; padding: 6px 10px; border-radius: 999px; }
.replay:hover { color: var(--ink); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.note { font-size: 13px; color: var(--muted); margin-top: 6px; text-align: center; }

/* ───────── 노래 재생: 큰 글자가 장면을 이끄는 타이포그래피 ───────── */
.kinetic { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(20px, 4vw, 56px); align-items: center; margin-top: 28px; }
.kinetic .type { position: relative; }
.kinetic .count { font-size: 14px; font-weight: 800; letter-spacing: .16em; color: var(--strong); font-variant-numeric: tabular-nums; }
.kinetic .cap {
  margin: 6px 0 0; text-align: left; color: var(--ink);
  font-size: clamp(40px, 6.6vw, 92px); font-weight: 920; letter-spacing: -.055em; line-height: 1.02;
  min-height: 3.1em; display: flex; flex-wrap: wrap; align-content: flex-start; column-gap: .22em;
}
.kinetic .cap .kw { animation: slam .55s cubic-bezier(.2, 1.4, .3, 1) both; animation-delay: calc(var(--i) * 90ms); transform-origin: left bottom; }
.kinetic .cap .kw.hi { color: var(--strong); position: relative; }
.kinetic .cap .kw.hi::after {
  content: ''; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .26em; z-index: -1; border-radius: .1em;
  background: color-mix(in srgb, var(--accent) 55%, transparent); transform-origin: left; animation: wipe .5s .35s ease-out both;
}
.dots { display: flex; gap: 6px; margin-top: 14px; }
.dots i { width: 26px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--accent) 28%, transparent); transition: background .3s, width .3s; }
.dots i.on { background: var(--strong); width: 40px; }
.kinetic .replay { margin-left: 0; }

/* ───────── 가상 디스코드 화면 ───────── */
.dc {
  --rail: #1e1f22; --side: #2b2d31; --main: #313338; --text: #dbdee1; --dim: #949ba4; --hover: #404249;
  --card: #2b2d31; --dline: #3f4147; --dbtn: #4e5058; --head: #f2f3f5;
  display: grid; grid-template-columns: 52px 168px minmax(0, 1fr); height: 430px; border-radius: 16px; overflow: hidden;
  font-size: 14px; line-height: 1.4; color: var(--text); text-align: left; word-break: keep-all;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .06);
}
.sun .dc {
  --rail: #e3e5e8; --side: #f2f3f5; --main: #ffffff; --text: #313338; --dim: #5c5e66; --hover: #dfe1e5;
  --card: #f2f3f5; --dline: #e1e2e4; --dbtn: #e3e5e8; --head: #060607;
  box-shadow: 0 30px 70px rgba(160, 110, 20, .28), 0 0 0 1px rgba(74, 51, 36, .1);
}
.dc-rail { background: var(--rail); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 0; }
.dc-rail span { width: 34px; height: 34px; border-radius: 50%; background: var(--side); display: grid; place-items: center; font-size: 15px; }
.dc-rail span.on { border-radius: 12px; background: #5865f2; color: #fff; font-weight: 800; }
.dc-side { background: var(--side); padding: 0 6px 8px; overflow: hidden; }
.dc-server { font-weight: 750; color: var(--head); padding: 12px 8px; border-bottom: 1px solid var(--dline); margin: 0 -6px 8px; padding-left: 14px; white-space: nowrap; }
.dc-cat { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--dim); padding: 10px 8px 4px; }
.dc-ch { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 6px; color: var(--dim); font-weight: 600; white-space: nowrap; position: relative; }
.dc-ch.on { background: var(--hover); color: var(--head); }
.dc-ch.tap::after { content: ''; position: absolute; right: 10px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #5865f2; animation: tap .5s ease-out both; }
.dc-vm { padding: 2px 0 0 22px; display: grid; gap: 3px; }
.dc-vm > div { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--dim); animation: pop .35s cubic-bezier(.2, 1.5, .4, 1) both; white-space: nowrap; }
.dc-vm .av { width: 20px; height: 20px; font-size: 10px; }
.dc-vm .speaking .av { box-shadow: 0 0 0 2px #23a55a; }
.dc-vm .speaking { color: var(--head); }
.dc-main { background: var(--main); display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; }
.dc-top { padding: 11px 14px; border-bottom: 1px solid var(--dline); font-weight: 750; color: var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-views { position: relative; min-height: 0; overflow: hidden; }
.dc-view { position: absolute; inset: 0; padding: 12px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateX(14px); transition: opacity .3s, transform .3s, visibility .3s; }
.dc[data-view='voice'] .dc-voice, .dc[data-view='text'] .dc-chat { opacity: 1; visibility: visible; transform: none; }
.dc.booting .dc-rail, .dc.booting .dc-side, .dc.booting .dc-main { opacity: 0; transform: translateY(16px); }
.dc-rail, .dc-side, .dc-main { transition: opacity .45s, transform .45s cubic-bezier(.2, 1.2, .3, 1); }
.dc-side { transition-delay: .12s; }
.dc-main { transition-delay: .24s; }

.av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; object-fit: cover; }

/* 음성 채널 화면: 위는 말풍선, 아래는 참가자 */
.dc-says { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding-bottom: 10px; overflow: hidden; }
.say { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; animation: pop .35s cubic-bezier(.2, 1.5, .4, 1) both; }
.say.bot { align-self: flex-end; flex-direction: row-reverse; }
.say .av { width: 26px; height: 26px; font-size: 11px; }
.say p { background: var(--card); border: 1px solid var(--dline); padding: 8px 12px; border-radius: 16px; border-bottom-left-radius: 4px; font-weight: 600; font-size: 14.5px; color: var(--head); }
.say.bot p { border-radius: 16px; border-bottom-right-radius: 4px; background: color-mix(in srgb, var(--accent) 22%, var(--card)); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.say p small { display: block; font-size: 11px; font-weight: 700; color: var(--dim); margin-bottom: 1px; }
.say .w { opacity: 0; animation: word .2s forwards; }
.dc-hud { min-height: 0; }
.dc-hud:not(:empty) { margin-bottom: 10px; }
.hud { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--dline); border-radius: 12px; padding: 9px 12px; font-weight: 650; font-size: 13.5px; animation: pop .35s both; }
.hud .bar { flex: 1; height: 8px; border-radius: 4px; background: var(--dbtn); overflow: hidden; min-width: 40px; }
.hud .bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); transition: width .5s ease; }
.hud b { font-variant-numeric: tabular-nums; color: var(--head); min-width: 3.2em; text-align: right; }
.hud .state { font-size: 12px; color: var(--dim); white-space: nowrap; }
.hud.alert { border-color: var(--accent); }
.hud.alert b { color: var(--strong); }
.dc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 8px; }
.tile { background: var(--side); border-radius: 12px; padding: 12px 4px 8px; display: grid; justify-items: center; gap: 5px; font-size: 12px; font-weight: 650; color: var(--dim); animation: pop .4s cubic-bezier(.2, 1.5, .4, 1) both; position: relative; border: 2px solid transparent; transition: border-color .2s; min-width: 0; }
.tile .av { width: 44px; height: 44px; transition: box-shadow .15s; }
.tile.speaking { border-color: #23a55a; color: var(--head); }
.tile.t1 { border-color: #ed4245; }
.tile.t2 { border-color: #4e8df5; }
.tile .eq { position: absolute; top: 6px; right: 6px; display: none; gap: 2px; align-items: flex-end; height: 12px; }
.tile.playing .eq { display: flex; }
.eq i { width: 3px; background: var(--accent); border-radius: 1px; animation: eq .7s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s; }
.eq i:nth-child(3) { animation-delay: -.5s; }
.app { font-size: 9px; font-weight: 800; background: #5865f2; color: #fff; padding: 1px 4px; border-radius: 3px; vertical-align: 1px; margin-left: 3px; }

/* 채팅 채널 화면 */
.dc-chat { justify-content: flex-end; gap: 12px; overflow: hidden; }
.msg { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s cubic-bezier(.2, 1.3, .3, 1); }
.msg.in { opacity: 1; transform: none; }
.msg .av { width: 36px; height: 36px; }
.msg-h { font-weight: 750; color: var(--head); font-size: 14px; }
.msg-h time { font-weight: 500; font-size: 11px; color: var(--dim); margin-left: 6px; }
.card { margin-top: 5px; background: var(--card); border: 1px solid var(--dline); border-left: 4px solid var(--ac, #ff8fb1); border-radius: 8px; padding: 12px; max-width: 420px; display: grid; gap: 8px; font-size: 13.5px; }
.card-top { display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 10px; align-items: start; }
.card small { color: var(--dim); font-size: 12px; display: block; }
.card h4 { margin: 2px 0; font-size: 16px; font-weight: 800; color: #4e8df5; }
.card .mention { white-space: nowrap; background: rgba(88, 101, 242, .22); color: #7c88ff; padding: 0 3px; border-radius: 3px; font-weight: 650; }
.sun .card .mention { color: #4752c4; background: rgba(88, 101, 242, .14); }
.card .art { width: 64px; height: 64px; border-radius: 8px; }
.card blockquote { margin: 0; padding-left: 9px; border-left: 3px solid var(--dbtn); font-style: italic; color: var(--text); }
.prog { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; font-size: 12px; color: var(--dim); }
.prog .bar { flex: 1; height: 4px; border-radius: 2px; background: var(--dbtn); position: relative; }
.prog .bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--head); animation: progress 40s linear forwards; }
.prog .bar i::after { content: ''; position: absolute; right: -5px; top: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--head); }
.card hr { border: 0; border-top: 1px solid var(--dline); margin: 0; }
.btns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.btns span { background: var(--dbtn); border-radius: 6px; text-align: center; padding: 5px 0; font-size: 14px; animation: pop .3s both; animation-delay: calc(var(--i) * 40ms + .25s); }
.btns span.red { background: #da373c; }
.select { border: 1px solid var(--dline); background: var(--main); border-radius: 6px; padding: 7px 10px; color: var(--dim); display: flex; justify-content: space-between; font-size: 13px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fields b { display: block; color: var(--head); margin-bottom: 2px; }
.card h5 { margin: 0; font-size: 15px; font-weight: 800; color: var(--head); }

/* ───────── 그 밖의 기능 목록 ───────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 24px; }
.chip { background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.chip .ico { font-size: 22px; }
.chip h3 { font-size: 17px; font-weight: 800; margin: 4px 0 2px; }
.chip p { font-size: 14px; color: var(--muted); }
.chip q { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 650; color: var(--strong); quotes: '“' '”'; }
.cmds { margin-top: 22px; display: grid; gap: 14px; }
.cmds div { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cmds b { width: 4.5em; font-size: 14px; color: var(--strong); }
code, .cmds span { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; background: color-mix(in srgb, var(--accent) 15%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); padding: 2px 8px; border-radius: 7px; white-space: nowrap; }

/* ───────── 초대 단계 ───────── */
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 900; font-size: 20px; margin-bottom: 14px; }
.perm { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.perm li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.perm li:last-child { border-bottom: 0; }
.perm b { font-weight: 750; }
.perm span { color: var(--muted); }
.panel { background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; padding: clamp(18px, 3vw, 28px); box-shadow: 0 16px 40px rgba(0, 0, 0, .08); }
.slash { font-family: ui-monospace, 'SF Mono', Menlo, monospace; display: flex; align-items: center; gap: 10px; background: var(--bg2); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 16px; font-weight: 600; }
.slash i { width: 2px; height: 1.2em; background: var(--strong); animation: blink 1s steps(1) infinite; }
.voice-line { display: flex; align-items: center; gap: 12px; font-size: clamp(18px, 2.6vw, 26px); font-weight: 800; letter-spacing: -.02em; }
.voice-line + .voice-line { margin-top: 12px; }
.voice-line .av { width: 44px; height: 44px; }
.voice-line span { background: var(--bg2); border: 1.5px solid var(--line); padding: 8px 16px; border-radius: 18px; border-bottom-left-radius: 5px; }

/* ───────── 문서(개인정보처리방침) ───────── */
.doc { background: var(--sun-surface); color: var(--sun-ink); padding: clamp(48px, 8vw, 88px) 0; }
.doc .wrap { max-width: 800px; }
.doc h2 { font-size: clamp(21px, 2.6vw, 26px); font-weight: 850; letter-spacing: -.02em; margin: 44px 0 12px; padding-top: 20px; border-top: 2px solid var(--sun-line); }
.doc h2:first-of-type { border-top: 0; padding-top: 0; }
.doc h3 { font-size: 17px; font-weight: 800; margin: 22px 0 6px; }
.doc p, .doc li { font-size: 16px; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 1.2em; margin: 8px 0; }
.doc li + li { margin-top: 4px; }
.doc .meta { color: var(--sun-muted); font-size: 14px; }
.doc a { color: var(--sun-strong); font-weight: 650; }
.table { overflow-x: auto; margin: 14px 0; border: 1.5px solid var(--sun-line); border-radius: 14px; }
.doc table { border-collapse: collapse; width: 100%; min-width: 600px; font-size: 14.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--sun-line); }
.doc th { background: var(--sun-bg); font-weight: 800; white-space: nowrap; }
.doc tr:last-child td { border-bottom: 0; }
.todo { background: #ffe1e1; color: #a11; border: 1.5px dashed #d55; border-radius: 6px; padding: 1px 8px; font-weight: 700; }
.summary { display: grid; grid-template-columns: 1fr 1fr; }
.summary > div { padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 64px); background: var(--bg); color: var(--ink); }
.summary h2 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 850; letter-spacing: -.02em; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.summary h2 img { width: 40px; height: 40px; border-radius: 50%; }
.summary ul { margin: 0; padding-left: 1.1em; font-size: 15.5px; }
.summary li + li { margin-top: 6px; }
.summary b { color: var(--strong); }

/* ───────── 마지막 초대 띠 + 꼬리말 ───────── */
.closing { display: grid; grid-template-columns: 1fr 1fr; }
.closing > div { padding: clamp(48px, 8vw, 96px) 24px; background: var(--bg); color: var(--ink); display: grid; justify-items: center; gap: 16px; text-align: center; }
.closing h2 { font-size: clamp(24px, 3.6vw, 40px); font-weight: 880; letter-spacing: -.035em; line-height: 1.15; }
.closing p { color: var(--muted); font-weight: 600; }
.foot { background: #0d0c15; color: var(--moon-muted); font-size: 13.5px; padding: 28px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--moon-ink); }
.foot nav { display: flex; gap: 16px; }

/* 스크롤하면 나타나기 (스크립트가 켜져 있을 때만 숨김) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s cubic-bezier(.2, 1, .3, 1); }
.js .reveal.seen { opacity: 1; transform: none; }

@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes pop { from { opacity: 0; transform: scale(.8) translateY(8px); } }
@keyframes word { to { opacity: 1; } }
@keyframes slam { from { opacity: 0; transform: translateY(.5em) rotate(6deg) scale(.9); } }
@keyframes wipe { from { transform: scaleX(0); } }
@keyframes tap { from { transform: scale(.3); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
@keyframes eq { from { height: 3px; } to { height: 12px; } }
@keyframes progress { from { width: 2%; } to { width: 100%; } }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 900px) {
  .feature, .talk.moon .feature, .kinetic { grid-template-columns: minmax(0, 1fr); }
  .talk.moon .feature .copy { order: 0; }
  .talk-in, .talk.moon .talk-in { grid-template-columns: minmax(0, 1fr); }
  .speaker { position: static; display: flex; align-items: center; gap: 12px; font-size: 17px; }
  .talk.moon .speaker { order: 0; flex-direction: row-reverse; }
  .talk.moon .talk-body > .eyebrow, .talk.moon .talk-body > h2, .talk.moon .copy { text-align: right; }
  .talk.moon .bubble { margin-left: auto; text-align: left; }
  .talk.moon .phrases { justify-content: flex-end; }
  .speaker img { width: 60px; height: 60px; }
  .kinetic .cap { min-height: 2.15em; }
}
@media (max-width: 640px) {
  .nav { font-size: 14px; }
  .nav-brand { padding-right: 12px; }
  .nav-brand span { display: none; }
  .nav-links a { padding: 6px 10px; }
  .nav .long { display: none; }
  .nav .short { display: inline; }
  .dc { grid-template-columns: 104px minmax(0, 1fr); height: 540px; font-size: 13px; }
  .dc-view { padding: 10px 8px; }
  .msg { grid-template-columns: 28px minmax(0, 1fr); gap: 7px; }
  .msg .av { width: 28px; height: 28px; }
  .msg-h time { display: none; }
  .dc-rail { display: none; }
  .dc-vm { padding-left: 8px; }
  .dc-cat { padding-left: 4px; }
  .card { padding: 10px; }
  .card-top { grid-template-columns: minmax(0, 1fr) 48px; }
  .card .art { width: 48px; height: 48px; }
  .summary, .closing { grid-template-columns: 1fr; }
  .perm li { grid-template-columns: 1fr; gap: 0; }
  .who .line { max-width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
