/* Covis Token 홈페이지 — 색 토큰은 covis.my 디자인 변수와 같은 값을 씁니다 */
:root {
  color-scheme: light;
  --canvas: #F4F4F7;
  --surface: #FFFFFF;
  --raised: #FAFAFC;
  --sunken: #ECECF1;
  --ink: #15161B;
  --ink-muted: #5B5E6A;
  --ink-subtle: #6C6F7C;
  --line: #E2E2E9;
  --line-strong: #C9C9D4;
  --accent: #5A4ED3;
  --accent-fg: #FFFFFF;
  --accent-soft: #ECEAFB;
  --accent-ink: #4337B8;
  --green: #0A7743;
  --green-soft: #E3F3EA;
  --red: #BC2D35;
  --red-soft: #FAE8E8;
  --warning: #955406;
  --warning-soft: #FBF0DE;
  --a1: #5A4ED3; --a2: #8A80E8; --a3: #2E2780; --a4: #B9B2F4; --a5: #6C6F7C; --a6: #0A7743;
  --shadow: 0 1px 2px rgb(21 22 27 / .04), 0 8px 24px rgb(21 22 27 / .06);
  --radius: 16px;
  --font: "Pretendard Variable", Pretendard, "Inter Variable", Inter, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #0D0E12; --surface: #15161C; --raised: #1C1D25; --sunken: #0A0B0E;
  --ink: #ECECF1; --ink-muted: #A0A3B0; --ink-subtle: #858894;
  --line: #272833; --line-strong: #393B48;
  --accent: #968DF5; --accent-fg: #0D0E12; --accent-soft: #24214A; --accent-ink: #B4ADFA;
  --green: #3DC98B; --green-soft: #0F2A1E; --red: #F2716C; --red-soft: #361719;
  --warning: #EFB356; --warning-soft: #2E2312;
  --a1: #968DF5; --a2: #6A5FE0; --a3: #C9C4FB; --a4: #3F3699; --a5: #858894; --a6: #3DC98B;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .25);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --canvas: #0D0E12; --surface: #15161C; --raised: #1C1D25; --sunken: #0A0B0E;
    --ink: #ECECF1; --ink-muted: #A0A3B0; --ink-subtle: #858894;
    --line: #272833; --line-strong: #393B48;
    --accent: #968DF5; --accent-fg: #0D0E12; --accent-soft: #24214A; --accent-ink: #B4ADFA;
    --green: #3DC98B; --green-soft: #0F2A1E; --red: #F2716C; --red-soft: #361719;
    --warning: #EFB356; --warning-soft: #2E2312;
    --a1: #968DF5; --a2: #6A5FE0; --a3: #C9C4FB; --a4: #3F3699; --a5: #858894; --a6: #3DC98B;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.65;
  word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; }
code { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-fg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 800px; }

/* 로고 테마 전환 */
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; }
}

/* 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--canvas) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none !important; }
.brand .logo { height: 30px; width: auto; }
.brand-tag { white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-muted); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: var(--sunken); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 10px; cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .i-moon { display: none; }
:root[data-theme="dark"] .icon-btn .i-sun { display: none; }
:root[data-theme="dark"] .icon-btn .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .i-sun { display: none; }
  :root:not([data-theme="light"]) .icon-btn .i-moon { display: block; }
}
.menu-btn { display: none; }

@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; font-size: 16px; }
}

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer;
  text-decoration: none !important; transition: transform .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: var(--accent-ink); }
:root[data-theme="dark"] .btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--sunken); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@media (max-width: 480px) { .btn.hide-sm { display: none; } }

/* 히어로 */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 18%, transparent), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; gap: 40px; align-items: center; position: relative; }
@media (min-width: 960px) { .hero { padding: 96px 0 112px; } .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--ink-muted); background: var(--surface); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.hero h1 { font-size: clamp(36px, 8.5vw, 64px); font-weight: 800; margin-top: 20px; letter-spacing: -0.035em; line-height: 1.14; }
.accent { color: var(--accent); }
.lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-muted); margin-top: 20px; max-width: 560px; }
.fine { font-size: 13px; color: var(--ink-subtle); margin-top: 16px; }

.contract-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 24px; box-shadow: var(--shadow);
}
.cc-head { display: flex; align-items: center; gap: 12px; }
.cc-head strong { display: block; font-size: 18px; }
.cc-head span { font-size: 13px; color: var(--ink-subtle); }
.cc-label { font-size: 13px; font-weight: 600; color: var(--ink-muted); margin-top: 20px; }
.addr-row { display: flex; align-items: stretch; gap: 8px; margin-top: 8px; }
.addr {
  flex: 1; min-width: 0; font-size: 13px; line-height: 1.5; padding: 10px 12px;
  background: var(--sunken); border: 1px solid var(--line); border-radius: 10px;
  word-break: break-all; color: var(--ink);
}
.copy-btn {
  flex: none; padding: 0 14px; min-height: 44px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--accent); background: var(--accent-soft); color: var(--accent-ink); font: 600 14px var(--font);
}
.copy-btn:hover { background: var(--accent); color: var(--accent-fg); }
.copy-btn.is-done { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.cc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 20px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cc-stats div { background: var(--raised); padding: 12px 14px; }
.cc-stats dt { font-size: 12px; color: var(--ink-subtle); }
.cc-stats dd { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.cc-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 14px; }

/* 섹션 공통 */
.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { font-size: 14px; font-weight: 700; color: var(--accent-ink); margin-bottom: 12px; }
.section h2 { font-size: clamp(26px, 5vw, 40px); font-weight: 800; }
.section-lead { color: var(--ink-muted); font-size: 17px; margin-top: 16px; max-width: 720px; }
.br-sm { display: inline; }
.br-lg { display: none; }
@media (min-width: 640px) { .br-sm { display: none; } .br-lg { display: inline; } }

.cards { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 720px) { .cards-2 { grid-template-columns: 1fr 1fr; } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section-alt .card { background: var(--raised); }
.card h3 { font-size: 19px; margin: 12px 0 8px; }
.card p { color: var(--ink-muted); }
.card-num { font: 700 13px var(--mono); color: var(--red); background: var(--red-soft); padding: 3px 8px; border-radius: 6px; }
.status {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  color: var(--warning); background: var(--warning-soft); white-space: nowrap;
}
.card.soon { border-style: dashed; border-color: var(--line-strong); }

/* 증명 단계 */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-weight: 800; }
.step h3 { font-size: 19px; margin: 16px 0 8px; }
.step p { color: var(--ink-muted); }
.mono-chip { display: inline-block; margin-top: 14px; font-size: 13px; padding: 6px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); }
.verify-chip { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: var(--green-soft); color: var(--green); }

.scope { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 720px) { .scope { grid-template-columns: 1fr 1fr; } }
.scope-col { border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); background: var(--raised); }
.scope-col h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.scope-col h3::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none; background-repeat: no-repeat; background-position: center; }
.scope-col.yes h3::before { content: "✓"; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: 13px; }
.scope-col.no h3::before { content: "–"; display: grid; place-items: center; background: var(--sunken); color: var(--ink-muted); font-size: 15px; font-weight: 800; }
.scope-col ul { margin: 12px 0 0; padding-left: 20px; color: var(--ink-muted); }
.scope-col li + li { margin-top: 6px; }
.note { font-size: 14px; color: var(--ink-subtle); margin-top: 14px; }

/* 탭·표 */
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin-top: 32px; background: var(--sunken); border-radius: 12px; }
.tab { border: 0; background: transparent; color: var(--ink-muted); font: 600 15px var(--font); padding: 8px 20px; min-height: 40px; border-radius: 9px; cursor: pointer; }
.tab.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 13px; color: var(--ink-subtle); font-weight: 600; background: var(--raised); white-space: nowrap; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 600; }
.tbl td:last-child { color: var(--ink-muted); }
.tbl .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tfoot td { font-weight: 700; border-top: 1px solid var(--line-strong); border-bottom: 0; background: var(--raised); color: var(--ink); }
.tag { font-size: 11px; font-weight: 700; color: var(--warning); background: var(--warning-soft); padding: 1px 6px; border-radius: 4px; margin-left: 4px; }

@media (max-width: 560px) {
  .tbl:not(.alloc-tbl) thead { display: none; }
  .tbl:not(.alloc-tbl) tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .tbl:not(.alloc-tbl) tbody tr:last-child { border-bottom: 0; }
  .tbl:not(.alloc-tbl) td { padding: 0; border: 0; }
  .tbl:not(.alloc-tbl) td:nth-child(2) { text-align: right; font-weight: 700; color: var(--accent-ink); }
  .tbl:not(.alloc-tbl) td:last-child { grid-column: 1 / -1; font-size: 14px; }
  .tbl:not(.alloc-tbl) td:last-child:empty { display: none; }
}

.points-grid { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 860px) { .points-grid { grid-template-columns: 1.1fr .9fr; } }
.formula, .fraud { border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.formula { background: var(--accent-soft); border-color: transparent; }
.formula-label { font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.formula-body { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: clamp(17px, 3vw, 21px); font-weight: 700; margin-top: 12px; }
.formula-body > span:not(.frac) { color: var(--accent-ink); }
.frac { display: inline-flex; flex-direction: column; text-align: center; font-size: .82em; }
.frac span:first-child { border-bottom: 2px solid currentColor; padding: 0 6px 2px; }
.frac span:last-child { padding: 2px 6px 0; }
.fraud h3 { font-size: 17px; }
.mini { margin: 14px 0 0; padding-left: 20px; color: var(--ink-muted); font-size: 15px; }
.mini li + li { margin-top: 6px; }
.formula .mini { color: var(--ink); }

.season-banner { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 16px 20px; border-radius: var(--radius); background: var(--warning-soft); }
.season-banner p { color: var(--ink); font-size: 15px; }

/* 토큰 */
.token-grid { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 900px) { .token-grid { grid-template-columns: 1fr 1fr; } }
.spec { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; align-self: start; }
.spec > div { background: var(--surface); padding: 14px 16px; }
.spec dt { font-size: 12px; color: var(--ink-subtle); }
.spec dd { margin: 2px 0 0; font-weight: 600; }
.spec .spec-wide { grid-column: 1 / -1; }
.spec .addr-row { margin-top: 6px; }
.props { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface); }
.props h3 { font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 14px 0 0; }
.checks li { position: relative; padding-left: 28px; color: var(--ink-muted); font-size: 15px; }
.checks li + li { margin-top: 10px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--green-soft); color: var(--green); }
.checks b { color: var(--ink); margin-right: 6px; }
.warn-inline { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--warning-soft); color: var(--ink); font-size: 14px; }
.warn-inline b { color: var(--warning); }
.sub-h { font-size: 22px; margin-top: 56px; }

.alloc { margin-top: 16px; }
.alloc-bar { display: flex; height: 18px; border-radius: 999px; overflow: hidden; gap: 2px; background: var(--line); }
.alloc-bar span { flex: var(--w) 0 0; background: var(--c); }
.alloc-tbl td i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--c); margin-right: 8px; vertical-align: 1px; }
.alloc-tbl { min-width: 640px; }
.alloc-tbl td:last-child { color: inherit; }
.lock { font-size: 13px; font-weight: 700; color: var(--warning); }
.wallet { font: 13px var(--mono); }

.limit { margin-top: 40px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--raised); }
.limit h3 { font-size: 18px; }
.limit p { color: var(--ink-muted); margin-top: 8px; }
.limit b { color: var(--ink); }

/* 사칭 주의 */
.alert { display: flex; gap: 16px; padding: 24px; border-radius: 20px; background: var(--red-soft); border: 1px solid color-mix(in srgb, var(--red) 35%, transparent); }
.alert-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 900; font-size: 20px; }
.section .alert-title { font-size: clamp(20px, 3.5vw, 24px); color: var(--red); }
.alert p { margin-top: 10px; color: var(--ink); }
.addr-inline { font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--surface); word-break: break-all; }
@media (max-width: 480px) { .alert { flex-direction: column; gap: 12px; padding: 20px; } }

/* 로드맵 */
.roadmap { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .roadmap { grid-template-columns: repeat(3, 1fr); } }
.phase { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--raised); display: flex; flex-direction: column; }
.phase.now { border: 2px solid var(--accent); background: var(--surface); }
.phase-tag { font-size: 12px; font-weight: 700; color: var(--ink-muted); background: var(--sunken); padding: 3px 10px; border-radius: 999px; }
.phase.now .phase-tag { color: var(--accent-fg); background: var(--accent); }
.phase-head h3 { font-size: 20px; margin-top: 12px; }
.phase-list { list-style: none; padding: 0; margin: 16px 0 0; flex: 1; }
.phase-list li { position: relative; padding-left: 22px; color: var(--ink-muted); font-size: 15px; }
.phase-list li + li { margin-top: 10px; }
.phase-list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-strong); }
.phase-list li.done { color: var(--ink); font-weight: 600; }
.phase-list li.done::before { background: var(--green); border-color: var(--green); }
.phase-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-subtle); }

/* 백서 */
.wp { display: grid; gap: 32px; padding: 32px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 900px) { .wp { grid-template-columns: 1.2fr .8fr; padding: 48px; align-items: center; } }
.toc { margin: 0; padding: 20px 20px 20px 44px; background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-muted); font-size: 15px; columns: 2; column-gap: 28px; }
.toc li { break-inside: avoid; padding: 3px 0; }
.toc li::marker { color: var(--accent-ink); font-weight: 700; }
@media (max-width: 400px) { .toc { columns: 1; } }

/* FAQ */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--ink-subtle); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: var(--ink-muted); }

/* 커뮤니티 */
.community { display: grid; gap: 20px; padding: 28px 24px; border-radius: 20px; background: var(--accent-soft); }
@media (min-width: 860px) { .community { grid-template-columns: 1fr auto; align-items: center; padding: 32px 40px; } }
.section .community h2 { font-size: 24px; }
.community p { color: var(--ink-muted); margin-top: 6px; }
.community-links { display: flex; flex-wrap: wrap; gap: 10px; }
.chan { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 15px; }
.chan[aria-disabled="true"] { color: var(--ink-subtle); }
a.chan:hover { text-decoration: none; border-color: var(--accent); }

/* 푸터 */
.site-footer { padding: 48px 0 40px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-top { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer-top .logo { height: 28px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-nav a { color: var(--ink-muted); font-size: 14px; }
.disclaimer { margin-top: 28px; padding: 20px; border-radius: 12px; background: var(--raised); border: 1px solid var(--line); font-size: 13px; color: var(--ink-muted); }
.disclaimer p + p { margin-top: 8px; }
.disclaimer b { color: var(--ink); }
.copy { margin-top: 20px; font-size: 13px; color: var(--ink-subtle); }

/* 토스트 */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--canvas); padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 600;
  transition: opacity .2s ease, transform .2s ease; z-index: 200; max-width: calc(100vw - 32px);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* 배분 표: 휴대폰에서는 카드형 */
@media (max-width: 560px) {
  .alloc-tbl { min-width: 0; }
  .alloc-tbl thead { display: none; }
  .alloc-tbl tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .alloc-tbl tbody tr:last-child { border-bottom: 0; }
  .alloc-tbl td { padding: 0; border: 0; background: none; }
  .alloc-tbl td:nth-child(2) { text-align: right; font-weight: 700; }
  .alloc-tbl td:nth-child(3) { color: var(--ink-muted); font-size: 14px; }
  .alloc-tbl td:nth-child(3)::after { content: " COVIS"; }
  .alloc-tbl td:nth-child(4) { text-align: right; font-size: 13px; }
  .alloc-tbl td:nth-child(4) .lock::before { content: "잠금 "; color: var(--ink-subtle); font-weight: 500; }
  html[lang="en"] .alloc-tbl td:nth-child(4) .lock::before { content: "Lock "; }
  .alloc-tbl td:nth-child(5) { grid-column: 1 / -1; }
  .alloc-tbl tfoot tr { background: var(--raised); border-top: 1px solid var(--line-strong); border-bottom: 0; }
  .alloc-tbl tfoot td { border-top: 0; }
  .alloc-tbl tfoot td:empty { display: none; }
}

/* 영문 히어로 제목은 단어가 길어 조금 작게 */
html[lang="en"] .hero h1 { font-size: clamp(34px, 7.4vw, 56px); }
