
:root {
  --bg: #f5f9fc;
  --panel: #ffffff;
  --panel-alt: #edf5fb;
  --text: #0f2337;
  --muted: #5e7080;
  --line: #d8e4ee;
  --primary: #0f4c81;
  --primary-dark: #0b3558;
  --accent: #0bb4b8;
  --accent-soft: #dff7f7;
  --shadow: 0 14px 40px rgba(10, 34, 58, 0.08);
  --radius: 22px;
  --radius-sm: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(245,249,252,0.84);
  border-bottom: 1px solid rgba(216,228,238,0.8);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 82px; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--text); }
.brand-logo { width: 66px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.02rem; }
.brand-text span { font-size: .86rem; color: var(--muted); }
.site-nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.site-nav a { font-weight: 600; font-size: .95rem; }
.nav-toggle {
  display: none; border: 0; background: var(--panel); border-radius: 12px;
  box-shadow: var(--shadow); padding: .55rem .8rem; font-size: 1.1rem;
}
.hero {
  background: radial-gradient(circle at top right, rgba(11,180,184,0.16), transparent 32%),
              radial-gradient(circle at top left, rgba(15,76,129,0.10), transparent 28%),
              linear-gradient(180deg, #f8fcff 0%, #f2f7fb 100%);
  padding: 4.2rem 0 3.5rem;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .95fr; gap: 2rem; align-items: center; }
.eyebrow {
  margin: 0 0 .7rem; color: var(--accent); font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; font-size: .78rem;
}
.hero h1, .section h2 { margin: 0; line-height: 1.13; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 14ch; }
.hero h1 span { color: var(--primary); }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 62ch; margin: 1.1rem 0 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.1rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.2rem;
  border-radius: 999px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-secondary { background: #fff; color: var(--primary-dark); border: 1px solid var(--line); }
.hero-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .95rem; }
.hero-panel { background: var(--panel); border: 1px solid rgba(216,228,238,.8); border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow); padding: 1.2rem; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.metric-card { background: linear-gradient(180deg, #fff, #f6fbff); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.25rem; }
.metric-value { display: block; font-size: 1.55rem; font-weight: 800; color: var(--primary); }
.metric-label { display: block; margin-top: .3rem; color: var(--muted); font-size: .95rem; }
.section { padding: 4.6rem 0; }
.section-alt { background: var(--panel-alt); }
.section-head { margin-bottom: 1.8rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 18ch; }
.section-note { margin-top: .75rem; color: var(--muted); }
.about-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.card, .contact-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.55rem; box-shadow: var(--shadow);
}
.clean-list { margin: .8rem 0 0; padding-left: 1rem; }
.clean-list li { margin-bottom: .45rem; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card, .person-card, .ip-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.25rem; box-shadow: var(--shadow);
}
.feature-card h3, .pub-item h3, .person-card h3, .ip-card h3 { margin: 0 0 .6rem; font-size: 1.1rem; }
.table-wrap { overflow-x: auto; }
.data-table {
  width: 100%; border-collapse: collapse; background: var(--panel); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.data-table th, .data-table td { padding: .95rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: #0f4c81; color: #fff; font-weight: 700; }
.data-table tbody tr:nth-child(even) { background: #f9fcff; }
.pub-list { display: grid; gap: 1rem; }
.pub-item {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.3rem; box-shadow: var(--shadow);
}
.pub-meta { color: var(--muted); margin: 0 0 .65rem; }
.ip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tag {
  display: inline-block; background: var(--accent-soft); color: #0b666a; padding: .28rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; margin-bottom: .7rem;
}
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.person-avatar {
  width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: .9rem;
}
.person-role { color: var(--accent); font-weight: 700; margin-top: -.1rem; }
.muted { background: linear-gradient(135deg, #96a9b8, #b3c1cc); }
.section-contact { background: linear-gradient(180deg, #f6fbfe 0%, #edf5fb 100%); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: .7rem; }
.site-footer { background: #0b1e2f; color: rgba(255,255,255,0.86); padding: 1.6rem 0; }
.footer-wrap { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.footer-wrap p { margin: .25rem 0 0; }
.footer-note { color: rgba(255,255,255,.68); max-width: 42ch; text-align: right; }

@media (max-width: 1024px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards-grid, .ip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; right: 1rem; top: 76px; background: rgba(255,255,255,.98); border: 1px solid var(--line);
    border-radius: 18px; box-shadow: var(--shadow); padding: 1rem; min-width: 220px; display: none; flex-direction: column;
  }
  .site-nav.open { display: flex; }
  .metric-grid, .cards-grid, .ip-grid, .people-grid { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
  .footer-note { text-align: left; }
  .brand-logo { width: 56px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 3.2rem; }
  .hero h1 { max-width: none; }
  .container { width: min(100% - 1.2rem, 1180px); }
  .section { padding: 3.6rem 0; }
  .data-table th, .data-table td { padding: .8rem .8rem; font-size: .92rem; }
}

/* Bilingual language selector */
.nav-actions{display:flex;align-items:center;gap:.65rem;flex-shrink:0}
.lang-switch{display:flex;align-items:center;padding:3px;border:1px solid var(--line);border-radius:999px;background:#fff;white-space:nowrap}
.lang-option{padding:.36rem .68rem;border-radius:999px;color:var(--muted);font-size:.8rem;font-weight:700;line-height:1.4}
.lang-option.active{background:var(--primary);color:#fff}
.lang-option:hover{text-decoration:none;color:var(--primary)}
.lang-option.active:hover{color:#fff}
html[lang="ko"] body{font-family:'Noto Sans KR','Inter',system-ui,-apple-system,sans-serif;word-break:keep-all}
html[lang="ko"] .hero h1{max-width:17ch}
html[lang="ko"] .section-head h2{max-width:28ch}
@media(max-width:1100px){.nav-wrap{flex-wrap:wrap}.site-nav{order:3;width:100%;justify-content:center;gap:.75rem}}
@media(max-width:760px){.nav-wrap{flex-wrap:wrap}.nav-actions{margin-left:auto}.site-nav{order:3}.lang-option{font-size:.76rem;padding:.35rem .55rem}}
