:root {
  --text: #1a1a1a;
  --text-secondary: #555;
  --border: #e0e0e0;
  --bg: #fff;
}

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

html {
  font-size: 18px;
}

body {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 600px;
  padding: 80px 24px 60px;
  margin: 0 auto;
}

/* Header */
.head {
  margin-bottom: 48px;
}

.head h1 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.affiliation {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Sections */
.section {
  margin-bottom: 40px;
}

.section h2 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.intro {
  font-size: 1.15rem;
  margin-bottom: 1em;
}

.intro:last-child {
  margin-bottom: 0;
}

.section p {
  color: var(--text);
}

/* Paper */
.paper {
  margin-bottom: 20px;
}

.paper:last-child {
  margin-bottom: 0;
}

.paper-title {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.paper-authors {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.5;
}

.paper-links {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  color: var(--text-secondary);
}

.paper-links a {
  color: var(--text-secondary);
}

/* Links */
.links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.links li {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 0.15s ease;
}

a:hover {
  opacity: 0.6;
}

/* Footer */
.foot {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }
  
  .wrap {
    padding: 48px 20px 40px;
  }

  .head h1 {
    font-size: 26px;
  }

  .links {
    flex-direction: column;
    gap: 12px;
  }
}

/* Selection */
::selection {
  background: #1a1a1a;
  color: #fff;
}
