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

:root {
    --bg: #0f172a;
    --bg-alt: #111c34;
    --fg: #e2e8f0;
    --muted: #94a3b8;
    --accent: #38bdf8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
}

.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    display: flex;
    flex-direction: column;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
}
.nav .brand { font-weight: 700; font-size: 1.25rem; color: var(--accent); }
.nav ul { list-style: none; display: flex; gap: 1.5rem; }
.nav a { color: var(--fg); text-decoration: none; }
.nav a:hover { color: var(--accent); }

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}
.hero-content h1 { font-size: clamp(2rem, 6vw, 3.5rem); margin-bottom: 1rem; }
.hero-content p { color: var(--muted); max-width: 40ch; margin-bottom: 2rem; }

.cta {
    display: inline-block;
    background: var(--accent);
    color: #0f172a;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}
.cta:hover { opacity: 0.9; }

.section {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.section.alt { background: var(--bg-alt); max-width: 100%; }
.section.alt > * { max-width: 800px; margin-left: auto; margin-right: auto; }
.section h2 { color: var(--accent); margin-bottom: 1rem; }

.stack-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.stack-grid li {
    background: var(--bg);
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #1e293b;
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--muted);
    border-top: 1px solid #1e293b;
}

a { color: var(--accent); }
