* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    background: #ffffff;
    color: #071a2b;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* =========================
   TOP NAVIGATION
   ========================= */

.topbar {
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    background: #ffffff;
    border-bottom: 1px solid #e3e8ee;

    overflow: hidden;
}

.brand {
    display: flex;
    align-items: center;
    gap: 20px;

    height: 100%;
    min-width: 0;
}

.company-logo {
    width: 160px !important;
    max-width: 160px !important;
    height: auto !important;
    max-height: 55px !important;

    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.portal-title {
    padding-left: 20px;
    border-left: 1px solid #e3e8ee;
}

.brand-name {
    color: #071a2b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    line-height: 1.2;
}

.brand-subtitle {
    margin-top: 5px;

    color: #667085;

    font-size: 11px;
    line-height: 1.35;
}

.brand-name {
    color: #071a2b;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.brand-subtitle {
    margin-top: 4px;
    color: #667085;
    font-size: 12px;
}


/* =========================
   HEADER BUTTONS
   ========================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.support-link {
    color: #071a2b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.support-link:hover {
    color: #c6a15b;
}

.login-button {
    padding: 11px 19px;
    color: #ffffff;
    background: #071a2b;
    border: 1px solid #071a2b;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
    transition: all 0.2s ease;
}

.login-button:hover {
    background: #c6a15b;
    border-color: #c6a15b;
    color: #071a2b;
}
.customer-name {
    color: #071a2b;

    font-size: 13px;
    font-weight: 650;
}

/* =========================
   MAIN CONTENT
   ========================= */

main {
    width: min(1320px, 88%);
    margin: auto;
}


/* =========================
   HERO SECTION
   ========================= */

.hero {
    padding: 90px 0 60px;
    max-width: 760px;
}

.eyebrow {
    color: #c6a15b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero h1 {
    margin: 0;
    color: #071a2b;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.07;
    letter-spacing: -2px;
}

.hero p {
    margin-top: 24px;
    max-width: 680px;
    color: #667085;
    font-size: 18px;
    line-height: 1.7;
}


/* =========================
   TOOL GRID
   ========================= */

.tools {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 90px;
}


/* =========================
   TOOL CARDS
   ========================= */

.tool-card {
    min-height: 280px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;

    box-shadow:
        0 2px 8px rgba(7, 26, 43, 0.04);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.tool-card:hover {
    transform: translateY(-4px);

    border-color: #c6a15b;

    box-shadow:
        0 10px 30px rgba(7, 26, 43, 0.10);

    background: #ffffff;
}


/* =========================
   TOOL ICON
   ========================= */

.tool-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 32px;

    background: #071a2b;
    border: 1px solid #071a2b;
    border-radius: 8px;

    color: #c6a15b;

    flex-shrink: 0;
}

.tool-icon svg {
    width: 26px;
    height: 26px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tool-card:hover .tool-icon {
    background: #0d2740;
    border-color: #c6a15b;
}


/* =========================
   TOOL TEXT
   ========================= */

.tool-card h2 {
    margin: 0 0 16px;
    color: #071a2b;
    font-size: 20px;
}

.tool-card p {
    min-height: 75px;
    margin: 0 0 25px;

    color: #667085;

    font-size: 14px;
    line-height: 1.6;
}

.open-tool {
    color: #c6a15b;
    font-size: 13px;
    font-weight: 700;
}

.tool-card:hover .open-tool {
    color: #071a2b;
}


/* =========================
   FOOTER
   ========================= */

footer {
    display: flex;
    justify-content: space-between;

    padding: 30px 6%;

    background: #071a2b;

    border-top: 3px solid #c6a15b;

    color: #cbd3dc;

    font-size: 12px;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 950px) {

    .tools {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 650px) {

    .topbar {
        height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .brand-subtitle,
    .support-link {
        display: none;
    }

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

    .hero {
        padding-top: 55px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    footer {
        gap: 20px;
        flex-direction: column;
    }

}