:root {
  --bg: #0B0B0C;
  --surface: #161618;
  --line: #26262A;
  --text: #F2F2F3;
  --muted: #A1A1A8;
  --dim: #6E6E76;
  --accent: #C8F03C;
  --on-accent: #0B0B0C;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--accent); text-underline-offset: 3px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* 상단 */
.top { display: flex; align-items: center; gap: 10px; padding-top: 20px; padding-bottom: 20px; }
.top img { width: 28px; height: 28px; }
.top a { color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }

/* 랜딩 */
.hero { padding: 72px 0 40px; }
.hero .mark { width: 88px; height: 88px; display: block; margin-bottom: 36px; }
.hero h1 { font-size: clamp(34px, 8vw, 52px); line-height: 1.2; letter-spacing: -0.03em; margin: 0 0 16px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { color: var(--muted); font-size: 18px; margin: 0; }
.points { list-style: none; margin: 24px 0 48px; padding: 0; display: grid; gap: 12px; }
.points li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.points b { display: block; font-size: 17px; margin-bottom: 2px; }
.points span { color: var(--muted); font-size: 15px; }
.soon { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--muted); font-size: 14px; }

/* 버튼 */
.btn { display: block; width: 100%; text-align: center; padding: 16px; border-radius: 14px; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); margin-top: 10px; }

/* 초대 */
.invite { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 40px; }
.invite .mark { width: 72px; height: 72px; margin-bottom: 28px; }
.invite h1 { font-size: 30px; line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 10px; }
.invite p { color: var(--muted); margin: 0 0 32px; }
.invite .note { color: var(--dim); font-size: 13px; margin: 20px 0 0; }

/* 문서 */
.doc { padding-top: 24px; padding-bottom: 64px; }
.doc h1 { font-size: 30px; letter-spacing: -0.02em; margin: 12px 0 4px; }
.doc .meta { color: var(--dim); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-size: 19px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.doc h3 { font-size: 16px; margin: 20px 0 6px; color: var(--muted); }
.doc p, .doc li { color: #D6D6DA; font-size: 15.5px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 4px 0; }
.doc .lead { color: var(--muted); }
.table { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: 12px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--muted); font-weight: 600; background: var(--surface); }
.doc tr:last-child td { border-bottom: 0; }

/* 하단 */
.foot { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 28px; padding-bottom: 48px; color: var(--dim); font-size: 13px; }
.foot nav { display: flex; gap: 18px; margin-bottom: 10px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot p { margin: 2px 0; }
