:root {
    --sfs-ink: #17211c;
    --sfs-muted: #66706b;
    --sfs-line: #dfe6e1;
    --sfs-paper: #f7f8f5;
    --sfs-surface: #ffffff;
    --sfs-accent: #1f7a5a;
}

* {
    box-sizing: border-box;
}

body.siteforge-starter {
    margin: 0;
    color: var(--sfs-ink);
    background: var(--sfs-paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sfs-wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.sfs-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(23, 33, 28, 0.1);
    background: rgba(247, 248, 245, 0.9);
    backdrop-filter: blur(16px);
}

.sfs-header__inner,
.sfs-footer__inner {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sfs-brand {
    color: var(--sfs-ink);
    font-size: 18px;
    font-weight: 850;
    text-decoration: none;
}

.sfs-brand img {
    display: block;
    max-height: 48px;
    width: auto;
}

.sfs-nav ul,
.sfs-footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sfs-nav a,
.sfs-footer__nav a {
    color: var(--sfs-ink);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.sfs-main {
    min-height: 60vh;
}

.sfs-content {
    padding: 72px 0;
}

.sfs-entry {
    max-width: 820px;
    margin: 0 auto 42px;
}

.sfs-entry__title,
.sfs-fallback-hero h1 {
    margin: 0 0 22px;
    color: var(--sfs-ink);
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.08;
    letter-spacing: 0;
}

.sfs-entry__title a {
    color: inherit;
    text-decoration: none;
}

.sfs-entry__content {
    color: var(--sfs-muted);
    font-size: 18px;
    line-height: 1.75;
}

.sfs-fallback-hero {
    display: flex;
    min-height: 620px;
    align-items: center;
    padding: 90px 0;
    background: linear-gradient(135deg, rgba(31, 122, 90, 0.12), rgba(240, 199, 107, 0.14)), var(--sfs-paper);
}

.sfs-fallback-hero p {
    max-width: 720px;
    color: var(--sfs-muted);
    font-size: 20px;
    line-height: 1.65;
}

.sfs-eyebrow {
    margin: 0 0 16px;
    color: var(--sfs-accent) !important;
    font-size: 13px !important;
    font-weight: 850;
    text-transform: uppercase;
}

.sfs-footer {
    border-top: 1px solid var(--sfs-line);
    background: var(--sfs-surface);
}

.sfs-footer p {
    margin: 0;
    color: var(--sfs-muted);
    font-size: 14px;
}

@media (max-width: 760px) {
    .sfs-header__inner,
    .sfs-footer__inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 16px 0;
    }

    .sfs-nav ul,
    .sfs-footer__nav ul {
        gap: 12px;
    }

    .sfs-wrap {
        width: min(100% - 28px, 1120px);
    }
}
