:root {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #24231f;
    background: #f4f2eb;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #f4f2eb;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top right, rgba(105, 98, 74, 0.10), transparent 30rem),
        #f4f2eb;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.page-shell {
    width: min(100% - 2rem, 64rem);
    margin: 0 auto;
    padding: clamp(2.5rem, 7vw, 6rem) 0 4rem;
}

.hero {
    max-width: 46rem;
    margin-bottom: 2rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: #6a6657;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.45rem, 8vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-title:focus {
    outline: none;
}

h2 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    letter-spacing: -0.025em;
}

.lead {
    max-width: 42rem;
    margin-bottom: 0;
    color: #5a574d;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
}

.panel {
    padding: clamp(1.25rem, 4vw, 2rem);
    border: 1px solid rgba(58, 55, 45, 0.12);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 1.25rem 3.5rem rgba(58, 55, 45, 0.08);
    backdrop-filter: blur(12px);
}

.panel > p {
    max-width: 47rem;
    color: #625f54;
    line-height: 1.65;
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.status-pill {
    flex: 0 0 auto;
    padding: 0.4rem 0.65rem;
    border: 1px solid rgba(58, 55, 45, 0.12);
    border-radius: 999px;
    background: #ece8da;
    color: #535044;
    font-size: 0.78rem;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.feature-grid article {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(244, 242, 235, 0.8);
}

.feature-grid strong {
    font-size: 0.98rem;
}

.feature-grid span {
    color: #696559;
    font-size: 0.92rem;
    line-height: 1.45;
}

.empty-state {
    text-align: center;
}

.boot-screen {
    display: grid;
    min-height: 100vh;
    place-items: center;
    color: #686458;
}

#blazor-error-ui {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: none;
    padding: 0.9rem 1rem;
    border-radius: 0.8rem;
    background: #fff2d6;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
}

#blazor-error-ui .dismiss {
    float: right;
    cursor: pointer;
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 1.25rem, 64rem);
        padding-top: 2rem;
    }

    .panel-heading {
        align-items: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}
