@charset "utf-8";
/* ============================================================================
   mamurs.com — 보조 페이지(/download · 법적 3종 · 404) 공통 스타일 (2차 상용판)
   ────────────────────────────────────────────────────────────────────────────
   준거: 마머스 UXUI 디자인 스킬 정본 v1.1 (R1~R23)
   · 퓨어 화이트(#FFFFFF) + 쿨 뉴트럴(#F6F7F9/#F1F3F5) + 네이비(#1E3A5F) 단일 강조
   · 베이지·아이보리 0 · 그라디언트 0 · blur 0 · 13px 미만 0 · 웹 다크 분기 0
   · 인쇄 보관용(@media print) 지원
   ========================================================================== */

@font-face {
  font-family: "Mamurs Pretendard";
  src: url("fonts/mamurs-pretendard.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A1, U+00A9, U+00B1, U+00B7, U+00BF, U+00D7, U+00F7,
    U+2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2030, U+2039-203A, U+20A9,
    U+2103, U+2109, U+2190-2194, U+2197-2198, U+2260, U+2264-2265, U+2460-2469,
    U+25AA, U+25E6, U+3008-300F, U+FF05;
}

:root {
  --surface: #ffffff;
  --work: #f6f7f9;
  --sunken: #f1f3f5;
  --ink: #111827;
  --text: #4b5563;
  --meta: #596370;
  --line: #eceef1;
  --line-strong: #d9dfe6;
  --brand: #1e3a5f;
  --brand-hover: #162e4d;
  --brand-soft: #eaf0f7;
  --jade: #1a6b4a;
  --jade-soft: #edf7f1;
  --amber: #7a4f00;
  --amber-strong: #4d2f00;
  --amber-soft: #fff8ec;
  --font: "Mamurs Pretendard", "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR",
    "Segoe UI", Roboto, sans-serif;
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-pill: 999px;
  --max: 1120px;
  --max-doc: 820px;
}

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

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:where(a, button, summary):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

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

code {
  font-size: max(13px, 0.92em);
}

/* ── 건너뛰기 ───────────────────────────────────────────────── */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 0 0 12px 0;
  font-size: 14px;
  font-weight: 600;
  z-index: 20;
}

.skip:focus {
  left: 0;
}

/* ── 머리 (1행 헤더 · 정본 로고 사용) ───────────────────────── */
.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.site-head__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  font-size: 17px;
  letter-spacing: -0.01em;
  padding: 4px 0;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand__lockup {
  width: 136px;
  height: 30px;
  object-fit: contain;
}

.brand__symbol {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__en {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--meta);
  font-weight: 600;
  margin-left: 6px;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--r-xs);
  transition: background-color 150ms ease, color 150ms ease;
}

.nav a:hover {
  background: var(--work);
  color: var(--ink);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
}

/* ── 본문 ───────────────────────────────────────────────────── */
main {
  display: block;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--doc {
  max-width: var(--max-doc);
}

.hero {
  padding: 64px 0 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 0 0 16px;
  font-weight: 700;
  text-wrap: balance;
}

.lede {
  font-size: 17px;
  color: var(--text);
  max-width: 44em;
  margin: 0 0 12px;
  text-wrap: pretty;
}

.lede strong {
  color: var(--ink);
}

h2 {
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
  font-weight: 700;
  text-wrap: balance;
}

h3 {
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 8px;
  font-weight: 700;
}

p {
  margin: 0 0 12px;
  text-wrap: pretty;
}

/* ── 버튼 & 상태 칩 ────────────────────────────────────────── */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 600;
  transition: background-color 150ms ease, border-color 150ms ease, transform 120ms ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.985);
}

.btn--solid {
  background: var(--brand);
  color: #ffffff;
}

.btn--solid:hover {
  background: var(--brand-hover);
}

.btn--line {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.btn--line:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 2px 12px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
}

.chip--jade {
  background: var(--jade-soft);
  color: var(--jade);
}

.chip--amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.chip--neutral {
  background: var(--sunken);
  color: var(--meta);
}

.chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ── /download 전용 설치 2종 카드 ──────────────────────────── */
.dl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.dl-hero__icon {
  width: 84px;
  height: 84px;
  border-radius: var(--r-md);
  object-fit: cover;
  border: 1px solid var(--line);
}

.dl-section {
  padding: 40px 0 0;
}

.dl-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.dl-card {
  background: var(--work);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dl-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dl-card__badge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  color: var(--brand);
}

.dl-card__badge-icon img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.dl-card__role {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin: 0;
}

.dl-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.dl-card__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}

.dl-spec {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}

.dl-spec th,
.dl-spec td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.dl-spec th {
  width: 140px;
  color: var(--ink);
  font-weight: 600;
  background: var(--work);
}

/* ── 안내 상자 · 링크 카드 ──────────────────────────────────── */
.note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-sm);
  background: var(--surface);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--text);
}

.note p:last-child {
  margin-bottom: 0;
}

.note--ivory,
.note--caution {
  background: var(--amber-soft);
  border-color: var(--line);
  border-left: 3px solid var(--amber);
  color: var(--amber-strong);
}

.note--ivory b,
.note--ivory strong,
.note--caution b,
.note--caution strong {
  color: var(--amber-strong);
}

.linkcards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.linkcards--1 {
  grid-template-columns: 1fr;
}

@media (max-width: 720px) {
  .linkcards,
  .dl-pair {
    grid-template-columns: 1fr;
  }

  .dl-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.linkcard {
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 16px 20px;
  color: var(--text);
  transition: border-color 150ms ease, background-color 150ms ease, transform 120ms ease;
}

.linkcard:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  text-decoration: none;
}

.linkcard:active {
  transform: scale(0.985);
}

.linkcard b {
  display: block;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 4px;
}

.linkcard span {
  font-size: 14px;
  color: var(--meta);
}

/* ── 유틸 ───────────────────────────────────────────────────── */
.fine {
  font-size: 14px;
  color: var(--meta);
}

.mt-14 { margin-top: 16px; }
.mt-18 { margin-top: 16px; }
.mt-20 { margin-top: 24px; }
.mt-26 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

/* ── 법적 고지 문서 ─────────────────────────────────────────── */
.doc-head {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--line);
}

.doc-head h1 {
  font-size: clamp(26px, 3.6vw, 34px);
  margin-bottom: 12px;
}

.doc-head .meta {
  font-size: 14px;
  line-height: 1.7;
  color: var(--meta);
  margin: 0;
}

.doc-head .meta b {
  color: var(--ink);
  font-weight: 600;
}

.tldr {
  border-radius: var(--r-sm);
  background: var(--work);
  padding: 20px 24px;
  margin: 24px 0 8px;
  font-size: 15px;
}

.tldr h2 {
  border: 0;
  margin: 0 0 12px;
  padding: 0;
  font-size: 17px;
}

.tldr ul {
  margin: 0;
  padding-left: 20px;
}

.tldr li {
  margin: 8px 0;
}

.toc {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  padding: 16px 20px;
  margin: 24px 0 8px;
  font-size: 14px;
}

.toc summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.toc summary::-webkit-details-marker {
  display: none;
}

.toc summary::after {
  content: " ▾";
  color: var(--meta);
  font-weight: 400;
  margin-left: 8px;
}

.toc[open] summary::after {
  content: " ▴";
}

.toc ol {
  margin: 12px 0 0;
  padding-left: 24px;
  columns: 2;
  column-gap: 24px;
}

@media (max-width: 720px) {
  .toc ol {
    columns: 1;
  }
}

.toc li {
  margin: 4px 0;
  break-inside: avoid;
}

.toc a {
  color: var(--text);
}

.doc {
  padding-bottom: 32px;
}

.doc h2 {
  font-size: 20px;
  margin: 40px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 84px;
}

.doc h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 24px;
}

.doc h3 {
  font-size: 16px;
  margin: 24px 0 8px;
  color: var(--brand);
  scroll-margin-top: 84px;
}

.doc p,
.doc li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}

.doc ol,
.doc ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

.doc ol > li,
.doc ul > li {
  margin: 6px 0;
}

.doc b,
.doc strong {
  color: var(--ink);
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 16px;
  font-size: 14px;
}

.doc th,
.doc td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.doc th {
  background: var(--work);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 8px;
}

.doc-meta-table td:first-child {
  width: 34%;
}

/* ── 3단계 절차 카드 ────────────────────────────────────────── */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 20px 16px 56px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 15px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps b,
.steps strong {
  color: var(--ink);
}

.email-box {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--work);
  padding: 16px 20px;
  font-size: 14px;
  margin: 16px 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(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  padding: 2px 8px;
  overflow-wrap: anywhere;
}

/* ── 꼬리 ───────────────────────────────────────────────────── */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--work);
  padding: 48px 0;
  margin-top: 48px;
  font-size: 14px;
  color: var(--meta);
}

.site-foot h2 {
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.8fr;
  gap: 32px;
}

@media (max-width: 860px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.business dl {
  margin: 0;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 8px 12px;
}

.business dt {
  color: var(--meta);
}

.business dd {
  margin: 0;
  color: var(--text);
}

.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-links li {
  margin: 0 0 4px;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--text);
}

.foot-links a:hover {
  color: var(--brand);
}

.foot-legal {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
  font-size: 13px;
  line-height: 1.7;
  color: var(--meta);
}

@media (max-width: 600px) {
  .site-head__inner {
    padding: 12px 20px;
  }

  .wrap {
    padding: 0 20px;
  }

  .brand__en {
    display: none;
  }

  .brand__lockup {
    width: 118px;
    height: 26px;
  }

  .nav a {
    min-height: 44px;
    padding: 8px 12px;
  }

  .foot-links a {
    min-height: 44px;
  }
}

/* guard-allow: R11 — 인쇄·모션 축소 규칙 */
@media print {
  .site-head,
  .site-foot,
  .toc,
  .skip {
    display: none !important;
  }

  body {
    font-size: 11pt;
    color: #000000;
  }

  a {
    color: #000000;
    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;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}
