
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --navy: #0f172a;
  --navy-2: #1e293b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --emerald: #059669;
  --emerald-bg: #ecfdf5;
  --amber: #d97706;
  --amber-bg: #fffbeb;
  --danger: #dc2626;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Malgun Gothic', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.site-header {
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(10px);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 1.15rem;
  text-decoration: none !important;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(255,255,255,0.2); }
.brand-badge {
  font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.35);
}
.nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav-links a { color: #cbd5e1; font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.nav-links a:hover { color: #fff; }
.lang-pill {
  background: #1e293b; border: 1px solid #334155; color: #f8fafc !important;
  padding: 5px 12px; border-radius: 999px; font-size: 0.82rem !important;
}
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff; padding: 64px 0 56px;
}
.hero h1 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.28; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.hero p { color: #cbd5e1; font-size: 1.08rem; max-width: 780px; }
.meta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; font-size: 0.85rem; color: #93c5fd; font-weight: 600; }
.disclosure-bar {
  background: #f1f5f9; border-left: 4px solid #64748b; padding: 12px 16px;
  border-radius: 8px; font-size: 0.86rem; color: #475569; margin: 24px 0;
}
.grid-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px; margin: 36px 0;
}
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.card:hover { transform: translateY(-3px); border-color: #93c5fd; }
.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 4px 10px;
  border-radius: 999px; background: #eff6ff; color: var(--primary-dark); margin-bottom: 12px; width: fit-content;
}
.tag.emerald { background: var(--emerald-bg); color: var(--emerald); }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; line-height: 1.38; color: var(--navy); }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--primary); color: #fff !important; font-weight: 700; padding: 13px 22px;
  border-radius: 12px; text-decoration: none !important; border: none; cursor: pointer; font-size: 0.98rem;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--primary-dark); }
.btn.emerald { background: var(--emerald); }
.btn.emerald:hover { background: #047857; }
.btn.full { width: 100%; }
.article-wrap { max-width: 860px; margin: 0 auto; padding: 32px 20px 72px; }
.answer-box {
  background: var(--emerald-bg); border: 2px solid #10b981; border-radius: var(--radius);
  padding: 22px 24px; margin: 24px 0 32px;
}
.answer-box h2 { font-size: 1.12rem; color: #065f46; margin-bottom: 8px; }
.answer-box p, .answer-box li { color: #064e3b; font-size: 0.98rem; }
.answer-box ul { padding-left: 20px; margin-top: 8px; }
.calc-panel {
  background: var(--surface); border: 2px solid #2563eb; border-radius: 20px;
  padding: 28px; box-shadow: 0 16px 40px -12px rgba(37, 99, 235, 0.15); margin: 32px 0;
}
.calc-header { border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 22px; }
.calc-header h2 { font-size: 1.35rem; color: var(--navy); }
.calc-header p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.control-group { margin-bottom: 20px; }
.control-label { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 8px; font-size: 0.96rem; }
.control-val { color: var(--primary); font-weight: 800; }
input[type="range"] { width: 100%; accent-color: var(--primary); height: 8px; cursor: pointer; }
select.calc-select {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid #cbd5e1;
  font-size: 0.96rem; font-weight: 600; background: #f8fafc;
}
.result-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px; margin: 22px 0;
}
.res-box {
  background: #f8fafc; border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px;
}
.res-box.highlight { background: #eff6ff; border: 2px solid var(--primary); }
.res-box .lbl { font-size: 0.82rem; color: var(--muted); font-weight: 700; }
.res-box .num { font-size: 1.48rem; font-weight: 800; color: var(--navy); margin-top: 4px; }
.res-box.highlight .num { color: var(--primary-dark); }
.content h2 { font-size: 1.45rem; color: var(--navy); margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #e2e8f0; }
.content h3 { font-size: 1.18rem; color: var(--navy-2); margin: 26px 0 10px; }
.content p { margin-bottom: 16px; color: #1e293b; font-size: 1.02rem; }
.content ul, .content ol { padding-left: 22px; margin-bottom: 18px; }
.content li { margin-bottom: 8px; color: #1e293b; }
.table-scroll { overflow-x: auto; margin: 22px 0; border-radius: 12px; border: 1px solid var(--border); }
table.data-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.94rem; }
table.data-table th { background: #0f172a; color: #fff; text-align: left; padding: 13px 15px; font-weight: 700; }
table.data-table td { padding: 12px 15px; border-bottom: 1px solid var(--border); }
table.data-table tr:nth-child(even) td { background: #f8fafc; }
.caveat-box {
  background: var(--amber-bg); border: 1px solid #f59e0b; border-radius: 14px;
  padding: 18px 20px; margin: 26px 0;
}
.caveat-box strong { color: #92400e; }
.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff; border-radius: 18px; padding: 28px; margin: 36px 0; text-align: center;
}
.cta-banner h3 { color: #fff; font-size: 1.32rem; margin-bottom: 8px; }
.cta-banner p { color: #cbd5e1; font-size: 0.96rem; margin-bottom: 18px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; margin-bottom: 12px; }
.faq-item h4 { font-size: 1.04rem; color: var(--navy); margin-bottom: 6px; }
.faq-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.site-footer {
  background: #0f172a; color: #94a3b8; padding: 42px 0; font-size: 0.88rem; margin-top: 60px;
}
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: #cbd5e1; }
@media (max-width: 640px) {
  .header-inner { height: auto; padding: 12px 0; flex-direction: column; align-items: flex-start; }
  .calc-panel { padding: 20px 16px; }
}
