:root {
  --bg: #0a0a12;
  --surface: #12121e;
  --surface2: #1a1a2e;
  --border: rgba(255,255,255,0.07);
  --accent: #f5c842;
  --accent2: #e8453c;
  --text: #f0eee8;
  --text-muted: rgba(240,238,232,0.45);
  --text-dim: rgba(240,238,232,0.25);
  --hot: #ef7c3a;
  --cold: #5b8cee;
  --green: #3ecf8e;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans KR', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* — 배경 패턴 — */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(245,200,66,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(91,140,238,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.page { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }

/* — 헤더 — */
.hero { text-align: center; margin-bottom: 3rem; }
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-title {
  font-family: 'Black Han Sans', sans-serif;
  font-size: clamp(36px, 8vw, 60px);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* — 스탯 카드 — */
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 2.5rem; }
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}
.stat-val { font-family: 'Black Han Sans', sans-serif; font-size: 22px; color: var(--accent); }
.stat-lbl { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

/* — 섹션 헤더 — */
.sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sec-head h2 { font-size: 13px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; }
.sec-head::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* — 히트맵 — */
.heatmap-wrap { margin-bottom: 2.5rem; }
.heatmap { display: grid; grid-template-columns: repeat(9, minmax(0,1fr)); gap: 6px; }
.hcell {
  aspect-ratio: 1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  cursor: default;
  border: 1px solid transparent;
  transition: transform 0.15s, border-color 0.15s;
  position: relative;
}
.hcell:hover { transform: scale(1.15); z-index: 2; }
.hcell:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}
.freq-vlow { background: rgba(232,69,60,0.15); color: #e8453c; }
.freq-low  { background: rgba(232,69,60,0.28); color: #f07066; }
.freq-mid  { background: rgba(245,200,66,0.18); color: #f5c842; }
.freq-high { background: rgba(91,140,238,0.22); color: #7ca8f5; }
.freq-vhigh{ background: rgba(62,207,142,0.22); color: #3ecf8e; }

.legend-row { display: flex; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-muted); }
.ldot { width: 10px; height: 10px; border-radius: 3px; }

/* — HOT/COLD — */
.hotcold { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 2.5rem; }
.hc-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.hc-title { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.hc-title.hot { color: var(--hot); }
.hc-title.cold { color: var(--cold); }
.ball-row { display: flex; flex-wrap: wrap; gap: 7px; }
.ball {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.ball.hot { background: rgba(239,124,58,0.18); color: var(--hot); border: 1px solid rgba(239,124,58,0.35); }
.ball.cold { background: rgba(91,140,238,0.18); color: var(--cold); border: 1px solid rgba(91,140,238,0.35); }

/* — 바 차트 — */
.bar-section { margin-bottom: 2.5rem; }
.bar-list { display: flex; flex-direction: column; gap: 5px; }
.bar-item { display: flex; align-items: center; gap: 10px; }
.bn { font-size: 12px; font-weight: 700; min-width: 26px; text-align: right; color: var(--text); }
.btrack { flex: 1; height: 16px; background: rgba(255,255,255,0.05); border-radius: 4px; overflow: hidden; }
.bfill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--cold), var(--green)); transition: width 0.8s cubic-bezier(.16,1,.3,1); }
.bcnt { font-size: 11px; color: var(--text-muted); min-width: 32px; }

/* — 생성 버튼 — */
.btn-wrap { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 2rem; }
.gen-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #0a0a12;
  border: none;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: 'Black Han Sans', sans-serif;
  font-size: 17px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 30px rgba(245,200,66,0.25);
}
.gen-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 40px rgba(245,200,66,0.4); }
.gen-btn:active { transform: scale(0.97); }
.hot-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--hot);
  border: 2px solid var(--hot);
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Black Han Sans', sans-serif;
  font-size: 17px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  box-shadow: 0 0 20px rgba(239,124,58,0.15);
}
.hot-btn:hover { transform: translateY(-2px); background: rgba(239,124,58,0.1); box-shadow: 0 6px 30px rgba(239,124,58,0.35); }
.hot-btn:active { transform: scale(0.97); }
.btn-icon { font-size: 20px; }

/* — 결과 — */
.results { display: flex; flex-direction: column; gap: 10px; }
.result-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.4s cubic-bezier(.16,1,.3,1) backwards;
}
@keyframes slideIn {
  from { opacity:0; transform: translateY(12px); }
  to   { opacity:1; transform: translateY(0); }
}
.rlabel { font-size: 11px; color: var(--text-muted); min-width: 34px; }
.rballs { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.rball {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  border: 1.5px solid transparent;
}

.rball.r1  { background: rgba(255,196,0,0.15); color: #ffc400; border-color: rgba(255,196,0,0.3); }
.rball.r2  { background: rgba(91,140,238,0.15); color: #5b8cee; border-color: rgba(91,140,238,0.3); }
.rball.r3  { background: rgba(232,69,60,0.15); color: #e8453c; border-color: rgba(232,69,60,0.3); }
.rball.r4  { background: rgba(62,207,142,0.15); color: #3ecf8e; border-color: rgba(62,207,142,0.3); }
.rball.r5  { background: rgba(180,130,255,0.15); color: #c08aff; border-color: rgba(180,130,255,0.3); }
.rball.r6  { background: rgba(239,124,58,0.15); color: #ef7c3a; border-color: rgba(239,124,58,0.3); }

.rscore {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
  min-width: 70px;
}
.rscore span { display: block; color: var(--accent); font-weight: 700; font-size: 14px; }

@media (max-width: 480px) {
  .hotcold { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(3,1fr); }
  .heatmap { grid-template-columns: repeat(9,1fr); gap: 4px; }
  .hcell { font-size: 10px; border-radius: 5px; }
  .rball { width: 34px; height: 34px; font-size: 11px; }
}

/* ─────────────────────────────────────────────────────
   콘텐츠 섹션 (이 도구 소개 / FAQ / 기타 본문)
   ───────────────────────────────────────────────────── */
.content-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
  margin-bottom: 1.5rem;
}
.content-section p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.content-section p:last-child { margin-bottom: 0; }
.content-section ul, .content-section ol {
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
  margin: 6px 0 14px;
}
.content-section li { margin-bottom: 6px; }
.content-section strong { color: var(--text); }
.content-section a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(245,200,66,0.35);
  text-underline-offset: 3px;
}
.content-section a:hover { text-decoration-color: var(--accent); }
.content-section code {
  background: var(--surface2);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--accent);
}

/* ─── FAQ 아코디언 ─── */
.faq-item {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 8px;
  transition: background 0.15s;
}
.faq-item[open] { background: rgba(245,200,66,0.04); border-color: rgba(245,200,66,0.18); }
.faq-item summary {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
  outline: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}
.faq-item a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(245,200,66,0.35);
}
.faq-item code {
  background: rgba(0,0,0,0.3);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--accent);
}

/* ─── 면책 카드 ─── */
.disclaimer-card {
  background: rgba(232,69,60,0.06);
  border: 1px solid rgba(232,69,60,0.22);
  border-radius: 16px;
  padding: 24px 22px;
  margin-bottom: 1.5rem;
}
.disclaimer-card .sec-head h2 { color: #f07066; }
.disclaimer-card .sec-head::after { background: rgba(232,69,60,0.2); }
.disclaimer-card p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(240,238,232,0.72);
  margin-bottom: 10px;
}
.disclaimer-card p:last-child { margin-bottom: 0; }
.disclaimer-card strong { color: var(--accent); }
.disclaimer-card a { color: #f07066; text-decoration: underline; }

/* ─── 푸터 ─── */
.site-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
  letter-spacing: 0.02em;
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.6;
  padding: 0 1rem;
}

/* ─────────────────────────────────────────────────────
   서브페이지 (privacy.html / about.html)
   ───────────────────────────────────────────────────── */
.subpage {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}
.subpage-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 26px;
  transition: color 0.15s;
  letter-spacing: 0.03em;
}
.subpage-nav:hover { color: var(--accent); }

.subpage h1 {
  font-family: 'Black Han Sans', sans-serif;
  font-size: clamp(32px, 6vw, 44px);
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.subpage .subpage-meta {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.subpage h2 {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 42px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(245,200,66,0.18);
}
.subpage h2:first-of-type { margin-top: 20px; }
.subpage p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.subpage p strong { color: var(--text); }
.subpage ul, .subpage ol {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  padding-left: 24px;
  margin: 4px 0 16px;
}
.subpage li { margin-bottom: 6px; }
.subpage li strong { color: var(--text); }
.subpage a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(245,200,66,0.35);
  text-underline-offset: 3px;
}
.subpage a:hover { text-decoration-color: var(--accent); }
.subpage code {
  background: var(--surface);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--border);
}
.subpage .formula {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--text);
  overflow-x: auto;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .content-section { padding: 20px 18px; }
  .faq-item { padding: 12px 14px; }
  .faq-item summary { font-size: 13px; }
  .disclaimer-card { padding: 20px 18px; }
  .footer-nav { gap: 14px 16px; }
}

/* ─────────────────────────────────────────────────────
   헤더 네비게이션
   ───────────────────────────────────────────────────── */
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.header-nav .logo {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 16px;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.header-nav .header-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.header-nav .header-links a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.header-nav .header-links a:hover { color: var(--accent); }

/* ─────────────────────────────────────────────────────
   브레드크럼 (서브페이지 상단)
   ───────────────────────────────────────────────────── */
.breadcrumb {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; color: var(--text-dim); }

/* ─────────────────────────────────────────────────────
   hero-note (면책 미니 배너)
   ───────────────────────────────────────────────────── */
.hero-note {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 14px;
  background: rgba(232,69,60,0.08);
  border: 1px solid rgba(232,69,60,0.2);
  border-radius: 100px;
  font-size: 11px;
  color: rgba(240,238,232,0.72);
  max-width: 420px;
  line-height: 1.5;
}
.hero-note strong { color: #f07066; }

/* ─────────────────────────────────────────────────────
   페이지 카드 (교육 콘텐츠 소개)
   ───────────────────────────────────────────────────── */
.page-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.page-card {
  display: block;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 18px 20px;
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.page-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245,200,66,0.35);
  box-shadow: 0 6px 24px rgba(245,200,66,0.08);
}
.pc-icon { font-size: 24px; margin-bottom: 8px; }
.pc-title {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.pc-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────────────
   데이터 테이블 (통계 페이지)
   ───────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  margin: 14px 0 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: var(--text-muted);
}
.data-table thead th {
  background: var(--surface2);
  color: var(--text-muted);
  text-align: left;
  padding: 12px 14px;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
}
.data-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.data-table strong { color: var(--text); }

.num-table {
  font-size: 12px;
}
.num-table td { padding: 8px 10px; text-align: center; }
.num-table thead th { text-align: center; padding: 10px; font-size: 10px; }
.num-table td.hi { color: var(--green); background: rgba(62,207,142,0.05); }
.num-table td.lo { color: #f07066; background: rgba(232,69,60,0.05); }

/* ─────────────────────────────────────────────────────
   callout (강조 박스)
   ───────────────────────────────────────────────────── */
.callout {
  background: rgba(245,200,66,0.06);
  border: 1px solid rgba(245,200,66,0.22);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 18px 0;
}
.callout p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(240,238,232,0.78);
  margin: 0;
}
.callout p strong { color: var(--accent); }
.callout a { color: var(--accent); text-decoration: underline; }

/* ─────────────────────────────────────────────────────
   서브페이지 하단 링크 (관련 페이지 안내)
   ───────────────────────────────────────────────────── */
.subpage-links {
  display: flex;
  gap: 10px;
  margin: 3rem 0 0;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.subpage-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.subpage-link:hover {
  color: var(--accent);
  border-color: rgba(245,200,66,0.35);
  background: rgba(245,200,66,0.04);
}

/* ─────────────────────────────────────────────────────
   h3 (서브페이지 부제목)
   ───────────────────────────────────────────────────── */
.subpage h3 {
  font-size: 14px;
  color: var(--text);
  font-weight: 700;
  margin: 22px 0 10px;
  letter-spacing: -0.005em;
}

@media (max-width: 600px) {
  .page-cards { grid-template-columns: 1fr; }
  .header-nav .logo { font-size: 14px; }
  .header-nav .header-links { gap: 14px; }
  .header-nav .header-links a { font-size: 11px; }
  .hero-note { font-size: 10px; }
}

/* ─────────────────────────────────────────────────────
   블로그 목록 (blog.html)
   ───────────────────────────────────────────────────── */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.blog-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.blog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245,200,66,0.35);
  box-shadow: 0 8px 30px rgba(245,200,66,0.06);
}
.bc-date {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.bc-title {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.bc-lede {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 10px;
}
.bc-meta {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.03em;
}
.blog-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 20px;
  background: var(--surface);
  border-radius: 14px;
}

/* ─────────────────────────────────────────────────────
   블로그 본문 (blog/*.html)
   ───────────────────────────────────────────────────── */
.blog-post {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  margin-bottom: 2rem;
}
.blog-post .post-meta {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.blog-post h1 {
  font-family: 'Black Han Sans', sans-serif;
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 20px;
  letter-spacing: -0.015em;
}
.blog-post .post-lede {
  font-size: 15px;
  line-height: 1.75;
  color: var(--accent);
  font-weight: 400;
  padding: 16px 18px;
  background: rgba(245,200,66,0.05);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  margin: 0 0 28px;
}
.blog-post h2 {
  font-size: 17px;
  color: var(--text);
  font-weight: 700;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.005em;
  text-transform: none;
}
.blog-post h3 {
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
  margin: 22px 0 10px;
  letter-spacing: -0.005em;
}
.blog-post p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.blog-post p strong { color: var(--text); }
.blog-post ul, .blog-post ol {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.85;
  padding-left: 24px;
  margin: 4px 0 16px;
}
.blog-post li { margin-bottom: 8px; }
.blog-post li strong { color: var(--text); }
.blog-post a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(245,200,66,0.35);
  text-underline-offset: 3px;
}
.blog-post a:hover { text-decoration-color: var(--accent); }
.blog-post code {
  background: var(--surface2);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--border);
}
.blog-post .post-footer {
  margin-top: 40px;
  padding: 18px 20px;
  background: var(--surface2);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.blog-post .post-footer p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
}
.blog-post .post-footer strong {
  color: var(--accent);
}

@media (max-width: 600px) {
  .blog-post { padding: 24px 20px; }
  .blog-post .post-lede { font-size: 14px; padding: 14px 16px; }
  .blog-post h2 { font-size: 16px; }
  .blog-post p, .blog-post ul, .blog-post ol { font-size: 13px; }
  .blog-card { padding: 18px 20px; }
  .bc-title { font-size: 16px; }
}
