:root {
    --background: #f7f8fa;
    --surface: #ffffff;
    --surface-muted: #edf1f4;
    --text: #1d252c;
    --muted-text: #5a6670;
    --primary: #1f6f78;
    --primary-dark: #174f55;
    --accent: #d97732;
    --border: #d8e0e6;
    --shadow: 0 18px 45px rgba(29, 37, 44, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
}

.navbar {
    width: min(1120px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.nav-links {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    color: var(--muted-text);
    font-weight: 700;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--primary-dark);
    background-color: var(--surface-muted);
}

.hero {
    width: min(1120px, calc(100% - 32px));
    min-height: calc(100vh - 72px);
    margin: 0 auto;
    padding: 72px 0 56px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: center;
    gap: 48px;
}

.hero-content {
    max-width: 680px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 20px;
    max-width: 720px;
    font-size: clamp(2.4rem, 7vw, 4.9rem);
    line-height: 1.02;
}

h2 {
    margin-bottom: 12px;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.15;
}

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

.hero-text {
    max-width: 620px;
    margin-bottom: 28px;
    color: var(--muted-text);
    font-size: 1.12rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border: 2px solid var(--primary);
    border-radius: 6px;
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 800;
}

.button:hover,
.button:focus-visible {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.button.secondary {
    background-color: var(--surface);
    color: var(--primary-dark);
}

.button.secondary:hover,
.button.secondary:focus-visible {
    background-color: var(--surface-muted);
}

.hero-panel {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: var(--surface);
    box-shadow: var(--shadow);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    color: var(--muted-text);
    font-weight: 700;
}

.panel-header strong {
    color: var(--primary-dark);
    font-size: 2.35rem;
    line-height: 1;
}

.chart {
    height: 220px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    gap: 14px;
    padding: 30px 0 22px;
}

.chart span {
    display: block;
    min-height: 36px;
    border-radius: 6px 6px 0 0;
    background-color: var(--primary);
}

.chart span:nth-child(even) {
    background-color: var(--accent);
}

.bar-low {
    height: 42%;
}

.bar-mid {
    height: 68%;
}

.bar-steady {
    height: 54%;
}

.bar-high {
    height: 86%;
}

.bar-strong {
    height: 73%;
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.metric-row span {
    padding: 12px;
    border-radius: 6px;
    background-color: var(--surface-muted);
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 700;
}

.section {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0;
}

.section.muted {
    width: 100%;
    padding-right: max(16px, calc((100% - 1120px) / 2));
    padding-left: max(16px, calc((100% - 1120px) / 2));
    background-color: var(--surface-muted);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 28px;
}

.section > p {
    max-width: 820px;
    color: var(--muted-text);
    font-size: 1.05rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: var(--surface);
}

.card p,
.feature-list p,
.contact p {
    margin-bottom: 0;
    color: var(--muted-text);
}

.feature-list {
    display: grid;
    gap: 20px;
}

.feature-list div {
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.feature-list div:first-child {
    border-top: 1px solid var(--border);
}

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.benefits span {
    min-height: 92px;
    padding: 20px;
    display: flex;
    align-items: center;
    border-left: 5px solid var(--accent);
    border-radius: 8px;
    background-color: var(--surface);
    font-weight: 800;
}

.contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.contact div {
    max-width: 680px;
}

.site-footer {
    padding: 28px 16px;
    background-color: var(--text);
    color: #ffffff;
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: #dbe3e8;
}

@media (max-width: 820px) {
    .navbar {
        min-height: auto;
        padding: 16px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .nav-links a {
        white-space: nowrap;
    }

    .hero {
        min-height: auto;
        padding-top: 48px;
        grid-template-columns: 1fr;
    }

    .card-grid,
    .benefits,
    .metric-row {
        grid-template-columns: 1fr;
    }

    .contact {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .hero,
    .section {
        width: min(100% - 24px, 1120px);
    }

    .section,
    .section.muted {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    h1 {
        font-size: 2.45rem;
    }

    .hero-panel {
        padding: 20px;
    }

    .chart {
        height: 180px;
        gap: 10px;
    }
}
