/* style.css */
:root {
    --bg: #0f1724;
    --card: #0b1220;
    --muted: #9aa4b2;
    --accent: #6ee7b7;
    --mono: #e6eef6;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, Segoe UI, Roboto, "Helvetica Neue", Arial;
    line-height: 1.5;
    margin: 0;
    background: linear-gradient(180deg, #071027 0%, #071229 100%);
    color: var(--mono);
    padding: 32px;
}

.container {
    max-width: 960px;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 28px;
    margin: 0;
}

p.lead {
    color: var(--muted);
    margin: 6px 0 24px;
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
}

.meta {
    font-size: 13px;
    color: var(--muted);
}

pre {
    background: #041226;
    padding: 16px;
    border-radius: 8px;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", monospace;
    font-size: 13px;
    color: #dbeafe;
}

code {
    font-family: inherit;
}

.row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.col-2 {
    flex: 1 1 420px;
}

.diagram {
    background: linear-gradient(180deg, #021428 0%, #081827 100%);
    padding: 16px;
    border-radius: 8px;
}

.btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    color: var(--accent);
    font-weight: 600;
}

.copy {
    float: right;
    font-size: 13px;
}

footer {
    color: var(--muted);
    font-size: 13px;
    text-align: center;
    margin-top: 30px;
}

@media (max-width: 720px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .row {
        flex-direction: column;
    }
}