:root {
    --font-display: Georgia, "Times New Roman", serif;
    --font-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --ink: #0f2936;
    --muted: #5b6970;
    --surface: #fafcf9;
    --foam: #eef6f3;
    --blue-deep: #064653;
    --blue-mid: #0a6874;
    --brass: #caa65a;
    --shadow-soft: 0 18px 48px rgba(15, 41, 54, 0.08);
    --shadow-strong: 0 24px 70px rgba(15, 41, 54, 0.22);
}

html,
body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-body);
}

h1,
h2,
h3 {
    color: var(--ink);
    font-family: var(--font-display);
    letter-spacing: 0;
}

h1:focus {
    outline: none;
}

a {
    color: var(--blue-mid);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(202, 166, 90, 0.75);
    outline-offset: 3px;
}

.eyebrow {
    color: var(--brass);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    border-radius: 999px;
    padding: 0.7rem 1.15rem;
    font-weight: 850;
    text-decoration: none;
}

.button.primary {
    background: var(--brass);
    color: var(--ink);
}

.button.secondary {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
}

#blazor-error-ui {
    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;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #d9e6e3;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: var(--blue-mid);
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text::after {
    content: var(--blazor-load-percentage-text, "Loading");
}

code {
    color: #9f2d4f;
}
