:root {
    --primary: #173f67;
    --primary-dark: #0e2d4b;
    --secondary: #237f75;
    --accent: #e5a93b;
    --text: #17212b;
    --muted: #64748b;
    --background: #f6f8fb;
    --surface: #ffffff;
    --border: #e2e8f0;
    --radius: 18px;
    --shadow: 0 20px 55px rgba(15, 23, 42, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--text);
    background: var(--surface);
    line-height: 1.65;
}

a {
    color: inherit;
}

.container {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}


/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
}

.brand strong {
    display: block;
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: .68rem;
}

.nav-links {
    display: flex;
    gap: 26px;
}

.nav-links a {
    color: #475569;
    text-decoration: none;
    font-size: .94rem;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--primary);
}


/* Hero */

.hero {
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 30%, rgba(35,127,117,.16), transparent 30%),
        linear-gradient(135deg, #f8fbff 0%, #eef5fa 100%);
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    min-height: 670px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 70px;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 70px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--secondary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.hero h1 span {
    display: block;
    color: var(--secondary);
}

.hero-copy > p {
    max-width: 680px;
    margin: 26px 0;
    color: #526171;
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 23px;
    border-radius: 11px;
    text-decoration: none;
    font-weight: 700;
    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 25px rgba(23,63,103,.20);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 1px solid #cbd5e1;
}

.btn-light {
    background: white;
    color: var(--primary-dark);
}

.full {
    width: 100%;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 35px;
}

.trust-row span {
    padding: 7px 12px;
    border: 1px solid #d7e1e9;
    border-radius: 999px;
    background: rgba(255,255,255,.7);
    color: #59697a;
    font-size: .8rem;
    font-weight: 600;
}


/* Dashboard illustration */

.hero-panel {
    position: relative;
}

.dashboard-card {
    background: white;
    border: 1px solid rgba(148,163,184,.3);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
    transform: rotate(1deg);
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.dashboard-top small,
.dashboard-top strong {
    display: block;
}

.dashboard-top small {
    color: var(--muted);
}

.dashboard-top strong {
    margin-top: 3px;
    color: var(--primary-dark);
}

.status {
    padding: 6px 10px;
    border-radius: 999px;
    background: #e8f7f4;
    color: #197166;
    font-size: .74rem;
    font-weight: 800;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 23px;
}

.metric {
    min-height: 110px;
    padding: 18px;
    border-radius: 14px;
    background: var(--background);
    border: 1px solid #edf1f5;
}

.metric strong,
.metric span {
    display: block;
}

.metric strong {
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.metric span {
    margin-top: 8px;
    color: var(--muted);
    font-size: .85rem;
}

.activity {
    margin-top: 23px;
    padding: 21px;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.activity-line {
    display: block;
    width: 58%;
    height: 10px;
    margin: 10px 0;
    border-radius: 999px;
    background: #e3eaf0;
}

.activity-line.wide {
    width: 90%;
}

.activity-line.medium {
    width: 72%;
}


/* Sections */

.section {
    padding: 95px 0;
}

.section-alt {
    background: var(--background);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section h2,
.cta-section h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(2rem, 3.5vw, 3.1rem);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.section-heading p,
.about-copy,
.institution-grid > div:first-child p {
    color: var(--muted);
}

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

.feature-card {
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
}

.feature-card .number {
    color: var(--secondary);
    font-size: .78rem;
    font-weight: 800;
}

.feature-card h3 {
    margin: 20px 0 10px;
    color: var(--primary-dark);
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

.institution-grid,
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.institution-card {
    padding: 34px;
    border-radius: var(--radius);
    background: white;
    border: 1px solid var(--border);
    box-shadow: 0 15px 45px rgba(15,23,42,.07);
}

.institution-card small {
    color: var(--secondary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.institution-card h3 {
    margin-bottom: 7px;
    color: var(--primary-dark);
    font-size: 1.45rem;
}

.institution-card p {
    color: var(--muted);
    margin-bottom: 25px;
}


/* CTA */

.cta-section {
    padding: 30px 0 95px;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 48px;
    border-radius: 24px;
    background: var(--primary-dark);
    color: white;
}

.cta-card h2 {
    color: white;
}

.cta-card p {
    max-width: 680px;
    margin-bottom: 0;
    color: #cbd8e5;
}

.eyebrow.light {
    color: #8fd5cc;
}


/* Footer */

.site-footer {
    border-top: 1px solid var(--border);
    background: #fbfcfd;
}

.footer-wrap {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: var(--muted);
    font-size: .86rem;
}

.footer-wrap strong {
    color: var(--primary-dark);
}

.footer-wrap p {
    margin: 4px 0;
}


/* Responsive */

@media (max-width: 850px) {

    .nav-links {
        display: none;
    }

    .hero-grid,
    .institution-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
        gap: 45px;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 560px) {

    .container {
        width: min(100% - 28px, 1140px);
    }

    .hero-grid {
        padding-top: 55px;
    }

    .feature-grid,
    .metric-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card {
        padding: 20px;
    }

    .section {
        padding: 70px 0;
    }

    .cta-card {
        padding: 32px 24px;
    }

    .footer-wrap {
        padding: 30px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
