:root {
    --maxw: 1000px;
    --bg: #fafafa;
    --card-bg: #fff;
    --text: #111;
    --muted: #666;
    --border: #e7e7e7;
    --primary: #2b6cb0;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 16px rgba(0, 0, 0, .06);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--primary);
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 12px;
}

/* Header */
.header {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 16px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.logo {
    font-weight: 700;
    color: #111;
    font-size: 20px;
}


/* Main & Footer */
.main {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 12px 40px;
}

.footer {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 20px 12px;
    color: #555;
    font-size: 12px;
}

/* Shared elements */
p.intro {
    color: var(--muted);
    margin-bottom: 6px;
}

.section {
    margin-top: 24px;
}


/* --- Logo --- */
.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #111;
}

.logo-img {
    width: 28px;
    height: 28px;
}

.logo-text {
    font-weight: 700;
    font-size: 20px;
}

/* Хлебные крошки */
.breadcrumbs {
    font-size: 14px;
    margin: 16px auto;
    max-width: var(--maxw);
    padding: 0 12px;
    color: var(--muted);
}

.breadcrumbs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.breadcrumbs li::after {
    content: "›";
    margin: 0 6px;
    color: var(--border);
}

.breadcrumbs li:last-child::after {
    content: "";
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Футер */
.footer {
    background: #f9f9fb;
    border-top: 1px solid #e4e4e7;
    color: #555;
    font-size: 0.9rem;
    margin-top: 3rem;
    padding: 1.5rem 1rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.footer-copy {
    margin: 0;
}

.footer-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.footer-nav a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #000;
    text-decoration: underline;
}

.footer-nav .sep {
    color: #aaa;
    user-select: none;
}

