* {
    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: #1f2937;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.logo {
    font-size: 48px;
    margin-bottom: 10px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.95;
}

.effective-date {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 8px;
}

.back-link {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: background 0.3s;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

main {
    padding: 40px 30px;
}

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

.card {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border: 2px solid #d1fae5;
    border-radius: 12px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: block;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(5, 150, 105, 0.3);
    border-color: #059669;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #047857;
}

.card p {
    color: #4b5563;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.link-arrow {
    color: #059669;
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-info {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
}

.footer-info p {
    margin: 8px 0;
}

.footer-info a {
    color: #059669;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

/* Legal content styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content section {
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 1.75rem;
    color: #047857;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d1fae5;
}

.legal-content h3 {
    font-size: 1.25rem;
    color: #059669;
    margin-top: 20px;
    margin-bottom: 12px;
}

.legal-content p {
    margin-bottom: 12px;
    color: #374151;
}

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

.legal-content li {
    margin-bottom: 8px;
    color: #4b5563;
}

.legal-content a {
    color: #059669;
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 2px solid #e5e7eb;
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
}

.legal-footer p {
    margin: 8px 0;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 12px;
    }

    header {
        padding: 30px 20px;
    }

    h1 {
        font-size: 2rem;
    }

    main {
        padding: 24px 20px;
    }

    .back-link {
        position: static;
        display: inline-block;
        margin-bottom: 20px;
    }

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

    .legal-content h2 {
        font-size: 1.5rem;
    }
}
