/* Basic Reset and Typography */
:root {
    --primary-color: #159957;
    --secondary-color: #155799;
    --text-color: #333333;
    --bg-color: #ffffff;
    --code-bg: #f6f8fa;
    --border-color: #e1e4e8;
}

body {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#skip-to-content {
    display: none;
}

/* Header Styling (GitHub Pages 'Cayman' Theme Style) */
.page-header {
    color: #fff;
    text-align: center;
    background-color: var(--primary-color);
    background-image: linear-gradient(120deg, var(--secondary-color), var(--primary-color));
    padding: 3rem 2rem;
}

.project-name {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.project-tagline {
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.8;
    font-size: 1.25rem;
}

.btn {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    border-style: solid;
    border-width: 1px;
    border-radius: 0.3rem;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: bold;
}

.btn:hover {
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

/* Main Content Area */
.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    word-wrap: break-word;
}

h2, h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Custom Disclaimer Box */
.disclaimer {
    background-color: #fffbdd;
    border-left: 5px solid #e0c200;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
    color: #5c5000;
}

.disclaimer p {
    margin: 0;
}

/* Code Blocks */
.code-block {
    background-color: var(--code-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    font-size: 0.9em;
    color: #24292e;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #6a737d;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media screen and (max-width: 600px) {
    .site-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}