:root {
    /* Dominant brand colors */
    --primary: #003e51;
    --primary-light: #97c9e9;
    --primary-gray: #51555b;

    /* Secondary accent colors */
    --accent-orange: #d25327;
    --accent-green: #539333;
    --accent-gold: #f3ab48;

    --page-background: #f3f7f9;
    --card-background: #ffffff;
    --border: #c8dce5;
    --muted-text: #687078;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        linear-gradient(
            180deg,
            rgba(151, 201, 233, 0.28) 0,
            var(--page-background) 260px
        );
    color: var(--primary-gray);
    font-family: Arial, Helvetica, sans-serif;
}

body::before {
    display: block;
    width: 100%;
    height: 8px;
    background: var(--primary);
    content: "";
}

.page {
    width: min(1500px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 36px;
}

/* Header */

.report-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 24px;
}

.report-title {
    flex: 1;
}

.eyebrow {
    margin: 0 0 7px;
    color: var(--accent-orange);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
}

.subtitle {
    margin: 10px 0 0;
    color: var(--primary-gray);
    font-size: 1.05rem;
}

.header-brand {
    display: flex;
    min-width: 220px;
    align-items: flex-end;
    flex-direction: column;
    gap: 14px;
}

.company-logo {
    display: block;
    width: auto;
    max-width: 240px;
    height: auto;
    max-height: 82px;
    object-fit: contain;
}

.status-badge {
    padding: 8px 14px;
    border: 1px solid var(--primary-light);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-badge.demo {
    border-color: var(--accent-gold);
    background: #fff8e5;
    color: #735000;
}

.status-badge.live {
    border-color: var(--accent-green);
    background: #edf7ed;
    color: #2e6428;
}

/* Main chart */

.chart-card {
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card-background);
    box-shadow: 0 10px 30px rgba(0, 62, 81, 0.09);
}

.chart-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(
            90deg,
            rgba(151, 201, 233, 0.30),
            rgba(255, 255, 255, 0)
        );
}

.chart-heading h2,
.disclaimer h2 {
    margin: 0;
    color: var(--primary);
}

.chart-heading h2::after {
    display: block;
    width: 48px;
    height: 4px;
    margin-top: 8px;
    border-radius: 4px;
    background: var(--accent-orange);
    content: "";
}

.chart-heading p {
    margin: 9px 0 0;
    color: var(--primary-gray);
}

.last-updated {
    color: var(--primary-gray);
    text-align: right;
    font-size: 0.85rem;
    font-weight: 700;
}

.chart-container {
    position: relative;
    height: 520px;
    padding: 20px 24px 14px;
}

/* Disclaimer */

.disclaimer {
    margin-top: 20px;
    padding: 20px 24px;
    border-left: 5px solid var(--accent-orange);
    border-radius: 0 8px 8px 0;
    background: rgba(255, 255, 255, 0.6);
}

.disclaimer h2 {
    color: var(--accent-orange);
    font-size: 1rem;
}

.disclaimer p {
    margin: 8px 0 0;
    color: var(--primary-gray);
    font-size: 0.82rem;
    line-height: 1.55;
}

/* Mobile */

@media (max-width: 700px) {
    .page {
        width: min(100% - 24px, 1500px);
        padding-top: 20px;
    }

    .report-header {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .header-brand {
        width: 100%;
        min-width: 0;
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
    }

    .company-logo {
        max-width: 180px;
        max-height: 64px;
    }

    .chart-heading {
        flex-direction: column;
    }

    .last-updated {
        text-align: left;
    }

    .chart-container {
        height: 420px;
        padding-right: 12px;
        padding-left: 12px;
    }
}