/* Import Fraunces font with font-display: swap for performance */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@600&display=swap');

/* Local Fungis font with font-display optimization */
@font-face {
    font-family: 'Fungis Grotesque';
    src: url('/fonts/FungisGrotesque/FungisRegular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* Prevent layout shift */
}

/* Typography styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.75; /* Improved line height */
}



h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 600;
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.3; /* Tighter for headings */
    letter-spacing: -0.02em; /* Slight negative tracking for headings */
}

h1 {
    font-size: 28px;
    margin-bottom: 12px;
}

h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

p {
    margin: 0 0 16px 0;
    line-height: 1.6;
}

a {
    color: #007CAF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.back-link {
    display: none; /* Hide back link for cleaner design */
}

/* .back-link:hover {
    color: #005d82;
    transform: translateX(-3px);
    text-decoration: none;
}

.back-link::before {
    content: '←';
    margin-right: 8px;
    transition: margin 0.2s ease;
}

.back-link:hover::before {
    margin-right: 10px;
} */

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-divider {
    border: none;
    border-bottom: 1px solid var(--ui-divider);
    margin: 32px 0;
} 
