/* --- Common Reset and Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    min-height: 100vh;
}

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

/* --- Card and Header Styles --- */
.policy-card,
.demo-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-bottom: 30px;
}

.header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
}

.header h1 {
    font-size: 2em;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.header p {
    font-size: 1em;
    opacity: 0.95;
}

/* --- Section and List Styles --- */
.policy-content,
.demo-content {
    padding: 50px 40px;
}

.policy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.policy-section h2,
.question-section h2 {
    color: #1e3a8a;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3b82f6;
}

.policy-section h3,
.info-card h3 {
    color: #374151;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 15px;
}

.policy-section p,
.info-card p {
    color: #6b7280;
    font-size: 0.95em;
    margin-bottom: 15px;
    line-height: 1.7;
}

.policy-list {
    list-style: none;
    padding: 0;
}

.policy-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    color: #374151;
    line-height: 1.6;
    font-size: 0.95em;
}

.policy-list li::before {
    content: "•";
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.policy-list li strong {
    color: #1e3a8a;
    font-weight: 600;
}

/* --- Table Styles (Shared) --- */
.addendum-table,
.benefits-table,
.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.addendum-table th, .addendum-table td,
.benefits-table th, .benefits-table td,
.policy-table th, .policy-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95em;
}

.addendum-table th,
.benefits-table th,
.policy-table th {
    background: #f8fafc;
    color: #374151;
    font-weight: 600;
}

.addendum-table tr:hover,
.benefits-table tr:hover {
    background: #f9fafb;
}

/* --- Contact Info Box --- */
.contact-info {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    font-size: 0.95em;
}

.contact-info h3 {
    color: #1e3a8a;
    margin-bottom: 15px;
    font-size: 1.1em;
}

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

.contact-info a {
    color: #3b82f6;
    text-decoration: none;
}

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

/* --- Footer --- */
.footer {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    font-size: 0.95em;
}

/* --- Navigation Link --- */
.nav-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
}

.nav-link:hover {
    text-decoration: underline;
}

/* --- Responsive Shared Styles --- */
@media (max-width: 768px) {
    .policy-content,
    .demo-content {
        padding: 30px 20px;
    }
    .header {
        padding: 30px 20px;
    }
    .header h1 {
        font-size: 1.7em;
    }
    .addendum-table,
    .benefits-table {
        font-size: 0.85em;
    }
    .addendum-table th, .addendum-table td,
    .benefits-table th, .benefits-table td {
        font-size: 0.85em;
    }
}
