@font-face {
    font-family: 'DejaVu Sans Mono';
    src: url('DejaVuSansMono.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --text-color: #dcdcdc; 
    --heading-color: #E2B731; 
    --link-color: #ffffff;
    --bg-color: #060606; 
}

html {
    overflow-y: auto;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'DejaVu Sans Mono', monospace;
    font-size: 14px;
    line-height: 1.25;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: none;
    font-smooth: never;
}

.container {
    max-width: 1200px; 
    margin: 8vh 12vw;
}

@media (max-width: 768px) {
    .container {
        margin: 5vh 5vw;
    }
}

h1 {
    color: var(--heading-color);
    font-size: 1.25rem; 
    font-weight: normal;
    margin: 0 0 1.25em 0;
}

.description {
    /* For smaller screens, limit width gracefully, on large limit string explicitly */
    max-width: 100%;
    margin: 0 0 1.5em 0;
}

@media (min-width: 600px) {
    .description br {
        display: block; /* The BR controls line lengths */
    }
}

@media (max-width: 599px) {
    .description br {
        display: none; /* Let the text flow naturally on mobile */
    }
    .description {
        max-width: 58ch;
    }
}

.links {
    list-style: none;
    padding: 0;
    margin: 0 0 2em 0;
}

.links li {
    margin-bottom: 0px; 
}

a {
    color: var(--link-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

a:hover {
    color: var(--heading-color);
}

.screenshot-container {
    margin-bottom: 2em;
}

.screenshot {
    width: 100%;
    max-width: 77ch; /* to match text width scale approximately */
    height: auto;
    display: block;
}

footer {
    max-width: 100%;
    font-size: 1rem; 
}

@media (min-width: 600px) {
    footer p br {
        display: block; 
    }
}

@media (max-width: 599px) {
    footer p br {
        display: none;
    }
    footer {
        max-width: 77ch;
    }
}


footer p {
    margin: 0 0 0.5em 0;
}

footer p:last-child {
    font-size: 10px;
}

/* Privacy Policy specific */
h2 {
    font-size: 1.1rem;
    font-weight: normal;
    color: var(--heading-color);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.subtitle {
    margin-top: -1em;
    margin-bottom: 1.5em;
    color: #999;
}

.pp-content {
    max-width: 77ch;
    line-height: 1.4;
}

.pp-content p {
    margin-bottom: 1em;
}
