@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter_18pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter_18pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #EDEDED;
    --brand: #B94C27;
    --text: #323032;
    --muted: #323032;
    --card-bg: #FFFFFF;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.iframe-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 16px 20px 20px;
}

.header-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-title {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: baseline;
    color: var(--brand);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
}

.factsheet-btn {
    margin-left: auto;
    background: var(--brand);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.divider {
    margin: 14px 0 10px;
    height: 1px;
    background: var(--muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 24px;
}

@media (min-width: 720px) {
    .stats-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.stat {
    min-width: 0;
    text-align: center;
}

.stat-label {
    color: var(--brand);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 4px;
}

.stat-value {
    color: var(--text);
    font-size: 14px;
    display: block;
    font-weight: 600;
}

@media (max-width: 680px) {
    .header-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .header-title {
        justify-content: center;
        text-align: center;
    }

    .factsheet-btn {
        margin-left: 0;
        align-self: center;
        font-size: 15px;
        padding: 11px 16px;
        width: 50%;
        display: block;
        text-align: center;
    }

    .divider {
        margin: 28px 0 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 7px;
    }

    .stat-label {
        font-size: 17px;
    }
    .stat-value {
        font-size: 19px; 
        line-height: 1.35;
    }
}
