/* === 이루담 (IRUDAM) — Global Styles v2 === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&family=Noto+Sans+KR:wght@400;500;700&display=swap');

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

:root {
  --primary: #7C9082;
  --primary-light: rgba(124, 144, 130, 0.08);
  --bg-1: #FAF8F5;
  --bg-2: #F5F3EF;
  --bg-3: #FFFFFF;
  --surface: #F0EDE8;
  --border: #E8E4DF;
  --text-primary: #2D2D2D;
  --text-secondary: #8A8A8A;
  --text-tertiary: #5A5A5A;
  --text-muted: #ADADAD;
  --warning: #C05A3C;
  --success: #22C55E;
  --ticker-bg: #2D2D2D;
  --footer-bg: #2D2D2D;
  --newsletter-bg: #7C9082;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 24px;
  --radius-full: 9999px;
  /* legacy aliases */
  --bg-page: var(--bg-1);
  --bg-card: var(--bg-3);
  --bg-surface: var(--surface);
  --bg-muted: var(--surface);
  --accent: var(--primary);
  --accent-tint: var(--primary-light);
  --accent-red: var(--warning);
  --text-body: var(--text-tertiary);
  --text-placeholder: var(--text-muted);
  --border-subtle: var(--surface);
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-1);
  color: var(--text-primary);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: 'Noto Sans KR', 'Inter', sans-serif;
  font-weight: 400;
}
.font-display { font-family: 'Noto Sans KR', sans-serif; }
.font-body { font-family: 'Noto Sans KR', sans-serif; }
.font-mono { font-family: 'IBM Plex Mono', monospace; }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 80px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { width: 18px; height: 18px; color: white; }
.nav-logo-text {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.nav-badge {
  display: inline-flex;
  padding: 3px 8px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 600;
  color: var(--primary);
  margin-left: 4px;
  vertical-align: middle;
}
.nav-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 12px;
  font-style: italic;
  letter-spacing: -0.2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); font-weight: 500; }

/* Hamburger */
.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-primary);
}
.nav-menu-btn svg { width: 22px; height: 22px; }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
}
.nav-drawer.open { display: block; }
.nav-drawer-inner {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 280px;
  background: var(--bg-3);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.nav-drawer-close svg { width: 20px; height: 20px; }
.nav-drawer a {
  display: block;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}
.nav-drawer a:hover { background: var(--bg-1); }
.nav-drawer .btn-cta { margin-top: 16px; justify-content: center; }

/* =============================================
   TICKER BAR
   ============================================= */
.ticker-bar {
  background: var(--ticker-bg);
  color: rgba(255,255,255,0.85);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}
.ticker-inner {
  display: flex;
  align-items: center;
  animation: ticker-scroll 40s linear infinite;
  white-space: nowrap;
  gap: 0;
}
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 28px;
  font-size: 12px;
  font-family: 'IBM Plex Mono', monospace;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.ticker-item:last-child { border-right: none; }
.ticker-item .ticker-label {
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  font-family: 'Inter', sans-serif;
}
.ticker-item .ticker-value { color: white; font-weight: 500; }
.ticker-item .ticker-up { color: #4ade80; }
.ticker-item .ticker-down { color: #f87171; }
.ticker-item .ticker-neutral { color: rgba(255,255,255,0.7); }
.ticker-highlight { color: #86efac; font-weight: 600; }

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; background: var(--primary); color: white;
  border-radius: var(--radius-pill); font-size: 13px; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer; transition: opacity 0.2s;
  white-space: nowrap;
}
.btn-cta:hover { opacity: 0.9; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--primary); color: white;
  border-radius: var(--radius-pill); font-size: 14px; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer; transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary-sm {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; background: var(--primary); color: white;
  border-radius: var(--radius-pill); font-size: 13px; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer; transition: opacity 0.2s;
}
.btn-primary-sm:hover { opacity: 0.9; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--bg-3); color: var(--text-primary);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; text-decoration: none;
  cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-outline-sm {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; background: transparent; color: var(--text-primary);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500; text-decoration: none;
  cursor: pointer; transition: all 0.2s;
}
.btn-outline-sm:hover { border-color: var(--primary); color: var(--primary); }

.btn-full {
  width: 100%; padding: 16px; background: var(--primary); color: white;
  border: none; border-radius: var(--radius-lg); font-size: 15px; font-weight: 500;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity 0.2s;
}
.btn-full:hover { opacity: 0.9; }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: white; color: var(--primary);
  border-radius: var(--radius-pill); font-size: 14px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer; transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.92; }

.btn-white-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: transparent; color: white;
  border: 1px solid rgba(255,255,255,0.5); border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; text-decoration: none;
  cursor: pointer; transition: border-color 0.2s;
}
.btn-white-outline:hover { border-color: white; }

/* =============================================
   BADGE & TAG
   ============================================= */
.badge {
  display: inline-flex; padding: 6px 12px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  font-size: 11px; font-weight: 500; color: var(--primary);
}
.tag {
  display: inline-flex; padding: 3px 8px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  font-size: 10px; font-weight: 600; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.3px;
}
.tag-outline {
  display: inline-flex; padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 10px; font-weight: 500; color: var(--text-secondary);
}

/* =============================================
   SECTION
   ============================================= */
.section { padding: 72px 80px; }
.section-white { background: var(--bg-3); }
.section-cream { background: var(--bg-1); }
.section-surface { background: var(--surface); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
}
.section-header-row h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
}
.section-header-row a {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.section-header-row a:hover { text-decoration: underline; }
.section-header h2 {
  font-size: 32px;
  letter-spacing: -0.5px;
  margin-top: 12px;
}
.section-header p { font-size: 15px; color: var(--text-secondary); margin-top: 12px; }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--bg-3); border-radius: var(--radius-xl);
  border: 1px solid var(--border); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.card-body { padding: 24px; }

/* =============================================
   GRID
   ============================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* =============================================
   ICON BOX
   ============================================= */
.icon-box {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-box svg { width: 22px; height: 22px; color: var(--primary); }
.icon-box-sm { width: 40px; height: 40px; border-radius: 10px; }
.icon-box-sm svg { width: 18px; height: 18px; }
.icon-box-lg { width: 56px; height: 56px; border-radius: 16px; }
.icon-box-lg svg { width: 24px; height: 24px; }

/* =============================================
   TABS
   ============================================= */
.tabs {
  display: flex; gap: 8px; padding: 4px;
  background: var(--surface);
  border-radius: 28px; width: fit-content;
}
.tab {
  padding: 10px 20px; border-radius: var(--radius-pill); font-size: 13px;
  cursor: pointer; border: none; background: transparent; color: var(--text-secondary);
  transition: all 0.2s;
}
.tab.active { background: var(--bg-3); color: var(--text-primary); font-weight: 500; }
.tab:hover:not(.active) { color: var(--text-primary); }

/* =============================================
   PILLS
   ============================================= */
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 8px 18px; border-radius: var(--radius-pill); font-size: 13px;
  cursor: pointer; border: 1px solid var(--border); background: var(--bg-3);
  color: var(--text-secondary); transition: all 0.2s;
}
.pill.active { background: var(--primary); color: white; border-color: var(--primary); font-weight: 500; }
.pill:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

/* =============================================
   FORM
   ============================================= */
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-label { font-size: 13px; font-weight: 500; color: var(--text-tertiary); }
.form-input {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--radius-md); font-size: 15px;
}
.form-input input {
  border: none; background: transparent; font-size: 15px; font-weight: 500;
  color: var(--text-primary); outline: none; width: 100%; font-family: 'Inter';
}
.form-input .unit { font-size: 13px; color: var(--text-secondary); flex-shrink: 0; margin-left: 8px; }
.form-options { display: flex; gap: 8px; flex-wrap: wrap; }
.form-option {
  padding: 10px 16px; border-radius: var(--radius-md); font-size: 13px;
  cursor: pointer; border: 1px solid var(--border); background: var(--bg-3);
  color: var(--text-secondary); transition: all 0.2s;
}
.form-option.active { background: var(--primary); color: white; border-color: var(--primary); font-weight: 500; }
.form-option:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

/* =============================================
   RESULT (calculator)
   ============================================= */
.result-hero {
  padding: 24px; background: var(--primary); border-radius: var(--radius-lg);
  text-align: center; color: white;
}
.result-hero .label { font-size: 13px; opacity: 0.8; font-weight: 500; }
.result-hero .value {
  font-family: 'IBM Plex Mono'; font-size: 36px; font-weight: 500;
  letter-spacing: -1px; margin-top: 8px;
}
.result-hero.danger { background: var(--warning); }
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.result-item {
  padding: 20px; background: var(--bg-1); border-radius: var(--radius-md);
  text-align: center;
}
.result-item .label { font-size: 12px; color: var(--text-secondary); }
.result-item .value { font-family: 'IBM Plex Mono'; font-size: 18px; font-weight: 500; margin-top: 6px; }

/* =============================================
   INFO CARD
   ============================================= */
.info-card {
  background: var(--bg-3); border-radius: var(--radius-xl);
  border: 1px solid var(--border); overflow: hidden;
}
.info-row { display: flex; padding: 16px 24px; }
.info-row:nth-child(even) { background: var(--bg-1); }
.info-row .label { width: 160px; font-size: 13px; font-weight: 500; color: var(--text-secondary); flex-shrink: 0; }
.info-row .value { font-size: 14px; color: var(--text-primary); }

/* =============================================
   NOTICE
   ============================================= */
.notice {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 24px; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.notice svg { width: 16px; height: 16px; color: var(--text-secondary); flex-shrink: 0; margin-top: 2px; }
.notice p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.notice.warning { background: #FFF5F5; border-color: #FED7D7; }
.notice.warning svg { color: var(--warning); }
.notice.warning p { color: var(--warning); }

/* =============================================
   PANEL (calculator)
   ============================================= */
.panel {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.panel-title {
  font-size: 16px; font-weight: 500; color: var(--text-primary);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.panel-title svg { width: 18px; height: 18px; color: var(--primary); }

/* =============================================
   HERO SECTION (v2)
   ============================================= */
.hero-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
}
.hero-v2-left {
  padding: 64px 56px 64px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-v2-featured {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 20px;
  width: fit-content;
}
.hero-v2-headline {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.hero-v2-headline em { font-style: italic; color: var(--primary); }
.hero-v2-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 400px;
}
.hero-v2-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero-v2-meta span { display: flex; align-items: center; gap: 4px; }
.hero-v2-meta svg { width: 12px; height: 12px; }
.hero-v2-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-v2-right {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.hero-v2-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-v2-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 100%);
}
.hero-v2-img-placeholder svg { width: 48px; height: 48px; }
.hero-v2-img-placeholder span { font-size: 13px; }

/* =============================================
   CONTENT GRID (section 4)
   ============================================= */
.content-grid {
  background: var(--bg-3);
  padding: 64px 80px;
  border-bottom: 1px solid var(--border);
}
.content-grid-row1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.content-grid-row2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Article card - large */
.article-card-lg {
  background: var(--bg-1);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card-lg:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.07); }
.article-card-lg-img {
  height: 200px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.article-card-lg-img svg { width: 40px; height: 40px; color: var(--primary); opacity: 0.4; }
.article-card-lg-body { padding: 24px; }
.article-card-lg-body .tag { margin-bottom: 10px; }
.article-card-lg-body h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.3px;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.article-card-lg-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Article card - small */
.article-card-sm {
  background: var(--bg-1);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card-sm:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.article-card-sm .tag { margin-bottom: 10px; }
.article-card-sm h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.2px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.article-card-sm .date {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'IBM Plex Mono', monospace;
}

/* Article card - medium (row 2) */
.article-card-md {
  background: var(--bg-1);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card-md:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.article-card-md-img {
  height: 140px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-card-md-img svg { width: 32px; height: 32px; color: var(--primary); opacity: 0.4; }
.article-card-md-body { padding: 18px; }
.article-card-md-body .tag { margin-bottom: 8px; }
.article-card-md-body h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.article-card-md-body .date {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'IBM Plex Mono', monospace;
}

/* =============================================
   CASES SECTION (section 5)
   ============================================= */
.cases-section {
  background: var(--bg-1);
  padding: 64px 80px;
  border-bottom: 1px solid var(--border);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  background: var(--bg-3);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 28px;
}
.case-card .tag { margin-bottom: 12px; }
.case-card h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 14px;
  color: var(--text-primary);
}
.case-detail {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.case-detail strong {
  font-weight: 600;
  color: var(--text-tertiary);
  display: inline-block;
  width: 40px;
}
.case-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}
.case-quote {
  font-style: italic;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.case-quote::before { content: '"'; color: var(--primary); font-size: 18px; line-height: 0; vertical-align: -4px; margin-right: 2px; }
.case-quote::after { content: '"'; color: var(--primary); font-size: 18px; line-height: 0; vertical-align: -4px; margin-left: 2px; }

/* =============================================
   DATA REPORT (section 6)
   ============================================= */
.data-section {
  background: var(--bg-3);
  padding: 64px 80px;
  border-bottom: 1px solid var(--border);
}
.data-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.data-card {
  background: var(--bg-1);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 24px 20px;
  text-align: center;
}
.data-card .data-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.data-card .data-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 26px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 6px;
}
.data-card .data-change {
  font-size: 12px;
  font-family: 'IBM Plex Mono', monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.data-up { color: #16a34a; }
.data-down { color: var(--warning); }
.data-neutral { color: var(--text-muted); }
.data-card .data-period {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* =============================================
   TOOLS SECTION (section 7)
   ============================================= */
.tools-section {
  background: var(--bg-1);
  padding: 64px 80px;
  border-bottom: 1px solid var(--border);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tool-card {
  background: var(--bg-3);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.07); }
.tool-card h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin: 14px 0 8px;
  color: var(--text-primary);
}
.tool-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}
.tool-card-link {
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tool-card-link svg { width: 12px; height: 12px; }

/* =============================================
   TOP GUIDES (section 8)
   ============================================= */
.guides-section {
  background: var(--bg-3);
  padding: 64px 80px;
  border-bottom: 1px solid var(--border);
}
.guide-list { display: flex; flex-direction: column; gap: 0; }
.guide-list-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.guide-list-item:last-child { border-bottom: none; }
.guide-list-item:hover .guide-list-title { color: var(--primary); }
.guide-list-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 20px;
  font-weight: 500;
  color: var(--border);
  width: 32px;
  flex-shrink: 0;
  text-align: right;
}
.guide-list-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  flex: 1;
  transition: color 0.2s;
  line-height: 1.4;
}
.guide-list-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.guide-list-category {
  font-size: 10px;
  padding: 3px 8px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.guide-list-views {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'IBM Plex Mono', monospace;
}

/* =============================================
   NEWSLETTER (section 9)
   ============================================= */
.newsletter-section {
  background: var(--newsletter-bg);
  padding: 64px 80px;
}
.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-inner h2 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: white;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.newsletter-inner p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  line-height: 1.7;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: white;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.7); }
.newsletter-form button {
  padding: 14px 24px;
  background: white;
  color: var(--primary);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.newsletter-form button:hover { opacity: 0.92; }
.newsletter-notice {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
}

/* =============================================
   FOOTER (dark v2)
   ============================================= */
.footer-v2 {
  background: var(--footer-bg);
  padding: 56px 80px 40px;
  color: rgba(255,255,255,0.7);
}
.footer-v2-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-v2-brand .footer-logo-v2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-logo-icon-v2 {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-icon-v2 svg { width: 18px; height: 18px; color: white; }
.footer-logo-text-v2 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: white;
  letter-spacing: -0.5px;
}
.footer-v2-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 260px;
}
.footer-v2-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-v2-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-v2-col a:hover { color: white; }
.footer-v2-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.footer-v2-legal {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.9;
  margin-bottom: 16px;
}
.footer-v2-warning {
  font-size: 11px;
  color: #fca5a5;
  font-weight: 500;
  margin-bottom: 8px;
}
.footer-v2-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
}

/* =============================================
   MOBILE BOTTOM BAR
   ============================================= */
.bottom-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: var(--bg-3); border-top: 1px solid var(--border);
}
.bottom-bar-text {
  padding: 10px 16px 0;
  font-size: 11px; color: var(--text-muted);
  text-align: center;
}
.bottom-bar-inner {
  display: flex; justify-content: stretch;
  padding: 8px 16px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  gap: 8px;
}
.bottom-bar-inner a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-decoration: none; font-size: 11px; color: var(--text-secondary);
  padding: 10px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.bottom-bar-inner a:first-child { background: var(--primary); color: white; border-color: var(--primary); }
.bottom-bar-inner a svg { width: 18px; height: 18px; }

/* =============================================
   DIAG (diagnosis page)
   ============================================= */
.diag-wrap { max-width: 680px; margin: 0 auto; padding: 48px 20px 80px; }
.diag-progress { display: flex; align-items: center; margin-bottom: 48px; gap: 0; }
.diag-progress-step { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.diag-progress-step + .diag-progress-step::before {
  content: '';
  position: absolute;
  left: -50%; width: 100%; top: 16px;
  height: 2px; background: var(--border); z-index: 0;
}
.diag-progress-step.done + .diag-progress-step::before,
.diag-progress-step.active + .diag-progress-step::before { background: var(--primary); }
.diag-progress-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-3); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Mono'; font-size: 12px; font-weight: 500;
  color: var(--text-muted); position: relative; z-index: 1; transition: all 0.3s;
}
.diag-progress-step.active .diag-progress-dot,
.diag-progress-step.done .diag-progress-dot {
  background: var(--primary); border-color: var(--primary); color: white;
}
.diag-progress-label { font-size: 11px; color: var(--text-muted); margin-top: 8px; }
.diag-progress-step.active .diag-progress-label,
.diag-progress-step.done .diag-progress-label { color: var(--primary); font-weight: 500; }
.diag-step-q { font-size: 22px; font-weight: 500; color: var(--text-primary); margin-bottom: 8px; line-height: 1.4; }
.diag-step-sub { font-size: 14px; color: var(--text-secondary); margin-bottom: 32px; }
.diag-prop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 32px; }
.diag-prop-card {
  padding: 20px; background: var(--bg-3); border: 2px solid var(--border);
  border-radius: var(--radius-xl); cursor: pointer; transition: all 0.2s; text-align: left;
}
.diag-prop-card:hover { border-color: var(--primary); }
.diag-prop-card.selected { border-color: var(--primary); background: var(--primary-light); }
.diag-prop-card h4 { font-family: 'Noto Sans KR', sans-serif; font-size: 15px; font-weight: 600; margin: 10px 0 4px; }
.diag-prop-card p { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.diag-prop-card .ltv-badge {
  display: inline-block; margin-top: 8px;
  font-size: 11px; font-weight: 600; color: var(--primary);
  background: var(--primary-light); padding: 3px 8px; border-radius: var(--radius-sm);
}
.diag-purpose-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 32px; }
.diag-purpose-card {
  padding: 20px; background: var(--bg-3); border: 2px solid var(--border);
  border-radius: var(--radius-xl); cursor: pointer; transition: all 0.2s; text-align: left;
}
.diag-purpose-card:hover { border-color: var(--primary); }
.diag-purpose-card.selected { border-color: var(--primary); background: var(--primary-light); }
.diag-purpose-card h4 { font-family: 'Noto Sans KR', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.diag-purpose-card p { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.diag-result-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.diag-result-hero { padding: 32px; background: var(--primary); color: white; text-align: center; }
.diag-result-hero .label { font-size: 13px; opacity: 0.8; }
.diag-result-hero .value { font-family: 'IBM Plex Mono'; font-size: 42px; font-weight: 500; letter-spacing: -1px; margin-top: 8px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
  .data-cards { grid-template-columns: repeat(3, 1fr); }
  .footer-v2-top { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .nav { padding: 16px 32px; }
  .nav-tagline { display: none; }
  .section { padding: 48px 32px; }
  .hero-v2-left { padding: 48px 40px 48px 32px; }
  .hero-v2-headline { font-size: 36px; }
  .content-grid { padding: 48px 32px; }
  .cases-section, .data-section, .tools-section, .guides-section { padding: 48px 32px; }
  .newsletter-section { padding: 48px 32px; }
  .footer-v2 { padding: 48px 32px 32px; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { padding: 12px 20px; }
  .nav-links { display: none; }
  .nav-badge { display: none; }
  .nav-menu-btn { display: flex; }

  .ticker-item { padding: 0 18px; }

  .hero-v2 { grid-template-columns: 1fr; }
  .hero-v2-right { order: -1; min-height: 220px; }
  .hero-v2-img-placeholder { min-height: 220px; }
  .hero-v2-left { padding: 40px 20px; }
  .hero-v2-headline { font-size: 28px; }
  .hero-v2-sub { font-size: 14px; }

  .content-grid { padding: 40px 20px; }
  .content-grid-row1 { grid-template-columns: 1fr; }
  .content-grid-row2 { grid-template-columns: 1fr; }

  .cases-section { padding: 40px 20px; }
  .cases-grid { grid-template-columns: 1fr; }

  .data-section { padding: 40px 20px; }
  .data-cards { grid-template-columns: repeat(2, 1fr); }

  .tools-section { padding: 40px 20px; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }

  .guides-section { padding: 40px 20px; }
  .guide-list-meta { display: none; }

  .newsletter-section { padding: 48px 20px; }
  .newsletter-form { flex-direction: column; }

  .footer-v2 { padding: 40px 20px 28px; }
  .footer-v2-top { grid-template-columns: 1fr 1fr; gap: 28px; }

  .section { padding: 40px 20px; }
  .section-header h2 { font-size: 24px; }
  .grid-3, .grid-2, .grid-4, .grid-5 { grid-template-columns: 1fr; }

  .bottom-bar { display: block; }
  body { padding-bottom: 100px; }

  .diag-prop-grid,
  .diag-purpose-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .data-cards { grid-template-columns: 1fr 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .footer-v2-top { grid-template-columns: 1fr; }
}

/* =============================================
   CATEGORY PAGES
   ============================================= */

/* Category Hero */
.category-hero {
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  padding: 56px 80px 0;
}
.category-hero-inner {
  max-width: 860px;
}
.category-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 16px;
}
.category-hero-label svg { width: 12px; height: 12px; }
.category-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.category-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 32px;
}
.category-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: -2px;
}
.category-tabs::-webkit-scrollbar { display: none; }
.category-tabs .tab {
  padding: 12px 18px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  transition: all 0.2s;
  margin-bottom: -2px;
}
.category-tabs .tab.active {
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  border-bottom-color: var(--primary);
}
.category-tabs .tab:hover:not(.active) {
  color: var(--text-primary);
  background: transparent;
}

/* Article List */
.article-list {
  background: var(--bg-1);
  padding: 0 80px 64px;
}
.article-list-inner {
  max-width: 860px;
  padding-top: 8px;
}
.article-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.article-item:first-child { border-top: none; }
.article-item:last-child { border-bottom: none; }
.article-item:hover .article-item-title { color: var(--primary); }
.article-item-content { flex: 1; min-width: 0; }
.article-item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.article-item-date {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'IBM Plex Mono', monospace;
  flex-shrink: 0;
}
.article-item-tags {
  font-size: 11px;
  color: var(--primary);
  font-weight: 500;
}
.article-item-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.3px;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.article-item-summary {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-item-thumb {
  width: 96px;
  height: 80px;
  background: var(--surface);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.article-item-thumb svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  opacity: 0.35;
}
.article-item:hover .article-item-thumb { background: var(--primary-light); }
.article-item:hover .article-item-thumb svg { opacity: 0.6; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  padding: 40px 0 0;
  max-width: 860px;
}
.pagination-btn {
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.pagination-btn:hover { border-color: var(--primary); color: var(--primary); }
.pagination-num {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'IBM Plex Mono', monospace;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pagination-num.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  font-weight: 600;
}
.pagination-num:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

/* Category CTA Strip */
.category-cta {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 24px 80px;
}
.category-cta-inner {
  max-width: 860px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.category-cta-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}
.btn-cta-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-cta-sm:hover { opacity: 0.9; }

/* =============================================
   ARTICLE DETAIL PAGES
   ============================================= */

.article-detail {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 80px 64px;
}

/* Article Header */
.article-header {
  margin-bottom: 32px;
}
.article-breadcrumb {
  margin-bottom: 20px;
}
.article-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}
.article-category:hover { opacity: 0.75; }
.article-category svg { width: 12px; height: 12px; }
.article-headline {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.article-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.article-meta svg { width: 12px; height: 12px; }

/* Article Hero Image */
.article-hero-img {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  margin-bottom: 40px;
  border: 1px solid var(--border);
}
.article-hero-img svg { width: 48px; height: 48px; opacity: 0.4; }
.article-hero-img span { font-size: 13px; }

/* Article Body */
.article-body {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-tertiary);
  margin-bottom: 48px;
}
.article-body p { margin-bottom: 20px; }
.article-body p:last-child { margin-bottom: 0; }
.article-body h2 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 16px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body strong { color: var(--text-primary); font-weight: 600; }
.article-body ul {
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-tertiary);
}
.article-body ul li { margin-bottom: 8px; line-height: 1.7; }
.article-body .text-primary { color: var(--primary); }

/* Article Quote */
.article-quote {
  border-left: 3px solid var(--primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--primary-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 17px;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Article Disclaimer */
.article-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  padding: 16px;
  background: var(--bg-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  line-height: 1.6;
}

/* Article Infobox */
.article-infobox {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin: 28px 0;
}
.article-infobox-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.article-infobox-title svg { width: 14px; height: 14px; color: var(--primary); }
.article-infobox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.article-infobox-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: var(--bg-1);
  border-radius: var(--radius-md);
}
.article-infobox-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.article-infobox-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
}
.article-infobox-value.data-up { color: #16a34a; }
.article-infobox-sub {
  font-size: 11px;
  color: var(--text-muted);
}
.article-infobox-note {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Article Table */
.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.article-table thead tr {
  background: var(--bg-2);
}
.article-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 1px solid var(--border);
}
.article-table td {
  padding: 14px 16px;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.article-table tbody tr:last-child td { border-bottom: none; }
.article-table tbody tr:nth-child(even) td { background: var(--bg-1); }
.article-table strong { color: var(--text-primary); }
.article-table .text-primary { color: var(--primary); font-weight: 600; }

/* Article CTA */
.article-cta {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 56px;
}
.article-cta-inner {
  padding: 36px;
}
.article-cta h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.article-cta p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.article-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.article-cta-contact {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0 !important;
}
.article-cta-contact a {
  color: var(--primary);
  text-decoration: none;
}
.article-cta-contact a:hover { text-decoration: underline; }

/* Related Articles */
.related-articles {
  margin-bottom: 48px;
}
.related-articles h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  background: var(--bg-3);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.related-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.related-card-img {
  height: 100px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.related-card-img svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  opacity: 0.35;
}
.related-card-body {
  padding: 16px;
}
.related-card-body .tag { margin-bottom: 8px; }
.related-card-body h4 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card:hover .related-card-body h4 { color: var(--primary); }
.related-card-body .date {
  font-size: 10px;
  color: var(--text-muted);
  font-family: 'IBM Plex Mono', monospace;
}

/* Article Legal Notice */
.article-legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 80px 32px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}

/* =============================================
   RESPONSIVE — CATEGORY & ARTICLE
   ============================================= */

@media (max-width: 1024px) {
  .category-hero { padding: 48px 32px 0; }
  .article-list { padding: 0 32px 48px; }
  .category-cta { padding: 24px 32px; }
  .article-detail { padding: 40px 32px 56px; }
  .article-legal { padding: 16px 32px 28px; }
}

@media (max-width: 768px) {
  .category-hero { padding: 40px 20px 0; }
  .category-title { font-size: 28px; }
  .category-desc { font-size: 14px; }

  .article-list { padding: 0 20px 40px; }
  .article-item { gap: 16px; }
  .article-item-thumb { display: none; }
  .article-item-title { font-size: 16px; }

  .category-cta { padding: 20px; }
  .category-cta-inner { flex-direction: column; align-items: flex-start; gap: 12px; }

  .article-detail { padding: 32px 20px 48px; max-width: 100%; }
  .article-headline { font-size: 26px; }
  .article-hero-img { height: 200px; }
  .article-body { font-size: 15px; }
  .article-body h2 { font-size: 19px; }
  .article-infobox-grid { grid-template-columns: 1fr 1fr; }
  .article-cta-inner { padding: 24px; }
  .article-cta h3 { font-size: 19px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-legal { padding: 16px 20px 24px; }
  .article-meta { gap: 10px; }
  .article-quote { font-size: 15px; }
}

@media (max-width: 480px) {
  .article-infobox-grid { grid-template-columns: 1fr; }
  .article-cta-buttons { flex-direction: column; }
  .article-cta-buttons .btn-primary,
  .article-cta-buttons .btn-outline { justify-content: center; }
  .article-table { font-size: 12px; }
  .article-table th, .article-table td { padding: 10px 12px; }
}
