:root {
    --primary-blue: #1a4a7a;
    --deep-blue: #17344f;
    --text-muted: #667085;
    --border-soft: #dce8f4;
    --bg-white: #ffffff;
    --bg-soft: #f7fbff;
    --card-shadow: 0 18px 45px rgba(23, 52, 79, 0.08);
    --transition-speed: 0.25s;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-white) 56%);
    color: var(--deep-blue);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: opacity var(--transition-speed), transform var(--transition-speed);
}

a:hover {
    opacity: 0.72;
}

.page-wrap {
    width: min(960px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 36px;
    animation: fadeIn 0.85s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.logo {
    display: block;
    width: 152px;
    height: auto;
    margin: 0 auto 16px;
}

.small-logo {
    width: 112px;
}

.brand-name {
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 650;
    letter-spacing: 7px;
    line-height: 1;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 20px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(26, 74, 122, 0.08);
    color: var(--primary-blue);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 14px;
    color: var(--deep-blue);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 300;
    letter-spacing: -1.2px;
    line-height: 1.08;
}

h2 {
    margin: 0 0 12px;
    color: var(--deep-blue);
    font-size: 1.08rem;
    line-height: 1.25;
}

p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.58;
}

.lead {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.08rem;
}

.lead.secondary {
    margin-top: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.info-card,
.content-card {
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--card-shadow);
}

.info-card {
    min-height: 180px;
    padding: 18px;
}

.info-card p + p {
    margin-top: 8px;
}

dl {
    display: grid;
    grid-template-columns: minmax(112px, 0.72fr) 1fr;
    gap: 8px 12px;
    margin: 0;
}

dt {
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 500;
}

dd {
    margin: 0;
    color: var(--deep-blue);
    font-size: 0.95rem;
    line-height: 1.4;
}

.simple-page {
    max-width: 760px;
}

.home-link {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--primary-blue);
    font-size: 0.92rem;
    font-weight: 600;
}

.content-card {
    padding: 28px;
    text-align: center;
}

.content-card h1 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: clamp(1.9rem, 4vw, 2.55rem);
}

.content-card dl {
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
}

.legal-text {
    text-align: left;
}

.legal-text .logo,
.legal-text .brand-name,
.legal-text h1,
.legal-text .updated {
    text-align: center;
}

.legal-text h2 {
    margin-top: 22px;
}

.legal-text p + p {
    margin-top: 12px;
}

.updated,
.muted {
    color: var(--text-muted);
}

.contact-email {
    margin: 10px 0 22px;
    font-size: 1.12rem;
    font-weight: 500;
}

.site-footer {
    width: min(960px, calc(100% - 40px));
    margin: 0 auto;
    padding: 18px 0 34px;
    text-align: center;
}

.site-footer p {
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.footer-company {
    color: var(--text-muted);
    font-size: 0.86rem;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.site-footer a {
    font-size: 0.92rem;
    font-weight: 600;
}

@media (max-width: 820px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        min-height: 0;
    }
}

@media (max-width: 520px) {
    .page-wrap,
    .site-footer {
        width: min(100% - 28px, 960px);
    }

    .page-wrap {
        padding-top: 30px;
    }

    .logo {
        width: 128px;
    }

    .small-logo {
        width: 96px;
    }

    .brand-name {
        font-size: 1.02rem;
        letter-spacing: 5px;
    }

    .content-card {
        padding: 22px 18px;
    }

    dl,
    .content-card dl {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    dd {
        margin-bottom: 8px;
    }
}
