:root {
  --bg: #0a0a0a;
  --fg: #e5e5e5;
  --muted: #737373;
  --border: #262626;
  --accent: #3b82f6;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 4rem 2rem;
}

main {
  width: 100%;
  max-width: 640px;
}

.cv {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

header h1 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
}

section {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}

section:last-of-type {
  border-bottom: none;
}

h2 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.entry {
  margin-bottom: 1.5rem;
}

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

.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.title {
  font-weight: 500;
}

.period {
  font-size: 0.875rem;
  color: var(--muted);
}

.organization {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

ul {
  list-style: none;
  padding-left: 0;
}

li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  color: var(--fg);
}

li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.references {
  font-size: 0.875rem;
  white-space: pre-line;
}

.response-time {
  font-size: 0.875rem;
  color: var(--muted);
}

a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

a:hover {
  border-color: var(--fg);
}

footer {
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

footer p {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

#verify-date {
  color: var(--fg);
}

@media (max-width: 480px) {
  body {
    padding: 2rem 1rem;
  }

  .entry-header {
    flex-direction: column;
  }

  .period {
    margin-top: 0.25rem;
  }
}

@media print {
  body {
    background: white;
    color: black;
    padding: 0;
  }

  .cv {
    gap: 1.5rem;
  }

  section {
    padding-bottom: 1rem;
    border-color: #ccc;
  }
}
