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

:root {
    --bg: #0d1117;
    --surface: #161b22;
    --border: #30363d;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --accent: #58a6ff;
    --accent-hover: #79c0ff;
    --green: #3fb950;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    padding: 4rem 1.5rem 2rem;
}

header h1 {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.tagline {
    margin-top: 0.5rem;
    font-size: 1.15rem;
    color: var(--text-muted);
}

main {
    flex: 1;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    width: 100%;
}

.interpreters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s;
}

.card:hover {
    border-color: var(--accent);
}

.card h2 {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--green);
}

.card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: 1.25rem;
}

.try-btn {
    display: inline-block;
    align-self: flex-start;
    padding: 0.4rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bg);
    background: var(--accent);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s;
}

.try-btn:hover {
    background: var(--accent-hover);
}

.ssh-section {
    text-align: center;
}

.ssh-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.terminal {
    display: inline-block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem 2rem;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.prompt {
    color: var(--green);
    margin-right: 0.5rem;
}

.ssh-section > p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

footer {
    text-align: center;
    padding: 2rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
    header {
        padding: 2.5rem 1rem 1.5rem;
    }

    header h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .interpreters {
        grid-template-columns: 1fr;
    }

    .terminal {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}
