/* Design
   Background:  #0d0d0f  near-black
   Surface:     #13131a  card backgrounds
   Text:        #e8e8f0  off-white
   Muted text:  #565f89
   Accent:      #7aa2f7  muted blue
*/

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

body {
    background: #0d0d0f;
    color: #e8e8f0;
    font-family: "Inter", sans-serif;
    line-height: 1.6;
}

h1,
h2,
h3,
.logo {
    font-family: "JetBrains Mono", monospace;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #1d1d24;
}

.logo {
    color: #7aa2f7;
    font-weight: 600;
}

nav a {
    color: #565f89;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
}

nav a:hover,
nav a:focus-visible {
    color: #e8e8f0;
}

/* Layout */
main {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    padding: 4rem 0 3rem;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.hero p {
    color: #565f89;
    font-size: 1.05rem;
}

.section {
    padding: 3rem 0;
    border-top: 1px solid #1d1d24;
}

.section h2 {
    font-size: 1.1rem;
    color: #7aa2f7;
    margin-bottom: 1.5rem;
    text-transform: lowercase;
}

/* Project card */
.card {
    background: #13131a;
    border: 1px solid #1d1d24;
    border-radius: 6px;
    padding: 1.5rem;
}

.card h3 {
    margin-bottom: 0.5rem;
}

.card p {
    color: #a9a9c0;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.tags span {
    display: inline-block;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    color: #7aa2f7;
    border: 1px solid #2a2a35;
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
    margin-right: 0.5rem;
}

.empty-note {
    color: #565f89;
    font-style: italic;
    font-size: 0.95rem;
}

.card h3 a {
    color: #e8e8f0;
    text-decoration: none;
}

.card h3 a:hover,
.card h3 a:focus-visible {
    color: #7aa2f7;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #1d1d24;
}

.site-footer a {
    color: #565f89;
    text-decoration: none;
    font-size: 0.9rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #7aa2f7;
}

a:focus-visible {
    outline: 2px solid #7aa2f7;
    outline-offset: 2px;
}

/* Mobile view */
@media (max-width: 600px) {
    .site-header {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    nav a {
        margin: 0 0.75rem;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
}
