body {
    background: #fbfdff;
    color: #1f2d3a;
}

.hero-section {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #edf5ff 0%, #f4fbf7 50%, #f6f2ff 100%);
    border: 1px solid #dce8f1;
    padding: 54px 26px;
    margin-bottom: 24px;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(104, 144, 255, .10), transparent 35%),
    radial-gradient(circle at bottom left, rgba(74, 181, 138, .10), transparent 35%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-label {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
    border: 1px solid #d8e5ee;
    font-size: .82rem;
    font-weight: 600;
    color: #556b7d;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-top: 14px;
    margin-bottom: 12px;
    color: #223446;
}

.hero-description {
    max-width: 900px;
    margin: 0 auto;
    color: #627788;
    line-height: 1.7;
}

.content-box {
    background: #fff;
    border: 1px solid #dfe7ee;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 24px;
}

.section-title {
    font-weight: 700;
    margin-bottom: 18px;
    color: #243647;
}

p {
    line-height: 1.75;
    color: #344b5d;
}

ul.clean-list {
    padding-left: 20px;
}

ul.clean-list li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #334a5c;
}

.hub-tile {
    display: block;
    padding: 24px;
    border-radius: 22px;
    border: 1px solid #dfe7ee;
    background: #fff;
    text-decoration: none;
    color: #1f2d3a;
    transition: .2s ease;
    height: 100%;
}

.hub-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .06);
    border-color: #aac4d7;
}

.tile-badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.badge-blue {
    background: #dcecff;
    color: #2f628c;
}

.badge-orange {
    background: #fff0dc;
    color: #9a6731;
}

.cta-box {
    background: linear-gradient(135deg, #eef7ff, #f4fbf7);
    border: 1px solid #d8e6f1;
    border-radius: 26px;
    padding: 34px;
    text-align: center;
}

.btn-soft {
    background: #6d93ad;
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 14px;
}

.btn-soft:hover {
    background: #5f839c;
}

.sidebar-box {
    background: #fff;
    border: 1px solid #dfe7ee;
    border-radius: 24px;
    padding: 26px;
}

.sidebar-link {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f6;
    text-decoration: none;
    color: #426179;
    font-weight: 600;
}

.sidebar-link:last-child {
    border-bottom: none;
}

.sticky-sidebar {
    position: sticky;
    top: 20px;
}

.hero-links {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-link {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid #d8e5ee;
    font-size: .85rem;
    font-weight: 600;
    color: #426179;
    text-decoration: none;
    transition: .2s ease;
}

.hero-link:hover {
    background: #f0f7ff;
    border-color: #aac4d7;
    color: #2f628c;
    transform: translateY(-2px);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-top: 24px;
    border: 1px solid #cdd9e3; /* чуть насыщеннее */
    border-radius: 18px;
    background: #f9fbfe; /* более плотный фон */
}

.table-responsive table {
    width: 100%;
    border-collapse: collapse;
    font-size: .94rem;
}

.table-responsive th {
    background: #eef4fa; /* насыщеннее */
    color: #1f2d3a;
    font-weight: 700;
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid #d5e0ea;
    border-right: 1px solid #d5e0ea; /* вертикальная линия */
}

.table-responsive th:last-child {
    border-right: none;
}

.table-responsive td {
    padding: 14px 16px;
    color: #2f4456;
    border-bottom: 1px solid #e3eaf1;
    border-right: 1px solid #e3eaf1; /* вертикальная линия */
}

.table-responsive td:last-child {
    border-right: none;
}

.table-responsive tr:last-child td {
    border-bottom: none;
}

.table-responsive tr:hover td {
    background: #f2f7fc; /* мягкий hover */
}

.content-box.final-statement {
    background: #f4f8fc; /* чуть более выраженный пастельный фон */
    border: 1px solid #cdd9e3; /* насыщеннее, чем обычный */
}

.hero-cta {
    margin-top: 24px;
}

.hero-cta-button {
    display: inline-block;
    padding: 14px 26px;
    background: #5a7ea8; /* насыщенный, но медицинский */
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background .2s ease, box-shadow .2s ease;
    box-shadow: 0 3px 10px rgba(90, 126, 168, 0.25);
}

.hero-cta-button:hover {
    background: #4a6a8c;
    box-shadow: 0 4px 14px rgba(90, 126, 168, 0.35);
}

.main-toc {
    border: 1px solid #dfe7f1;
    background: #f7f9fc;
    padding: 16px;
    border-radius: 10px;
}

/* TOC starts collapsed ALWAYS */
.main-toc .toc-links {
    display: none !important;
}

.toc-toggle-btn {
    width: 100%;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: #2a4a7b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0;
}

.toc-arrow {
    transition: transform .25s ease;
}

.toc-open .toc-links {
    display: block !important;
}

.toc-open .toc-arrow {
    transform: rotate(180deg);
}

.tile-badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.badge-green {
    background: #def7e7;
    color: #2f7853;
}

.badge-purple {
    background: #ece4ff;
    color: #6848ad;
}

.badge-orange {
    background: #fff0dc;
    color: #9a6731;
}

.badge-cyan {
    background: #dff7f8;
    color: #28747a;
}

.badge-pink {
    background: #ffe3ef;
    color: #a44774;
}

.badge-gray {
    background: #edf1f4;
    color: #586672;
}
