:root {
  --primary: #5b8def;
  --background: #ffffff;
  --text: #333333;
  --text-secondary: #666666;
  --border: #e5e5e5;
  --card-bg: #fafafa;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  padding: 2rem 0;
}

.navbar .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-brand a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

/* Main content */

section {
  padding: 1.5rem 0;
}

.hero {
  text-align: center;
  padding: 2rem 0 2rem 0;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid var(--border);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.location {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Highlights section */
.highlights {
  border-top: 1px solid var(--border);
}

.highlight-list {
  max-width: 600px;
  margin: 0 auto;
}

.highlight-item {
  margin-bottom: 1.5rem;
}

.highlight-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Section headers */
h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text);
  font-weight: 600;
}

/* Projects section */
.projects {
  border-top: 1px solid var(--border);
}

.project-list {
  max-width: 600px;
  margin: 0 auto;
}

.project-item {
  margin-bottom: 1.5rem;
}

.project-item h3 {
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.project-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.project-links {
  margin: 0.5rem 0;
}

.project-links a {
  color: var(--primary);
  text-decoration: none;
  margin-right: 1rem;
  font-size: 0.85rem;
}

.project-links a:hover {
  text-decoration: underline;
}

.project-notes {
  margin-top: 0.5rem;
}

.project-notes span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Talks section */
.talks {
  border-top: 1px solid var(--border);
}

.talk-list {
  max-width: 600px;
  margin: 0 auto;
}

.talk-item {
  margin-bottom: 1.5rem;
}

.talk-item h3 {
  margin-bottom: 0.3rem;
}

.talk-item h3 a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
}

.talk-item h3 a:hover {
  text-decoration: underline;
}

.talk-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

/* Writing section */
.writing {
  border-top: 1px solid var(--border);
}

.writing-list {
  max-width: 600px;
  margin: 0 auto;
}

.writing-item {
  margin-bottom: 1.5rem;
}

.writing-item h3 {
  margin-bottom: 0.3rem;
}

.writing-item h3 a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
}

.writing-item h3 a:hover {
  text-decoration: underline;
}

.writing-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

/* Podcasts section */
.podcasts {
  border-top: 1px solid var(--border);
}

.podcast-list {
  max-width: 600px;
  margin: 0 auto;
}

.podcast-item {
  margin-bottom: 1.5rem;
}

.podcast-item h3 {
  margin-bottom: 0.3rem;
}

.podcast-item h3 a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
}

.podcast-item h3 a:hover {
  text-decoration: underline;
}

.podcast-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

/* Tech section */
.tech {
  border-top: 1px solid var(--border);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.tech-tag {
  background-color: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.85rem;
}

/* Connect section */
.connect {
  border-top: 1px solid var(--border);
  text-align: center;
}

.connect-message {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.connect-email {
  margin-bottom: 1.5rem;
}

.connect-email a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  transition: opacity 0.2s ease;
}

.connect-email a:hover {
  opacity: 0.7;
}

.connect-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.connect-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.connect-links a:hover {
  opacity: 0.7;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .connect-links {
    gap: 1.5rem;
  }

}
