:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #4a4a4a;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --max-width: 980px;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(247, 249, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
}

nav a {
  margin-left: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.hero {
  padding: 56px 0 32px;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-direction: row-reverse;
}

.hero-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}



.hero h1 {
  margin: 0 0 10px;
  font-size: 2.8rem;
  line-height: 1.1;
}

.subtitle {
  max-width: 900px;
  font-size: 1rem;
  color: var(--muted);
  font-weight: normal;
  margin-bottom: 14px;
}

.hero-desc {
  color: var(--muted);
  max-width: 700px;
}

.hero-text {
  max-width: 100%;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn.primary:hover {
  background: var(--primary-dark);
}

.hero-card .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 52px 0;
}

.section.alt {
  background: #f2f5fa;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.subhead {
  margin-top: 36px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.time {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.content h3 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.content p {
  margin-top: 0;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.95rem;
}

.content ul {
  margin-top: 5px;
  padding-left: 18px;
  font-size: 0.95rem;
}

.pub-list {
  padding-left: 20px;
}

.pub-list li {
  margin-bottom: 16px;
}

.pub-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.pub-item img {
  width: 120px;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
}

.pub-item div {
  flex-grow: 1;
}

.pub-item strong {
  display: block;
  margin-bottom: 2px;
}

.pub-item strong a {
  color: var(--text);
}

.pub-item .pub-authors {
  display: block;
  margin-top: 0;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.9rem;
}

.pub-item .pub-conference-info {
  display: block;
  margin-top: 0;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.85rem;
}

.pub-item .pub-links {
  margin-top: 5px;
  display: block;
}

.pub-item .pub-links a {
  color: var(--muted);
  font-size: 0.9rem;
}

.note {
  color: var(--muted);
  margin-top: 18px;
}

.note a {
  color: var(--muted);
}

.simple-list {
  padding-left: 18px;
}

.site-footer {
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .hero-content {
    flex-direction: column;
    gap: 30px;
  }

  .hero-image {
    width: 150px;
    height: 150px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-item .time {
    font-size: 0.85rem;
  }

  .timeline-item .content h3 {
    font-size: 0.95rem;
  }

  .timeline-item .content p,
  .timeline-item .content ul {
    font-size: 0.9rem;
  }

  nav {
    display: none;
  }
}
