:root {
    --bg: #f7f8fb;
    --card: #ffffff;
    --muted: #667085;
    --accent: #0094da;
    --text: #0f172a;
    --radius: 12px;
    --max: 980px;
}

* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
}
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px 30px; /* increase top padding so page feels filled */
}

.hero {
    width: 100%;
    max-width: var(--max);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.9)
    );
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    text-align: center;
    /* center logo (and hero content) vertically so logo sits in middle */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 66vh;
}

.logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 22px;
}
.logo {
    max-width: 800px;
    width: 100%;
    height: auto;
    display: block;
}
.logo-fallback {
    display: none;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0.6px;
}

.lead {
    margin: 0 auto;
    color: var(--muted);
    font-weight: 400;
    line-height: 1.6;
    font-size: 18px;
    max-width: 880px;
}

.contact {
    width: 100%;
    max-width: var(--max);
    margin-top: 28px;
}
.contact h2 {
    margin: 0 0 14px 0;
    font-size: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.contact-card {
    background: var(--card);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
    text-wrap: initial;
}
.contact-card > div {
    /* allow the text block to shrink so long words can wrap inside flex item */
    min-width: 0;
}
.contact-card a {
    /* make long emails wrap instead of overflowing */
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}
.contact-card .icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
    flex: 0 0 32px;
}
.contact-card .muted {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}

.foot {
    width: 100%;
    max-width: var(--max);
    text-align: center;
    margin-top: 32px;
    color: var(--muted);
}

.clickable:hover {
    transition: color 220ms ease;
    color: var(--accent);
    text-decoration: none;
}

.clickable {
    transition: color 220ms ease;
    color: var(--text);
    text-decoration: none;
}

@media (max-width: 520px) {
    .hero {
        padding: 22px;
        min-height: 44vh;
    }
    .lead {
        font-size: 16px;
    }
    .logo {
        max-width: 260px;
    }
    .logo-fallback {
        display: block;
    }
}
