:root {
  --bg-top: #f3f7ff;
  --bg-bottom: #fefcf8;
  --surface: #ffffff;
  --surface-muted: #f7fafc;
  --ink: #152238;
  --ink-soft: #405068;
  --primary: #045d72;
  --accent: #d26a2e;
  --line: #d6e1eb;
  --shadow: 0 18px 36px rgba(20, 34, 56, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'IBM Plex Sans KR', 'Noto Sans', sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

.hero-main {
  position: relative;
  overflow: hidden;
}

.hero-main::before {
  display: none;
}

.hero-main .hero-body {
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

.venue-chip {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(4, 93, 114, 0.26);
  background: rgba(4, 93, 114, 0.08);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.publication-title {
  font-family: 'Sora', 'Google Sans', sans-serif;
  font-size: clamp(2rem, 3vw + 0.8rem, 3.35rem);
  line-height: 1.15;
  color: #0f1f36;
  margin-bottom: 1rem;
  animation: riseIn 550ms ease-out both;
}

.publication-subtitle {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.publication-authors {
  margin-bottom: 0.5rem;
}

.author-block {
  display: inline-block;
  margin-right: 0.25rem;
}

.publication-authors a {
  color: #0f548f !important;
  font-weight: 500;
}

.publication-authors a:hover {
  color: #0a7a8d !important;
  text-decoration: underline;
}

.publication-note {
  color: #5f6c80;
  margin-bottom: 1rem;
}

.publication-links {
  margin-top: 0.85rem;
}

.link-block a,
.link-block .button {
  margin: 0.35rem;
}

.button.is-dark {
  background-color: #1b2f4e;
}

.button.is-dark:hover {
  background-color: #0f548f;
}

.button.is-light.is-static {
  border: 1px solid #d8dde7;
  color: #55657a;
}

.teaser .hero-body {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.paper-figure {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media-caption {
  margin-top: 0.75rem;
  color: #5c6b7b;
  font-size: 0.96rem;
}

.section {
  padding-top: 2.8rem;
  padding-bottom: 2.8rem;
}

.section-surface {
  background: #ffffff;
  border-top: 1px solid rgba(214, 225, 235, 0.7);
  border-bottom: 1px solid rgba(214, 225, 235, 0.7);
}

.method-grid {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.method-card,
.result-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.method-card {
  background: linear-gradient(160deg, #ffffff 0%, #f5fafb 100%);
}

.result-card {
  background: linear-gradient(160deg, #ffffff 0%, #fff8f1 100%);
}

.method-card h3,
.result-card h3 {
  font-family: 'Sora', sans-serif;
  color: #15294a;
  margin-bottom: 0.5rem !important;
}

.result-card ul {
  margin-left: 1.2rem;
}

.content p,
.content li {
  color: #24354d;
}

#BibTeX pre {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0f1c2f;
  color: #e9f0ff;
  padding: 1rem;
  overflow-x: auto;
}

.footer {
  background: #0f1f36;
  color: #d5dbea;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer .icon-link {
  font-size: 1.4rem;
  color: #f0f4ff;
  margin: 0 0.35rem;
}

.footer .icon-link:hover {
  color: #90d9e8;
}

.footer a {
  color: #9fddf0;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-main .hero-body {
    padding-top: 3rem;
    padding-bottom: 1.75rem;
  }

  .publication-subtitle {
    font-size: 1rem;
  }

  .section {
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
  }

  .link-block a,
  .link-block .button {
    width: 100%;
    justify-content: center;
  }
}
