.cs-site-shell,
.cs-site-shell * {
    box-sizing: border-box;
}

.cs-site-shell a {
    color: inherit;
}

.cs-site-header {
    background: var(--cs-color-white);
    border-bottom: 1px solid var(--cs-color-border);
}

.cs-header-inner,
.cs-footer-inner {
    width: min(var(--cs-content-width), calc(100% - 48px));
    min-height: 76px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cs-brand {
    color: var(--cs-color-ink);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.cs-header-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 22px;
    font-size: 0.94rem;
}

.cs-header-links a {
    text-decoration: none;
}

.cs-header-links a:hover,
.cs-header-links a:focus-visible {
    color: var(--cs-color-red);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cs-skip-link {
    position: absolute;
    z-index: 5;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    transform: translateY(-160%);
    color: var(--cs-color-white) !important;
    background: var(--cs-color-ink);
    border-radius: var(--cs-radius);
}

.cs-skip-link:focus {
    transform: translateY(0);
}

.cs-main-content {
    min-height: 55vh;
}

.cs-content-container {
    width: min(var(--cs-content-width), calc(100% - 48px));
    margin-inline: auto;
    padding-block: 56px;
}

.cs-page-container {
    max-width: 960px;
}

.cs-entry-title {
    color: var(--cs-color-ink);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.15;
}

.cs-entry-title a {
    text-decoration: none;
}

.cs-entry-content {
    color: var(--cs-color-ink-soft);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.cs-home-section,
.cs-home-fallback {
    padding: clamp(64px, 10vw, 128px) 0;
    background: var(--cs-color-paper);
}

.cs-home-section:nth-of-type(even) {
    background: var(--cs-color-white);
}

.cs-home-section-inner,
.cs-home-fallback-inner {
    width: min(var(--cs-content-width), calc(100% - 48px));
    margin-inline: auto;
}

.cs-home-section h1,
.cs-home-section h2,
.cs-home-fallback h1 {
    max-width: 820px;
    margin: 0;
    color: var(--cs-color-ink);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.06;
    overflow-wrap: anywhere;
}

.cs-home-eyebrow {
    margin: 0 0 18px;
    color: var(--cs-color-red);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.cs-home-copy {
    max-width: 660px;
    margin: 24px 0 0;
    color: var(--cs-color-ink-soft);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.cs-button {
    display: inline-flex;
    max-width: 100%;
    min-height: 48px;
    margin-top: 30px;
    padding: 13px 22px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--cs-color-red);
    border-radius: var(--cs-radius);
    color: var(--cs-color-white) !important;
    background: var(--cs-color-red);
    font-weight: 650;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.cs-button:hover,
.cs-button:focus-visible {
    border-color: var(--cs-color-ink);
    background: var(--cs-color-ink);
}

.cs-site-footer {
    color: #e8edf1;
    background: var(--cs-color-ink);
}

.cs-footer-inner {
    min-height: 92px;
    flex-wrap: wrap;
    justify-content: space-between;
    color: inherit;
    font-size: 0.86rem;
    line-height: 1.5;
}

.cs-site-shell a:focus-visible,
.cs-site-shell button:focus-visible,
.cs-site-shell input:focus-visible,
.cs-site-shell textarea:focus-visible,
.cs-site-shell select:focus-visible {
    outline: 3px solid #e07c49;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .cs-header-inner,
    .cs-footer-inner,
    .cs-content-container,
    .cs-home-section-inner,
    .cs-home-fallback-inner {
        width: calc(100% - 32px);
    }

    .cs-header-inner {
        min-height: 72px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }

    .cs-header-links {
        justify-content: flex-start;
        gap: 18px;
    }

    .cs-content-container {
        padding-block: 36px;
    }

    .cs-home-section,
    .cs-home-fallback {
        padding-block: 68px;
    }

    .cs-home-section h1,
    .cs-home-section h2,
    .cs-home-fallback h1 {
        font-size: clamp(1.9rem, 9vw, 3rem);
    }

    .cs-footer-inner {
        min-height: 100px;
        padding-block: 18px;
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}
