/* =========================
   Catppuccin Mocha Palette
   ========================= */
:root {
    --base: #1e1e2e;
    --mantle: #181825;
    --crust: #11111b;

    --text: #cdd6f4;
    --subtext1: #bac2de;
    --subtext0: #a6adc8;

    --overlay2: #9399b2;
    --overlay1: #7f849c;
    --overlay0: #6c7086;

    --surface2: #585b70;
    --surface1: #45475a;
    --surface0: #313244;

    --lavender: #b4befe;
    --blue: #89b4fa;
    --sapphire: #74c7ec;
    --sky: #89dceb;
    --teal: #94e2d5;
    --green: #a6e3a1;
    --yellow: #f9e2af;
    --peach: #fab387;
    --maroon: #eba0ac;
    --red: #f38ba8;
    --mauve: #cba6f7;
    --pink: #f5c2e7;
    --flamingo: #f2cdcd;
    --rosewater: #f5e0dc;
}

/* Global reset */
* {
    box-sizing: border-box;
}

/* Page styling */
body {
    margin: 0;
    padding: 0;
    background-color: var(--base);
    color: var(--text);
    font-family: "JetBrains Mono", "Source Code Pro", "Courier New", monospace;
    line-height: 1.45;
}

/* Main container */
.manpage {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 24px;
}

/* Section spacing */
section {
    margin-bottom: 28px;
}

/* Section headers */
h2 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    color: var(--mauve);
}

/* Paragraph text */
p {
    margin: 0 0 8px 0;
    color: var(--text);
}

/* Preformatted blocks */
pre {
    margin: 0;
    white-space: pre-wrap;
    color: var(--subtext1);
}

/* Emphasized keywords inside pre blocks (optional future use) */
pre strong {
    color: var(--lavender);
}

/* Footer */
footer {
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--overlay1);
}

/* Links */
a {
    color: var(--blue);
    text-decoration: underline;
}

a:hover {
    background-color: var(--surface1);
    color: var(--text);
}
