@charset "utf-8";
/*
  mamurs.com — 마머스 톡 공식 홈 · 법적 고지 공통 스타일
  ────────────────────────────────────────────────────────────────
  · 화이트 단일(D-0016). OS 다크 설정을 따라가지 않는다 — prefers-color-scheme 분기 없음.
  · 스크립트 0개. 외부 폰트·CDN·이미지 요청 0개(자체 호스팅만). CSP: default-src 'none'; style-src 'self'
  · 색: 잉크 #16202B · 본문 #33414F · 보조 #5B6B7B · 선 #E3E8EE · 면 #F6F7F9
        브랜드 #1E3A5F(포커스 링 D-0030과 동일) · 상아 #F3EEE6(캐릭터 아이보리 톤)
  · 인쇄(법적 고지 보관용) 대응: @media print
*/

:root {
  --ink: #16202b;
  --body: #33414f;
  --muted: #5b6b7b;
  --line: #e3e8ee;
  --line-strong: #cfd8e3;
  --bg: #ffffff;
  --panel: #f6f7f9;
  --brand: #1e3a5f;
  --brand-soft: #eaf0f7;
  --ivory: #f3eee6;
  --warn-bg: #fff6e5;
  --warn-line: #e6b45c;
  --radius: 14px;
  --max: 1080px;
  --max-doc: 820px;
  --shadow: 0 1px 2px rgba(22, 32, 43, 0.04), 0 8px 28px rgba(22, 32, 43, 0.05);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard",
    "Malgun Gothic", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

img { max-width: 100%; height: auto; }

/* ── 건너뛰기 ───────────────────────────────────────────── */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 10;
}
.skip:focus { left: 0; }

/* ── 머리 ───────────────────────────────────────────────── */
.site-head {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}
.site-head__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  font-size: 18px;
  letter-spacing: 0.01em;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  transform: translateY(3px);
}
.brand__en {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
}
.nav {
  margin-left: auto;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.nav a {
  color: var(--body);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 9px;
}
.nav a:hover { background: var(--panel); text-decoration: none; }
.nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); font-weight: 600; }

/* ── 본문 ───────────────────────────────────────────────── */
main { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap--doc { max-width: var(--max-doc); }

.hero { padding: 76px 0 40px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 6px 12px;
  margin: 0 0 20px;
}
h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 18px;
  font-weight: 750;
}
.lede {
  font-size: 18px;
  color: var(--body);
  max-width: 46em;
  margin: 0 0 10px;
}
.lede strong { color: var(--ink); }

h2 {
  font-size: clamp(21px, 2.6vw, 26px);
  line-height: 1.34;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 14px;
  font-weight: 700;
}
h3 {
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 6px;
  font-weight: 700;
}
p { margin: 0 0 14px; }
section { padding: 34px 0; }
.section-head { margin-bottom: 22px; }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── 카드 ───────────────────────────────────────────────── */
.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg);
}
.card--panel { background: var(--panel); border-color: transparent; }
.card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--ivory);
  color: #7a5f2a;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 8px 0 0; padding-left: 18px; }
.card li { margin: 4px 0; font-size: 15px; }

.axis { border-top: 3px solid var(--brand); }
.axis--2 { border-top-color: #8a9bb0; }
.axis--3 { border-top-color: #b99a5b; }

/* ── 띠 · 강조 박스 ─────────────────────────────────────── */
.band {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}
.note {
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  background: var(--bg);
  padding: 18px 20px;
  font-size: 15px;
  color: var(--body);
}
.note p:last-child { margin-bottom: 0; }
.note--ivory { background: var(--ivory); border-color: #e6dccb; border-left-color: #b99a5b; }

/* ── 목록 ───────────────────────────────────────────────── */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 15px;
}
.feature-list .dot {
  width: 8px;
  height: 8px;
  margin: 10px 0 0 6px;
  border-radius: 50%;
  background: var(--brand);
}
.feature-list b { color: var(--ink); }

/* ── 링크 카드 ──────────────────────────────────────────── */
.linkcards { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .linkcards { grid-template-columns: 1fr; } }
.linkcard {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  color: var(--body);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.linkcard:hover { border-color: var(--brand); background: var(--brand-soft); text-decoration: none; }
.linkcard b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.linkcard span { font-size: 13px; color: var(--muted); }

/* ── 유틸 ─────────────────────────────────────────────── */
.lede--fine { font-size: 16px; color: var(--muted); }
.fine { font-size: 14px; color: var(--muted); }
.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-26 { margin-top: 26px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.grid--top { align-items: start; }
.linkcards--1 { grid-template-columns: 1fr; }
.note--caution { border-left-color: #b99a5b; }

/* ── 법적 고지 문서 ─────────────────────────────────────── */
.doc-head {
  padding: 46px 0 22px;
  border-bottom: 1px solid var(--line);
}
.doc-head h1 { font-size: clamp(26px, 3.6vw, 34px); margin-bottom: 10px; }
.doc-head .meta { font-size: 14px; color: var(--muted); margin: 0; }
.doc-head .meta b { color: var(--ink); font-weight: 600; }

.toc {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 16px 20px;
  margin: 26px 0 8px;
  font-size: 14px;
}
.toc summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: " ▾"; color: var(--muted); font-weight: 400; }
.toc[open] summary::after { content: " ▴"; }
.toc ol { margin: 12px 0 0; padding-left: 20px; columns: 2; column-gap: 28px; }
@media (max-width: 720px) { .toc ol { columns: 1; } }
.toc li { margin: 3px 0; break-inside: avoid; }
.toc a { color: var(--body); }

.doc { padding-bottom: 30px; }
.doc h2 {
  font-size: 20px;
  margin: 40px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 18px;
}
.doc h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 26px; }
.doc h3 {
  font-size: 16px;
  margin: 24px 0 8px;
  color: var(--brand);
  scroll-margin-top: 18px;
}
.doc p, .doc li { font-size: 15px; line-height: 1.78; color: var(--body); }
.doc ol, .doc ul { padding-left: 20px; margin: 0 0 14px; }
.doc ol[type="a"] { list-style: lower-alpha; }
.doc ol > li, .doc ul > li { margin: 5px 0; }
.doc b, .doc strong { color: var(--ink); }

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 18px;
  font-size: 14px;
}
.doc th, .doc td {
  border: 1px solid var(--line);
  padding: 9px 11px;
  text-align: left;
  vertical-align: top;
  line-height: 1.62;
}
.doc th { background: var(--panel); color: var(--ink); font-weight: 600; white-space: nowrap; }
.doc caption { caption-side: top; text-align: left; font-size: 13px; color: var(--muted); padding-bottom: 6px; }
.table-scroll { overflow-x: auto; margin: 0 0 6px; }

.tldr {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 18px 20px;
  margin: 22px 0 6px;
  font-size: 15px;
}
.tldr h2 {
  border: 0;
  margin: 0 0 10px;
  padding: 0;
  font-size: 16px;
}
.tldr ul { margin: 0; padding-left: 18px; }

/* 발행 전 채워야 하는 값 — 눈에 띄게(실수로 그대로 배포되지 않도록) */
.todo {
  display: inline-block;
  background: var(--warn-bg);
  border: 1px dashed var(--warn-line);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 0.94em;
  color: #7a4c00;
  font-weight: 600;
}

/* ── 발행 전 안내 띠(개발용, PUBLISH 전 제거 대상 아님 — 배포 후에도 남겨도 무해) ── */
.draftbar {
  background: var(--warn-bg);
  border-bottom: 1px solid var(--warn-line);
  font-size: 13.5px;
  color: #6b4200;
}
.draftbar .wrap { padding: 10px 24px; }
.draftbar b { color: #4d2f00; }

/* ── 꼬리 ───────────────────────────────────────────────── */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--panel);
  padding: 36px 0 44px;
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}
.site-foot h2 {
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 28px;
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; gap: 22px; } }
.business dl { margin: 0; display: grid; grid-template-columns: 84px 1fr; gap: 4px 10px; }
.business dt { color: var(--muted); }
.business dd { margin: 0; color: var(--body); }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin: 0 0 6px; }
.foot-links a { color: var(--body); }
.foot-legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ── 계정 삭제 안내 ─────────────────────────────────────── */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 18px 16px 58px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-size: 15px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 15px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps b { color: var(--ink); }
.email-box {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--panel);
  padding: 16px 18px;
  font-size: 14px;
  margin: 14px 0 0;
}
.email-box p { margin: 0 0 8px; }
.email-box p:last-child { margin-bottom: 0; }
.email-box code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
  overflow-wrap: anywhere;
}
.doc-meta-table td:first-child { width: 34%; }

/* ── 인쇄 ───────────────────────────────────────────────── */
@media print {
  .site-head, .site-foot, .draftbar, .toc, .skip { display: none !important; }
  body { font-size: 11pt; color: #000; }
  a { color: #000; text-decoration: none; }
  .doc h2 { page-break-after: avoid; break-after: avoid; }
  .doc table { page-break-inside: avoid; break-inside: avoid; }
  .wrap--doc { max-width: none; }
  .todo { border: 1px solid #000; background: none; color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
