
/* Website Review — universal theme refresh */

:root {
    --wr-primary: #2563eb;
    --wr-primary-hover: #1d4ed8;
    --wr-bg: #f7f9fd;
    --wr-card: #fff;
    --wr-text: #17233b;
    --wr-muted: #64748b;
    --wr-border: #e2e8f0;
}

body {
    background: var(--wr-bg);
    color: var(--wr-text);
    font-family: system-ui, -apple-system,
        "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
}

h1, h2, h3, h4, h5 {
    color: #14233d;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

h1 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

a {
    color: var(--wr-primary);
}

a:hover {
    color: var(--wr-primary-hover);
}

.container {
    max-width: 1200px;
}

/* Навигация */

.navbar {
    background: #fff;
    border-bottom: 1px solid var(--wr-border);
    box-shadow: 0 3px 18px rgba(23,35,59,.04);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -.025em;
}

/* Карточки */

.card, .panel, .well {
    background: var(--wr-card);
    border: 1px solid var(--wr-border);
    border-radius: 14px;
    box-shadow: 0 5px 24px rgba(23,35,59,.035);
}

.card-header, .panel-heading {
    background: #f8fbff;
    border-bottom: 1px solid var(--wr-border);
}

/* Страницы обзора сайта */

#site-overview {
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: 18px;
    padding: clamp(16px, 3vw, 30px);
    box-shadow: 0 8px 32px rgba(23,35,59,.04);
}

#site-overview .border.rounded {
    border-color: var(--wr-border) !important;
    border-radius: 12px !important;
    background: #fbfdff;
}

#site-overview .h4 {
    color: var(--wr-primary);
    font-weight: 800;
}

.text-muted {
    color: var(--wr-muted) !important;
}

/* Кнопки и формы */

.btn {
    border-radius: 10px;
    font-weight: 600;
}

.btn-primary {
    background: var(--wr-primary);
    border-color: var(--wr-primary);
}

.btn-primary:hover {
    background: var(--wr-primary-hover);
    border-color: var(--wr-primary-hover);
}

.form-control {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    min-height: 43px;
}

.form-control:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

/* Таблицы */

.table {
    background: #fff;
}

.table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
}

.table td, .table th {
    border-color: var(--wr-border);
}

/* Tier 2 */

.tier2-links {
    margin: 20px 0;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid var(--wr-border);
    border-radius: 10px;
    font-size: .92rem;
    overflow-wrap: anywhere;
}

.tier2-links-title {
    font-weight: 600;
    color: var(--wr-muted);
}

/* Адаптивность */

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    body {
        font-size: .95rem;
    }

    #site-overview {
        padding: 16px;
    }

    .table {
        font-size: .88rem;
    }
}
