:root {
    --bg: #ffffff;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --accent: #2563eb;
    --border: #e5e7eb;

    --radius: 14px;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);

    --font: "Source Serif 4", serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0a0a0a;
        --card: #121212;
        --text: #e5e7eb;
        --muted: #9ca3af;
        --accent: #60a5fa;
        --border: #1f2933;
        --shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-wrapper {
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.profile-card {
    width: 100%;
    max-width: 720px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.name {
    margin: 0;
    font-size: 1.9rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    font-family: "Fasthand", cursive;
}

.headline {
    margin: 0;
    font-size: 1rem;
    color: var(--muted);
    max-width: 90%;
    line-height: 1.5;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.dot {
    opacity: 0.5;
}

.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.25rem 0 1.5rem 0;
    width: 100%;
    opacity: 0.9;
}

.connect {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.connect h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.connect-text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.connect-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.connect-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.connect-item:hover {
    opacity: 0.7;
}

.icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
}

.icon img {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 480px) {
    .profile-card {
        padding: 2rem 1.75rem;
    }

    .name {
        font-size: 1.7rem;
    }

    .headline {
        max-width: 100%;
    }
}