/* 미니다스 소개 페이지 — EzOMS 소개 페이지와 같은 톤: 흰 바탕, 짙은 남색 글자, 가는 선. 장식보다 내용. */
:root {
  color-scheme: light;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --ink: #1c2230;
  --ink-2: #353c4b;
  --ink-3: #4a5263;
  --ink-4: #8a91a0;
  --paper: #ffffff;
  --mist: #f3f2ef;
  --proof: #eef0f2;
  --rule: #d9dce1;
  --hair: #e6e8eb;
  --blue: #1f4fa3;
  --green: #2f7a4a;
  --amber: #a5661b;
  --red: #b4322f;
  --gutter: clamp(16px, 4vw, 48px);
  --wide: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.65; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(var(--wide), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; padding: 12px 20px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.skip-link:focus { left: 0; }

/* ---------- 머리말 ---------- */
.nav {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 4px;
  height: 64px; padding: 0 max(var(--gutter), (100% - var(--wide)) / 2);
  background: #fff; border-bottom: 1px solid var(--hair);
}
.logo { display: flex; align-items: center; gap: 9px; margin-right: auto; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.logo img { width: 26px; height: 26px; border-radius: 5px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 6px 12px; color: var(--ink-3); font-size: 14px; }
.nav-links a:hover { color: var(--ink); }
.nav-login { margin-left: 12px; padding: 7px 4px; color: var(--ink-3); font-size: 14px; }
.nav-login:hover { color: var(--ink); }
.nav-cta { margin-left: 10px; padding: 7px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-cta:hover { background: #000; }
.burger { display: none; position: relative; width: 40px; height: 40px; margin-left: 8px; border: 0; background: none; cursor: pointer; }
.burger span { position: absolute; left: 11px; width: 18px; height: 1.5px; background: var(--ink); transition: transform .2s, top .2s; }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
body.menu-open .burger span:first-child { top: 19px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 19px; transform: rotate(-45deg); }
.sheet { position: fixed; inset: 64px 0 0; z-index: 25; display: none; flex-direction: column; padding: 8px var(--gutter) 40px; background: #fff; }
.sheet a { padding: 16px 0; border-bottom: 1px solid var(--hair); font-size: 18px; font-weight: 600; }
body.menu-open .sheet { display: flex; }

/* ---------- 글자 ---------- */
.eyebrow { display: block; margin-bottom: 14px; color: var(--ink-4); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.display { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.18; font-weight: 750; letter-spacing: -.035em; }
.h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.25; font-weight: 750; letter-spacing: -.03em; }
.lede { margin-top: 18px; max-width: 34em; color: var(--ink-3); font-size: 17px; line-height: 1.75; }

/* ---------- 버튼 ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 15px; font-weight: 600; }
.pill-dark { background: var(--ink); color: #fff; }
.pill-dark:hover { background: #000; border-color: #000; }
.pill-light { background: #fff; color: var(--ink); }
.pill-light:hover { background: var(--mist); }
.note-s { margin-top: 12px; color: var(--ink-4); font-size: 13px; }

/* ---------- 섹션 ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section + .section { border-top: 1px solid var(--hair); }
.section.mist { background: var(--mist); border-top: 0; }
.section.mist + .section { border-top: 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }

/* ---------- 첫 화면: 사진 위에 글 ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(520px, 62vh, 640px); background: #e9e4dc url("/assets/img/hero.webp") center right / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(236 232 225 / 92%) 0%, rgb(236 232 225 / 70%) 38%, rgb(236 232 225 / 0%) 62%); }
.hero .wrap { position: relative; padding: 64px 0; }
.hero-text { max-width: 30em; }
.hero .lede { color: #3d4454; }
.hero-photo { display: none; }
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; background-image: none; background-color: #ece8e1; }
  .hero::before { display: none; }
  .hero .wrap { padding: 48px 0 28px; }
  .hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 70% center; }
}

/* ---------- 숫자 ---------- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); }
.figure { padding: 22px 20px 4px 0; }
.figure strong { display: block; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.figure strong small { margin-left: 2px; font-size: .5em; font-weight: 600; color: var(--ink-3); }
.figure span { display: block; margin-top: 8px; color: var(--ink-3); font-size: 14px; line-height: 1.55; }

/* ---------- 본문 2단: 견본 + 설명 목록 ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.split.rev > :first-child { order: 2; }
.split:has(> .media) { align-items: stretch; }
figure.media { margin: 0; }
.media { display: flex; flex-direction: column; }
.proof { padding: clamp(20px, 3vw, 36px); border-radius: 4px; background: var(--proof); }
.media .proof { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.photo { width: 100%; height: auto; border-radius: 4px; background: var(--mist); }
.media .photo { flex: 1; height: 0; min-height: 340px; object-fit: cover; }
.photo-cap { margin-top: 10px; color: var(--ink-4); font-size: 13px; }
.points { margin-top: 32px; border-top: 1.5px solid var(--ink); }
.points > div { padding: 22px 0 24px; border-bottom: 1px solid var(--hair); }
.points h3 { font-size: 18px; font-weight: 700; }
.points p { margin-top: 8px; max-width: 30em; color: var(--ink-3); font-size: 15.5px; line-height: 1.75; }
.points b.n { display: inline-block; min-width: 28px; color: var(--ink-4); font-weight: 600; font-variant-numeric: tabular-nums; }

/* DAS 화면 견본 (실제 화면을 단순하게 옮긴 격자) */
.das-sample { background: #fff; border-radius: 3px; box-shadow: 0 1px 2px rgb(28 34 48 / 8%); overflow: hidden; font-size: 13px; font-variant-numeric: tabular-nums; }
.das-sample .bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 11px 14px; border-bottom: 1px solid var(--hair); color: var(--ink-4); font-size: 12.5px; }
.das-sample .bar b { margin-right: auto; color: var(--ink); font-size: 13.5px; }
.das-sample .bar .on { color: var(--ink); font-weight: 600; }
.das-scan { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--hair); background: #f6f8fb; font-size: 12.5px; color: var(--ink-3); }
.das-scan b { color: var(--blue); font-weight: 700; }
.das-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px; }
.cell { min-width: 0; padding: 9px 10px 10px; border: 1px solid var(--hair); border-radius: 3px; }
.cell small { display: block; color: var(--ink-4); font-size: 11px; }
.cell b { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.cell .meter { height: 3px; margin-top: 8px; border-radius: 2px; background: var(--hair); overflow: hidden; }
.cell .meter i { display: block; height: 100%; background: var(--ink-4); }
.cell.hit { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: #f6f8fb; }
.cell.hit small { color: var(--blue); font-weight: 600; }
.cell.hit .meter i { background: var(--blue); }
.cell.done { background: var(--mist); }
.cell.done b { color: var(--ink-4); }
.cell.done .meter i { background: var(--green); }
.cell.empty { border-style: dashed; }

.tag { display: inline-block; padding: 1px 7px; border: 1px solid currentColor; border-radius: 3px; font-size: 11.5px; font-weight: 600; line-height: 18px; color: var(--ink-3); }
.tag.blue { color: var(--blue); } .tag.green { color: var(--green); }

/* ---------- 비교표 (화면 모드) ---------- */
.cmp { width: 100%; border-collapse: collapse; border-top: 1.5px solid var(--ink); font-size: 15px; }
.cmp th, .cmp td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.cmp thead th { font-size: 17px; font-weight: 700; }
.cmp thead th small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--ink-4); }
.cmp tbody th { width: 22%; color: var(--ink-4); font-size: 14px; font-weight: 600; }
.cmp td { color: var(--ink-2); }

/* ---------- 요금 요약 ---------- */
.price-table { width: 100%; border-collapse: collapse; border-top: 1.5px solid var(--ink); font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.price-table th { font-size: 17px; font-weight: 700; white-space: nowrap; }
.price-table td { color: var(--ink-3); font-size: 15px; }
.price-table td.won { padding-right: 0; color: var(--ink); font-weight: 700; white-space: nowrap; text-align: right; }

/* ---------- 함께 쓰는 서비스 ---------- */
.family { border-top: 1.5px solid var(--ink); }
.family a, .family div.me { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.family a:hover h3 { border-bottom: 1.5px solid var(--ink); }
.family h3 { justify-self: start; font-size: 17px; font-weight: 700; }
.family h3 small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--ink-4); }
.family p { color: var(--ink-3); font-size: 15px; line-height: 1.7; }
.family .url { color: var(--ink-4); font-size: 13.5px; white-space: nowrap; }
.family a .url { color: var(--ink); font-weight: 600; }
.family-note { margin-top: 18px; color: var(--ink-4); font-size: 13px; }

/* ---------- 질문 ---------- */
.faq { max-width: 820px; border-top: 1.5px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: 22px; color: var(--ink-4); }
.faq-item[open] summary::after { content: '−'; }
.faq-q { font-weight: 600; font-size: 16.5px; letter-spacing: -.01em; }
.faq-item p { margin: 0 0 22px; max-width: 46em; line-height: 1.8; color: var(--ink-3); }

/* ---------- 마지막 안내 / 꼬리말 ---------- */
.final { background: var(--mist); }
.final .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.final .btns { margin-top: 0; }
.foot { padding: 36px 0 calc(48px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); color: var(--ink-4); font-size: 13px; }
.foot a:hover, .foot button:hover { color: var(--ink); }
.foot button { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; cursor: pointer; }
.foot-biz { display: grid; gap: 10px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--ink-3); }
.foot-biz p { line-height: 1.75; }

/* ---------- 약관 창 ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: 16px; background: rgb(28 34 48 / 55%); }
.modal.open { display: flex; }
.modal-panel { display: flex; flex-direction: column; width: 100%; max-width: 680px; max-height: 80vh; border-radius: 6px; background: #fff; box-shadow: 0 20px 60px rgb(0 0 0 / 20%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--hair); }
.modal-head h2 { font-size: 18px; font-weight: 700; }
.modal-x { width: 36px; height: 36px; border: 0; border-radius: 99px; background: none; font-size: 22px; line-height: 1; color: var(--ink-4); cursor: pointer; }
.modal-x:hover { background: var(--mist); color: var(--ink); }
.modal-body { padding: 8px 24px 28px; overflow-y: auto; overscroll-behavior: contain; color: var(--ink-3); font-size: 14.5px; line-height: 1.8; }
.modal-body h3 { margin: 20px 0 4px; font-size: 15px; font-weight: 700; color: var(--ink); }

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
  .figures { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split.rev > :first-child { order: 0; }
  .media .photo { flex: none; height: auto; min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 767px) {
  .nav { height: 56px; }
  .sheet { inset: 56px 0 0; }
  .nav-links, .nav-login { display: none; }
  .nav-cta { padding: 6px 14px; font-size: 13.5px; }
  .burger { display: block; }
  .btns .pill { flex: 1 1 auto; }
  .das-grid { grid-template-columns: repeat(2, 1fr); }
  .hide-m { display: none; }
  .cmp tbody th { width: auto; }
  .cmp th, .cmp td { padding-right: 10px; font-size: 14px; }
  .family a, .family div.me { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; }
}
.logo-mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 5px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
