@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&display=swap");

:root {
    color-scheme: light;
    --text: #111111;
    --muted: #3c3c3c;
    --border: #d9d9d9;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
    background: radial-gradient(circle at top, #f7f7f7 0%, #ffffff 55%);
    color: var(--text);
}

.page {
    max-width: 980px;
    margin: 48px auto 80px;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.menu {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #f7f7f7;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
}

.menu-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: #2f2f2f;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.profile {
    width: 120px;
    height: 120px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    box-shadow: var(--shadow);
}

.profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.title {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.section {
    border: 1px solid #efefef;
    border-radius: 16px;
    padding: 18px 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.section p {
    margin: 0;
}

.section .topics-title {
    margin-bottom: 10px;
}

.section .topics {
    margin-top: 8px;
}

.intro {
    margin: 0;
    max-width: 820px;
    line-height: 1.6;
    color: var(--muted);
}

.topics-title,
.social-title {
    margin: 0;
    font-weight: 600;
}

.topics {
    list-style: disc;
    padding-left: 22px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--muted);
}

.inline-link {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    font-weight: 600;
}

.inline-link:hover,
.inline-link:focus {
    color: #000000;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.social {
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid transparent;
    font-weight: 600;
}

.social:hover,
.social:focus {
    border-bottom-color: var(--text);
}

@media (max-width: 640px) {
    .page {
        margin: 32px auto 60px;
        padding: 0 20px;
    }

    .profile {
        width: 96px;
        height: 96px;
    }

    .title {
        font-size: 26px;
    }

    .socials {
        gap: 12px;
    }
}
