:root {
    --color-bg: #f5f2eb;
    --color-surface: #ebe6dc;
    --color-text: #1a1a1a;
    --color-accent: #a8862e;
    --color-accent-hover: #8a6d24;
    --color-muted: #666;
    --color-beta-bg: #faf3e0;
    --color-beta-text: #5c4a1f;
    --color-beta-border: #d4c4a0;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: var(--color-bg);
    font-family: Arial, sans-serif;
    color: var(--color-text);
}

body.site-flex {
    display: flex;
    flex-direction: column;
}

header.site-header {
    text-align: center;
    padding: 20px;
    background: var(--color-bg);
    position: relative;
    z-index: 1;
}

header.site-header h1 {
    margin: 12px 0 8px;
    font-size: 1.5rem;
}

.site-logo-link {
    display: inline-block;
    line-height: 0;
}

.site-logo {
    max-height: 112px;
    width: auto;
    height: auto;
}

header.site-header a,
footer a {
    color: var(--color-accent);
    text-decoration: none;
}

header.site-header a:hover,
footer a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 10px;
    background: var(--color-surface);
    font-size: 14px;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.site-logo-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(55vw, 820px);
    height: auto;
    opacity: 0.065;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 767px) {
    .site-logo-watermark {
        display: none;
    }
}

.site-header--compact .site-header-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-header--compact .site-logo {
    max-height: 80px;
}

.site-header--compact .site-header-text {
    text-align: left;
}

.site-header--compact h1 {
    margin: 0;
    font-size: 1.35rem;
}

.site-header--compact .site-header-text p {
    margin: 6px 0 0;
}
