@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500;600;700;800;900&family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --color-primary: #15803d;
    --color-hover: #16a34a;
    --color-accent: #dcfce7;
    --color-bg: #f0fdf4;
    --font-main: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Crimson Text', Georgia, serif;
    --border-radius: 8px;
    --card-radius: 16px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: #1f2937;
    background-color: #ffffff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

/* Brand Colors */
.bg-primary { background-color: var(--color-primary) !important; }
.text-primary { color: var(--color-primary) !important; }
.border-primary { border-color: var(--color-primary) !important; }

/* Interactive Elements */
a.rounded-full, button.rounded-full, .btn {
    border-radius: var(--border-radius);
}

.rounded-card {
    border-radius: var(--card-radius);
}

/* Contrast Enhancements */
.bg-white, .bg-gray-50, .bg-gray-100 {
    color: #1f2937;
}

header a[href*="index"] {
    min-width: 0;
}

header a[href*="index"] > span {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

@media (min-width: 1024px) {
    header a[href*="index"] > span {
        max-width: 320px;
    }
}

/* FAQ Accordion */
.faq-answer {
    transition: max-height 0.3s ease-out, opacity 0.2s ease-out;
}

/* Print Friendly */
@media print {
    header, footer, #cookie-banner, #scroll-top-btn {
        display: none !important;
    }
}
