/* 마무리개발 공통 스타일 (index.html, privacy.html) */

:root {
  --accent: #C6F432;    /* 강조색 라임 (사용자 확정, 11/16) */
  --on-accent: #111111; /* 라임 위 글자는 검정 */
  --gutter: clamp(20px, 3.5vw, 56px);
  --bar-h: 72px;        /* 상단 고정 바 높이. 첫 화면 높이와 앵커 이동 위치에서 뺀다 */
}
@media (max-width: 720px) { :root { --bar-h: 60px; } }
body {
  --bg: #FFFFFF;
  --ink: #111111;
  --muted: rgba(17, 17, 17, .55);
  --error: #C93C3C;
  --r-input: 12px;
  --r-card: 20px;
  --line: color-mix(in srgb, var(--ink) 12%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 24%, transparent);
  --soft: color-mix(in srgb, var(--ink) 6%, transparent);
}

* { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

.dot { color: var(--accent); }

/* ---------- 상단 고정 바: 로고, 사례, 무료 점검 버튼 ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .4s ease;
}
/* 맨 위에서는 선 없이 두고, 내리면 선을 보여 본문과 나눈다 (common.js) */
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar a { color: var(--ink); text-decoration: none; }
.topbar-nav { display: flex; align-items: center; gap: 24px; }
.topbar-link { font-size: 14px; font-weight: 500; transition: opacity .2s ease; }
.topbar-link:hover { opacity: .6; }
.topbar .topbar-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .topbar-nav { gap: 16px; }
  .topbar .topbar-cta { padding: 8px 14px; font-size: 13px; }
}

/* 앵커로 이동할 때 상단 바에 가리지 않게 한다 */
section[id] { scroll-margin-top: var(--bar-h); }

/* ---------- 첫 화면: 큰 문장 → 버튼 → 작업물 ---------- */

/* 첫 화면 높이를 창 높이에 맞추고, 남는 높이는 작업물 칸이 채운다. 위의 상단 바 높이(--bar-h)는 뺀다 */
.hero-a {
  min-height: calc(100vh - var(--bar-h));
  min-height: calc(100svh - var(--bar-h));
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) var(--gutter);
}

/* 노트북 화면(폭 1470px 안팎)에서 글자가 크다는 피드백으로 제목급 글자를 약 20% 줄였다 (사용자, 11/14).
   휴대폰 최소 크기와 아주 큰 화면의 최대 크기는 그대로 둔다 */
.hero-a .headline {
  margin-top: clamp(24px, 6vh, 96px);
  font-size: clamp(40px, 6vw + 6px, 152px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-cta { margin-top: clamp(24px, 4vh, 40px); }

/* 작업물은 버튼 아래에 전체 너비로 깐다. 첫 화면 아래로 조금 넘쳐도 된다 */
.work-fig {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-top: clamp(32px, 6vh, 72px);
}

/* 작업물 칸. 안의 mock 화면 크기는 JS가 잰 이 칸의 너비·높이(--ww, --wh)에 맞춘다.
   cqh를 안 쓰는 이유: 칸 높이가 min-height로만 정해질 때 Chrome이 cqh를 0으로 계산한다 */
.work {
  --ww: 900px;
  --wh: 300px;
  position: relative;
  flex: 1;
  min-height: clamp(260px, 34vw, 560px);
  overflow: hidden;
  background: var(--soft);
}

.work-cap {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.scene.on { opacity: 1; }

/* 데스크톱 화면 하나 + 휴대폰 화면 하나를 겹쳐 놓고, 아래쪽은 칸 밖으로 잘리게 둔다 */
.a-combo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: calc(var(--wh) * .09);
}
.a-combo > div { flex: none; }
.a-desk { font-size: min(calc(var(--wh) * 1.45 / 39.5), calc(var(--ww) * .7 / 63)); }
.a-phone {
  font-size: min(calc(var(--wh) / 39.5), calc(var(--ww) * .34 / 18.75));
  margin-left: -3.5em;
  margin-top: calc(var(--wh) * .08);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 30px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 999px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.arrow { transition: transform .3s ease; }
.cta:hover .arrow { transform: translateX(4px); }

@media (max-width: 720px) {
  .cta { width: 100%; }
}

/* 처음 열 때 천천히 나타나게 한다 */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-cta.reveal { animation-delay: .2s; }
  .work-fig.reveal { animation-delay: .35s; }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(18px); }
}

/* 스크롤해서 화면에 들어오면 천천히 나타난다 */
@media (prefers-reduced-motion: no-preference) {
  .js .sr {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1);
  }
  .js .sr.in { opacity: 1; transform: none; }
}

/* ---------- 섹션 공통 ---------- */

.sec {
  padding: clamp(96px, 16vh, 200px) var(--gutter);
  border-top: 1px solid var(--line);
}
.sec-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}
.eyebrow {
  grid-column: 1 / span 3;
  padding-top: .9em;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .02em;
}
.eyebrow b { margin-right: 10px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.sec-main { grid-column: 4 / -1; }
.sec-title {
  font-size: clamp(34px, 3.5vw + 6px, 84px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.sec-lead {
  max-width: 34em;
  margin-top: 28px;
  font-size: clamp(16px, .5vw + 13px, 19px);
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 720px) {
  .eyebrow, .sec-main { grid-column: 1 / -1; }
  .eyebrow { margin-bottom: 20px; padding-top: 0; }
}

/* 상황: 질문 목록 */
.qs { margin-top: 56px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.qs li {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(19px, .8vw + 10px, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.sec-close {
  margin-top: 48px;
  font-size: clamp(20px, .8vw + 11px, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

/* 무료 점검: 세 가지 고민을 3열로 */
.checks {
  margin-top: 56px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px;
}
.checks li {
  padding-top: 22px;
  border-top: 1px solid var(--ink);
  font-size: clamp(19px, .6vw + 11px, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.38;
}
@media (max-width: 720px) {
  .checks { grid-template-columns: 1fr; row-gap: 20px; }
}

/* 무료 점검: 점검 결과 예시. 문의 폼 카드와 같은 바탕으로 문서 한 장처럼 보이게 한다 */
.report {
  max-width: 52em;
  margin-top: 48px;
  padding: clamp(22px, 2.6vw, 40px);
  border-radius: var(--r-card);
  background: var(--soft);
}
.report-label { font-size: 13px; color: var(--muted); }
.report-head {
  margin-top: 8px;
  font-size: clamp(18px, .5vw + 13px, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.report-list { margin-top: 24px; padding: 0; list-style: none; counter-reset: report; }
.report-list li {
  counter-increment: report;
  display: grid;
  grid-template-columns: 3em minmax(0, 2fr) minmax(0, 3fr);
  column-gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.report-list li::before {
  content: counter(report, decimal-leading-zero);
  padding-top: .2em;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.report-list b { font-size: 16px; font-weight: 600; line-height: 1.5; }
.report-list span { font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (max-width: 720px) {
  .report-list li { grid-template-columns: 3em minmax(0, 1fr); row-gap: 4px; }
  .report-list li::before { grid-row: span 2; }
}

/* 섹션 안 버튼 */
.sec-cta { margin-top: 40px; }

/* 해주는 일: 번호 목록 2열 */
.svc {
  margin-top: 64px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  counter-reset: svc;
}
.svc li {
  counter-increment: svc;
  display: grid;
  grid-template-columns: 3em 1fr;
  align-content: start; /* 옆 칸 설명이 두 줄이 되어 높이가 늘어도 제목·설명을 위에 붙여 둔다 */
  padding: 24px 0 28px;
  border-top: 1px solid var(--line);
}
.svc li::before {
  content: counter(svc, decimal-leading-zero);
  grid-row: span 2;
  padding-top: .45em;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.svc b { font-size: clamp(18px, .5vw + 13px, 22px); font-weight: 600; letter-spacing: -0.02em; }
.svc span { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (max-width: 720px) { .svc { grid-template-columns: 1fr; } }

.sec-first { border-top: 0; padding-top: clamp(40px, 8vh, 96px); }
.sec-first > .eyebrow { padding-top: 0; margin-bottom: 20px; }

/* 약속: 고객 걱정(왼쪽)과 답(오른쪽)을 한 줄씩 */
.qa { margin: 56px 0 0; border-top: 1px solid var(--ink); }
.qa > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  column-gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.qa dt, .qa dd {
  font-size: clamp(17px, .5vw + 13px, 21px);
  letter-spacing: -0.02em;
  line-height: 1.5;
}
.qa dt { font-weight: 500; color: var(--muted); }
.qa dd { margin: 0; font-weight: 600; }
@media (max-width: 720px) {
  .qa > div { grid-template-columns: 1fr; row-gap: 6px; }
}


/* ---------- 문의 폼 ----------
   한눈에 보이게: 넓은 화면에서는 왼쪽에 제목, 오른쪽에 폼.
   회색 바탕은 카드에도 섹션 전체에도 쓰지 않는다 (사용자 피드백, 11/14).
   바탕은 흰색 그대로 두고 폼을 테두리 선으로 감싸 본문과 나눈다. 다른 섹션도 선으로 나누므로 같은 방식이다 */

.contact-body {
  padding: clamp(24px, 3vw, 48px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}
/* 폼 테두리 안쪽 여백만큼 폼을 한 칸 넓혀서, 예산 선택지가 넓은 화면에서 한 줄에 들어가게 한다 */
.contact-head { grid-column: 1 / span 4; }
.contact-head .eyebrow { margin-bottom: 28px; padding-top: 0; }
.contact-body { grid-column: 6 / -1; }
@media (max-width: 900px) {
  .contact-head, .contact-body { grid-column: 1 / -1; }
  .contact-body { margin-top: 40px; }
}

.form { display: flex; flex-direction: column; gap: 26px; }
.form-note { margin-bottom: -10px; text-align: right; font-size: 13px; color: var(--muted); }

.label {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
}
.label em { margin-left: auto; font-size: 13px; font-weight: 400; font-style: normal; color: var(--muted); }
/* 라벨 아래 안내. 오른쪽 작은 회색 안내는 놓치기 쉬워서, 본문 색으로 라벨 바로 아래에 둔다 */
.field-help { margin: -4px 0 12px; font-size: 14px; line-height: 1.6; }
.req { color: var(--error); font-weight: 700; }

.input, .textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color .2s ease;
}
.input::placeholder, .textarea::placeholder { color: color-mix(in srgb, var(--ink) 38%, transparent); }
.input:focus, .textarea:focus { outline: none; border-color: var(--ink); }
.textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
/* 휴대폰에서는 예시 문구가 5~6줄로 늘어나서, 잘리지 않게 칸을 높인다 */
@media (max-width: 720px) { .textarea { min-height: 184px; } }

.link-row { display: flex; gap: 8px; }
.link-row .input { flex: 1; min-width: 0; }
.file {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--bg);
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
}
.file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-names { margin-top: 8px; font-size: 13px; color: var(--muted); }
.file-names:empty { display: none; }

/* 선택지. 둥근 테두리 버튼은 오래돼 보인다고 해서 바꿨다 (사용자 피드백, 11/14). 시안 패널에서 둘 중 고른다.
   A 흰 칸: 입력칸과 같은 흰 바탕·테두리·모서리라 폼이 한 덩어리로 보인다. 회색 칸에서 바꿨다 (사용자 피드백, 11/14) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 18px;
  border-radius: var(--r-input);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line); /* 테두리를 그림자로 그려서 고를 때 크기가 바뀌지 않게 한다 */
  font-size: 15px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.chip span:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.chip input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.agree { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.agree input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
/* 링크 칸 아래 '아직 만든 것이 없어요'. 동의 체크보다 약하게 둔다 */
.agree-light { margin-top: 12px; font-size: 14px; font-weight: 400; color: var(--muted); }
.terms { margin: 6px 0 0 28px; font-size: 13px; color: var(--muted); } /* 28px: 체크박스 18 + 간격 10, 글자 시작에 맞춘다 */
.terms summary { cursor: pointer; }
.terms p { margin-top: 6px; line-height: 1.7; }

.err { margin-top: 8px; font-size: 13px; color: var(--error); }
.err:empty { display: none; }
/* 스팸 봇 막기 칸: 화면 밖으로 빼서 사람에게는 안 보이게 한다 */
.hp { position: absolute; left: -9999px; }
.invalid .input, .invalid .textarea { border-color: var(--error); }
.invalid .chip span { box-shadow: inset 0 0 0 1px var(--error); }

/* 문의 섹션 왼쪽: 절차가 간단하다는 짧은 문장들 */
.facts { margin-top: 28px; padding: 0; list-style: none; }
.facts li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}
.facts li:last-child { border-bottom: 1px solid var(--line); }

.btn-main, .btn-line {
  appearance: none;
  padding: 18px 30px;
  border-radius: 999px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}
.btn-main { width: 100%; border: 0; background: var(--accent); color: var(--on-accent); }
.btn-line { border: 1px solid var(--line-strong); background: transparent; color: var(--ink); }

.done-title { font-size: clamp(26px, 1.1vw + 14px, 40px); font-weight: 700; letter-spacing: -0.03em; }
.done-text { margin: 16px 0 32px; font-size: 17px; line-height: 1.7; }

/* ---------- 로고: 글자만 (기본, 사용자 결정 11/16) ---------- */

.logo { font-size: 22px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }

/* ---------- 시연 작업물 mock 화면 ----------
   크기는 전부 em이다. 감싸는 요소의 font-size 하나로 화면 전체 크기가 정해진다.
   휴대폰 18.75em × 39.5em, 데스크톱 63em × 39.5em */

.m-phone, .m-desk {
  position: relative;
  color: #1A1A1A;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-align: left;
}
.m-phone b, .m-desk b, .m-phone strong { font-weight: 600; }
.m-phone em, .m-desk em { font-style: normal; color: #8A8A8A; }
.m-phone i, .m-desk i { display: block; }

.m-phone {
  width: 18.75em;
  height: 39.5em;
  padding: .55em;
  background: #0E0E0E;
  border-radius: 2.9em;
  box-shadow: 0 1.5em 3.5em rgba(0, 0, 0, .2);
}
.m-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 2.35em;
  overflow: hidden;
}
.m-status {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.4em;
  padding: 0 1.9em;
  font-size: .8125em;
  font-weight: 600;
}
.m-island { width: 6.4em; height: 1.9em; border-radius: 1em; background: #0E0E0E; }
.m-batt { width: 1.9em; height: .95em; border-radius: .3em; background: #1A1A1A; }
.m-top {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3em;
  padding: 0 1.3em;
  font-size: .9375em;
  font-weight: 600;
}
.m-top span { min-width: 1em; }
.m-back { font-size: 1.5em; line-height: 1; font-weight: 300; }
.m-body { flex: 1; padding: .3em 1.25em 0; overflow: hidden; }
.m-h { margin: .2em 0 .2em; font-size: 1.5em; font-weight: 700; letter-spacing: -0.03em; }
.m-label { margin: 1.5em 0 .7em; font-size: .75em; color: #8A8A8A; }

.m-dates { display: flex; gap: .4em; }
.m-dates span {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15em;
  padding: .6em 0;
  border-radius: .8em;
  background: #F4F4F2;
  font-size: .75em;
  color: #6A6A6A;
}
.m-dates b { font-size: 1.4em; color: #1A1A1A; }
.m-dates .on { background: #1A1A1A; color: #BDBDBD; }
.m-dates .on b { color: #FFFFFF; }

.m-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4em; }
.m-times span {
  padding: .65em 0;
  border: 1px solid #E6E6E3;
  border-radius: .7em;
  text-align: center;
  font-size: .8125em;
}
.m-times .on { background: #1A1A1A; border-color: #1A1A1A; color: #FFFFFF; }
.m-times .off { color: #C8C8C8; text-decoration: line-through; }

.m-list > div {
  display: flex;
  align-items: center;
  gap: .75em;
  margin-bottom: .45em;
  padding: .7em .8em;
  border: 1px solid #E6E6E3;
  border-radius: .9em;
}
.m-list .on { border-color: #1A1A1A; box-shadow: inset 0 0 0 1px #1A1A1A; }
.m-av { flex: none; width: 2.3em; height: 2.3em; border-radius: 50%; background: #E9E6E0; }
.m-list span { display: flex; flex-direction: column; font-size: .8125em; }

.m-foot { flex: none; padding: .9em 1.25em 1.5em; border-top: 1px solid #EFEFEC; }
.m-sum { display: flex; justify-content: space-between; margin-bottom: .8em; font-size: .75em; color: #6A6A6A; }
.m-sum b { color: #1A1A1A; }
.m-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.1em;
  border-radius: .9em;
  background: #1A1A1A;
  color: #FFFFFF;
  font-size: .9375em;
  font-weight: 600;
}

.m-item { display: flex; align-items: center; gap: .75em; padding: .45em 0; }
.m-item span { flex: 1; display: flex; flex-direction: column; font-size: .8125em; }
.m-item strong { font-size: .8125em; }
.m-thumb { position: relative; flex: none; width: 3.3em; height: 3.3em; border-radius: .7em; }
.m-thumb.t1 { background: #ECE6DC; }
.m-thumb.t1::after {
  content: '';
  position: absolute;
  inset: 26% 30% 22%;
  border-radius: .25em .25em .9em .9em;
  background: #FFFFFF;
  box-shadow: 0 .1em .3em rgba(0, 0, 0, .08);
}
.m-thumb.t2 { background: #DCD5C8; }
.m-thumb.t2::after {
  content: '';
  position: absolute;
  inset: 30%;
  border-radius: .2em;
  background: #C4B9A6;
}
.m-card {
  display: flex;
  flex-direction: column;
  gap: .2em;
  padding: .8em .9em;
  border-radius: .9em;
  background: #F6F6F4;
  font-size: .8125em;
}
.m-pay { display: flex; gap: .4em; }
.m-pay span {
  flex: 1;
  padding: .65em 0;
  border: 1px solid #E6E6E3;
  border-radius: .7em;
  text-align: center;
  font-size: .8125em;
}
.m-pay .on { border-color: #1A1A1A; box-shadow: inset 0 0 0 1px #1A1A1A; font-weight: 600; }
.m-rows { margin-top: 1.2em; font-size: .8125em; }
.m-rows div { display: flex; justify-content: space-between; padding: .25em 0; color: #6A6A6A; }
.m-rows .total {
  margin-top: .4em;
  padding-top: .7em;
  border-top: 1px solid #EFEFEC;
  color: #1A1A1A;
  font-size: 1.1em;
  font-weight: 700;
}

.m-desk {
  width: 63em;
  height: 39.5em;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: .75em;
  background: #FFFFFF;
  box-shadow: 0 1.5em 4em rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .06);
}
.m-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: .45em;
  height: 2.4em;
  padding: 0 1em;
  background: #F2F2F0;
  border-bottom: 1px solid #E6E6E3;
}
.m-bar i { width: .7em; height: .7em; border-radius: 50%; background: #D6D6D3; }
.m-url {
  margin: 0 auto;
  transform: translateX(-1.5em);
  padding: .3em 2.6em;
  border-radius: .5em;
  background: #FFFFFF;
  font-size: .75em;
  color: #8A8A8A;
}

.m-app { flex: 1; display: flex; min-height: 0; }
.m-side {
  flex: none;
  width: 12em;
  display: flex;
  flex-direction: column;
  gap: .2em;
  padding: 1.4em 1em;
  background: #FAFAF8;
  border-right: 1px solid #EFEFEC;
  font-size: .875em;
}
.m-side b { margin: 0 .7em 1.2em; font-size: 1.05em; font-weight: 700; }
.m-side span { padding: .55em .7em; border-radius: .5em; color: #6A6A6A; }
.m-side .on { background: #EDEDEA; color: #1A1A1A; font-weight: 600; }
.m-main { flex: 1; min-width: 0; padding: 1.6em 2em; }
.m-head { display: flex; align-items: center; gap: 1em; margin-bottom: 1.3em; }
.m-head b { margin-right: auto; font-size: 1.5em; font-weight: 700; }
.m-date { font-size: .8125em; color: #8A8A8A; }
.m-ghost {
  padding: .55em 1em;
  border: 1px solid #E1E1DE;
  border-radius: .6em;
  font-size: .8125em;
}
.m-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; margin-bottom: 1.3em; }
.m-kpis div {
  display: flex;
  flex-direction: column;
  gap: .3em;
  padding: 1em 1.1em;
  border: 1px solid #EDEDEA;
  border-radius: .8em;
}
.m-kpis em { font-size: .75em; }
.m-kpis b { font-size: 1.4em; font-weight: 700; letter-spacing: -0.02em; }
.m-table { width: 100%; border-collapse: collapse; font-size: .8125em; }
.m-table th { padding: .6em .8em; border-bottom: 1px solid #E6E6E3; text-align: left; font-weight: 500; color: #8A8A8A; }
.m-table td { padding: .7em .8em; border-bottom: 1px solid #F0F0EE; white-space: nowrap; }
.m-chip { display: inline-block; padding: .2em .65em; border-radius: 99px; font-size: .92em; }
.c-wait { background: #FBF1DC; color: #8A6110; }
.c-done { background: #E5F2E8; color: #2C6B3B; }
.c-pay { background: #EFEFEC; color: #6A6A6A; }

.m-land { flex: 1; display: flex; flex-direction: column; padding: 0 3.2em; }
.m-land nav { display: flex; align-items: center; gap: 2em; height: 4.4em; font-size: .875em; color: #6A6A6A; }
.m-land nav b { margin-right: auto; color: #1A1A1A; font-size: 1.25em; font-weight: 800; letter-spacing: -0.03em; }
.m-pill { padding: .5em 1.1em; border-radius: 99px; background: #1A1A1A; color: #FFFFFF; }
.m-hero2 {
  flex: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3em;
  align-items: center;
  padding-bottom: 2.4em;
}
.m-copy em { font-size: .8125em; }
.m-copy h4 { margin: .45em 0 .5em; font-size: 3.4em; font-weight: 700; line-height: 1.12; letter-spacing: -0.04em; }
.m-copy p { max-width: 24em; font-size: .9375em; line-height: 1.6; color: #5A5A5A; }
.m-row { display: flex; gap: .6em; margin-top: 1.8em; }
.m-row .m-btn { height: 3.2em; padding: 0 1.6em; font-size: .875em; }
.m-row .m-ghost { display: flex; align-items: center; padding: 0 1.4em; font-size: .875em; }
.m-form {
  display: flex;
  flex-direction: column;
  gap: .75em;
  padding: 1.8em;
  border-radius: 1.2em;
  background: #F4F3EF;
}
.m-form > b { margin-bottom: .3em; font-size: 1.1em; }
.m-form label { display: flex; flex-direction: column; gap: .4em; font-size: .75em; color: #8A8A8A; }
.m-form label span {
  padding: .85em 1em;
  border: 1px solid #E6E6E3;
  border-radius: .7em;
  background: #FFFFFF;
  font-size: 1.15em;
  color: #1A1A1A;
}
.m-form .m-btn { height: 3.2em; margin-top: .3em; font-size: .875em; }
.m-form > em { font-size: .75em; text-align: center; }

/* ---------- 개인정보처리방침 ---------- */

.policy { max-width: 40em; margin-top: 48px; font-size: 15px; line-height: 1.8; }
.policy h2 { margin-top: 40px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.policy p, .policy ul { margin-top: 10px; }
.policy ul { padding-left: 1.2em; }

/* ---------- 맨 아래: 로고와 개인정보처리방침 한 줄 ---------- */

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.foot a { color: var(--muted); }
