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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --background: #ffffff;
    --background-gray: #f9fafb;
    --border-color: #e5e7eb;
    --card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --card-hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

nav {
    display: flex;
    align-items: center;
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--primary-dark);
}

main {
    flex: 1;
    padding-bottom: 60px;
}

h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.effective-date {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 40px;
}

section {
    margin-bottom: 40px;
}

ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

li {
    margin-bottom: 8px;
    line-height: 1.7;
}

strong {
    font-weight: 600;
    color: var(--text-primary);
}

.contact-info {
    background-color: var(--background-gray);
    padding: 20px;
    border-radius: 8px;
    margin-top: 16px;
}

.contact-info p {
    margin-bottom: 8px;
}

.acknowledgment {
    font-weight: 500;
    padding: 20px;
    background-color: var(--background-gray);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

/* Index page styles */
.index-main {
    padding-top: 60px;
}

.hero {
    text-align: center;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.tagline {
    font-size: 20px;
    color: var(--text-secondary);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.card {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    position: relative;
}

.card:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-2px);
}

.card-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h2 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-secondary);
    font-size: 14px;
    flex: 1;
}

.card-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
}

.info-section {
    background-color: var(--background-gray);
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.info-section h3 {
    margin-top: 0;
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 40px;
}

/* Footer */
footer {
    background-color: var(--background-gray);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    margin-top: auto;
    text-align: center;
}

footer p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-links {
    margin-top: 16px;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.separator {
    margin: 0 12px;
    color: var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 16px;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .info-section {
        padding: 24px;
    }
    
    footer {
        padding: 30px 16px;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .tagline {
        font-size: 16px;
    }
    
    .card {
        padding: 24px;
    }
}

/* Print styles */
@media print {
    header, footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    h1 {
        font-size: 24pt;
    }
    
    h2 {
        font-size: 18pt;
        page-break-after: avoid;
    }
    
    h3 {
        font-size: 14pt;
        page-break-after: avoid;
    }
    
    section {
        page-break-inside: avoid;
    }
}