:root {
    --primary: #5C6BC0;
    --primary-light: #7986CB;
    --primary-bg: #E8EAF6;
    --border-light: #D1C4E9;
    --text: #2E2E30;
    --text-secondary: #5E5D60;
    --bg-light: #F8F9FA;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 24px 0;
    border-bottom: 1px solid #eee;
}

.header-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.header-nav a {
    text-decoration: none;
    color: var(--text);
    padding: 10px 20px;
    border-radius: 24px;
    background: rgba(92, 107, 192, 0.08);
    font-weight: 600;
    border: 1px solid #D1C4E9;
    transition: all 0.2s;
}

.header-nav a:hover {
    background: linear-gradient(135deg, var(--primary), #8E99F3);
    color: white;
    transform: translateY(-2px);
}

.page-header {
    text-align: center;
    padding: 60px 0 40px;
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #A78BFA);
    margin: 0 auto 40px;
    border-radius: 2px;
}

.content {
    padding: 20px 0 60px;
    font-size: 1.02rem;
    line-height: 1.7;
}

.content h2 {
    font-size: 1.4rem;
    margin: 36px 0 18px;
    font-weight: 700;
}

.content p,
.content ul,
.content ol {
    margin-bottom: 16px;
}

.content ul,
.content ol {
    padding-left: 28px;
}

.content li {
    margin-bottom: 8px;
}

.content .clause {
    margin-bottom: 24px;
}

.content .clause-number {
    font-weight: 700;
}

footer {
    background: #f9f9f9;
    padding: 40px 0 30px;
    font-size: 0.95rem;
    border-top: 1px solid #eee;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.footer a {
    color: var(--text);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .content {
        font-size: 1rem;
    }
}