/* 인사이트(/blog/) 읽기 표면. 랜딩(index.html 인라인 스타일)의 토큰과 헤더·푸터 모양을 그대로 따른다. */
@font-face {
  font-family: Pretendard;
  src: local("Pretendard"), local("Apple SD Gothic Neo"), local("Noto Sans KR"), local("Malgun Gothic");
  font-display: swap;
}

:root {
  --carbon: #0d1114;
  --ink: #172027;
  --muted: #637078;
  --steel: #aab4bb;
  --paper: #f4f6f5;
  --white: #ffffff;
  --line: #d4dadd;
  --signal: #7cb7ae;
  --signal-dark: #215a58;
  --max: 1240px;
  --read: 720px;
  --gutter: clamp(20px, 5vw, 84px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.035em;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.06em; word-break: keep-all; text-wrap: balance; }
p, li { word-break: keep-all; }
::selection { background: var(--signal); color: var(--carbon); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 5px; }

.skip-link { position: fixed; z-index: 20; top: -80px; left: 20px; padding: 10px 14px; color: var(--carbon); background: var(--signal); transition: top .2s ease; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  min-height: 76px;
  padding-inline: var(--gutter);
  color: var(--white);
  background: var(--carbon);
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}
.wordmark { flex: 0 0 auto; width: 142px; }
.wordmark svg { width: 100%; height: auto; overflow: visible; }
.wordmark .wheel { filter: brightness(1.3); }
.blog-nav { display: flex; margin-left: auto; }
.blog-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #b9c4ca; font-size: 14px; white-space: nowrap; transition: color .25s ease; }
.blog-nav a:hover, .blog-nav a[aria-current="page"] { color: var(--white); }
.header-cta { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; min-height: 44px; color: var(--signal); font-size: 14px; font-weight: 700; white-space: nowrap; transition: color .25s ease; }
.header-cta:hover { color: var(--white); }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; line-height: 1.3; letter-spacing: 0.08em; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal-dark); box-shadow: 0 0 0 4px rgb(33 90 88 / 12%); }

.blog-main { padding-block: clamp(56px, 8vw, 104px) clamp(72px, 10vw, 128px); }
.read { width: min(100% - (var(--gutter) * 2), var(--read)); margin-inline: auto; }

/* 목록 */
.blog-index h1 { margin-top: 22px; font-size: clamp(40px, 5vw, 64px); font-weight: 740; }
.blog-index .lead { margin-top: 18px; color: var(--muted); font-size: 18px; }
.post-list { margin-top: clamp(40px, 6vw, 64px); padding: 0; list-style: none; border-top: 1px solid var(--line); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: block; padding-block: 30px; }
.post-list .meta { color: var(--muted); font-size: 13px; }
.post-list h2 { margin-top: 10px; font-size: clamp(23px, 2.4vw, 30px); font-weight: 700; transition: color .25s ease; }
.post-list p { margin-top: 10px; color: #3d4a52; font-size: 16px; }
.post-list .more { display: inline-block; margin-top: 14px; color: var(--signal-dark); font-size: 14px; font-weight: 700; }
.post-list a:hover h2 { color: var(--signal-dark); }

/* 기사 */
.back { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; }
.back:hover { color: var(--ink); }
.post-header { margin-top: 18px; padding-bottom: clamp(32px, 5vw, 48px); border-bottom: 1px solid var(--line); }
.post-header h1 { margin-top: 20px; font-size: clamp(34px, 4.4vw, 54px); font-weight: 740; }
.post-header .lead { margin-top: 20px; color: #3d4a52; font-size: 18px; line-height: 1.75; }
.post-body { margin-top: clamp(32px, 5vw, 48px); font-size: 18px; line-height: 1.85; }
.post-body h2 { margin-top: 52px; font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; }
.post-body p { margin-top: 20px; }
.post-body h2 + p { margin-top: 18px; }
.post-sources { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.75; }
.post-sources h2 { color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -0.03em; }
.post-sources ul { margin-top: 12px; padding-left: 18px; }
.post-sources li + li { margin-top: 6px; }
.post-sources a { color: var(--signal-dark); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

.post-cta { margin-top: clamp(56px, 8vw, 88px); padding: clamp(28px, 4vw, 44px); color: var(--white); background: var(--carbon); }
.post-cta h2 { font-size: clamp(23px, 2.4vw, 30px); font-weight: 700; }
.post-cta p { margin-top: 12px; color: #9aa7ad; font-size: 16px; }
/* Same finish as the landing CTA: a mint plate with a lit top edge and an arrow stub cell. */
.post-cta .button { display: inline-flex; align-items: center; gap: 0; min-height: 54px; margin-top: 26px; padding: 0 0 0 20px; color: var(--carbon); background: linear-gradient(180deg, #93c9c0, var(--signal) 52%, #6da89f); border: 1px solid #5e978e; box-shadow: inset 0 1px 0 rgb(255 255 255 / 42%), inset 0 -1px 0 rgb(13 17 20 / 16%), 0 14px 28px -18px rgb(4 10 12 / 90%); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; transition: transform .25s var(--ease), background .25s ease; }
.post-cta .button > [aria-hidden="true"] { display: grid; place-items: center; align-self: stretch; width: 52px; margin-left: 20px; border-left: 1px solid rgb(13 17 20 / 16%); box-shadow: inset 1px 0 0 rgb(255 255 255 / 22%); transition: background .25s ease, color .25s ease; }
.post-cta .button:hover { transform: translateY(-1px); background: linear-gradient(180deg, #a6d6cd, #8cc6bc 52%, #79b3aa); }
.post-cta .button:hover > [aria-hidden="true"] { background: var(--carbon); color: var(--signal); }
.post-cta .mail { margin-top: 16px; font-size: 14px; }
.post-cta .mail a { color: #b8dbd5; text-decoration: underline; text-underline-offset: 3px; }

.site-footer { padding-block: 48px 28px; text-align: center; color: #53636c; background: var(--paper); border-top: 1px solid var(--line); font-size: 13px; }
.footer-info { display: grid; gap: 6px; max-width: 600px; margin-inline: auto; line-height: 1.8; }
.footer-info p { text-wrap: balance; }
.footer-info a, .footer-info span { display: inline-block; }
.footer-operator { text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-copyright { margin-top: 16px; font-size: 12px; }

@media (max-width: 640px) {
  .site-header { gap: 16px; min-height: 64px; }
  .wordmark { width: 116px; }
  .header-cta .arrow { display: none; }
  .post-body { font-size: 17px; line-height: 1.8; }
  .post-header .lead, .blog-index .lead { font-size: 17px; }
  .post-cta .button { width: 100%; justify-content: space-between; }
  .site-footer { padding-block: 36px 24px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .post-cta .button, .post-cta .button:hover { transition: none; transform: none; }
}
