:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --border-color: #e5e7eb;
    --accent-color: #3b82f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    white-space: nowrap;
}

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

/* Main Content */
main {
    padding: 3rem 20px;
}

article {
    background-color: var(--bg-primary);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Title Section */
.title-section {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.title-section h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Section Styles */
section {
    margin-bottom: 3rem;
}

section:last-child {
    margin-bottom: 0;
}

.intro {
    background-color: var(--bg-secondary);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 3rem;
}

h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

section:first-of-type h2 {
    margin-top: 0;
}

h3 {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1rem;
}

ul {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.7;
}

li strong {
    color: var(--primary-color);
}

/* Contact Email */
.contact-email {
    background-color: var(--bg-secondary);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    display: inline-block;
}

.contact-email a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    nav {
        gap: 1rem;
        font-size: 0.85rem;
    }

    article {
        padding: 2rem 1.5rem;
    }

    .title-section h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1rem;
    }

    main {
        padding: 2rem 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    article {
        padding: 1.5rem 1rem;
    }

    .title-section h1 {
        font-size: 1.75rem;
    }

    nav a {
        font-size: 0.8rem;
    }

    main {
        padding: 1.5rem 15px;
    }
}

/* Print Styles */
@media print {
    header, footer, nav {
        display: none;
    }

    article {
        box-shadow: none;
        padding: 0;
    }

    body {
        background-color: white;
    }

    section {
        page-break-inside: avoid;
    }
}
