:root {
    --intent-high: #198754;   /* Green for 80+ */
    --intent-medium: #ffc107; /* Yellow for 60-79 */
    --intent-low: #dc3545;    /* Red for <60 */
    --sidebar-width: 260px;
}

body {
    background-color: #f4f6f9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    background: #212529;
    color: #fff;
    min-height: 100vh;
    transition: all 0.3s;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #1a1e21;
    border-bottom: 1px solid #2c3236;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul li a {
    padding: 12px 20px;
    font-size: 1.1em;
    display: block;
    color: #dee2e6;
    text-decoration: none;
}

#sidebar ul li a:hover {
    background: #2c3236;
    color: #fff;
}

#content {
    width: 100%;
    padding: 30px;
}

.opportunity-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.opportunity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.score-green { border-left: 5px solid var(--intent-high); }
.score-yellow { border-left: 5px solid var(--intent-medium); }
.score-red { border-left: 5px solid var(--intent-low); }


.dashboard-shell {
    min-height: 100vh;
}

.dashboard-sidebar {
    width: 280px;
    min-height: 100vh;
    flex: 0 0 280px;
}

.access-panel,
.data-panel {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px;
}

.display-metric {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.compact-list {
    display: grid;
    gap: 10px;
}

.compact-list-item {
    border-bottom: 1px solid #edf0f2;
    padding-bottom: 10px;
}

.compact-list-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.compact-list-item strong,
.compact-list-item span {
    display: block;
}

.compact-list-item span {
    color: #6c757d;
    font-size: 0.92rem;
}

.metric-tile {
    min-height: 116px;
}

.metric-tile span {
    color: #6c757d;
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
}

.metric-tile strong {
    display: block;
    font-size: 1.6rem;
    line-height: 1.2;
    margin-top: 8px;
    overflow-wrap: anywhere;
}

.home-body {
    background: #f5f7fb;
    color: #17212b;
    min-height: 100vh;
}

.home-public-nav {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding: 18px 24px;
    width: min(1180px, 100%);
}

.home-brand {
    color: #17212b;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
}

.home-public-nav nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: flex-end;
}

.home-public-nav nav a {
    color: #495057;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.home-public-nav nav a:hover {
    color: #0d6efd;
}

.home-hero {
    align-items: center;
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    margin: 0 auto;
    min-height: calc(100vh - 72px);
    padding: 56px 24px 44px;
    width: min(1180px, 100%);
}

.home-hero-copy h1 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 16px;
}

.home-eyebrow {
    color: #0d6efd;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.home-copy {
    color: #495057;
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 680px;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.home-signal-board {
    background: #16202a;
    border: 1px solid #2f3f4f;
    border-radius: 8px;
    box-shadow: 0 16px 44px rgba(23, 33, 43, 0.18);
    color: #fff;
    display: grid;
    gap: 14px;
    padding: 20px;
}

.home-signal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding-bottom: 14px;
}

.home-signal-header span,
.home-signal-header strong,
.home-signal-row strong,
.home-signal-row small,
.home-proof-strip span,
.home-proof-strip strong,
.pilot-offer-panel span,
.pilot-offer-panel strong {
    display: block;
}

.home-signal-header span,
.home-signal-row small {
    color: #b8c2cc;
}

.home-signal-row {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: 34px 1fr;
    padding: 14px;
}

.home-signal-row > span {
    align-items: center;
    background: #20c997;
    border-radius: 999px;
    color: #102018;
    display: inline-flex;
    font-weight: 800;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.home-proof-strip {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    padding: 0 24px 48px;
    width: min(1180px, 100%);
}

.home-proof-strip div,
.pilot-offer-panel {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px;
}

.home-proof-strip span,
.pilot-offer-panel span {
    color: #6c757d;
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
}

.home-proof-strip strong,
.pilot-offer-panel strong {
    color: #17212b;
    line-height: 1.25;
    margin-top: 6px;
}

.home-section {
    display: grid;
    gap: 28px;
    margin: 0 auto;
    padding: 56px 24px;
    width: min(1180px, 100%);
}

.home-section h2 {
    font-size: 2rem;
    line-height: 1.2;
    max-width: 740px;
}

.home-section-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-section-grid h3 {
    font-size: 1.1rem;
}

.home-section-grid p,
.pilot-offer-panel p {
    color: #495057;
    margin-bottom: 0;
}

.home-section-muted {
    border-top: 1px solid #dee2e6;
}

.pilot-offer-panel {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

@media (max-width: 992px) {
    .home-hero,
    .home-section-grid,
    .home-proof-strip {
        grid-template-columns: 1fr;
    }

    .home-hero {
        min-height: auto;
        padding-top: 32px;
    }

    .home-hero-copy h1 {
        font-size: 3rem;
    }

    .pilot-offer-panel {
        align-items: flex-start;
        display: grid;
    }
}

@media (max-width: 768px) {
    .dashboard-shell {
        display: block !important;
    }

    .dashboard-sidebar {
        width: 100%;
        min-height: auto;
    }

    .home-public-nav {
        align-items: flex-start;
        display: grid;
        gap: 12px;
    }

    .home-public-nav nav {
        justify-content: flex-start;
    }

    .home-hero-copy h1 {
        font-size: 2.5rem;
    }
}

.search-results {
    display: grid;
    gap: 12px;
}

.search-result-item {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px;
}

.search-result-header {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.search-result-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

@media (max-width: 576px) {
    .search-result-header {
        display: block;
    }

    .search-result-header .btn {
        margin-top: 12px;
        width: 100%;
    }
}

.trust-lede {
    max-width: 760px;
}

.trust-grid,
.launch-steps {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.step-number {
    align-items: center;
    background: #0d6efd;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    height: 32px;
    justify-content: center;
    margin-bottom: 12px;
    width: 32px;
}

.checklist-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checklist-grid span {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    display: block;
    padding: 12px;
}

@media (max-width: 768px) {
    .trust-grid,
    .launch-steps,
    .checklist-grid {
        grid-template-columns: 1fr;
    }
}


.evidence-list {
    display: grid;
    gap: 10px;
}

.evidence-item {
    border: 1px solid #edf0f2;
    border-radius: 8px;
    padding: 12px;
    background: #fbfcfd;
}

.evidence-item strong,
.evidence-item span,
.evidence-item small {
    display: block;
}

.evidence-item span {
    color: #495057;
}


.pilot-metric-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.pilot-metric-grid span,
.pilot-metric-grid strong {
    display: block;
}

.pilot-metric-grid span {
    color: #6c757d;
    font-size: 0.88rem;
}

.pilot-metric-grid strong {
    font-size: 1.8rem;
}

.pilot-account-list {
    display: grid;
    gap: 12px;
}

.pilot-account-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
}

.pilot-account-header {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.pilot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

@media (max-width: 992px) {
    .pilot-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .pilot-metric-grid {
        grid-template-columns: 1fr;
    }

    .pilot-account-header {
        display: block;
    }

    .pilot-account-header .btn {
        margin-top: 10px;
    }
}

.demo-quality-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.demo-quality-grid span,
.demo-quality-grid strong {
    display: block;
}

.demo-quality-grid span {
    color: #6c757d;
    font-size: 0.88rem;
}

.demo-quality-grid strong {
    font-size: 1.25rem;
}

.demo-label-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.demo-account-card {
    border-left: 4px solid #0d6efd;
}

@media (max-width: 992px) {
    .demo-quality-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .demo-quality-grid {
        grid-template-columns: 1fr;
    }
}
