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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

header {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.name {
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    color: #333;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #333;
}

main {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.section {
    margin-bottom: 60px;
}

h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

p a {
    color: #333;
    text-decoration: underline;
    text-decoration-color: #ccc;
    transition: text-decoration-color 0.2s ease;
}

p a:hover {
    text-decoration-color: #333;
}

.investments-table {
    margin-top: 20px;
}

.investment-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.investment-row:last-child {
    border-bottom: none;
}

.category {
    font-size: 14px;
    font-weight: 500;
    color: #999;
    width: 60px;
    flex-shrink: 0;
}

.company {
    flex: 1;
    margin: 0 20px;
}

.company a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

.company a:hover {
    color: #666;
}

.stage {
    font-size: 14px;
    color: #999;
    text-align: right;
    flex-shrink: 0;
}

.stage a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.stage a:hover {
    color: #666;
}

.writings-table {
    margin-top: 20px;
}

.writing-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.writing-row:last-child {
    border-bottom: none;
}

.title {
    flex: 1;
    margin-right: 20px;
}

.title a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

.title a:hover {
    color: #666;
}

.year {
    font-size: 14px;
    color: #999;
    text-align: right;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    header {
        padding: 40px 20px 30px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .name {
        font-size: 20px;
    }
    
    nav ul {
        gap: 15px;
        justify-content: center;
    }
    
    main {
        padding: 0 20px 60px;
    }
    
    .section {
        margin-bottom: 40px;
    }
    
    .investment-row {
        flex-direction: column;
        gap: 5px;
        padding: 12px 0;
    }
    
    .category {
        width: auto;
        margin-bottom: 5px;
    }
    
    .company {
        margin: 0;
    }
    
    .stage {
        text-align: left;
    }
    
    .writing-row {
        flex-direction: column;
        gap: 5px;
        padding: 12px 0;
    }
    
    .title {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .year {
        text-align: left;
    }
}