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

:root {
    --bg: #050608;
    --bg-soft: #0f1115;
    --card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --text: #f5f6fa;
    --muted: #9ca3b5;
    --accent: #9dfdcc;
}

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

body {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, rgba(157, 253, 204, 0.08), transparent 50%),
                linear-gradient(180deg, #050608 0%, #050608 35%, #030305 100%);
    color: var(--text);
    min-height: 100vh;
}

.page {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.site-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-weight: 600;
    letter-spacing: 0.08em;
}

.brand span {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
    color: var(--accent);
}

.surface {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2.25rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.35);
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-lede {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.hero-image {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}

.actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.button {
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.15s ease, background 0.15s ease, border 0.15s ease;
}

.button.primary {
    background: var(--accent);
    color: #03160e;
}

.button.secondary {
    color: var(--accent);
    border-color: var(--border);
    background: transparent;
}

.button:hover {
    transform: translateY(-2px);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
}

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

.card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.code-block {
    margin-top: 0.75rem;
    padding: 0.9rem 1.1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.list-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.list-item:last-child {
    border-bottom: none;
}

.list-meta {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-transform: uppercase;
}

.list-title {
    margin: 0.4rem 0;
    font-weight: 500;
    font-size: 1.05rem;
}

.list-desc {
    color: var(--muted);
    font-size: 0.95rem;
}

.footnote {
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 1rem;
}

@media (max-width: 640px) {
    .surface {
        padding: 1.75rem;
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .actions {
        flex-direction: column;
        width: 100%;
    }

    .button {
        text-align: center;
        width: 100%;
    }
}
