:root {
    --bg: #f5f7f9;
    --paper: #ffffff;
    --ink: #17212b;
    --muted: #5d6a76;
    --line: #d6dde4;
    --accent: #1f6f8b;
    --accent-2: #13566c;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #f9fbfc 0%, var(--bg) 220px);
}

.wrap {
    width: min(1080px, 92vw);
    margin: 0 auto;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    backdrop-filter: blur(6px);
}

.site-header .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 68px;
}

.brand {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.menu a {
    margin-left: 18px;
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
}

.menu a:hover {
    color: var(--ink);
}

.hero {
    padding: 64px 0 36px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
}

.label {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
}

h1 {
    margin: 10px 0 14px;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.1;
}

.lead {
    color: var(--muted);
    max-width: 62ch;
    line-height: 1.6;
}

.actions {
    margin-top: 18px;
}

.btn {
    display: inline-block;
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    padding: 11px 16px;
    border-radius: 10px;
    margin-right: 8px;
    font-weight: 600;
    background: var(--paper);
}

.btn.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn.primary:hover {
    background: var(--accent-2);
}

.panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 14px 28px rgba(11, 32, 56, 0.06);
}

.panel h2 {
    margin-top: 0;
    font-size: 1rem;
}

.panel ul {
    margin: 0;
    padding-left: 16px;
    color: var(--muted);
}

.panel li {
    margin: 8px 0;
}

.illus {
    display: block;
    width: 100%;
    margin-top: 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #f7fafc;
}

.section {
    padding: 26px 0 36px;
}

.section.muted {
    background: #eef3f7;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

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

.cards article {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
}

.cards h3 {
    margin: 0 0 8px;
}

.cards p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.text-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.text-link:hover {
    text-decoration: underline;
}

.wide-illus {
    display: block;
    width: 100%;
    margin-top: 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.page-hero {
    padding: 44px 0 24px;
}

.page-hero h1 {
    margin-bottom: 8px;
}

.site-footer {
    padding: 26px 0 34px;
    background: #1d2731;
    color: #d3dce6;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.brand.small {
    color: #fff;
    margin-bottom: 8px;
}

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

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

    .menu {
        display: none;
    }
}