/**
 * Tshijuka – Document marketplace index
 */
body.index-page {
    margin-top: 0;
}

.index-page {
    padding-top: 68px;
    background: #eaeded;
    color: #1e293b;
}

.index-page .navbar.navbar-index {
    flex-wrap: nowrap;
}

/* Mobile nav */
.index-page .nav-toggle {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 12px;
    border: none;
    border-radius: 6px;
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    font-family: inherit;
}

.index-page .nav-toggle:hover { background: #f3f4f6; }

.index-page .nav-toggle-label {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.index-page .nav-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 18px;
}

.index-page .nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    border-radius: 1px;
}

.index-page .nav-sidebar-backdrop[hidden],
.index-page .nav-sidebar[hidden] {
    display: none !important;
}

.index-page .nav-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 88vw);
    height: 100dvh;
    background: #fff;
    z-index: 1050;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

.index-page .nav-sidebar.is-open { transform: translateX(0); }

.index-page .nav-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1040;
}

.index-page .nav-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #eaecf0;
    background: #f8f9fa;
}

.index-page .nav-sidebar-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.index-page .nav-sidebar-close {
    width: 36px;
    height: 36px;
    border: 1px solid #c8ccd1;
    border-radius: 4px;
    background: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.index-page .nav-sidebar-body { flex: 1; overflow-y: auto; }

.index-page .nav-sidebar-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.index-page .nav-sidebar-links li { border-bottom: 1px solid #eaecf0; }

.index-page .nav-sidebar-links a {
    display: block;
    padding: 14px 16px;
    color: #3366cc;
    text-decoration: none;
}

body.index-page.nav-sidebar-open { overflow: hidden; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Department nav (Amazon-style) */
.mp-dept-nav {
    position: sticky;
    top: 68px;
    z-index: 900;
    background: #232f3e;
    color: #fff;
    border-bottom: 1px solid #37475a;
    scroll-margin-top: 68px;
}

.mp-dept-nav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.35rem;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.mp-dept-link {
    display: inline-block;
    padding: 0.45rem 0.7rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 4px;
    white-space: nowrap;
}

.mp-dept-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.mp-dept-link.is-active,
.mp-dept-link:focus-visible {
    background: #febd69;
    color: #111;
}

.mp-dept-all {
    font-weight: 700;
    margin-right: 0.25rem;
}

/* Search bar */
.mp-search {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.mp-search-header {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 720px;
    margin: 0 0.75rem;
    box-shadow: none;
    border-radius: 6px;
}

.index-page .navbar-index .mp-search-header {
    display: flex;
}

.index-page .navbar-index .mp-search-input {
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
}

.index-page .navbar-index .mp-search-btn {
    padding: 0 1rem;
    font-size: 1.1rem;
}

.mp-search-input {
    flex: 1;
    min-width: 0;
    padding: 0.85rem 1rem;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    color: #0f172a;
}

.mp-search-input:focus {
    outline: 2px solid #fbbf24;
    outline-offset: -2px;
}

.mp-search-btn {
    padding: 0 1.35rem;
    border: none;
    background: #febd69;
    color: #111;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease;
}

.mp-search-btn:hover {
    background: #f3a847;
}

/* Explore document categories */
.mp-explore,
.mp-shop {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    background: #fff;
}

.mp-explore .mp-section-head,
.mp-shop .mp-section-head {
    text-align: left;
    max-width: none;
    margin-bottom: 1.25rem;
}

.mp-explore .mp-section-head h2,
.mp-shop .mp-section-head h2 {
    font-size: 1.35rem;
    color: #0f1111;
    margin-bottom: 0.35rem;
}

.mp-explore-grid,
.mp-shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.mp-explore-grid-3,
.mp-shop-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.mp-dept-sub {
    font-size: 0.78rem;
    opacity: 0.88;
    padding-left: 0.45rem;
}

.mp-dept-sub::before {
    content: '›';
    margin-right: 0.25rem;
    opacity: 0.7;
}

.mp-explore-tile,
.mp-shop-tile {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1rem;
    background: #fff;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    min-height: 8.5rem;
}

.mp-explore-tile:hover,
.mp-shop-tile:hover {
    border-color: #c7511f;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.mp-explore-tile-icon,
.mp-shop-tile-icon {
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 0.65rem;
}

.mp-explore-tile h3,
.mp-shop-tile h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f1111;
}

.mp-explore-tile p,
.mp-shop-tile p {
    margin: 0;
    font-size: 0.82rem;
    color: #565959;
    line-height: 1.45;
}

.mp-explore-tile-agriculture,
.mp-shop-tile-agriculture { border-top: 3px solid #16a34a; }
.mp-explore-tile-business,
.mp-shop-tile-business { border-top: 3px solid #ea580c; }
.mp-explore-tile-edu,
.mp-shop-tile-edu { border-top: 3px solid #2563eb; }
.mp-explore-tile-creative,
.mp-shop-tile-creative { border-top: 3px solid #9333ea; }

.mp-explore-tile {
    scroll-margin-top: 140px;
}

/* Compact how-it-works row */
.mp-quick {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.mp-quick-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.mp-quick-step {
    position: relative;
    padding: 0.85rem 0.75rem 0.75rem;
    padding-top: 1.35rem;
}

.mp-quick-step .mp-step-num {
    top: 0.5rem;
    left: 0.65rem;
    width: 1.4rem;
    height: 1.4rem;
    font-size: 0.72rem;
}

.mp-quick-step h3 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.mp-quick-step p {
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

.index-page .mp-hero {
    padding: 3rem 0 2.25rem;
}

.index-page .mp-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

.index-page .mp-hero-actions {
    margin-bottom: 1rem;
}

/* Readable index typography — compact layout, visible text */
.index-page .mp-section {
    padding: 2.25rem 0;
    scroll-margin-top: 118px;
}

.index-page .mp-section-head {
    margin-bottom: 1.25rem;
}

.index-page .mp-section-head h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    margin-bottom: 0.45rem;
}

.index-page .mp-section-lead {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 52rem;
}

.index-page .mp-card {
    padding: 1rem 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.index-page .mp-card:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.index-page .mp-card h3 {
    font-size: 1rem;
    margin-bottom: 0.45rem;
}

.index-page .mp-card h4 {
    font-size: 0.88rem;
}

.index-page .mp-card p,
.index-page .mp-rules {
    font-size: 0.9rem;
    line-height: 1.55;
}

.index-page .mp-rules {
    margin-top: 0.55rem;
    padding-left: 1rem;
}

.index-page .mp-eyebrow {
    font-size: 0.72rem;
    margin-bottom: 0.45rem;
}

.index-page .mp-hero-lead {
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
}

.index-page .mp-trust-bar {
    font-size: 0.82rem;
}

.index-page .mp-explore .mp-section-head h2,
.index-page .mp-shop .mp-section-head h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
}

.index-page .mp-explore-tile,
.index-page .mp-shop-tile {
    min-height: 8rem;
    padding: 1.1rem 0.95rem;
}

.index-page .mp-explore-tile h3,
.index-page .mp-shop-tile h3 {
    font-size: 1.02rem;
}

.index-page .mp-explore-tile p,
.index-page .mp-shop-tile p {
    font-size: 0.88rem;
    line-height: 1.5;
}

.index-page .mp-cat-col h4,
.index-page .mp-cat-col h5 {
    font-size: 0.82rem;
}

.index-page .mp-cat-col p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.index-page .mp-tag {
    font-size: 0.85rem;
    padding: 0.45rem 0.85rem;
}

/* Professional section headers */
.mp-section-head-pro {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0.85rem;
    border-left: 4px solid #2563eb;
}

.mp-section-head-pro .mp-section-eyebrow {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
}

.mp-section-head-pro h2 {
    color: #0f172a;
}

.mp-section-head-pro .mp-section-lead {
    color: #475569;
}

/* Smooth scroll + back to top */
html.mp-smooth-scroll {
    scroll-behavior: smooth;
}

.mp-back-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 850;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: #1d4ed8;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
    transition: transform 0.15s ease, background 0.15s ease;
}

.mp-back-top:hover {
    background: #1e40af;
    transform: translateY(-2px);
    color: #fff;
}

.mp-back-top[hidden] {
    display: none !important;
}

/* Problem & solution — full readable text */
.mp-story {
    padding: 2.5rem 0;
    background: #fff;
    scroll-margin-top: 118px;
}

.mp-story-card {
    background: #fff;
    border: 1px solid #d5d9d9;
}

.mp-story-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #0f1111;
}

/* Layout */
.mp-container {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.mp-section {
    padding: 3.5rem 0;
}

.mp-section-alt {
    background: #fff;
}

.mp-section-head {
    text-align: center;
    max-width: 680px;
    margin-bottom: 2rem;
}

.mp-section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 0.65rem;
    letter-spacing: -0.02em;
}

.mp-section-lead {
    margin: 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

.mp-eyebrow {
    display: inline-block;
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2563eb;
}

/* Hero */
.mp-hero {
    position: relative;
    padding: 4.5rem 0 3.5rem;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(96, 165, 250, 0.35), transparent),
        linear-gradient(165deg, #0f2d6e 0%, #1d4ed8 48%, #1e40af 100%);
    color: #fff;
    overflow: hidden;
}

.mp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.35;
    pointer-events: none;
}

.mp-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.mp-hero .mp-eyebrow {
    color: rgba(255, 255, 255, 0.92);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
}

.mp-hero h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2.75rem, 7vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.mp-hero-lead {
    max-width: 640px;
    margin: 0 auto 1.5rem;
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.mp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.mp-hero-actions .btn {
    min-width: 10.5rem;
    padding: 0.75rem 1.35rem;
    font-weight: 600;
    border-radius: 10px;
}

.mp-hero-actions .btn-secondary {
    background: #fff;
    color: #1d4ed8;
    border: 2px solid #fff;
}

.mp-hero-actions .btn-secondary:hover {
    background: #eff6ff;
}

.mp-trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.82);
}

.mp-trust-bar li {
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.12);
}

/* Cards */
.mp-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.mp-card-flat {
    box-shadow: none;
    background: #f8fafc;
}

.mp-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e3a8a;
}

.mp-card p {
    margin: 0;
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.55;
}

/* Split layouts */
.mp-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.mp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.mp-step {
    position: relative;
    padding-top: 1.5rem;
}

.mp-step-num {
    position: absolute;
    top: -0.65rem;
    left: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.mp-lanes { margin-top: 0.5rem; }

.mp-lane-have { border-top: 3px solid #dc2626; }
.mp-lane-want { border-top: 3px solid #2563eb; }

.mp-rules {
    margin: 0.85rem 0 0;
    padding-left: 1rem;
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.5;
}

.mp-rules li { margin-bottom: 0.4rem; }
.mp-rules li:last-child { margin-bottom: 0; }

/* Categories */
.mp-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.mp-cat { border-top: 3px solid #94a3b8; }
.mp-cat-edu { border-top-color: #2563eb; }
.mp-cat-business { border-top-color: #ea580c; }
.mp-cat-creative { border-top-color: #9333ea; }
.mp-cat-agriculture { border-top-color: #16a34a; }

.mp-cat-spotlight {
    margin-bottom: 0.85rem;
    padding: 0.9rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
    border: 1px solid #bbf7d0;
    scroll-margin-top: 140px;
}

.mp-cat {
    scroll-margin-top: 140px;
}

.mp-cat-spotlight-title {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #15803d;
}

.mp-cat-spotlight .mp-cat-col h5 {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #475569;
}

.mp-cat-more {
    margin-top: 0.25rem;
}

.mp-cat-more .mp-cat-col {
    background: #fff;
}

.mp-cat-more .mp-cat-col p {
    font-size: 0.86rem;
    color: #64748b;
    font-style: italic;
}

.mp-cat h3 {
    margin-bottom: 0.85rem;
    font-size: 1.1rem;
}

.mp-cat-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.mp-cat-col {
    padding: 0.85rem 0.9rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.mp-cat-col-public {
    border-top: 2px solid #2563eb;
}

.mp-cat-col-private {
    border-top: 2px solid #64748b;
}

.mp-cat-col h4 {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #475569;
    line-height: 1.35;
}

.mp-cat-col p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #334155;
}

/* Criteria */
.mp-criteria {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mp-criterion h3 { font-size: 0.95rem; }

.mp-eco-others { border-top: 3px solid #94a3b8; }
.mp-eco-tshijuka { border-top: 3px solid #2563eb; }

.mp-upload-highlight {
    margin-top: 1rem;
    border: 1px solid #bfdbfe;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

.mp-upload-highlight h3 { color: #1d4ed8; }

.mp-freemium-banner {
    margin-top: 1rem;
    border: 1px solid #d1fae5;
    background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 55%, #eff6ff 100%);
}

.mp-freemium-banner h3 {
    margin: 0.35rem 0 0.65rem;
    font-size: 1.15rem;
    color: #065f46;
}

.mp-freemium-banner > p {
    margin-bottom: 0.65rem;
}

.mp-freemium-rule {
    margin: 0 0 1rem !important;
    color: #0f172a;
    font-size: 0.95rem;
}

.mp-freemium-ratio { margin-bottom: 1rem; }

.mp-freemium-ratio-caption {
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mp-ratio-bar {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
    margin-bottom: 0.5rem;
}

.mp-ratio-seg {
    height: 0.65rem;
    border-radius: 4px;
}

.mp-ratio-freemium { background: #10b981; }
.mp-ratio-premium { background: #2563eb; }

.mp-ratio-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.mp-ratio-legend-freemium { color: #047857; }
.mp-ratio-legend-premium { color: #1d4ed8; }

.mp-freemium-types { margin-top: 0.25rem; }

.mp-freemium-type {
    border-top: 3px solid #10b981;
}

.mp-freemium-type-premium {
    border-top-color: #2563eb;
}

.mp-freemium-type h4 {
    margin: 0 0 0.45rem;
    font-size: 0.95rem;
    color: #1e3a8a;
}

.mp-business-model-head {
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.mp-business-model-split {
    margin-top: 0.25rem;
}

.mp-business-model-card {
    border: 1px solid #e2e8f0;
    background: #fff;
}

.mp-business-model-platform {
    border-top: 3px solid #2563eb;
}

.mp-business-model-physical {
    border-top: 3px solid #d97706;
}

.mp-business-model-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.05rem;
    color: #1e3a8a;
}

.mp-business-model-card p {
    margin: 0;
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.55;
}

.mp-business-model-physical > p {
    margin-bottom: 0.85rem;
}

.mp-platform-users {
    margin-top: 0.75rem !important;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.88rem !important;
    color: #475569 !important;
}

.mp-office-location {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0.85rem 1rem;
}

.mp-office-ghana {
    border-top: 3px solid #ca8a04;
}

.mp-office-drc {
    border-top: 3px solid #059669;
}

.mp-office-location h4 {
    margin: 0 0 0.4rem;
    font-size: 0.92rem;
    color: #1e3a8a;
}

.mp-office-location p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.mp-criterion-money { border-left: 3px solid #059669; }

.mp-monetizable { margin-top: 0.25rem; }

/* Opportunities */
.mp-opp-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.mp-tag {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbeafe;
    color: #1e40af;
    font-size: 0.85rem;
    font-weight: 600;
}

.mp-cta-inline { text-align: center; }

/* Final CTA */
.mp-cta-final {
    padding: 3.5rem 0;
    background: linear-gradient(165deg, #0f2d6e 0%, #1d4ed8 100%);
    color: #fff;
    text-align: center;
}

.mp-cta-final-inner h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

.mp-cta-final-inner p {
    max-width: 520px;
    margin: 0 auto 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.mp-footer {
    text-align: center;
    padding: 1.5rem 1rem 2rem;
    font-size: 0.9rem;
}

.mp-footer a {
    color: inherit;
}

/* Dense sections – full content, readable footprint */
.mp-dense {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.mp-section-head-dense {
    margin-bottom: 0.9rem;
}

.mp-section-head-dense h2 {
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
    margin-bottom: 0.35rem;
}

.mp-card-dense {
    padding: 0.85rem 0.9rem;
    border-radius: 8px;
}

.mp-card-dense h3 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.mp-card-dense p {
    font-size: 0.88rem;
    line-height: 1.5;
}

.mp-categories-dense {
    gap: 0.85rem;
}

.mp-cat-dense h3 {
    font-size: 1.02rem;
    margin-bottom: 0.55rem;
}

.mp-cat-dense .mp-cat-spotlight {
    margin-bottom: 0.55rem;
    padding: 0.65rem 0.7rem;
}

.mp-cat-dense .mp-cat-spotlight-title {
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}

.mp-cat-dense .mp-cat-col {
    padding: 0.65rem 0.7rem;
}

.mp-cat-dense .mp-cat-col h4,
.mp-cat-dense .mp-cat-col h5 {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.mp-cat-dense .mp-cat-col p {
    font-size: 0.88rem;
    line-height: 1.5;
}

.mp-cat-dense {
    scroll-margin-top: 140px;
}

.mp-ecosystem-dense,
.mp-lanes-dense {
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.mp-rules-dense {
    margin-top: 0.45rem;
    font-size: 0.86rem;
    line-height: 1.5;
}

.mp-rules-dense li {
    margin-bottom: 0.3rem;
}

.mp-upload-line {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #475569;
}

.mp-freemium-dense h3 {
    font-size: 1rem;
    margin: 0 0 0.4rem;
    color: #065f46;
}

.mp-freemium-dense > p {
    margin: 0 0 0.55rem;
    font-size: 0.88rem;
    line-height: 1.5;
}

.mp-freemium-dense .mp-freemium-ratio {
    margin-bottom: 0;
}

.mp-freemium-dense .mp-ratio-bar {
    margin-bottom: 0.4rem;
}

.mp-freemium-dense .mp-ratio-legend {
    font-size: 0.82rem;
}

.mp-criteria-dense {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.mp-criteria-dense .mp-criterion h3 {
    font-size: 0.9rem;
}

.mp-criteria-dense .mp-criterion p {
    font-size: 0.86rem;
    line-height: 1.5;
}

.index-page .mp-dense + .mp-dense {
    border-top: none;
}

@media (max-width: 900px) {
    .mp-criteria-dense {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .index-page .navbar-index .mp-search-header {
        order: 4;
        flex: 1 1 100%;
        max-width: none;
        margin: 0.35rem 0 0;
    }

    .index-page .navbar-index {
        flex-wrap: wrap;
    }
}

@media (max-width: 900px) {
    .mp-split,
    .mp-steps,
    .mp-cat-cols,
    .mp-criteria,
    .mp-criteria-dense,
    .mp-explore-grid,
    .mp-shop-grid {
        grid-template-columns: 1fr;
    }

    .mp-dept-nav-inner {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mp-dept-nav-inner::-webkit-scrollbar {
        display: none;
    }

    .mp-quick-steps {
        grid-template-columns: 1fr;
    }

    .mp-explore-grid-3,
    .mp-shop-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .mp-section { padding: 2.75rem 0; }
    .mp-dense { padding: 1rem 0; }
    .mp-hero { padding: 3.5rem 0 2.75rem; }
}

@media (max-width: 480px) {
    .mp-explore-grid,
    .mp-shop-grid {
        grid-template-columns: 1fr;
    }
}
