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

:root {
    --text: #1d1d1f;
    --muted: #86868b;
    --bg: #f5f5f7;
    --card: #ffffff;
    --border: rgba(0, 0, 0, 0.06);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-w: 720px;
    --px: 40px;
    --gap: 10px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: inherit; }

/* Shared container */
.nav-inner, .grid, .footer {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-left: calc(var(--px) + 3px);
    padding-right: calc(var(--px) + 3px);
}

/* Nav */
.nav { background: var(--bg); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }

.nav-cta {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
}
.nav-cta:hover { color: var(--text); }

/* Bento Grid */
.grid {
    padding-top: 0;
    padding-bottom: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.cell {
    background: var(--card);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border);
}

.cell p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.55;
}

.cell a {
    color: var(--text);
    text-decoration-color: var(--muted);
    text-underline-offset: 3px;
}

.label {
    font-size: 13px !important;
    font-weight: 500;
    color: var(--muted) !important;
    margin-bottom: 10px;
}

.big-text {
    font-size: 22px !important;
    font-weight: 700;
    color: var(--text) !important;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Cell sizes */
.cell-intro {
    grid-column: span 3;
}

.cell-intro h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 4px 0 12px;
}

.cell-stack { grid-column: span 1; }
.cell-contact { grid-column: span 1; }
.cell-collab { grid-column: span 3; }

.stack-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stack-list span {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}

.link-row {
    font-size: 15px !important;
    font-weight: 600;
    color: var(--text) !important;
    text-decoration: none !important;
}

/* Footer */
.footer {
    margin-top: auto;
    padding-top: 20px;
    padding-bottom: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted);
}

.footer span:first-child {
    font-weight: 600;
    color: var(--text);
}

/* Mobile */
@media (max-width: 600px) {
    :root {
        --px: 16px;
        --gap: 8px;
    }
    .nav-inner { height: 52px; }
    .grid {
        grid-template-columns: repeat(2, 1fr);
        padding-bottom: 48px;
    }
    .cell { padding: 20px; }
    .cell-intro { grid-column: span 2 !important; }
    .cell-intro h1 { font-size: 28px; }
    .cell-collab { grid-column: span 2 !important; }
    .footer { padding-bottom: 32px; }
}
