@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.min.css");
/* 원칙과 정책 — 공용 셸 스타일 (목록 + 상세) */
:root {
  --paper: #f7f6f3; --surface: #ffffff; --ink: #14181f; --ink-soft: #4c5560;
  --ink-faint: #8b939e; --line: #e5e8ec; --line-strong: #d4d9df;
  --accent: #00ba64; --accent-soft: #e3f7ec; --frame-bg: #edebe6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14171c; --surface: #1b1f26; --ink: #e9ebee; --ink-soft: #aab2bc;
    --ink-faint: #6d7580; --line: #2a2f38; --line-strong: #363c47;
    --accent: #00ba64; --accent-soft: #103322; --frame-bg: #0e1013;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--frame-bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.stage { max-width: 430px; margin: 0 auto; min-height: 100vh; }
@media (min-width: 700px) {
  .stage {
    margin: 32px auto 48px; border-radius: 24px; overflow: clip;
    box-shadow: 0 24px 64px rgba(10, 20, 40, .18), 0 0 0 1px var(--line);
  }
}
.app { background: var(--surface); min-height: 100vh; display: flex; flex-direction: column; }
.app > main { flex: 1; }

.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 6px;
  padding: 10px 12px;
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.icon-btn {
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: none; display: grid; place-items: center;
  color: var(--ink-soft); cursor: pointer; padding: 0; flex-shrink: 0;
}
.icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.topbar-title { flex: 1; text-align: center; font-size: 14.5px; font-weight: 700; }
.topbar-spacer { width: 36px; flex-shrink: 0; }

/* ── 목록 페이지 ── */
.list-head { padding: 26px 20px 4px; }
.list-head h1 { margin: 0 0 6px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.list-head p { margin: 0; font-size: 13px; color: var(--ink-faint); line-height: 1.6; }

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 18px 20px 10px;
}
.policy-card {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 16px 15px 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, background-color .15s ease;
}
.policy-card:active { background: var(--paper); }
.policy-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.policy-card .pc-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.policy-card h2 {
  margin: 0; font-size: 14.5px; font-weight: 800; letter-spacing: -.01em;
  border: 0; padding: 0; word-break: keep-all;
}
.policy-card p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--ink-faint); word-break: keep-all; }
.policy-card .pc-go { margin-top: auto; padding-top: 8px; font-size: 12px; font-weight: 700; color: var(--accent); }

.policy-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 4px 20px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  text-decoration: none; color: inherit;
}
.policy-row:active { background: var(--paper); }
.policy-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.policy-row .pr-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.policy-row b { font-size: 13.5px; font-weight: 700; color: var(--ink); word-break: keep-all; }
.policy-row small { font-size: 12px; color: var(--ink-faint); word-break: keep-all; }
.policy-row .chev { color: var(--ink-faint); flex-shrink: 0; }

/* ── 상세 페이지 ── */
section { padding: 28px 20px 14px; }
h2.sec-title {
  margin: 0 0 6px;
  font-size: 19px; font-weight: 800; letter-spacing: -.01em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}
.sec-sub { margin: 10px 0 18px; font-size: 13px; color: var(--ink-faint); line-height: 1.6; }
h3 { margin: 24px 0 8px; font-size: 15px; font-weight: 800; letter-spacing: -.01em; word-break: keep-all; }
h3 span { color: var(--accent); margin-right: 6px; }
p, li { font-size: 14.5px; line-height: 1.74; color: var(--ink-soft); word-break: keep-all; }
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding-left: 18px; }
li { margin-bottom: 6px; }
p b, li b { color: var(--ink); }
.callout {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
  margin: 14px 0;
  font-size: 13.5px; line-height: 1.7; color: var(--ink-soft);
}
.callout b { color: var(--ink); }
.callout a { color: var(--accent); text-decoration: none; }
.effective { margin: 16px 0 8px; font-size: 12px; color: var(--ink-faint); }

/* 상세 하단: 다른 정책 바로가기 */
.more-policies {
  margin: 20px 20px 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.more-policies .mp-label { font-size: 12px; font-weight: 700; color: var(--ink-faint); margin-bottom: 10px; }
.more-policies a {
  display: inline-block;
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 6px 12px;
  margin: 0 6px 8px 0;
}
.more-policies a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.app-footer {
  border-top: 8px solid var(--frame-bg);
  padding: 24px 20px 34px;
  font-size: 11.5px; line-height: 1.7; color: var(--ink-faint);
}
.app-footer a { color: var(--accent); text-decoration: none; }

/* 회사소개 하위 메뉴 칩 (about-*.html 공용) */
.policy-nav {
  position: sticky; top: 57px; z-index: 25;
  display: flex; gap: 8px;
  overflow-x: auto;
  padding: 12px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.policy-nav::-webkit-scrollbar { display: none; }
.policy-nav a {
  flex-shrink: 0;
  font-size: 13px; font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 7px 14px;
  white-space: nowrap;
}
.policy-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 연혁 타임라인 (about-history.html) */
.tl-year {
  font-size: 15px; font-weight: 800;
  color: var(--accent);
  margin: 20px 0 2px;
  font-variant-numeric: tabular-nums;
}
.tl-year:first-of-type { margin-top: 4px; }
.tl-items { list-style: none; margin: 0; padding: 0; }
.tl-items li {
  display: flex; gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.55;
  color: var(--ink-soft);
  word-break: keep-all;
}
.tl-items li:last-child { border-bottom: 0; }
.tl-date {
  flex-shrink: 0; width: 34px;
  color: var(--ink-faint);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
}
.tl-items b { color: var(--ink); }
