/* ============================================================
   Suumt Insights — STEEL design tokens 일관 (랜딩 톤 유지)
   ============================================================ */

:root {
  --bg-page: #1C1E22;
  --steel-ink: #14171B;
  --steel-base: #1F252B;
  --hairline: rgba(255,255,255,0.06);
  --hairline-2: rgba(255,255,255,0.12);
  --text-1: #F4F5F6;
  --text-2: #C3C7CC;
  --text-3: #8A8F95;
  --accent-gold: #F5A623;
  --accent-mint: #DDE6DC;
  --accent-celadon: #7FB59C;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-page);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }
button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; }

/* ============================================================
   Site nav (랜딩 hero__nav 와 일관)
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 30, 34, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.site-nav__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-1);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.site-nav__brand-sep { color: var(--text-3); }
.site-nav__brand-role { color: var(--text-2); font-weight: 500; }
.site-nav__links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.site-nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 200ms var(--ease);
}
.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  color: var(--text-1);
}
@media (max-width: 640px) {
  .site-nav__inner { padding: 14px 20px; }
  .site-nav__brand-role { display: none; }
  .site-nav__links { gap: 16px; }
  .site-nav__links a { font-size: 13px; }
}

/* ============================================================
   Insights hero
   ============================================================ */
.insights-hero {
  padding: 80px 24px 48px;
  border-bottom: 1px solid var(--hairline);
}
.insights-hero__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.insights-hero__eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-3);
  text-transform: none;
  margin-bottom: 16px;
}
.insights-hero__title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-1);
  margin-bottom: 20px;
  line-height: 1.2;
}
.insights-hero__lede {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.6;
}
@media (min-width: 769px) {
  .insights-hero { padding: 120px 24px 64px; }
  .insights-hero__title { font-size: 56px; line-height: 1.1; }
  .insights-hero__lede { font-size: 19px; }
}

/* ============================================================
   List 페이지
   ============================================================ */
.insights-list {
  padding: 48px 24px 80px;
}
.insights-list__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.category-filter ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.category-pill {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  color: var(--text-3);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.category-pill:hover { color: var(--text-2); }
.category-pill--active {
  background: var(--text-1);
  color: var(--steel-ink);
  font-weight: 600;
}

.post-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (min-width: 1024px) {
  .post-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.post-card { list-style: none; }
.post-card__link {
  display: block;
  text-decoration: none;
  color: var(--text-1);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(28, 30, 34, 0.7);
  border: 1px solid var(--hairline);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.post-card__link:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-2);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.5);
}
.post-card__cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--steel-base) 0%, var(--steel-ink) 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card__cover-placeholder {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-3);
  text-transform: uppercase;
}
.post-card__body { padding: 20px 22px 22px; }
.post-card__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-celadon);
  margin-bottom: 10px;
}
.post-card__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.35;
  color: var(--text-1);
  margin-bottom: 10px;
}
.post-card__desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__meta {
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.post-grid__empty {
  text-align: center;
  color: var(--text-3);
  padding: 48px 0;
}

/* ============================================================
   Insights CTA
   ============================================================ */
.insights-cta {
  padding: 64px 24px 96px;
  text-align: center;
  border-top: 1px solid var(--hairline);
}
.insights-cta__inner { max-width: 600px; margin: 0 auto; }
.insights-cta__h {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-1);
  margin-bottom: 12px;
  line-height: 1.3;
}
.insights-cta__sub {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 28px;
  line-height: 1.55;
}
@media (min-width: 769px) {
  .insights-cta__h { font-size: 36px; }
}

/* ============================================================
   .cta (랜딩과 일관) — 단순 inline copy
   ============================================================ */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 56px;
  padding: 0 24px;
  background: rgba(28, 30, 34, 0.7);
  border: 1px solid var(--hairline-2);
  border-radius: 14px;
  color: var(--text-1);
  text-decoration: none;
  transition:
    border-color 220ms var(--ease),
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease);
  width: max-content;
  max-width: 100%;
}
.cta--lg { height: 56px; }
.cta__icon { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta__icon svg { width: 100%; height: 100%; display: block; }
.cta__body { display: flex; align-items: center; }
.cta__primary { font-size: 16px; font-weight: 600; letter-spacing: -0.012em; color: var(--text-1); }
.cta:hover {
  border-color: var(--accent-gold);
  transform: translateY(-1px);
  background: rgba(38, 40, 44, 0.78);
  box-shadow: 0 8px 20px -6px rgba(245, 166, 35, 0.18);
}
.cta:active { transform: translateY(0) scale(0.985); }
@media (prefers-reduced-motion: reduce) {
  .cta, .cta:hover, .cta:active { transform: none; transition: none; }
}

/* ============================================================
   Single post 페이지
   ============================================================ */
.post {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.post__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 32px;
}
.post__breadcrumb a {
  color: var(--text-3);
  text-decoration: none;
}
.post__breadcrumb a:hover { color: var(--text-2); }
.post__breadcrumb-current { color: var(--text-2); }

.post__header { margin-bottom: 40px; }
.post__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-celadon);
  margin-bottom: 14px;
}
.post__title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-1);
  line-height: 1.25;
  margin-bottom: 16px;
}
.post__lede {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 20px;
}
.post__meta {
  font-size: 13px;
  color: var(--text-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
@media (min-width: 769px) {
  .post__title { font-size: 44px; line-height: 1.2; }
  .post__lede { font-size: 19px; }
}

/* Body — Markdown 본문 */
.post__body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-2);
}
.post__body h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--text-1);
  margin: 56px 0 16px;
  line-height: 1.3;
}
.post__body h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--text-1);
  margin: 40px 0 12px;
  line-height: 1.35;
}
.post__body p { margin-bottom: 20px; }
.post__body ul,
.post__body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}
.post__body li { margin-bottom: 8px; }
.post__body strong { color: var(--text-1); font-weight: 600; }
.post__body em { font-style: italic; color: var(--text-1); }
.post__body a {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.post__body blockquote {
  margin: 32px 0;
  padding: 16px 20px;
  border-left: 2px solid var(--accent-gold);
  background: rgba(255,255,255,0.03);
  color: var(--text-2);
  font-style: italic;
}
.post__body code {
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'SF Mono', Monaco, monospace;
}
.post__body hr {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 40px 0;
}

/* FAQ */
.post__faq {
  margin: 56px 0;
  padding: 32px;
  background: rgba(28, 30, 34, 0.5);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
}
.post__faq h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-1);
  letter-spacing: -0.02em;
}
.post__faq dt {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  margin-top: 20px;
  line-height: 1.4;
}
.post__faq dt:first-of-type { margin-top: 0; }
.post__faq dd {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
  margin: 8px 0 16px;
}

/* CTA in post */
.post__cta {
  margin: 56px 0;
  padding: 40px 32px;
  text-align: center;
  background: rgba(28, 30, 34, 0.7);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
}
.post__cta-h {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.022em;
  color: var(--text-1);
  margin-bottom: 8px;
  line-height: 1.35;
}
.post__cta-sub {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 24px;
}

/* Related */
.post__related {
  margin: 56px 0;
}
.post__related h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-3);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.post__related ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .post__related ul { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
.post__related a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: rgba(28, 30, 34, 0.5);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--text-1);
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.post__related a:hover {
  border-color: var(--hairline-2);
  background: rgba(38, 40, 44, 0.6);
}
.post__related-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-celadon);
}
.post__related-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--text-1);
  line-height: 1.4;
}

/* Disclaimer */
.post__disclaimer {
  margin-top: 56px;
  padding: 16px 20px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}
.post__disclaimer p { margin: 0; }

/* ============================================================
   Site footer (랜딩 일관)
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 24px;
  text-align: center;
  background: var(--steel-ink);
}
.site-footer__brand {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.site-footer__tag {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 24px;
}
.site-footer__nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
.site-footer__nav a {
  font-size: 12px;
  color: var(--text-3);
  text-decoration: none;
}
.site-footer__nav a:hover { color: var(--text-2); }
.site-footer__copy {
  font-size: 11px;
  color: var(--text-3);
}
