html {
    box-sizing: border-box;
}

body {
    box-sizing: border-box;
}

div,
section,
aside,
main,
header,
nav,
article,
button,
input,
img,
p,
h1,
h2,
h3,
span,
small,
strong,
a {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    background: #f5f8fb;
    color: #0b1633;
}

/* APP LAYOUT */

.app {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */

.sidebar {
    width: 245px;
    flex-shrink: 0;
    background: #ffffff;
    border-right: 1px solid #e6ebf1;
    padding: 22px;
}

.logo {
    width: 100%;
    min-height: 78px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #07152f;
    padding: 10px;
    border-radius: 18px;
}

.logo img {
    width: 175px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 10px;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar a {
    display: block;
    text-decoration: none;
    color: #667085;
    font-weight: 500;
    padding: 14px 16px;
    border-radius: 12px;
    transition: background .2s ease, color .2s ease;
}

.sidebar .active,
.sidebar a:hover {
    background: #eafaf7;
    color: #0b1633;
}

/* MAIN AREA */

.main {
    flex: 1;
    min-width: 0;
}

.topbar {
    height: 78px;
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 34px;
    background: #ffffff;
    border-bottom: 1px solid #e6ebf1;
}

.menu-btn,
.sign-in {
    border: 1px solid #d9e1ea;
    border-radius: 12px;
    background: #ffffff;
    color: #0b1633;
    font-weight: 600;
    padding: 14px 18px;
    cursor: pointer;
}

.topbar input {
    flex: 1;
    border: 1px solid #d9e1ea;
    border-radius: 30px;
    background: #ffffff;
    padding: 18px 24px;
    font-size: 16px;
    outline: none;
    font-family: 'Inter', Arial, sans-serif;
}

.topbar input:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

/* HERO */

.hero {
    margin: 28px;
    padding: 44px;
    min-height: 520px;
    border-radius: 26px;
    display: grid;
    grid-template-columns: 1.5fr 0.9fr;
    align-items: flex-start;
    gap: 34px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(248, 252, 255, .98), rgba(248, 252, 255, .78)),
        url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
}

.eyebrow {
    margin: 0 0 12px;
    color: #009688;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
}

h1 {
    margin: 10px 0 22px;
    font-size: 58px;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: #07152f;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-weight: 700;
}

h1 span {
    color: #14b8a6;
}

.subtitle {
    max-width: 800px;
    margin: 0;
    font-size: 21px;
    line-height: 1.6;
    color: #344054;
}

/* HERO FEATURE CARDS */

.features {
    max-width: 850px;
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-cards div {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #dfe7ef;
    border-radius: 18px;
    padding: 18px 14px;
    text-align: left;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .04);
}

.feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #07152f;
    color: #10d5c2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.features strong {
    display: block;
    font-size: 18px;
    color: #07152f;
    font-weight: 600;
}

.features small {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #475467;
    line-height: 1.4;
}

/* INVESTOR SEARCH CONSOLE */

.assistant-card {
    background: rgba(255, 255, 255, .96);
    border: 1px solid #dfe7ef;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, .1);
}

.assistant-header {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px;
    background: #f8fbfd;
    border: 1px solid #dfe7ef;
    border-radius: 16px;
}

.bot-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #07152f;
    color: #10d5c2;
    border-radius: 12px;
    font-size: 22px;
}

.assistant-header h3 {
    margin: 0 0 8px;
    color: #07152f;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-weight: 700;
}

.assistant-header p {
    margin: 0;
    line-height: 1.45;
    color: #344054;
    font-size: 14.5px;
}

.assistant-card button {
    width: 100%;
    text-align: left;
    margin: 7px 0;
    padding: 17px;
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 12px;
    color: #0b1633;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    font-family: 'Inter', Arial, sans-serif;
    transition: background .2s ease, border-color .2s ease;
}

.assistant-card button:hover {
    border-color: #14b8a6;
    background: #f0fffc;
}

.assistant-answer {
    margin-top: 16px;
    padding: 14px;
    background: #f8fbfd;
    border-radius: 12px;
    color: #667085;
    line-height: 1.5;
    font-size: 14px;
}

/* MARKET SNAPSHOT */

.snapshot {
    margin: 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.snapshot div {
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e6ebf1;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
}

.snapshot span {
    font-size: 26px;
    font-weight: 600;
    color: #0b1633;
    font-family: 'IBM Plex Mono', monospace;
}

.snapshot p {
    margin: 8px 0 0;
    color: #667085;
}

/* SECTION HEADER */

.section-head {
    margin: 32px 28px 14px;
}

.section-head h2 {
    margin: 0;
    font-size: 32px;
    color: #07152f;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-weight: 700;
}

.section-head p {
    margin-top: 8px;
    color: #667085;
}

/* PROJECT CARDS */

.project-grid {
    margin: 0 28px 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project-card {
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e6ebf1;
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
}

.project-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #07152f;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-weight: 700;
}

.meta {
    margin-bottom: 18px;
    line-height: 1.4;
    color: #667085;
}

.price {
    font-size: 23px;
    font-weight: 600;
    color: #0f9f90;
    font-family: 'IBM Plex Mono', monospace;
}

.details {
    margin: 18px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.details div {
    padding: 12px;
    background: #f7fafc;
    border-radius: 12px;
}

.details small {
    display: block;
    margin-bottom: 5px;
    color: #667085;
}

.details strong {
    font-size: 14px;
    color: #07152f;
    font-weight: 600;
}

.summary {
    min-height: 66px;
    line-height: 1.5;
    color: #475467;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.card-actions button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    font-family: 'Inter', Arial, sans-serif;
}

.primary {
    background: #07152f;
    color: #ffffff;
}

.primary:hover {
    background: #0f2247;
}

.secondary {
    background: #eafaf7;
    color: #0f766e;
}

.secondary:hover {
    background: #d8f7f1;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 50px;
    }
}

@media (max-width: 1000px) {
    .app {
        display: block;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e6ebf1;
    }

    .sidebar nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

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

    .features,
    .snapshot,
    .project-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 42px;
    }

    .subtitle {
        font-size: 19px;
    }
}

@media (max-width: 600px) {
    .topbar {
        gap: 10px;
        padding: 0 16px;
    }

    .topbar input {
        padding: 14px 16px;
        font-size: 14px;
    }

    .sign-in {
        display: none;
    }

    .hero {
        margin: 16px;
        padding: 26px;
    }

    h1 {
        font-size: 34px;
    }

    .snapshot,
    .section-head,
    .project-grid {
        margin-left: 16px;
        margin-right: 16px;
    }

    .sidebar {
        padding: 18px;
    }

    .logo img {
        width: 155px;
    }

    .sidebar nav {
        grid-template-columns: 1fr;
    }

    .card-actions {
        flex-direction: column;
    }
}