:root {
    color-scheme: light dark;
    --fg: #333333;
    --fg-strong: #000000;
    --fg-muted: #666666;
    --link: #0066cc;
    --bg: #ffffff;
}

@media (prefers-color-scheme: dark) {
    :root {
        --fg: #c8c8c8;
        --fg-strong: #ffffff;
        --fg-muted: #8a8a8a;
        --link: #6cb2ff;
        --bg: #111111;
    }
}

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

html, body {
    height: 100%;
}

body {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
    font-size: 14px;
    line-height: 1.6;
    color: var(--fg);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

main {
    max-width: 17cm;
    width: 100%;
}

h1 {
    font-size: 24px;
    font-weight: normal;
    color: var(--fg-strong);
    margin-bottom: 2px;
}

h2 {
    font-size: 14px;
    font-weight: normal;
    color: var(--fg-muted);
    margin-bottom: 24px;
}

p {
    margin-bottom: 12px;
}

ul {
    list-style: none;
    margin-top: 24px;
}

li {
    color: var(--fg-muted);
}

li::before {
    content: "• ";
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.prompt::before {
    content: "$ ";
    color: var(--fg-muted);
}

.cursor {
    display: inline-block;
    width: 0.6em;
    height: 1em;
    vertical-align: text-bottom;
    background: var(--fg-muted);
    animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}
