/* 답장 소개 사이트 — 외부 요청·스크립트 없음. 글꼴은 /fonts 의 부분 집합(OFL)만 쓴다. */

@font-face {
  font-family: "Dapjang Sans";
  src: url("fonts/dapjang-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Dapjang Sans";
  src: url("fonts/dapjang-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Dapjang Sans";
  src: url("fonts/dapjang-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Dapjang Serif";
  src: url("fonts/dapjang-serif-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f7f7f4;
  --surface: #ffffff;
  --sunk: #f0f0eb;
  --bubble: #ebeae4;
  --paper: #f6f4ec;
  --paper-line: #e0dccd;
  --paper-fold: #e6e2d4;
  --ink: #17202b;
  --ink-2: #3f4753;
  --muted: #5f6672;
  --line: #e1e0da;
  --line-strong: #c9c7bf;
  --accent: #1e3a5f;
  --accent-ink: #ffffff;
  --accent-soft: #eaeef3;
  --accent-line: #cdd5e0;
  --mark-bg: #fff0b3;
  --mark-line: #c99700;
  --mark-ink: #3d2c00;
  --ok-bg: #e4f0e9;
  --ok-line: #bfd9ca;
  --done: #2c6a4c;
  --next: #8a9099;
  --star: #a67c00;

  --sans: "Dapjang Sans", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --serif: "Dapjang Serif", "AppleMyungjo", "Noto Serif KR", "Nanum Myeongjo", serif;
  --ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", "Noto Sans JP", sans-serif;
  --zh: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;

  --gutter: 20px;
  --radius: 8px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

/* 한국어는 어절 단위 줄바꿈, 일본어·중국어는 글자 단위 줄바꿈을 유지한다. */
:lang(ko) { word-break: keep-all; }
:lang(en) { word-break: normal; }
:lang(ja) { font-family: var(--ja); word-break: normal; line-break: strict; }
:lang(zh-Hans) { font-family: var(--zh); word-break: normal; line-break: strict; }

h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.serif {
  font-family: var(--serif);
  font-weight: 600;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  z-index: 20;
}
.skip:focus { top: 12px; }

[id] { scroll-margin-top: 24px; }

/* ── 상단 내비게이션 ─────────────────────────── */
.top {
  position: relative;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.top__in {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-right: auto;
  text-decoration: none;
}
.brand__ko { font-size: 1.375rem; letter-spacing: -0.01em; line-height: 1; }
.brand__en { font-size: 0.875rem; color: var(--muted); letter-spacing: 0.02em; }

.nav { display: none; }
.nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

/* 좁은 화면 메뉴: details로 펼침(스크립트 없음) */
.menu { position: relative; }
.menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--ink-2); }
.menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 220px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
}
.menu__panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 0.9375rem;
  text-decoration: none;
}
.menu__panel a:hover { background: var(--sunk); }
.menu__panel a[aria-current="page"] { font-weight: 600; background: var(--accent-soft); color: var(--accent); }

/* ── 버튼(메일 링크·페이지 이동만) ───────────────── */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 0.875rem; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #162c49; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink-2); }
.btn--light { background: var(--surface); color: var(--accent); }
.btn--light:hover { background: var(--accent-soft); }

.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}

/* ── 공통 구역 ─────────────────────────────── */
.sec {
  border-top: 1px solid var(--line);
  padding: 56px 0;
}
.sec--first { border-top: 0; }
.sec--sunk { background: var(--sunk); }
.sec__head { margin-bottom: 28px; }
.sec__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
}
.eyebrow {
  margin-bottom: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.sec__title {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

/* 페이지 머리(하위 페이지) */
.page-head {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--line);
}
.page-head__title {
  font-size: clamp(1.875rem, 1.1rem + 2.8vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.page-head__lead {
  margin-top: 14px;
  max-width: 36em;
  font-size: 1.0625rem;
  color: var(--ink-2);
}
.page-head .legend { margin-top: 12px; }
.page-head--404 { border-bottom: 0; padding: 72px 0 96px; }

.sample-note {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── 홈 첫 화면 ─────────────────────────────── */
.hero { padding: 40px 0 56px; }
.target {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent);
  line-height: 1.4;
}
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.4;
}
.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--done);
  flex: none;
}
.hero__title {
  margin-top: 18px;
  font-size: clamp(1.75rem, 0.95rem + 3.4vw, 3.125rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.hero__title .line { display: block; }
.hero__title .line--accent { color: var(--accent); }
.hero__lead {
  margin-top: 18px;
  max-width: 30em;
  font-size: 1.0625rem;
  color: var(--ink-2);
}

/* 남색 면 패널 안의 '답장 작업함' 샘플 화면 — 누를 수 없는 그림(role=img), 창 두 장을 겹친다. */
.panel { margin-top: 40px; }
.panel__stage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding: 16px 14px 18px;
  border-radius: 18px;
  background: var(--accent);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}
.panel__cap {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
}
.win {
  grid-row: 1;
  align-self: start;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
  font-size: 0.75rem;
  line-height: 1.5;
}
.win--back { grid-column: 1 / 12; }
/* 앞 창은 뒤 창 아래쪽을 덮는다. 그림자 대신 패널 색 테두리로 두 창을 떼어 보인다. */
.win--front {
  grid-column: 2 / 13;
  margin-top: 178px;
  outline: 5px solid var(--accent);
}
.win__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  background: var(--sunk);
}
.win__dots { display: flex; gap: 5px; flex: none; }
.win__dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}
.win__title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-2);
}

.inbox__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 8px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  border-left: 3px solid transparent;
}
.inbox__row:first-child { border-top: 0; }
.inbox__row.is-on { background: var(--accent-soft); border-left-color: var(--accent); }
.inbox__meta { display: flex; align-items: center; gap: 6px; min-width: 0; }
.inbox__time { font-size: 0.6875rem; color: var(--muted); white-space: nowrap; }
.inbox__kind { font-size: 0.6875rem; font-weight: 600; color: var(--muted); }
.inbox__snip {
  grid-column: 1 / -1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink-2);
}
.stars { color: var(--star); font-size: 0.6875rem; letter-spacing: 1px; white-space: nowrap; }

.reply { display: grid; gap: 10px; padding: 12px; }
.reply__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
}
.reply__guest {
  padding: 8px 10px;
  border-radius: 9px 9px 9px 3px;
  background: var(--bubble);
  color: var(--ink-2);
}
.reply__text {
  padding: 8px 10px;
  border: 1.5px solid var(--accent);
  border-radius: 9px 9px 3px 9px;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tool {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.tool--main { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.reply .facts li { font-size: 0.75rem; padding-left: 20px; }
.reply .facts li::before { width: 11px; height: 11px; }
/* 확인을 마친 사실은 체크 표시 */
.facts li.is-done::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.5em;
  width: 4px;
  height: 7px;
  border-right: 1.5px solid var(--mark-ink);
  border-bottom: 1.5px solid var(--mark-ink);
  transform: rotate(45deg);
}
.facts li.is-done { color: var(--muted); }

/* 칩 */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--ink-2);
  white-space: nowrap;
}
.chip--lang { letter-spacing: 0.04em; }
.chip--lang.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip--warn { background: var(--mark-bg); border-color: #e7cd6d; color: var(--mark-ink); }
.chip--ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--done); }
.chip--grey { background: var(--sunk); color: var(--muted); }

/* ── 줄 목록(문제·하지 않는 일) ─────────────────── */
.rows li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 1.0625rem;
}
.rows li:last-child { border-bottom: 1px solid var(--line); }

/* ── 기능 카드(홈)와 기능 상세(기능 페이지) ─────────── */
.cards { display: grid; gap: 12px; }
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.card .frag { border-bottom: 1px solid var(--line); min-height: 148px; }
.card__title { padding: 16px 16px 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.card__text { padding: 6px 16px 18px; font-size: 0.9375rem; color: var(--ink-2); }

/* UI 조각: 장식 아이콘 대신 실제 화면 요소를 작게 보여 준다(누를 수 없음). */
.frag {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: var(--sunk);
  font-size: 0.8125rem;
  line-height: 1.55;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}
.frag__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.frag__reply {
  padding: 9px 12px;
  border: 1.5px solid var(--accent);
  border-radius: 10px 10px 3px 10px;
  background: var(--surface);
  color: var(--ink);
}
.frag__trans {
  padding: 0 4px;
  color: var(--ink-2);
}
.frag__tlabel {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
}
.frag__line { font-size: 0.875rem; }
.frag .facts li, .frag .memo li { font-size: 0.8125rem; }
.frag__memo { padding: 12px 14px; }
.frag__memo::before { border-color: var(--paper-fold) var(--sunk); }

.feat {
  display: grid;
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.feat:first-child { border-top: 0; padding-top: 0; }
.feat__title {
  margin-bottom: 10px;
  font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.feat__text p + p { margin-top: 6px; }
.feat__text p:not(.eyebrow) { font-size: 1.0625rem; color: var(--ink-2); }
.feat__fig .frag {
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.875rem;
}

/* ── 비교표: 넓은 화면은 표, 좁은 화면은 행마다 카드 ─────── */
.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.6;
}
.cmp th, .cmp td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}
.cmp thead th, .cmp thead td {
  border-top: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}
.cmp thead th.cmp__us { color: var(--accent); }
.cmp tbody th {
  width: 8.5em;
  padding-left: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}
.cmp td { color: var(--ink-2); }
.cmp .cmp__us { background: var(--accent-soft); color: var(--ink); }
.cmp tbody tr:last-child > * { border-bottom: 1px solid var(--line); }

@media (max-width: 719.98px) {
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; }
  .cmp thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .cmp tbody tr {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
  }
  .cmp tbody tr + tr { margin-top: 10px; }
  .cmp tbody th {
    width: auto;
    padding: 12px 14px 10px;
    border-top: 0;
    font-size: 1rem;
  }
  .cmp td { padding: 10px 14px 12px; }
  .cmp td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--muted);
  }
  .cmp td.cmp__us::before { color: var(--accent); }
  .cmp tbody tr:last-child > * { border-bottom: 0; }
}

/* ── 진행 3단계 ─────────────────────────────── */
.steps { display: grid; gap: 12px; align-items: start; }
.step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 1rem;
}
.step__n {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.9375rem;
  font-weight: 700;
}
.step__body { display: grid; gap: 12px; align-content: start; }
.step strong { font-weight: 600; color: var(--accent); }

/* 고르는 방법 설명 그림: 버튼 모양이지만 누를 수 없는 그림이다(button·링크 아님). */
.choices {
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
}
.choices__list { display: flex; flex-wrap: wrap; gap: 6px; }
.choice {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}
.choices__cap {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ── 샘플 카드 ─────────────────────────────── */
.legend {
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.legend .chk { margin-right: 4px; }

mark.chk {
  background: var(--mark-bg);
  color: var(--mark-ink);
  border-bottom: 2px solid var(--mark-line);
  padding: 0 0.2em;
  border-radius: 2px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9375em;
  word-break: keep-all;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.ex-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ex-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.ex-nav a:hover { border-color: var(--ink-2); }
.ex-nav__n {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
}

.ex {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.ex-nav + .ex, .ex + .ex { margin-top: 20px; }
.ex__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.ex__head h2, .ex__head h3 {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}
.ex__tag {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 1px 8px;
  white-space: nowrap;
}
.ex__body { padding: 16px; display: grid; gap: 22px; }

/* 대화형 말풍선: 손님 글은 회색, 답장은 잉크색 테두리. 그림자 없이 선과 바탕색만 쓴다. */
.chat { display: grid; gap: 14px; }
.msg__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
}
.msg__lang {
  font-weight: 400;
  padding-left: 8px;
  border-left: 1px solid var(--line-strong);
}
.bubble { padding: 12px 16px; border-radius: 14px; }
.bubble--guest {
  background: var(--bubble);
  color: var(--ink-2);
  border-bottom-left-radius: 4px;
}
.bubble--reply {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--accent);
  border-bottom-right-radius: 4px;
}
.msg--guest { max-width: 92%; }
.msg--reply { max-width: 92%; margin-left: auto; }
.trans {
  margin-top: 10px;
  padding: 0 4px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.trans__label {
  margin-bottom: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.notes { display: grid; gap: 12px; }
.note { position: relative; padding: 14px 16px; }
.note__label {
  margin-bottom: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}
.note--facts {
  border: 1px solid var(--line);
  border-radius: 6px;
}
/* 개선 메모는 메모지 모양: 옅은 종이색 + 접힌 귀퉁이 */
.note--memo {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 2px;
}
.note--memo::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  border-style: solid;
  border-width: 0 18px 18px 0;
  border-color: var(--paper-fold) var(--surface);
}

.facts li, .memo li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9375rem;
}
.facts li + li, .memo li + li { margin-top: 6px; }
/* 먼저 확인할 사실: 빈 네모(체크박스 모양) */
.facts li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.42em;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--mark-line);
  border-radius: 2px;
  background: var(--surface);
}
.facts--none li { color: var(--muted); }
.facts--none li::before { border-color: var(--line-strong); }
.memo li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.82em;
  width: 10px;
  height: 1.5px;
  background: var(--ink-2);
}

/* ── 요금 카드 형태의 이용 안내 ─────────────────── */
.sec--pilot { background: var(--accent-soft); border-top-color: #d6dde7; }
.plans { display: grid; gap: 12px; align-items: start; }
.plan {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  background: var(--surface);
}
/* 추천 플랜: 진한 테두리와 꼬리표만으로 구분한다(할인·한정 같은 표시 없음). */
.plan--pick { border: 1.5px solid var(--accent); }
.plan__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
}
.plan__tag {
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.6;
}
.plan__price {
  margin-top: 6px;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.plan__per { font-size: 1rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.plan__list {
  margin: 16px 0 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.plan__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plan__btn { margin-top: auto; align-self: flex-start; }
.plans--short .plan__list { margin-bottom: 0; }
.plans--short .plan__btn { margin-top: 18px; }
.plans__note {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.plans__note + .plans__note { margin-top: 4px; }


.pilot > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.pilot > div:last-child { border-bottom: 1px solid var(--line); }
.pilot dt {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2px;
}
.pilot dd { font-size: 1.0625rem; }

.how__lead { font-weight: 600; margin-bottom: 10px; }
.how { display: grid; gap: 8px; }
.how li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  font-size: 1.0625rem;
}
.how__n {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
}
.how__mail { margin-top: 14px; font-size: 0.9375rem; color: var(--ink-2); }

/* ── 자주 묻는 질문(details: 스크립트 없이 접고 펼침) ───── */
.faq-wrap { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 1em;
  text-align: center;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--accent);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 32px 20px 0;
  max-width: 40em;
  color: var(--ink-2);
}

/* ── 회사 소개 ─────────────────────────────── */
.about__why {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  line-height: 1.6;
}
.principles { display: grid; gap: 12px; }
.principle {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.principle__title { font-size: 1.0625rem; font-weight: 600; margin-bottom: 6px; }
.principle p { font-size: 0.9375rem; color: var(--ink-2); }

.info dd a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }

/* 개인정보 처리 안내: 문안 그대로, 꾸미지 않는다 */
.doc { max-width: 46em; }
.doc li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}
.doc li:last-child { border-bottom: 1px solid var(--line); }

/* ── 마지막 신청 띠 ─────────────────────────── */
.cta {
  padding: 56px 0;
  background: var(--accent);
  color: var(--accent-ink);
}
.cta__title {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.375rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.cta__act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 24px;
}
.cta__mail a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.cta a:focus-visible, .cta .btn:focus-visible { outline-color: var(--accent-ink); }

/* ── 하단 ─────────────────────────────────── */
.foot {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  font-size: 0.875rem;
  color: var(--muted);
}
.foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 18px;
}
.foot__nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.foot__nav a:hover, .foot__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
/* 사업자 정보는 항목 안에서 줄을 바꾸지 않는다(등록번호가 하이픈에서 끊기지 않게). */
.foot__biz .nw { white-space: nowrap; }
.foot__en {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 46em;
  line-height: 1.65;
}
.foot__label {
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 4px;
}

/* ── 넓은 화면 ─────────────────────────────── */
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .hero { padding: 64px 0 88px; }
  .hero__lead { font-size: 1.1875rem; margin-top: 24px; }
  .actions { margin-top: 32px; gap: 12px; }
  .panel { margin-top: 48px; max-width: 620px; }
  .panel__stage { padding: 28px 24px 30px; border-radius: 24px; }
  .win { font-size: 0.8125rem; }
  .win--back { grid-column: 1 / 11; }
  .win--front { grid-column: 3 / 13; margin-top: 150px; }
  .sec { padding: 88px 0; }
  .sec--first { padding-top: 56px; }
  .page-head { padding: 72px 0 48px; }
  .ex-nav { grid-template-columns: repeat(4, 1fr); }
  .ex__head { padding: 16px 24px; }
  .ex__body { padding: 24px; gap: 24px; }
  .chat {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 28px;
    align-items: start;
  }
  .chat .msg--guest, .chat .msg--reply { max-width: none; }
  .chat .msg--reply { margin-top: 40px; }
  .notes { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feat {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 48px;
    align-items: center;
    padding: 48px 0;
  }
  .pilot > div {
    display: grid;
    grid-template-columns: 8.5em 1fr;
    gap: 16px;
    padding: 18px 0;
  }
  .pilot dt { margin: 0; padding-top: 2px; }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .cta { padding: 80px 0; }
}

@media (min-width: 960px) {
  .nav { display: flex; gap: 24px; margin-right: 12px; }
  .menu { display: none; }
}

@media (min-width: 1000px) {
  .hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
  }
  .hero__title { font-size: clamp(2.375rem, 0.4rem + 3.2vw, 3rem); }
  .panel { margin-top: 0; max-width: none; }
  .sec__grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 48px;
    align-items: start;
  }
  .sec__grid > .sec__head { margin-bottom: 0; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .rows li { font-size: 1.125rem; }
  .cta__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }
  .cta__act { margin-top: 0; flex: none; }
}

@media print {
  .top__cta, .menu, .actions, .ex-nav, .skip, .cta__act { display: none; }
  .sec--sunk, .sec--pilot, .cta { background: none; color: var(--ink); }
}
