/* Jony Ive Inspired - Sophisticated Minimalism & Organic Flow */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');

body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: #f3f4f6; /* Subtle Gray */
    color: #1f2937; /* Dark Slate Gray */
}

.prose {
    color: #374151; /* Cool Gray */
}

.prose h1 {
    color: #111827; /* Near Black */
    margin-bottom: 1rem;
}

.prose h2 {
    font-size: 1.875rem; /* 30px */
    line-height: 2.25rem; /* 36px */
    font-weight: 700;
    color: #111827;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.75rem;
    margin-top: 3.5rem;
    margin-bottom: 2rem !important;
}

.prose h3 {
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
    color: #1f2937;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.prose p {
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.prose .lead {
    font-size: 1.25rem;
    color: #4b5563;
    border-left: 3px solid #3b82f6; /* Accent Blue */
    padding-left: 1.5rem;
}

.prose a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

.prose a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.prose img {
    border-radius: 0.75rem; /* 12px */
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* FAQ Container */
.faq-container {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 2.5rem;
}

.faq-container h4 {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item p {
    margin: 0;
    line-height: 1.5;
}

.faq-item strong {
    color: #1f2937;
}

/* Table Styling */
.table-container {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    font-size: 0.9rem;
}

thead th {
    background-color: #f3f4f6;
    color: #374151;
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #d1d5db;
}

tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody td {
    padding: 0.75rem 1rem;
    vertical-align: top;
}

tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

/* Form Styling */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.form-input.is-invalid {
    border-color: #ef4444; /* Red-500 */
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    height: 1rem;
}

.submit-button {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 10px rgba(59, 130, 246, 0.3);
}

#form-success-message {
    font-weight: 500;
}
