* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Brand switching: JS sets data-marque on <html>; markup defaults to 3 */
[data-marque="1"] .m3,
[data-marque="3"] .m1 {
    display: none;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    padding: 60px 40px;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.logos-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.brand-logo {
    text-align: center;
}

.logo-logo {
    font-size: 40px;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.logo-subtitle {
    font-size: 13px;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.arrow {
    font-size: 36px;
    color: #bbb;
    font-weight: 300;
}

.logo-ipi {
    font-size: 48px;
    font-weight: 700;
    color: #1a73e8;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.img-falconbury {
    height: 40px;
    margin: 40px 0 20px;
}

.img-mf,
.img-ipi {
    height: 100px;
}

.img-ipi-square {
    height: 2em;
    vertical-align: middle;
}

.content-section {
    margin-bottom: 50px;
}

h1 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.4;
    text-align: center;

    a {
        color: inherit;
        text-decoration-color: #999;
    }
}

.message {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 50px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.legacy-note {
    background: #fffbeb;
    border: 1px solid #fbbf24;
    padding: 25px;
    margin-bottom: 50px;
    font-size: 15px;
    color: #92400e;
    line-height: 1.6;
}

/* Hidden unless JS has started a countdown */
.redirect-box {
    display: none;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 30px;
    margin-bottom: 50px;
    text-align: center;

    p {
        font-size: 16px;
        color: #555;
        margin-bottom: 15px;
    }
}

[data-countdown="on"] .redirect-box {
    display: block;
}

.countdown {
    font-size: 28px;
    font-weight: 600;
    color: #1a73e8;
}

.cta-wrap {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: #1a73e8;
    color: white;
    padding: 10px 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;

    &:hover {
        background: #1557b0;
    }
}

.contact-section {
    background: #fafafa;
    padding: 50px;
    margin-bottom: 60px;

    h2 {
        font-size: 22px;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 35px;
        text-align: center;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
}

.contact-label {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-value {
    font-size: 16px;
    color: #1a1a1a;

    a {
        color: #1a73e8;
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: border-color 0.2s ease;

        &:hover {
            border-bottom-color: #1a73e8;
        }
    }
}

.company-details {
    text-align: center;
    font-size: 13px;
    color: #999;
    line-height: 2;
    padding-top: 50px;
    border-top: 1px solid #e0e0e0;

    strong {
        color: #666;
    }
}

@media (max-width: 768px) {
    body {
        padding: 40px 20px;
    }

    .logos-section {
        gap: 30px;
        margin-bottom: 30px;
    }

    .logo-logo {
        font-size: 30px;
    }

    .logo-ipi {
        font-size: 36px;
    }

    .arrow {
        font-size: 28px;
        transform: rotate(90deg);
    }

    h1 {
        font-size: 26px;
    }

    .message {
        font-size: 16px;
    }

    .contact-section {
        padding: 35px 25px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}
