* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: #202124;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  line-height: 1.65;
}

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 24px 50px;
}


/* Header */

.hero {
  margin-bottom: 60px;
}

h1 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.subtitle {
  margin-top: 12px;
  margin-bottom: 0;
  color: #5f6368;
  font-size: 1.15rem;
}

.intro {
  margin-top: 20px;
  max-width: 650px;
  font-size: 1.08rem;
}


/* Navigation */

.links {
  margin-top: 24px;
}

.links a {
  margin-right: 18px;
}


/* Typography */

h2 {
  margin-top: 60px;
  margin-bottom: 28px;

  padding-bottom: 8px;

  border-bottom: 1px solid #e5e7eb;

  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 4px;

  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin-top: 10px;
  margin-bottom: 10px;
}


/* Links */

a {
  color: #1a73e8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* Research / projects */

.project {
  margin-bottom: 38px;
}

.meta {
  margin-top: 2px;

  color: #777;
  font-size: 0.95rem;
}

.project-links {
  margin-top: 10px;
}

.project-links a {
  margin-right: 16px;
}


/* Footer */

footer {
  margin-top: 80px;

  padding-top: 20px;

  border-top: 1px solid #e5e7eb;

  color: #9aa0a6;

  font-size: 0.85rem;
}


/* Mobile */

@media (max-width: 600px) {
  .container {
    padding-top: 45px;
  }

  h1 {
    font-size: 2.4rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .links a {
    display: inline-block;
    margin-bottom: 8px;
  }
}
