html,
body {
    font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #0f1f32;
    background: #f4f7fc;
}

h1:focus {
    outline: none;
}

a {
    color: #1f5db0;
}

.content {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.btn {
    border-radius: 0.55rem;
    font-weight: 600;
    padding: 0.65rem 1rem;
}

.btn-primary {
    color: #ffffff;
    background-color: #1f5db0;
    border-color: #1f5db0;
}

.btn-primary:hover {
    background-color: #194d92;
    border-color: #194d92;
}

.btn-secondary {
    color: #1f5db0;
    background-color: #eaf1fb;
    border: 1px solid #c9d9f2;
}

.btn-secondary:hover {
    color: #153e74;
    background-color: #dce8fa;
    border-color: #b7cbeb;
}

.hero-panel {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    background: linear-gradient(135deg, #0a1a30 0%, #173a68 55%, #1f5db0 100%);
    color: #f8fbff;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.hero-copy h1 {
    margin: 0.4rem 0 1rem;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #dbe8fb;
    margin-bottom: 1.2rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.85rem;
    padding: 1.2rem;
    backdrop-filter: blur(2px);
    align-self: start;
}

.status-dot {
    width: 0.7rem;
    height: 0.7rem;
    display: inline-block;
    border-radius: 50%;
    background: #34d399;
    margin-right: 0.4rem;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #d7e1f1;
    border-radius: 0.85rem;
    padding: 1.1rem;
    box-shadow: 0 4px 20px rgba(17, 44, 84, 0.05);
}

.feature-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.55rem;
}

.feature-card p {
    margin: 0;
    color: #2b405e;
}

.content-panel {
    background: #ffffff;
    border: 1px solid #d7e1f1;
    border-radius: 0.85rem;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(17, 44, 84, 0.05);
}

.compact-panel {
    max-width: 860px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #1f5db0;
    font-size: 0.78rem;
    margin-bottom: 0.4rem;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid #d7e1f1;
    border-radius: 0.85rem;
    padding: 1.1rem;
    box-shadow: 0 4px 20px rgba(17, 44, 84, 0.05);
}

.service-card h2 {
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
}

.service-card p {
    margin: 0;
    color: #2b405e;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.pill-row span {
    background: #eaf1fb;
    color: #153e74;
    border: 1px solid #c9d9f2;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.lead-form label {
    margin-top: 0.35rem;
    font-weight: 600;
    color: #193355;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    border: 1px solid #bed0ea;
    border-radius: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: #fbfdff;
    color: #0f1f32;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: #1f5db0;
    box-shadow: 0 0 0 0.2rem rgba(31, 93, 176, 0.18);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #cc2020;
}

.validation-message {
    color: #cc2020;
}

#blazor-error-ui {
    color-scheme: light only;
    background: #fff6bf;
    color: #2e2a17;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto;
}

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

.loading-progress circle:last-child {
    stroke: #1f5db0;
    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: 700;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

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

@media (max-width: 900px) {
    .hero-panel {
        grid-template-columns: 1fr;
    }

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

    .service-list {
        grid-template-columns: 1fr;
    }
}
