@charset "utf-8";
/* 케어팀플 웹 프로토타입 — 공통 스타일 */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --ink: #16211F;
  --ink-2: #33443F;
  --body: #40534E;
  --muted: #6B7B76;
  --line: #E2E8E4;
  --line-soft: #EDF1ED;
  --bg: #FCFDFC;
  --bg-soft: #F5F8F5;
  --cream: #FBF7EE;
  --cream-2: #FBF3E4;
  --amber: #8A6A3A;
  --teal-900: #0E2E2A;
  --teal-800: #123B38;
  --teal-700: #17554E;
  --teal-600: #0E7C6B;
  --teal-500: #3B9C8B;
  --teal-50: #E7F3F0;
  --violet: #5B4A7E;
  --violet-50: #F1EDF8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 40, 36, .04), 0 8px 24px -12px rgba(16, 40, 36, .18);
  --shadow-lg: 0 2px 4px rgba(16, 40, 36, .04), 0 24px 48px -24px rgba(16, 40, 36, .28);
  --wrap: 1120px;
  --read: 720px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.84; }
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.32;
  letter-spacing: -0.025em;
  margin: 0;
  font-weight: 700;
}

p { margin: 0; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { max-width: 100%; }
strong { color: var(--ink); font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: 3px;
  border-radius: 4px;
}

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

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-800);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- 헤더 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 253, 252, .97);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--teal-800);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.brand-mark svg { width: 16px; height: 16px; display: block; }

.brand small {
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-left: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
}
.nav a:hover { background: var(--bg-soft); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--teal-700); background: var(--teal-50); }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 720px) {
  .brand small { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 16px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 12px 14px; font-size: 16px; }
}

/* ---------- 버튼 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--teal-800); color: #fff; }
.btn-primary:hover { background: var(--teal-700); }

.btn-ghost {
  background: #fff;
  color: var(--teal-800);
  border-color: rgba(18, 59, 56, .18);
}
.btn-ghost:hover { border-color: var(--teal-600); }

/* ---------- 히어로 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% 0%, #EAF4EF 0%, rgba(234, 244, 239, 0) 58%),
    linear-gradient(180deg, #FDFEFD 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 56px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 92px;
}

@media (max-width: 940px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 56px;
    padding-bottom: 66px;
  }
}

/* 페이지 본문 여백 (가로 여백은 .wrap 이 담당) */
.page-body { padding-top: 56px; padding-bottom: 80px; }
@media (max-width: 640px) {
  .page-body { padding-top: 36px; padding-bottom: 60px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-700);
  background: #fff;
  border: 1px solid rgba(14, 124, 107, .18);
  border-radius: 999px;
  padding: 6px 14px;
  letter-spacing: -0.01em;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-600);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.28;
  letter-spacing: -0.035em;
  color: var(--teal-900);
  font-weight: 700;
}
.hero h1 .accent {
  background: linear-gradient(transparent 62%, rgba(14, 124, 107, .16) 62%);
}

.hero-lead {
  margin-top: 20px;
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--ink-2);
  font-weight: 500;
  max-width: 30em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note svg { flex: 0 0 auto; }

/* 폰 목업 */
.phone {
  position: relative;
  width: min(320px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 10px solid #10221F;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.phone-top {
  background: var(--teal-800);
  color: #fff;
  padding: 26px 20px 18px;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  opacity: .7;
  letter-spacing: .02em;
  margin-bottom: 16px;
}

.phone-title { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.phone-meta { font-size: 12px; opacity: .78; margin-top: 6px; }

.phone-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, .16);
  border-radius: 6px;
  padding: 4px 9px;
}

.phone-body { padding: 16px 16px 24px; background: #F7FAF8; }

.pcard {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px 13px;
  margin-bottom: 9px;
}
.pcard-label { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .01em; }
.pcard-main { font-size: 14px; color: var(--ink); font-weight: 600; margin-top: 3px; }
.pcard-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

.pcard.warn { background: #FDF3F0; border-color: #F3DCD4; }
.pcard.warn .pcard-main { color: #8A3D28; }

.pbar {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.pbar span {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--teal-600);
  border-radius: 9px;
  padding: 10px 6px;
}
.pbar span.alt { background: #fff; color: var(--teal-700); border: 1px solid rgba(14, 124, 107, .3); }

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

.section { padding: 98px 0; }
.section.tint { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section.cream { background: var(--cream); border-top: 1px solid #F0E9DA; border-bottom: 1px solid #F0E9DA; }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
}

.section-head { max-width: 46em; }
.section-head .kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--teal-600);
  text-transform: uppercase;
}
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.035em;
}
.section-head p {
  margin-top: 16px;
  color: var(--body);
}

/* ---------- 4축 카드 ---------- */

.axes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}
@media (max-width: 760px) {
  .axes { grid-template-columns: 1fr; }
}
@media (min-width: 761px) {
  .axes { grid-auto-rows: 1fr; }
}

.axis {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px 36px;
  transition: box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}
.axis:hover {
  box-shadow: var(--shadow);
  border-color: rgba(14, 124, 107, .28);
  transform: translateY(-2px);
}

.axis-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.axis h3 {
  margin-top: 22px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.axis p { margin-top: 14px; font-size: 15.5px; color: var(--body); }

/* ---------- 글 카드 ---------- */

.feed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-top: 44px;
  align-items: start;
}
@media (max-width: 900px) {
  .feed { grid-template-columns: 1fr; }
}

.post-card {
  display: block;
  max-width: 46em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 36px;
  color: inherit;
  transition: box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}
.post-card:hover {
  text-decoration: none;
  box-shadow: var(--shadow);
  border-color: rgba(14, 124, 107, .28);
  transform: translateY(-2px);
}
.post-card .cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-700);
  background: var(--teal-50);
  border-radius: 6px;
  padding: 4px 10px;
  letter-spacing: -0.01em;
}
.post-card h3 {
  margin-top: 18px;
  font-size: clamp(20px, 2.2vw, 25px);
  letter-spacing: -0.03em;
}
.post-card p {
  margin-top: 14px;
  color: var(--body);
  font-size: 15.5px;
}
.post-card .meta {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.post-card .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }

.side-card {
  background: var(--cream-2);
  border: 1px solid #F0E5CE;
  border-radius: var(--radius);
  padding: 26px;
}
.side-card h3 { font-size: 16px; letter-spacing: -0.02em; }
.side-card p { margin-top: 8px; font-size: 14.5px; color: #6B5A3E; }
.side-card .chips { margin-top: 16px; }

/* ---------- 칩 ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal-800);
  background: #fff;
  border: 1px solid rgba(18, 59, 56, .14);
  border-radius: 999px;
  padding: 9px 16px;
  transition: border-color .14s ease, background .14s ease;
}
.chip:hover {
  text-decoration: none;
  border-color: var(--teal-600);
  background: var(--teal-50);
}
.chip span.arrow { color: var(--teal-500); font-size: 12px; }

/* ---------- 안심 섹션 ---------- */

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 46px;
}
@media (max-width: 860px) {
  .trust { grid-template-columns: 1fr; }
}

.trust-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 28px 26px;
}
.trust-item h3 {
  font-size: 16px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.trust-item h3 svg { flex: 0 0 auto; color: var(--teal-600); }
.trust-item p { margin-top: 12px; font-size: 14.5px; color: var(--body); }

/* ---------- 블로그 목록 ---------- */

.page-head {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #FDFEFD, var(--bg));
}
.page-head h1 {
  font-size: clamp(28px, 3.8vw, 42px);
  letter-spacing: -0.04em;
}
.page-head p { margin-top: 14px; max-width: 40em; color: var(--body); }

.post-list {
  display: grid;
  gap: 18px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.post-row {
  display: grid;
  /* 카드 내부 여백은 그대로 두고, 링크 전체를 누를 수 있게 유지 */
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  color: inherit;
}
.post-row:hover {
  text-decoration: none;
  border-color: rgba(14, 124, 107, .28);
  box-shadow: var(--shadow);
}
@media (max-width: 640px) {
  .post-row { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
}

.post-row .date {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}
.post-row h2, .post-row h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
}
.post-row p { margin-top: 8px; font-size: 15px; color: var(--body); }
.post-row .tags { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.post-row .tags span {
  font-size: 12.5px;
  color: var(--teal-700);
  background: var(--teal-50);
  border-radius: 6px;
  padding: 3px 9px;
}

.post-row.coming { background: var(--bg-soft); border-style: dashed; }
.post-row.coming:hover { box-shadow: none; border-color: var(--line); }
.post-row.coming .date { color: var(--muted); }

/* ---------- 글 본문 ---------- */

.article-head {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--line-soft);
}
.breadcrumb {
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal-700); }
.breadcrumb .sep { color: #C3CDC8; }

.article-head h1 {
  margin-top: 20px;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.34;
  letter-spacing: -0.04em;
  max-width: 22em;
}
.article-meta {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.article-meta .pill {
  background: var(--teal-50);
  color: var(--teal-700);
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 600;
  font-size: 13px;
}

.article {
  max-width: calc(var(--read) + 48px);
  margin: 0 auto;
  padding-top: 44px;
  padding-bottom: 80px;
}
@media (max-width: 640px) {
  .article { padding-top: 30px; padding-bottom: 56px; }
}

.article > * + * { margin-top: 22px; }
.article h2 {
  margin-top: 56px;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.035em;
  padding-top: 8px;
}
.article h3 {
  margin-top: 36px;
  font-size: 19.5px;
  letter-spacing: -0.03em;
}
.article p { color: var(--ink-2); }
.article ul, .article ol { margin: 18px 0 0; padding-left: 20px; }
.article li { margin-top: 8px; color: var(--ink-2); }
.article li::marker { color: var(--teal-500); }

.lead {
  font-size: 19px;
  line-height: 1.72;
  color: var(--ink) !important;
  font-weight: 500;
}
@media (max-width: 640px) {
  .lead { font-size: 17.5px; }
}

.tldr {
  background: var(--teal-50);
  border: 1px solid rgba(14, 124, 107, .16);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-top: 26px;
}
.tldr b {
  display: block;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--teal-700);
  margin-bottom: 10px;
}
.tldr p { font-size: 16px; color: var(--ink-2); }
.tldr p + p { margin-top: 8px; }

.service-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal-600);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 20px;
  margin-top: 26px;
  font-size: 15px;
  color: var(--body);
}
.service-line b { color: var(--ink); }

.toc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin-top: 34px;
}
.toc b {
  display: block;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 10px;
}
.toc ol {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  display: grid;
  gap: 4px;
}
.toc li { margin: 0; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--teal-700); }

/* 표 */
.table-wrap {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: auto;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 560px;
}
caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  padding: 14px 18px 0;
}
th, td {
  text-align: left;
  padding: 14px 18px;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
thead th {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
tbody tr:last-child td { border-bottom: 0; }
td b { color: var(--ink); }
td .small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }

/* 모바일에서는 표를 카드 목록으로 */
@media (max-width: 640px) {
  .table-wrap {
    border: 0;
    background: transparent;
    overflow: visible;
    margin-top: 20px;
  }
  table { min-width: 0; display: block; }
  caption { display: block; padding: 0 0 10px; font-size: 12.5px; }
  thead { display: none; }
  tbody { display: block; }
  tbody tr {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 6px 0;
    margin-bottom: 10px;
  }
  tbody tr:last-child { margin-bottom: 0; }
  tbody td {
    display: block;
    border: 0;
    padding: 9px 16px;
    font-size: 14.5px;
    line-height: 1.6;
  }
  tbody td::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
  }
  tbody td[data-label="알고 싶은 것"],
  tbody td[data-label="구분"] {
    display: block;
    border-bottom: 1px solid var(--line-soft);
    padding-bottom: 10px;
    margin-bottom: 4px;
    padding-top: 13px;
  }
  tbody td[data-label="알고 싶은 것"]::before,
  tbody td[data-label="구분"]::before { content: none; }
  tbody td[data-label="알고 싶은 것"] b,
  tbody td[data-label="구분"] b { font-size: 15.5px; }
}

/* 체크리스트 */
.checklist {
  margin-top: 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.checklist li {
  position: relative;
  padding: 14px 18px 14px 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-2);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 19px;
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--teal-500);
  border-radius: 4px;
}

/* 그대로 쓰는 말 */
.script {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px 16px;
}
.script .who {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--teal-700);
  letter-spacing: -0.01em;
}
.script .say {
  margin-top: 8px;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.7;
}
.script .why {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.copy-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
.copy-btn {
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--teal-700);
  background: var(--teal-50);
  border: 1px solid rgba(14, 124, 107, .16);
  border-radius: 7px;
  padding: 5px 12px;
  cursor: pointer;
}
.copy-btn:hover { background: #DCEFEA; }
.copy-btn[data-done="true"] { color: #fff; background: var(--teal-600); border-color: var(--teal-600); }

/* 본문 속 용어 링크 */
.term {
  border-bottom: 1.5px solid rgba(14, 124, 107, .35);
  font-weight: 600;
  color: var(--teal-800);
}
.term::after {
  content: "↗";
  font-size: 11px;
  vertical-align: super;
  margin-left: 1px;
  color: var(--teal-500);
}
.term:hover { text-decoration: none; border-bottom-color: var(--teal-600); }

/* 주의 박스 */
.note {
  background: var(--cream-2);
  border: 1px solid #F0E5CE;
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-top: 26px;
}
.note b { display: block; color: #7A5C2E; font-size: 14px; margin-bottom: 6px; }
.note p { font-size: 14.5px; color: #6B5A3E; }

/* 출처 */
.sources {
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.sources h2 {
  margin-top: 0 !important;
  font-size: 18px !important;
}
.sources .checked {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}
.sources ol {
  margin-top: 16px;
  padding-left: 20px;
  font-size: 14.5px;
}
.sources li { margin-top: 10px; color: var(--body); }
.sources a { word-break: break-all; }
.sources .site {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.next-read {
  margin-top: 54px;
  display: grid;
  gap: 12px;
  padding: 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.next-read b { font-size: 13px; color: var(--muted); letter-spacing: .03em; }

.disclaimer {
  margin-top: 34px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- 용어사전 ---------- */

.word-grid {
  display: grid;
  gap: 18px;
  margin-top: 44px;
}

.word {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  scroll-margin-top: 96px;
}
@media (max-width: 640px) {
  .word { padding: 24px 22px; }
}

.word-head {
  display: flex;
  gap: 14px;
  align-items: baseline;
  flex-wrap: wrap;
}
.word-no {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-600);
  letter-spacing: .06em;
}
.word h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  letter-spacing: -0.035em;
}
.word .en {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.word .plain {
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--ink-2);
}
.word .plain b { color: var(--ink); }

.word .detail { margin-top: 14px; font-size: 15.5px; }

.word .facts {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}
.word .facts div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  font-size: 14.5px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
}
.word .facts dt, .word .facts .k { color: var(--muted); font-weight: 600; font-size: 13.5px; }
.word .facts .v { color: var(--ink-2); }

.ask {
  margin-top: 22px;
  background: var(--teal-50);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.ask b {
  display: block;
  font-size: 12.5px;
  letter-spacing: .03em;
  color: var(--teal-700);
  margin-bottom: 10px;
}
.ask ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.ask li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  color: var(--ink-2);
}
.ask li::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--teal-500);
  font-weight: 700;
}

.word .src {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 짧은 안내 (푸터) ---------- */

.footer-note {
  margin-top: 34px;
}

.footer-note p {
  max-width: 52em;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .62);
}
.footer-note p + p { margin-top: 2px; }

@media (max-width: 640px) {
  .footer-note p { font-size: 13px; }
}

/* ---------- 푸터 ---------- */

.site-footer {
  background: var(--teal-900);
  color: rgba(255, 255, 255, .72);
  padding: 60px 0 46px;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: rgba(255, 255, 255, .14); }
.site-footer p { font-size: 14px; line-height: 1.75; }
.site-footer .tagline { margin-top: 14px; max-width: 30em; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-content: start;
  justify-content: flex-end;
}
@media (max-width: 760px) {
  .footer-links { justify-content: flex-start; }
}
.footer-links a { color: rgba(255, 255, 255, .8); font-size: 14.5px; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* 인쇄 */
@media print {
  .site-header, .site-footer, .hero-actions, .copy-row { display: none; }
  body { font-size: 11pt; }
}
