:root {
    --bg-color: #0f1117;
    --text-color: #e6edf3;
    --text-muted: #8b949e;
    --accent-color: #2ea043;
    --accent-hover: #3fb950;
    --card-bg: #161b22;
    --border-color: #30363d;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg-color: #f6f8fa;
        --text-color: #1f2328;
        --text-muted: #656d76;
        --accent-color: #1a7f37;
        --accent-hover: #1f883d;
        --card-bg: #ffffff;
        --border-color: #d0d7de;
    }
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

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

body {
    font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
    line-height: 1.65;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 2rem;
    flex: 1;
}

header {
    margin-bottom: 2rem;
}

.prompt-prefix {
    color: var(--accent-color);
    user-select: none;
}

h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0 0 2rem;
}

h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: var(--text-color);
}

p {
    margin: 0 0 1rem;
    font-size: 0.92rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.link-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.link-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.link-list li a:hover {
    border-color: var(--accent-color);
    color: var(--accent-hover);
    text-decoration: none;
}

.link-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
    text-align: right;
    flex-shrink: 1;
}

footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.copyleft-icon {
    display: inline-block;
    transform: scaleX(-1);
}

.meta-info {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 2.5rem;
}


