/* Modern single-page layout */
:root {
    --bg: #f5f7fb;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #4b5563;
    --accent: #2563eb;
    --border: #e5e7eb;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Google Sans Code", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.page {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 18px 72px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;
    background: var(--card);
    padding: 22px 24px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.hero__avatar img {
    width: 128px;
    height: 128px;
    border-radius: 18px;
    object-fit: cover;
    /* border: 1px solid var(--border); */
    display: block;
}

.hero__meta h1 {
    margin: 0 0 8px;
}

.hero__links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.icon-button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: #f3f4f6;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform 120ms ease, box-shadow 160ms ease, background-color 120ms ease;
}

.icon-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background: #edf2ff;
}

.icon-button img {
    width: 20px;
    height: 20px;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

h1, h2 {
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2rem;
    border: none;
    padding: 0;
}

h2 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    border: none;
    padding: 0 0 8px;
    border-bottom: 1px solid var(--border);
}

p {
    margin: 0 0 10px;
    color: var(--muted);
}

ul {
    margin: 0;
    padding-left: 1.1rem;
}

ul.item-list {
    display: grid;
    gap: 8px;
}

ul.item-list li {
    color: var(--text);
    line-height: 1.55;
}

#footer {
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    padding: 8px 0 4px;
}

#footer a {
    color: var(--accent);
}

#footer-text {
    color: #6b7280;
}

@media (max-width: 720px) {
    .page {
        padding: 20px 16px 56px;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__links {
        justify-content: center;
    }

    .hero__avatar img {
        margin: 0 auto;
    }

    h1 {
        font-size: 1.6rem;
    }
}

/* Lightweight PDF badge */
.pdf-badge,
a[href$=".pdf"] {
    display: inline-block;
    margin-left: .3rem;
    padding: .15rem .45rem;
    background: #f2f2f2;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font: 11px/1 Arial, sans-serif;
    color: #202124;
    text-decoration: none;
}

.pdf-badge:hover,
a[href$=".pdf"]:hover {
    background: #e8e8e8;
    border-color: #c6c6c6;
}
