/* MVM 회사 웹사이트 공통 스타일. 디자인 규칙: mvm-skeleton/docs/DESIGN.md (흑백 기본, 파랑 포인트, 남색 면에 번지는 빛) */

@font-face {
  font-family: 'MVM Pretendard';
  src: url('fonts/pretendard-500.woff') format('woff');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'MVM Pretendard';
  src: url('fonts/pretendard-700.woff') format('woff');
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: 'MVM Pretendard';
  src: url('fonts/pretendard-800.woff') format('woff');
  font-weight: 800;
  font-display: swap;
}

:root {
  --bg: #f2f2f3;
  --card: #ffffff;
  --ink: #0b0b0c;
  --muted: #6b6b72; /* 흰 바탕 5.3:1. 앱의 muted(#9B9BA1)는 작은 글자가 많은 웹 문서에서 흐려 한 단계 진하게 */
  --line: #e4e4e7;
  --accent: #0f50d6;
  --teal: #27b1c1;
  --navy: #0f1e33;
  --soft: #e7eefb;
  --radius: 28px;
  --radius-sm: 20px;
  --gutter: 18px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'MVM Pretendard', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
    'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ── 머리 ── */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 18px; padding-bottom: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 12px; letter-spacing: 0.02em;
  background:
    radial-gradient(circle at 0% 0%, rgba(15, 80, 214, 0.95), rgba(15, 80, 214, 0) 70%),
    radial-gradient(circle at 100% 100%, rgba(39, 177, 193, 0.85), rgba(39, 177, 193, 0) 60%),
    var(--navy);
}
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 6px 12px; border-radius: 999px;
}
.nav a:hover { background: var(--card); }
.nav a[aria-current='page'] { background: var(--ink); color: #fff; }

/* ── 첫 면 ── */
.hero { padding: 28px 0 8px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 15px; margin: 0 0 10px; }
.hero h1 {
  margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.22;
  font-size: clamp(34px, 7vw, 56px);
}
.hero .lead { margin: 18px 0 0; font-size: clamp(17px, 2.4vw, 20px); color: #2a2a2e; max-width: 34em; }

.store {
  margin-top: 26px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 0;
}
.btn-glow {
  color: #fff;
  background:
    radial-gradient(circle at 0% 0%, rgba(15, 80, 214, 0.95), rgba(15, 80, 214, 0) 65%),
    radial-gradient(circle at 100% 100%, rgba(39, 177, 193, 0.8), rgba(39, 177, 193, 0) 45%),
    var(--navy);
}
.btn[aria-disabled='true'] { cursor: default; }
.store-note { color: var(--muted); font-size: 14px; }

/* ── 기능 ── */
.section { padding: 44px 0 0; }
.section h2 { font-size: clamp(24px, 4vw, 30px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 18px; line-height: 1.3; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.feature { background: var(--card); border-radius: var(--radius-sm); padding: 20px 20px 18px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.feature p { margin: 0; color: #3a3a40; font-size: 15px; line-height: 1.6; }
.feature .tag { display: inline-block; color: var(--accent); font-weight: 700; font-size: 13px; margin-bottom: 6px; }

/* ── 화면 ── */
.shots {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none;
}
.shot { margin: 0; }
.shot .phone {
  background: #fff; border-radius: 26px; overflow: hidden;
  border: 6px solid var(--ink);
  aspect-ratio: 540 / 1000; /* 잘라 낸 캡처의 높이가 달라도 같은 크기로, 위쪽부터 보이게 */
}
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot figcaption { margin-top: 10px; font-size: 14px; font-weight: 600; text-align: center; }
.shot figcaption span { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }

@media (max-width: 760px) {
  .shots {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
    margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter);
    scroll-padding-left: var(--gutter);
  }
  .shot { scroll-snap-align: start; }
}

/* ── 문의 ── */
.contact {
  margin-top: 44px; border-radius: var(--radius); padding: 28px 24px; color: #fff;
  background:
    radial-gradient(circle at 0% 0%, rgba(15, 80, 214, 0.9), rgba(15, 80, 214, 0) 60%),
    radial-gradient(circle at 100% 100%, rgba(39, 177, 193, 0.75), rgba(39, 177, 193, 0) 40%),
    var(--navy);
}
.contact h2 { margin: 0 0 8px; font-size: 24px; font-weight: 800; }
.contact p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.contact a { color: #fff; font-weight: 700; font-size: 18px; }
.contact .mail { margin-top: 12px; }

/* ── 문서(개인정보처리방침, 삭제 요청) ── */
.doc { padding-top: 12px; padding-bottom: 8px; }
.doc h1 { font-size: clamp(28px, 5.5vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; margin: 12px 0 8px; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.doc .card { background: var(--card); border-radius: var(--radius-sm); padding: 22px 20px; margin: 0 0 12px; }
.doc h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 10px; line-height: 1.4; }
.doc h3 { font-size: 17px; font-weight: 700; margin: 20px 0 6px; }
.doc p, .doc li { font-size: 16px; }
.doc p { margin: 0 0 10px; }
.doc ul, .doc ol { margin: 0 0 10px; padding-left: 1.3em; }
.doc li { margin: 4px 0; }
.doc .card > :last-child { margin-bottom: 0; }
.doc .summary { background: var(--soft); }
.doc .summary h2 { color: var(--accent); }
.note { color: var(--muted); font-size: 14px; }

.table-wrap { overflow-x: auto; margin: 6px 0 12px; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
th, td { text-align: left; vertical-align: top; padding: 10px 10px; border-bottom: 1px solid var(--line); }
th { font-weight: 700; font-size: 14px; color: var(--muted); white-space: nowrap; }
td strong { font-weight: 700; }

/* 폰 폭: 표의 줄을 세로로 쌓고, 칸마다 머리글(data-label)을 작게 붙입니다. 옆으로 밀어 보지 않아도 됩니다. */
@media (max-width: 600px) {
  table, tbody, tr, td { display: block; width: 100%; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  tr:first-child { padding-top: 0; }
  td { border: 0; padding: 2px 0; }
  td[data-label]::before {
    content: attr(data-label); display: block; color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 4px;
  }
  td:first-child { font-weight: 700; }
  td:first-child::before { display: none; }
}

.toc { columns: 2; column-gap: 24px; padding-left: 1.3em; }
@media (max-width: 560px) { .toc { columns: 1; } }

.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li { counter-increment: step; position: relative; padding-left: 40px; margin: 10px 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 1px;
  width: 28px; height: 28px; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 800; font-size: 14px; display: grid; place-items: center; line-height: 1;
}
.mailbox { background: var(--bg); border-radius: 16px; padding: 14px 16px; margin: 10px 0; }
.mailbox p { margin: 0 0 4px; }

/* ── 바닥: 사업자 정보 ── */
.foot { margin-top: 56px; padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.8; }
.foot .links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.foot .links a { color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.foot .links a:hover { text-decoration: underline; }
.foot dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; column-gap: 12px; }
.foot dt { font-weight: 600; color: #4a4a50; }
.foot dd { margin: 0; }
.foot a { color: inherit; }
.foot .copy { margin-top: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .nav a, .btn { transition: background-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1); }
}
