/* =============================================
   FrankWinstonCrum Insurance — Landing Page
   Colors from Style Guide / Dev Notes
   ============================================= */

/* --- Tokens --- */
:root {
    --color-primary: #1999D6;
    --color-secondary: #193567;
    --color-accent: #A3CF5E;
    --color-bg: #F2FAFD;
    --color-surface: #FEFEFE;
    --color-border: #E0E2E6;
    --color-title: #3D4044;
    --color-body: #404855;
    --color-caption: #898E9F;
    --color-white: #FFFFFF;
}

/* --- Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-body);
    background: var(--color-surface);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =============================================
   HEADER
   ============================================= */
.header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 52px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-title);
    letter-spacing: 0.01em;
    transition: color 0.15s;
}

    .nav-link:hover {
        color: var(--color-primary);
    }

/* =============================================
   HERO BANNER
   ============================================= */
.hero {
    position: relative;
    background: radial-gradient(ellipse 60% 120% at 65% 40%, rgba(26, 148, 212, 0.55) 0%, transparent 70%), linear-gradient(to right, #071229 0%, #0e2060 40%, #1262a8 75%, #1788c7 100%);
    padding: 72px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 200px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 800;
    color: var(--color-white);
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    line-height: 1.1;
}

/* =============================================
   MAIN — LOGIN CARDS
   ============================================= */
.main {
    flex: 1;
    padding: 64px 40px;
    background: var(--color-surface);
}

.login-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0 0;
    align-items: start;
}

.divider-v {
    width: 1px;
    background: var(--color-border);
    align-self: stretch;
    margin: 0 40px;
}

/* --- Individual Card --- */
.login-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 0 40px;
}

/* --- Icon --- */
.card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

    .card-icon svg {
        width: 52px;
        height: 52px;
    }

/* --- Heading --- */
.card-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* --- Body copy --- */
.login-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-body);
    max-width: 320px;
}

/* --- Login Button --- */
.btn-login {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 48px;
    border-radius: 999px;
    transition: background 0.2s, transform 0.1s;
    cursor: pointer;
    margin-top: 4px;
}

    .btn-login:hover {
        background: #147fb8;
        transform: translateY(-1px);
    }

    .btn-login:active {
        transform: translateY(0);
    }

/* --- Footnote --- */
.card-footnote {
    font-size: 14px;
    color: var(--color-body);
    line-height: 1.6;
}

    .card-footnote strong {
        font-weight: 700;
        display: block;
        margin-bottom: 2px;
    }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    border-top: 1px solid var(--color-border);
    padding: 28px 40px;
    background: var(--color-surface);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-logo {
    height: 44px;
    width: auto;
    display: block;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

    .footer-links a {
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.08em;
        color: var(--color-caption);
        text-transform: uppercase;
        transition: color 0.15s;
    }

        .footer-links a:hover {
            color: var(--color-primary);
        }

/* =============================================
   MOBILE (<=600px)
   ============================================= */
@media (max-width: 600px) {
    .header-inner {
        padding: 12px 16px;
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 10px;
    }

    .logo-img {
        height: 36px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
        width: 100%;
    }

    .hero {
        padding: 40px 20px;
    }

    .main {
        padding: 40px 20px;
    }

    .login-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .divider-v {
        display: none;
    }

    .login-card {
        padding: 0;
    }
}
