﻿:root {
    --bg: #f5f7fa;
    --surface: #ffffff;
    --ink: #1f1f1f;
    --muted: #666666;
    --line: #dde3eb;
    --brand: #111111;
    --brand-2: #3a3a3a;
    --accent: #f0f0f0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Verdana, Arial, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #f9fbfd 0%, var(--bg) 100%);
}

.site-shell {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px;
}

.site-header {
    background: linear-gradient(120deg, var(--brand), var(--brand-2));
    color: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 28px rgba(13, 39, 64, 0.28);
}

.logo {
    font-family: "Times New Roman", serif;
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 700;
    text-align: center;
    line-height: 1;
    letter-spacing: 0.05em;
}

.subtitle {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.site-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.site-nav a {
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 11px 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    background: #fff;
    color: var(--brand);
}

main {
    margin-top: 20px;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(12, 25, 41, 0.08);
}

.panel + .panel {
    margin-top: 16px;
}

h1,
h2 {
    margin-top: 0;
    color: #1a1a1a;
}

h1 {
    font-size: clamp(24px, 3.4vw, 36px);
}

h2 {
    font-size: clamp(18px, 2.6vw, 24px);
    margin-bottom: 8px;
}

p {
    line-height: 1.7;
    margin: 0 0 14px;
}

.kicker {
    display: inline-block;
    background: var(--accent);
    border: 1px solid #d0d0d0;
    color: #2e2e2e;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.placeholder {
    text-align: center;
    padding: 30px 18px;
    border: 2px dashed #bdbdbd;
    border-radius: 12px;
    background: #fafafa;
}

.btn {
    display: inline-block;
    margin-top: 14px;
    border: 0;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    padding: 12px 18px;
    font-weight: 700;
}

.btn[disabled] {
    cursor: not-allowed;
    opacity: 0.45;
}

.site-footer {
    margin-top: 20px;
    background: #10161f;
    color: #dce6f2;
    border-radius: 14px;
    padding: 18px 20px;
    text-align: center;
    font-size: 14px;
}

.site-footer p {
    margin: 4px 0;
}

@media (max-width: 760px) {
    .site-shell {
        padding: 12px;
    }

    .site-header,
    .panel,
    .site-footer {
        border-radius: 12px;
    }

    .site-nav {
        grid-template-columns: 1fr;
    }

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