:root {
    --pe-green: #00912f;
    --pe-green-deep: #235a2a;
    --pe-green-tint: #e8f3ea;
    --pe-bg: #f5f1ea;
    --pe-surface: #fffdf8;
    --pe-ink: #2b2722;
    --pe-ink-soft: rgba(43, 39, 34, 0.65);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

.pe-app {
    font-family: 'Public Sans', system-ui, sans-serif;
    color: var(--pe-ink);
    background: var(--pe-bg);
    min-height: 100vh;
    position: relative;
}

.pe-serif {
    font-family: 'Source Serif 4', Georgia, serif;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.cs-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}

.cs-hero-bg {
    position: absolute;
    inset: 0;
}

.cs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.6) 100%);
}

.cs-hero-content {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px clamp(24px, 5vw, 48px);
    display: flex;
    align-items: center;
}

.cs-hero-text {
    max-width: 760px;
    width: 100%;
    color: #fffdf8;
}

.cs-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgb(112 111 108 / 69%);
    backdrop-filter: blur(6px);
    font-size: clamp(12px, 3vw, 14px);
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 253, 248, 0.25);
}

.cs-hero-heading {
    font-size: clamp(40px, 11vw, 88px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1;
    margin: 0 0 24px;
    color: #fffdf8;
}

.cs-hero-sub {
    font-size: clamp(17px, 4.5vw, 23px);
    line-height: 1.45;
    margin: 0 0 36px;
    opacity: 0.92;
    max-width: 620px;
}

.cs-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--pe-green);
    color: #fffdf8;
    font-size: clamp(14px, 3.5vw, 16px);
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.cs-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fffdf8;
    animation: cs-pulse 1.8s ease-in-out infinite;
}

@@keyframes cs-pulse {
     0%, 100% {
         opacity: 1;
         transform: scale(1);
     }

     50% {
         opacity: 0.4;
         transform: scale(0.7);
     }
 }
