:root {
    --site-bg: #f6f8fb;
    --site-surface: #ffffff;
    --site-border: #dfe6ee;
    --site-text: #172033;
    --site-muted: #667085;
    --site-primary: #0d6efd;
    --site-primary-dark: #0b5ed7;
    --site-success: #198754;
    --site-danger: #dc3545;
    --site-shadow: 0 18px 55px rgba(15, 23, 42, 0.09);
}

body.site-body {
    min-height: 100vh;
    color: var(--site-text);
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.12), transparent 34rem),
        linear-gradient(180deg, #ffffff 0, var(--site-bg) 18rem, var(--site-bg) 100%);
    font-size: 16px;
}

a {
    text-underline-offset: 0.18em;
}

.page-shell {
    max-width: 960px;
}

.page-shell > .site-hero:first-child,
.page-shell > div:first-child .site-hero {
    margin-top: 0;
}

.site-hero {
    padding: 2rem;
    margin-bottom: 1.5rem;
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: 8px;
    box-shadow: var(--site-shadow);
}

.site-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(2.1rem, 6vw, 4.4rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.site-hero p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--site-muted);
}

.site-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
    color: var(--site-primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-kicker::before {
    width: 0.55rem;
    height: 0.55rem;
    content: "";
    background: var(--site-success);
    border-radius: 50%;
}

.site-section {
    padding: 0.5rem 0;
    margin: 1.5rem 0;
    background: transparent;
}

.site-section h2,
.site-section h3 {
    margin-bottom: 0.85rem;
}

.site-section p:last-child,
.site-section ul:last-child,
.site-section ol:last-child {
    margin-bottom: 0;
}

.site-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.btn {
    border-radius: 6px;
    font-weight: 600;
}

.btn-lg {
    padding-inline: 1.1rem;
}

.card {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.progress {
    overflow: hidden;
    background-color: #e9eff6;
    border-radius: 999px;
}

.site-stats-card {
    height: 100%;
    border: 1px solid var(--site-border);
}

.site-stats-card .card-header {
    color: var(--site-muted);
    font-weight: 700;
    background: transparent;
    border-bottom: 0;
}

.site-stats-card .card-body {
    padding-top: 0;
}

.site-stats-card .h4 {
    display: block;
    margin-bottom: 0.2rem;
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1;
    font-weight: 800;
}

.site-app-card {
    height: 100%;
    padding: 1.25rem;
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.site-app-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex: 0 0 48px;
    border-radius: 8px;
}

.site-ad {
    margin: 1.5rem 0;
}

.site-ad img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: 8px;
}

.site-footer {
    padding: 1rem 0 0.25rem;
    color: var(--site-muted);
    font-size: 0.95rem;
}

.table {
    --bs-table-bg: transparent;
}

mark {
    padding: 0.1em 0.35em;
    border-radius: 4px;
}

hr {
    border-color: var(--site-border);
    opacity: 1;
}

@media (max-width: 575.98px) {
    .page-shell {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .site-hero,
    .site-section {
        padding: 1.2rem;
    }

    .site-section {
        padding-right: 0;
        padding-left: 0;
    }

    .site-actions .btn,
    .site-actions .btn-group {
        width: 100%;
    }

    .site-actions .btn {
        justify-content: center;
    }

    .site-hero h1 {
        font-size: 2.4rem;
    }
}
