/* ============================================================
   고민환 — 퍼스널 브랜딩 홈페이지 디자인 시스템
   Dark Precision · 부엉이 브랜드(teal+yellow) · 네트워크 데이터 팔레트
   ============================================================ */

@font-face {
  font-family: 'Pretendard';
  font-weight: 45 920;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/variable/woff2/PretendardVariable.woff2') format('woff2-variations');
}

:root {
  /* 배경 계층 */
  --bg: #0a0b12;
  --bg-2: #0e1019;
  --surface: #14161f;
  --surface-2: #191c28;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* 텍스트 */
  --text: #eaecf5;
  --text-2: #b6bacb;
  --muted: #7f849c;

  /* 브랜드 액센트 (부엉이 부리 옐로 + 몸통 틸) */
  --yellow: #f6c84c;
  --yellow-soft: #ffe08a;
  --teal: #38d6c6;
  --teal-2: #22d3ee;

  /* 데이터 팔레트 (네트워크 시각화에서) */
  --pink: #ec5aa0;
  --purple: #a78bfa;
  --green: #45d483;

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard', -apple-system, 'Segoe UI', 'Malgun Gothic', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

/* 배경 그라데이션 메시 (전체) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60vw 55vh at 78% -8%, rgba(56, 214, 198, 0.10), transparent 60%),
    radial-gradient(50vw 50vh at 12% 8%, rgba(167, 139, 250, 0.09), transparent 60%),
    radial-gradient(55vw 60vh at 50% 108%, rgba(246, 200, 76, 0.06), transparent 55%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ── 섹션 공통 ── */
section { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--teal);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(56, 214, 198, 0.08);
  border: 1px solid rgba(56, 214, 198, 0.18);
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.03em;
  margin: 18px 0 14px;
}
.section-sub { color: var(--text-2); font-size: 17px; max-width: 620px; }

/* ============================================================
   네비게이션 (글래스모피즘 고정 헤더)
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.3s var(--ease);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.nav.scrolled {
  background: rgba(10, 11, 18, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav.scrolled .nav-inner { padding: 12px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 4px 16px rgba(56, 214, 198, 0.25);
}
.brand-mark img { width: 30px; height: 30px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--text-2);
  padding: 8px 14px; border-radius: 10px; transition: all 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-cta {
  background: var(--yellow) !important; color: #1a1400 !important;
  font-weight: 700 !important; margin-left: 6px;
}
.nav-cta:hover { background: var(--yellow-soft) !important; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }

/* ============================================================
   히어로
   ============================================================ */
.hero { position: relative; padding: 168px 0 90px; overflow: hidden; }
#hero-canvas {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--text-2);
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero h1 {
  font-size: clamp(38px, 6.6vw, 82px);
  font-weight: 850; line-height: 1.04; letter-spacing: -0.045em;
  margin-bottom: 26px;
}
.hero h1 .grad {
  background: linear-gradient(105deg, var(--teal) 0%, var(--teal-2) 40%, var(--yellow) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 21px); color: var(--text-2);
  max-width: 640px; margin-bottom: 36px; line-height: 1.62;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 16px; font-weight: 700; padding: 14px 26px;
  border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  transition: all 0.22s var(--ease);
}
.btn-primary { background: var(--yellow); color: #1a1400; box-shadow: 0 8px 28px rgba(246, 200, 76, 0.22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(246, 200, 76, 0.34); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--teal); }

.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-size: 14px; font-weight: 600; color: var(--text-2);
  padding: 8px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border);
}
.pill b { color: var(--text); font-variant-numeric: tabular-nums; }

/* ============================================================
   라이브 데모 위젯 (킬러 기능)
   ============================================================ */
.demo { padding: 40px 0 90px; }
.demo-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: 24px;
  padding: 34px; position: relative; overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}
.demo-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}
.demo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.demo-head h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.demo-head p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.demo-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--teal); }
.demo-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1; box-shadow:0 0 0 0 rgba(56,214,198,0.5);} 50%{opacity:0.6; box-shadow:0 0 0 6px rgba(56,214,198,0);} }

.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.demo-input textarea {
  width: 100%; min-height: 210px; resize: vertical;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 14px;
  padding: 16px; font-size: 15px; line-height: 1.6; font-family: inherit;
  transition: border-color 0.2s;
}
.demo-input textarea:focus { outline: none; border-color: var(--teal); }
.demo-tools { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.chip {
  font-size: 13px; font-weight: 600; color: var(--text-2);
  padding: 7px 13px; border-radius: 999px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--border); transition: all 0.18s;
}
.chip:hover { color: var(--text); border-color: var(--teal); }
.demo-run {
  margin-top: 12px; width: 100%; justify-content: center;
}

.demo-out { display: flex; flex-direction: column; gap: 16px; }
.out-box { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.out-box h4 { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.cloud { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; min-height: 64px; }
.cloud span { font-weight: 800; line-height: 1; transition: all 0.3s var(--ease); }
.freqbars { display: flex; flex-direction: column; gap: 9px; min-height: 40px; }
.freqrow { display: grid; grid-template-columns: 92px 1fr 34px; align-items: center; gap: 10px; font-size: 13.5px; }
.freqrow .kw { color: var(--text-2); font-weight: 600; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.freqrow .track { height: 9px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.freqrow .fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--teal-2), var(--teal)); width: 0; transition: width 0.7s var(--ease); }
.freqrow .n { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.senti { display: flex; align-items: center; gap: 14px; }
.senti-gauge { flex: 1; height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--pink), #6b7280 48%, var(--green)); position: relative; }
.senti-needle { position: absolute; top: -4px; width: 4px; height: 20px; border-radius: 3px; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,0.6); left: 50%; transform: translateX(-50%); transition: left 0.7s var(--ease); }
.senti-label { font-size: 13px; font-weight: 700; white-space: nowrap; }
.demo-empty { color: var(--muted); font-size: 14px; }

/* ============================================================
   벤토 실적 그리드
   ============================================================ */
.bento { padding: 70px 0; }
.bento-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px; gap: 16px; margin-top: 40px;
}
.bento-cell {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden; transition: all 0.3s var(--ease);
}
.bento-cell:hover { border-color: var(--border-strong); transform: translateY(-3px); background: var(--surface-2); }
.bento-cell .num { font-size: clamp(32px, 3.6vw, 46px); font-weight: 850; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.bento-cell .lab { font-size: 14px; color: var(--text-2); font-weight: 500; }
.bento-cell .sup { font-size: 12px; color: var(--muted); }
.bento-cell.accent-teal .num { color: var(--teal); }
.bento-cell.accent-yellow .num { color: var(--yellow); }
.bento-cell.accent-purple .num { color: var(--purple); }
.bento-cell.accent-pink .num { color: var(--pink); }
.bento-cell.span-2 { grid-column: span 2; }
.bento-cell.wide-viz { grid-column: span 2; grid-row: span 2; padding: 0; }
.wide-viz img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.wide-viz .cap { position: absolute; left: 22px; bottom: 20px; font-size: 13px; font-weight: 600; color: var(--text-2); background: rgba(10,11,18,0.6); padding: 6px 12px; border-radius: 8px; backdrop-filter: blur(6px); }

/* ============================================================
   두 트랙 분기
   ============================================================ */
.tracks { padding: 70px 0; }
.tracks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.track-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px; transition: all 0.3s var(--ease); position: relative; overflow: hidden;
}
.track-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.track-card .ticon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; margin-bottom: 20px; }
.track-card.t-research .ticon { background: rgba(56,214,198,0.12); border: 1px solid rgba(56,214,198,0.25); }
.track-card.t-class .ticon { background: rgba(246,200,76,0.12); border: 1px solid rgba(246,200,76,0.25); }
.track-card h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.track-card p { color: var(--text-2); font-size: 15.5px; margin-bottom: 20px; }
.track-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.track-card li { font-size: 14.5px; color: var(--text-2); padding-left: 24px; position: relative; }
.track-card li::before { content: '→'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.track-card .tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--text); }
.track-card.t-research .tlink { color: var(--teal); }
.track-card.t-class .tlink { color: var(--yellow); }

/* ============================================================
   최신 글
   ============================================================ */
.latest { padding: 70px 0 90px; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.post-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: all 0.3s var(--ease);
  display: flex; flex-direction: column; min-height: 210px;
}
.post-card:hover { transform: translateY(-3px); border-color: var(--border-strong); background: var(--surface-2); }
.post-card .cat { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.post-card .cat.c-tm { color: var(--teal); }
.post-card .cat.c-ai { color: var(--yellow); }
.post-card h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; margin-bottom: 10px; }
.post-card p { font-size: 14px; color: var(--muted); flex: 1; }
.post-card .date { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ============================================================
   푸터
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 60px 0 44px; margin-top: 20px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 14px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--text-2); padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }

/* ── 스크롤 리빌 ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   서브페이지 공통 히어로
   ============================================================ */
.page-hero { padding: 150px 0 40px; position: relative; }
.page-title { font-size: clamp(34px, 5.5vw, 60px); font-weight: 850; letter-spacing: -0.04em; line-height: 1.06; margin: 18px 0 18px; }
.page-title .grad { background: linear-gradient(105deg, var(--teal), var(--teal-2) 45%, var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-sub { font-size: clamp(16px, 2vw, 20px); color: var(--text-2); max-width: 660px; line-height: 1.6; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ── 프로필/소개 ── */
.about-lead { padding: 20px 0 60px; }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; margin-top: 20px; }
.about-body p { color: var(--text-2); font-size: 16.5px; margin-bottom: 18px; line-height: 1.72; }
.about-body strong { color: var(--text); }
.about-side { display: flex; flex-direction: column; gap: 14px; }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.side-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 12px; }
.side-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.side-card li { font-size: 14.5px; color: var(--text-2); display: flex; gap: 8px; }
.side-card li b { color: var(--teal); font-variant-numeric: tabular-nums; }

/* ── 타임라인 (연구 이력) ── */
.timeline { padding: 40px 0 80px; }
.tl { position: relative; margin-top: 36px; padding-left: 28px; }
.tl::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--teal), transparent); }
.tl-item { position: relative; padding-bottom: 28px; }
.tl-item::before { content: ''; position: absolute; left: -28px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(56,214,198,0.12); }
.tl-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.tl-item p { font-size: 14.5px; color: var(--muted); }

/* ============================================================
   가격 3티어 (research)
   ============================================================ */
.section-pad { padding: 60px 0; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.method-chip { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; }
.method-chip .mc-icon { font-size: 22px; margin-bottom: 10px; }
.method-chip h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.method-chip p { font-size: 13px; color: var(--muted); }

.viz-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.viz-gallery figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.viz-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.viz-gallery figcaption { font-size: 12.5px; color: var(--muted); padding: 10px 14px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; position: relative; transition: all 0.3s var(--ease); }
.price-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.price-card.featured { border-color: var(--yellow); box-shadow: 0 20px 60px rgba(246,200,76,0.12); }
.price-card .tag { position: absolute; top: -12px; left: 26px; background: var(--yellow); color: #1a1400; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.price-card .tier { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.price-card.featured .tier { color: var(--yellow); }
.price-card .price { font-size: 34px; font-weight: 850; letter-spacing: -0.03em; }
.price-card .price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.price-card .who { font-size: 14px; color: var(--text-2); margin: 6px 0 20px; min-height: 42px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.price-card li { font-size: 14px; color: var(--text-2); padding-left: 24px; position: relative; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.price-card .meta { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.price-card .btn { justify-content: center; }

.faq { padding: 60px 0 80px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { cursor: pointer; padding: 20px 0; font-size: 17px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--teal); font-size: 24px; font-weight: 400; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-2); font-size: 15px; line-height: 1.7; padding: 0 0 22px; }

.cta-band { margin: 40px 0 20px; padding: 44px; border-radius: 24px; text-align: center; background: linear-gradient(135deg, rgba(56,214,198,0.1), rgba(246,200,76,0.08)); border: 1px solid var(--border-strong); }
.cta-band h3 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.cta-band p { color: var(--text-2); margin-bottom: 26px; max-width: 540px; margin-inline: auto; }
.cta-band .btn { justify-content: center; }

/* ============================================================
   뉴스레터 (classroom)
   ============================================================ */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 20px; }
.news-mock { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.news-mock .mock-bar { padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; gap: 7px; align-items: center; }
.news-mock .mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-2); }
.news-mock .mock-body { padding: 26px; }
.news-mock .mock-tag { font-size: 12px; font-weight: 700; color: var(--yellow); text-transform: uppercase; letter-spacing: 0.05em; }
.news-mock .mock-body h4 { font-size: 20px; font-weight: 800; margin: 10px 0 14px; letter-spacing: -0.02em; }
.news-mock .mock-body p { font-size: 14px; color: var(--text-2); line-height: 1.65; margin-bottom: 12px; }
.news-mock .mock-line { height: 9px; background: var(--surface-2); border-radius: 6px; margin-bottom: 8px; }
.news-mock .mock-line.short { width: 60%; }

.issue-list { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
.issue-row { display: flex; gap: 14px; align-items: baseline; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.issue-row .no { font-size: 13px; font-weight: 800; color: var(--yellow); font-variant-numeric: tabular-nums; white-space: nowrap; }
.issue-row .txt { font-size: 15px; color: var(--text-2); }
.issue-row .txt b { color: var(--text); font-weight: 700; }

/* 구독 폼 */
.subscribe { padding: 70px 0 90px; }
.sub-card { background: linear-gradient(135deg, rgba(56,214,198,0.08), rgba(246,200,76,0.06)); border: 1px solid var(--border-strong); border-radius: 24px; padding: 44px; text-align: center; }
.sub-card h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 850; letter-spacing: -0.03em; margin-bottom: 12px; }
.sub-card > p { color: var(--text-2); max-width: 520px; margin: 0 auto 28px; font-size: 16px; }
.sub-gift { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--yellow); background: rgba(246,200,76,0.1); border: 1px solid rgba(246,200,76,0.25); padding: 8px 16px; border-radius: 999px; margin-bottom: 28px; }
/* 스티비 폼 다크 오버라이드 */
#stb_subscribe { max-width: 460px; margin: 0 auto; text-align: left; }
#stb_subscribe .stb_form_title, #stb_subscribe .stb_form_description { display: none !important; }
/* 스티비가 주입하는 흰색 컨테이너·래퍼 전부 투명화 */
#stb_subscribe, #stb_subscribe *:not(input):not(button):not(.stb_form_submit_button) {
  background-color: transparent !important; box-shadow: none !important;
}
#stb_subscribe .stb_form, #stb_subscribe .stb_container, #stb_subscribe .stb_wrapper,
#stb_subscribe form { padding: 0 !important; background: transparent !important; box-shadow: none !important; border: 0 !important; }
#stb_subscribe .stb_form_set_label { color: var(--text-2) !important; font-weight: 600 !important; font-size: 13.5px !important; }
#stb_subscribe .stb_form_set_input { background: var(--bg) !important; border: 1px solid var(--border-strong) !important; color: var(--text) !important; border-radius: 10px !important; }
#stb_subscribe #stb_form_submit_button { background-color: var(--yellow) !important; color: #1a1400 !important; font-weight: 800 !important; border-radius: 10px !important; border: 0 !important; }
#stb_subscribe #stb_form_submit_button:hover { background-color: var(--yellow-soft) !important; }
#stb_subscribe .stb_form_policy, #stb_subscribe .stb_form_policy * { color: var(--muted) !important; font-size: 12.5px !important; }
#stb_subscribe .stb_form_modal_open_btn { color: var(--teal) !important; }

/* ============================================================
   오픈소스 도구 (tools)
   ============================================================ */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.tool-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: all 0.3s var(--ease); display: flex; flex-direction: column; }
.tool-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.tool-card .t-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: rgba(56,214,198,0.1); border: 1px solid rgba(56,214,198,0.2); margin-bottom: 16px; }
.tool-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.tool-card p { font-size: 14px; color: var(--text-2); flex: 1; line-height: 1.6; margin-bottom: 16px; }
.tool-card .t-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tool-card .t-tag { font-size: 11.5px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); padding: 4px 9px; border-radius: 999px; }
.tool-card .t-link { font-size: 14px; font-weight: 700; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }
.tool-card .t-link.soon { color: var(--muted); }

.magnet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.magnet-card { background: linear-gradient(135deg, var(--surface), var(--bg-2)); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 30px; display: flex; gap: 20px; align-items: center; }
.magnet-card .m-ico { font-size: 40px; flex: none; }
.magnet-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.magnet-card p { font-size: 14px; color: var(--text-2); margin-bottom: 14px; }

/* ============================================================
   블로그 아티클
   ============================================================ */
.article { padding: 140px 0 80px; }
.back-link { font-size: 14px; color: var(--muted); display: inline-block; margin-bottom: 20px; }
.back-link:hover { color: var(--teal); }
.article .cat { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.article .cat.c-tm { color: var(--teal); }
.article .cat.c-ai { color: var(--yellow); }
.article h1 { font-size: clamp(28px, 4.5vw, 46px); font-weight: 850; letter-spacing: -0.035em; line-height: 1.14; margin: 14px 0 12px; }
.article-meta { color: var(--muted); font-size: 14px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.article-body { font-size: 17px; line-height: 1.8; color: var(--text-2); }
.article-body h2 { font-size: 26px; font-weight: 800; color: var(--text); letter-spacing: -0.03em; margin: 44px 0 16px; }
.article-body h3 { font-size: 20px; font-weight: 700; color: var(--text); margin: 32px 0 12px; }
.article-body p { margin-bottom: 20px; }
.article-body strong { color: var(--text); }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.article-body li { padding-left: 4px; }
.article-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { border-left: 3px solid var(--teal); background: var(--surface); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 24px 0; font-size: 15px; color: var(--text-2); }
.article-body blockquote p { margin-bottom: 10px; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-cta { margin-top: 56px; padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.article-cta p { color: var(--text-2); margin-bottom: 20px; font-size: 16px; }
.article-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .about-grid, .news-grid { grid-template-columns: 1fr; }
  .method-grid, .viz-gallery { grid-template-columns: repeat(2, 1fr); }
  .price-grid, .tool-grid { grid-template-columns: 1fr; }
  .magnet-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,11,18,0.96); backdrop-filter: blur(18px);
    padding: 12px 20px 20px; border-bottom: 1px solid var(--border); gap: 4px;
  }
  .nav-toggle { display: block; }
  .demo-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-cell.wide-viz { grid-column: span 2; }
  .tracks-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 140px 0 70px; }
  .bento-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 128px; }
  .bento-cell.span-2, .bento-cell.wide-viz { grid-column: span 2; }
  .bento-cell.wide-viz { grid-row: span 1; height: 180px; }
}
