


body {
    color: var(--bs-body-color);
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 18px 40px 18px;
    font-family: var(--maxsim-font);
}
body a { text-decoration: none; }
body .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}
body .brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
body .brand img { height: 32px; }
body .pill {
    font-family: var(--maxsim-font-monospace);
    font-size: 12px;
    padding: 4px 10px 2px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.14);
    background: #fff;
    color: #000;
}
.navlinks {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.navlinks .for_label {
    color: rgba(0,0,0,.72);
    font-weight: 900;
    padding: 6px 0;
}
.navlinks a {
    color: var(--maxsim-secondary);
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
}
.navlinks a:hover, .navlinks .active { 
    border: 1px solid #c2c2c2;
}

.navlinks .active {
    background: #e8e8e8; 
}

#hero {
    border-radius: 22px;
    padding: 26px 22px;
    background: var(--maxsim-surface);
    border: 1px solid rgba(0,0,0,.12);
    box-shadow: var(--maxsim-surface-shadow);
}
body h1 {
    font-size: 42px;
    letter-spacing: -0.02em;
    line-height: 1.06;
    margin: 0;
    color: #000;
}
#hero p {
    margin: 12px 0 0 0;
    font-size: 17px;
    line-height: 1.5;
    color: rgba(0,0,0,.78);
}
#hero .hero_grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 14px;
    align-items: stretch;
}
#hero .cta_row {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#hero .cta_row .btn { border-radius: 12px; }
#hero .tiny {
    margin-top: 10px;
    color: rgba(0,0,0,.6);
    font-size: 13px;
}
body .panel {
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    padding: 14px;
}
body .panel .panel_title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 14px;
    color: rgba(0,0,0,.72);
    text-transform: uppercase;
    letter-spacing: .06em;
}
body .kpi {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
body .kpi .item {
    border-radius: 14px;
    padding: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: linear-gradient(145deg, rgba(177, 177, 177, 0.1), rgba(255,255,255,1));
}
body .kpi .item b { display: block; font-size: 15px; }
body .kpi .item span { display: block; margin-top: 3px; color: rgba(0,0,0,.7); font-size: 13px; }

body .section {
    margin-top: 26px;
    border-radius: 22px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    padding: 22px;
    box-shadow: var(--maxsim-surface-shadow);
}
body .section h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.01em;
    display:inline-block;
}
body .section .sub {
    margin-top: 8px;
    margin-left: 10px;
    color: rgba(0,0,0,.72);
    font-size: 15px;
    line-height: 1.5;
    display:inline-block;
}

body .flow {
    margin-top: 14px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
}
body .flow .flow_box {
    flex: 1 1 0;
    min-width: 220px;
}
body .flow .flow_arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    color: rgba(0,0,0,.55);
    font-size: 20px;
}
body .network_context {
    margin-top: 12px;
    border-radius: 16px;
    border: 1px dashed rgba(0,0,0,.18);
    padding: 14px;
    background: linear-gradient(90deg, rgba(43,163,255,.06), #ffffff);
}

body .cardx {
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.12);
    padding: 14px;
    background: var(--maxsim-surface);
    
}
body .cardx .h {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}
body .cardx .h i, .panel_title i { color: var(--maxsim-primary); }
body .cardx .t { margin-top: 6px; color: rgba(0,0,0,.74); font-size: 14px; line-height: 1.45; }

body .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
body .bullets ul { margin: 10px 0 0 0px; color: rgba(0,0,0,.82); }
body .bullets li { margin: 6px 0; }

body .columns5 {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-items: stretch;
}

body .faq {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
body details {
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff;
}
body details summary {
    cursor: pointer;
    font-weight: 900;
}
body details p {
    margin: 10px 0 0 0;
    color: rgba(0,0,0,.75);
    line-height: 1.5;
}

body .footer {
    margin: 20px 0 100px 0;
    color: rgba(0,0,0,.62);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}
body .footer a { color: var(--maxsim-link); font-weight: 800; }

.ms_what_screenshots .ms_what_screenshots_grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 14px;
    align-items: start;
}
.ms_what_screenshots .ms_what_stack {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ms_what_screenshots .ms_screenshots_col {
    min-width: 0;
}

@media (max-width: 1100px) {
    body .columns5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    #content { margin-left: 0; padding: 0; }
    #sidebar { display: none; }
    body { padding-top: 16px; }
    #hero .hero_grid { grid-template-columns: 1fr; }
    body .split { grid-template-columns: 1fr; }
    body h1 { font-size: 34px; }

    body .flow {
        flex-direction: column;
        align-items: stretch;
    }
    body .flow .flow_arrow {
        min-height: 20px;
    }
    body .flow .flow_arrow i {
        transform: rotate(90deg);
    }

    body .columns5 {
        grid-template-columns: 1fr;
    }

    .ms_what_screenshots .ms_what_screenshots_grid {
        grid-template-columns: 1fr;
    }

    #ai_prompt_text {
        min-height: 420px;
    }
}

@media (max-width: 600px) {
    body .topbar {
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
    }
    body .topbar .brand {
        flex: 1 1 100%;
    }
    body .topbar .navlinks {
        flex: 1 1 100%;
        gap: 8px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
    }
    body .topbar .navlinks a {
        padding: 6px 8px;
        white-space: nowrap;
    }
    body .topbar .topbar_login {
        flex: 1 1 100%;
        width: 100%;
    }
}
