/* KEZNI site s001 — 다크 KEZNI 룩 (패널 #17181b · 배경 #060708 · 라벤더 #dfd8f0 · 파랑/청록 없음) */
:root {
  --bg: #060708;
  --panel: #17181b;
  --tile: #24252b;
  --tile-line: #3a3b44;
  --line: #2a2b31;
  --text: #f1f0f4;
  --muted: #a3a2ab;
  --faint: #6f6e78;
  --accent: #dfd8f0;
  --accent-ink: #141318;
  --radius: 14px;
  --wrap: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text); text-underline-offset: 3px; }
.nw { display: inline-block; }   /* 일본어 제목 — 어절 중간에서 줄이 바뀌지 않게 */
html[lang="ko"] body { word-break: keep-all; overflow-wrap: anywhere; }   /* 한국어 — 낱말 중간에서 끊지 않기 */
a:hover { color: var(--accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* 머리 */
.top { position: sticky; top: 0; z-index: 10; background: rgba(6, 7, 8, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img.mark { width: 30px; height: 30px; }
.brand img.word { height: 15px; width: auto; }
.top nav { display: flex; align-items: center; gap: 6px; }
.lang { display: inline-flex; border: 1px solid var(--tile-line); border-radius: 999px; padding: 3px; background: var(--panel); }
.lang button { appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--tile); color: var(--text); }

/* 첫 화면 */
.hero { padding: 96px 0 72px; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .02em; color: var(--muted); border: 1px solid var(--tile-line); background: var(--panel); border-radius: 999px; padding: 4px 12px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 20px; font-weight: 750; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 680px; margin: 0 0 34px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; padding: 11px 18px; border-radius: 10px; border: 1px solid var(--tile-line); background: var(--tile); color: var(--text); transition: background .15s, border-color .15s; }
.btn:hover { background: #2e2f36; border-color: #4a4b55; color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #ece7f7; border-color: #ece7f7; color: var(--accent-ink); }

/* 서비스 */
.section { padding: 40px 0 72px; }
.section h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 600; margin: 0 0 18px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; display: flex; flex-direction: column; min-width: 0; }
.card .name { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.card h3 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.card .tag { font-size: 12px; color: var(--muted); border: 1px solid var(--tile-line); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.card .what { color: var(--accent); font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }

/* 안내 띠 */
.note { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.note p { margin: 0; color: var(--muted); }
.note strong { color: var(--text); }

/* 바닥 */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; margin-top: 24px; color: var(--faint); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot a { color: var(--muted); text-decoration: none; margin-right: 18px; }
.foot a:hover { color: var(--text); }

/* 법률 문서 */
.doc { padding: 56px 0 40px; max-width: 760px; }
.doc h1 { font-size: clamp(28px, 4.5vw, 40px); letter-spacing: -.02em; margin: 0 0 8px; }
.doc .meta { color: var(--faint); font-size: 14px; margin: 0 0 34px; }
.doc h2 { font-size: 20px; margin: 38px 0 10px; letter-spacing: -.01em; }
.doc h3 { font-size: 16px; margin: 22px 0 6px; }
.doc p, .doc li { color: #cfced6; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 6px; font-size: 14.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 9px 10px 9px 0; color: #cfced6; }
.doc th { color: var(--text); font-weight: 600; }
.doc .callout { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--muted); font-size: 14.5px; }
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.toc li { margin: 2px 0; font-size: 14.5px; break-inside: avoid; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .toc ol { columns: 1; }
}
@media (max-width: 480px) {
  .brand img.word { display: none; }
  .lang button { padding: 4px 8px; }
}
