:root {
    --bg: #f5f7fa;
    --card-bg: #ffffff;
    --primary: #a4352e;
    --primary-dark: #7a2b24;
    --text: #263238;
    --muted: #607d8b;
    --border: #e0e0e0
}

* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    display: flex;
    justify-content: center;
    padding: 2rem;
    min-height: 100vh;
    align-items: center;
}


.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem
}

.back-button,
.forward-button {
    display: inline-block;
    padding: .5rem 1rem;
    background-color: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color .2s, transform .2s
}

.back-button:hover,
.forward-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px)
}

a.back-button:hover,
a.forward-button:hover {
    color: #fff;
    text-decoration: none;
}

a.public-link:hover {
    text-decoration: none;
}

@media (max-width:600px) {
    .nav-buttons {
        flex-direction: column;
        gap: .5rem
    }

    .back-button,
    .forward-button {
        width: 100%;
        text-align: center
    }
}

.container {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color .2s ease
}

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

ul {
    padding-left: 1.5rem
}

h1 {
    margin-bottom: .5rem;
    font-size: 2.2rem;
    font-weight: 600
}

.subtitle {
    margin-bottom: 3rem;
    color: var(--muted);
    font-size: 1.1rem
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    margin-bottom: 2rem
}

.choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    justify-items: center
}

.choice {
    position: relative;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    border: 2px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease;
    text-align: center
}

.choice:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
    border-color: var(--primary)
}

.choice h2 {
    margin-top: .5rem;
    margin-bottom: 1rem;
    color: var(--primary)
}

.public-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1rem
}

.public-desc {
    color: var(--muted);
    margin-bottom: 1.5rem
}

.private {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    font-size: .9rem
}

.private a {
    color: var(--muted);
    text-decoration: none
}

.private a:hover {
    color: var(--primary-dark);
    text-decoration: underline
}

.choice.large {
    padding: 2.5rem 2rem 1.8rem;
    min-width: 260px
}

.choice.large h2 {
    font-size: 1.6rem
}

.choice.large .public-desc {
    font-size: 1rem
}

.flag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: .2rem .5rem;
    font-size: .65rem;
    font-weight: 600;
    border-radius: 10px;
    color: #fff;
    text-transform: uppercase
}

.flag.multi-gpu,
.flag.shared {
    background-color: #0073c5
}

footer {
    margin-top: 3rem;
    text-align: center;
    font-size: .9rem;
    color: var(--muted)
}

footer span {
    color: var(--primary);
    font-weight: 500
}

.footer-links a {
    margin-right: 1rem;
    color: var(--primary);
    text-decoration: none;
    transition: color .2s
}

.footer-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline
}

body#contributors .container,
body#contact .container {
    max-width: 800px;
    width: 100%;
    text-align: left;
}

body#contributors li,
body#contributors p,
body#contact li,
body#contact p {
    line-height: 1.6
}

body#contributors h1,
body#contact h1 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center
}

body#contributors h2,
body#contact h2 {
    color: var(--primary);
    margin-top: 0
}