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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

header {
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover {
    color: #000;
}

nav a.active {
    color: #000;
    font-weight: 500;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 3rem 2rem;
}

.hero {
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.affiliation {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.affiliation a {
    color: #0066cc;
    text-decoration: none;
}

.affiliation a:hover {
    text-decoration: underline;
}

.description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

.research-box {
    background: #e8f0ff;
    padding: 1rem;
    border-radius: 8px;
    margin: 0.75rem 0;
    border-left: 4px solid #0066cc;
}

.minimal-box {
    background: #efefefaf;
    padding: 1rem;
    border-radius: 8px;
    margin: 0.75rem 0;
    border-left: 2px solid #989898;
}

section {
    margin: 0.3rem 0 1.5rem 0;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.affiliations-list {
    list-style: none;
    margin: 0 0 1.5rem 0;
}

.affiliations-list li {
    padding: 0.2rem 0;
    font-size: 1rem;
}

.affiliations-list li:before {
    content: "– ";
    margin-right: 0.5rem;
}

.affiliations-list a {
    color: #0066cc;
    text-decoration: none;
}

.affiliations-list a:hover {
    text-decoration: underline;
}

section:last-of-type {
    margin-bottom: -1.5rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #e8f0ff;
    color: #0066cc;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    transition: background 0.2s;
    border: 1px solid #cce0ff;
    cursor: pointer;
}

.btn:hover {
    background: #cce0ff;
}

.btn-secondary {
    background: #e8f0ff;
    color: #0066cc;
    border: 1px solid #cce0ff;
}

.btn-secondary:hover {
    background: #cce0ff;
}

footer {
    background: white;
    border-top: 1px solid #eee;
    margin-top: 0;
    padding: 0.5rem 2rem 2rem 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

footer a {
    color: #0066cc;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    main {
        padding: 1.5rem;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        text-align: center;
        width: 100%;
    }
}