:root {
    --bg: #591311;
    --panel: rgb(50, 7, 7);
    --text: #dadada;
    --muted: #e3e3e3;
    --accent: #ffffff;
    --border: #1f2933;
    --code-bg: #4a0000;
}

.apk-button {
    display: inline-block;
    padding: 12px 20px;
    border: 2px solid #d8d8d8;
    text-decoration: none;
    font-weight: bold;
}


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "IBM Plex Mono", sans-serif;
    background: var(--bg);
    color: var(--text);
    display: flex;
    min-height: 100vh;
}

h1 {
    font-family: "Caveat", sans-serif;
}

/* Sidebar */
nav {
    width: 260px;
    background: var(--panel);
    border-right: 1px solid var(--border);
    padding: 24px;
    position: sticky;
    top: 0;
    height: 100vh;
}

nav h1 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--accent);
}

nav a {
    display: block;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
}

nav a:hover {
    color: var(--accent);
}

/* Main content */
main {
    flex: 1;
    padding: 48px;
    max-width: 900px;
}

section {
    margin-bottom: 64px;
}

h2 {
    font-family: "IBM Plex Mono", sans-serif;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

h3 {
    font-family: "IBM Plex Mono", sans-serif;
    margin-top: 32px;
}

p {
    line-height: 1.7;
    color: var(--muted);
}

ul {
    padding-left: 20px;
    color: var(--muted);
}

li {
    margin-bottom: 8px;
}

code {
    background: var(--code-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

pre {
    background: var(--code-bg);
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin-top: 16px;
}

pre code {
    background: none;
    padding: 0;
    color: #e5e7eb;
}

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

/* Responsive */
@media (max-width: 900px) {
    nav {
        display: none;
    }
    main {
        padding: 24px;
    }
}

.heuristic-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "IBM Plex Mono", monospace;
    margin-top: 1rem;
}

.heuristic-table th,
.heuristic-table td {
    border: 1px solid #3e0000;
    padding: 0.75rem;
    vertical-align: top;
}

.heuristic-table th {
    background-color: #2e0000;
    text-align: left;
    font-weight: 600;
}

.heuristic-table tr:nth-child(even) {
    background-color: #320000;
}


.reflection-card {
    border: 2px solid rgba(172, 172, 172, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0;
}

figure {
    max-width: 320px;   /* control overall figure size */
    margin: 1rem auto;
    text-align: center;
}

figure img {
    width: 100%;        /* scales image inside figure */
    height: auto;
}

