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

:root {
    --bg: #090d12;
    --text: #e7edf3;
    --muted: #91a0ae;
    --line: #202a34;
    --green: #54e38e;
    --blue: #55b8ff;
    --purple: #b58cff;
    --red: #ff8a8a;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 0%, rgba(84, 227, 142, 0.045), transparent 30%),
        var(--bg);
    color: var(--text);
    font-family: "JetBrains Mono", Consolas, monospace;
}

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

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.brand {
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 600;
    letter-spacing: -1.5px;
}

.prompt {
    color: var(--green);
    margin-right: 12px;
}

.dot {
    color: var(--green);
}

.github {
    color: var(--text);
    font-size: 14px;
    transition: color 0.2s ease;
}

.github span {
    color: var(--blue);
    margin-left: 6px;
}

.github:hover {
    color: var(--blue);
}

.intro {
    padding: 78px 0 58px;
    max-width: 780px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

h1 {
    margin: 0;
    font-size: clamp(32px, 6vw, 58px);
    line-height: 1.12;
    letter-spacing: -2.5px;
    font-weight: 500;
}

.description {
    margin: 25px 0 0;
    max-width: 680px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.projects {
    padding-bottom: 60px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 2px;
}

.section-title div {
    height: 1px;
    flex: 1;
    background: var(--line);
}

.tools-title {
    margin-top: 58px;
}

.project {
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: start;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    transition: background 0.2s ease, padding 0.2s ease;
}

.project:hover {
    background: rgba(255, 255, 255, 0.025);
    padding-left: 10px;
    padding-right: 10px;
}

.icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    font-size: 23px;
    border: 1px solid currentColor;
    border-radius: 8px;
}

.icon.web,
.icon.clip {
    color: var(--blue);
}

.icon.chat {
    color: var(--green);
}

.icon.hash {
    color: var(--purple);
}

.icon.pdf {
    color: var(--red);
}

.project-info h2 {
    margin: 3px 0 8px;
    font-size: 18px;
    font-weight: 500;
}

.project-info p {
    margin: 0;
    max-width: 850px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 16px;
}

.links a {
    color: var(--blue);
    font-size: 12px;
    transition: color 0.2s ease;
}

.links a:hover {
    color: var(--green);
}

.links span {
    margin-left: 5px;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0 42px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.footer-command {
    color: var(--green);
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .topbar {
        min-height: 95px;
    }

    .intro {
        padding: 55px 0 42px;
    }

    h1 {
        letter-spacing: -1.5px;
    }

    .project {
        grid-template-columns: 45px 1fr;
        gap: 14px;
    }

    .project:hover {
        padding-left: 5px;
        padding-right: 5px;
    }

    footer {
        gap: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
}
