:root {
    --bg: #f5f5f5;
    --text: #111111;
    --text-secondary: #666666;
    --accent: #111111;
    --accent-hover: #444444;
    --border: #e5e5e5;
}

[data-theme="dark"] {
    --bg: #111111;
    --text: #f5f5f5;
    --text-secondary: #999999;
    --accent: #f5f5f5;
    --accent-hover: #cccccc;
    --border: #333333;
}

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

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background-color 0.2s ease, color 0.2s ease;
    min-height: 100vh;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 5rem 1.5rem 3rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    margin-bottom: 3rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.tagline {
    color: var(--text-secondary);
    font-size: 1rem;
}

.tagline a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tagline a:hover {
    color: var(--text);
}


.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--text);
}

.sun-icon {
    display: none;
}

.moon-icon {
    display: block;
}

[data-theme="dark"] .sun-icon {
    display: block;
}

[data-theme="dark"] .moon-icon {
    display: none;
}

main {
    flex: 1;
}

.section {
    margin-bottom: 2.5rem;
}

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

.list {
    list-style: none;
}

.list li {
    margin-bottom: 0.5rem;
}

.list a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.list a:hover {
    color: var(--text-secondary);
}

.role {
    color: var(--text-secondary);
    font-size: inherit;
}

.separator {
    color: var(--text-secondary);
    margin: 0 0.1rem;
}

.note {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.description {
    color: var(--text);
    line-height: 1.7;
}

.work-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.work-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.work-title {
    color: var(--text);
}

.work-title a {
    color: var(--text);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.work-title a:hover {
    color: var(--text-secondary);
}

.work-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.work-note {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

footer {
    margin-top: auto;
    padding-top: 3rem;
}

.links {
    display: flex;
    gap: 1.5rem;
}

.links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.links a:hover {
    color: var(--text);
}

.links svg {
    display: block;
}

.footer-note {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 1rem;
}

@media (max-width: 480px) {
    .container {
        padding: 3rem 1.25rem 2rem;
    }

    h1 {
        font-size: 1.25rem;
    }
}
