:root {
    --bg: #050816;
    --text: #d6deeb;
    --muted: #8a94a6;
    --line: #1a2233;
    --accent: #7dd3fc;
    --grid-accent: #00c78a;
    --max-width: 760px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top, rgba(0, 199, 138, 0.08), transparent 36%),
        radial-gradient(circle at bottom, rgba(0, 199, 138, 0.06), transparent 34%),
        var(--bg);
    color: var(--text);
    font-family: "JetBrains Mono", monospace;
    font-size: 17px;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    display: grid;
    place-items: center;
    padding: 48px 20px;
}

.page {
    width: min(92%, var(--max-width));
    margin: 40px auto 0;
    padding: 108px 56px 88px;
    background: rgba(5, 8, 22, 0.88);
    border: 1px solid rgba(26, 34, 51, 0.92);
    border-radius: 18px;
    box-shadow:
        0 0 0 1px rgba(125, 211, 252, 0.05),
        0 32px 80px rgba(0, 0, 0, 0.45);
    position: relative;
    z-index: 1;
}

.page::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(125, 211, 252, 0.08);
    border-radius: 12px;
    pointer-events: none;
}

.page-photo {
    position: absolute;
    top: 0;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.page-photo-image {
    width: 104px;
    height: 104px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(0, 199, 138, 0.28);
    box-shadow:
        0 0 0 1px rgba(0, 199, 138, 0.08),
        0 18px 40px rgba(0, 0, 0, 0.28);
}

a {
    color: inherit;
    text-decoration: none;
}

svg {
    display: block;
}

.hero,
.section {
    padding-bottom: 56px;
}

.hero-role,
.section-title {
    color: var(--muted);
    font-size: 20px;
    font-weight: 500;
}

.hero-name {
    margin-top: 8px;
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero-summary {
    margin-top: 18px;
    max-width: 32ch;
    color: var(--text);
}

.hero-links {
    display: flex;
    gap: 14px;
    margin-top: 28px;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--muted);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.icon-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.icon-link-mark {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.icon-link-mark svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.section {
    border-top: 1px solid var(--line);
    padding-top: 28px;
}

.plain-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.plain-list li {
    color: var(--text);
}

.plain-list li::before {
    content: "> ";
    color: var(--accent);
}

@media (max-width: 640px) {
    .page {
        margin-top: 32px;
        padding: 88px 24px 56px;
    }

    .page::before {
        inset: 10px;
    }

    .hero,
    .section {
        padding-bottom: 44px;
    }

    .page-photo {
        transform: translate(-50%, -44%);
    }

    .page-photo-image {
        width: 88px;
        height: 88px;
    }

    body {
        font-size: 16px;
    }
}
