:root {
    --color-text: #2c2c2c;
    --color-text-secondary: #5a5a5a;
    --color-background: #f5f1eb;
    --color-border: #e0dcd4;

    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-size: 15px;
    --line-height: 1.6;

    --max-width: 650px;
    --spacing: 2rem;
}

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size);
    line-height: var(--line-height);
    color: var(--color-text);
    background: var(--color-background);
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

/* Typography */

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

h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

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

/* Header */

header {
    margin-bottom: var(--spacing);
}

.role {
    color: var(--color-text-secondary);
    margin-bottom: 0.25rem;
}

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

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

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

/* Links */

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-bottom: var(--spacing);
    font-size: 0.9rem;
}

/* Sections */

section {
    margin-bottom: var(--spacing);
}

/* Lists */

ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.4rem;
}

/* Note */

.note p {
    color: var(--color-text-secondary);
    font-style: italic;
}

/* Responsive */

@media (min-width: 640px) {
    :root {
        --font-size: 15px;
    }

    main {
        padding: 6rem 2rem;
    }
}

@media (min-width: 768px) {
    :root {
        --font-size: 16px;
    }
}
