.l-hero { padding: 64px var(--space-8) 72px; }
.l-hero-inner { max-width: var(--max-wide); margin: 0 auto; }

.l-hero-eyebrow {
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.l-hero-eyebrow .l-badge-live { font-size: 10px; }

.l-hero-h1 {
    font-size: var(--font-size-hero);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--color-text);
    margin-bottom: 20px;
    text-wrap: balance;
}

.l-hero-h1 em { font-style: normal; color: var(--color-accent); }

.l-hero-sub {
    font-size: 19px;
    color: var(--color-text-muted);
    line-height: 1.5;
    max-width: 560px;
    margin-bottom: 28px;
}

.l-hero-actions {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.l-hero-microproof {
    margin-top: 28px;
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    display: flex;
    gap: 14px;
    align-items: center;
}

.l-hero-microproof svg { color: var(--color-status-live); }
.l-hero-microproof b { color: var(--color-text); }

.l-hero-a-grid {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 64px;
    align-items: center;
}

.l-hero-a-grid .l-ticker { align-self: stretch; }

.l-hero-center {
    max-width: var(--max-narrow);
    margin: 0 auto;
    text-align: center;
}

.l-hero-center .l-hero-sub {
    margin-left: auto;
    margin-right: auto;
}

.l-hero-center .l-hero-actions { justify-content: center; }

.l-hero-c-numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-top: 56px;
}

.l-hero-c-num {
    padding: 20px 24px;
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.l-hero-c-num:last-child { border-right: none; }

.l-hero-c-num-value {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--color-text);
    font-feature-settings: 'tnum';
    line-height: 1;
}

.l-hero-c-num-label {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    line-height: 1.4;
}

.l-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.l-stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px 24px 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    overflow: hidden;
}

.l-stat-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.l-stat-value {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--color-text);
    line-height: 1;
    margin-top: var(--space-1);
    font-feature-settings: 'tnum';
}

.l-stat-unit {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-muted);
    margin-left: 2px;
}

.l-stat-sub {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-top: var(--space-1);
    margin-bottom: var(--space-4);
}

.l-stat-sub-link {
    color: var(--color-accent);
    font-weight: 600;
}

.l-stat-sparkline {
    margin: 0 -24px -1px;
    height: 64px;
    display: block;
    width: calc(100% + 48px);
}

.l-stat-latency-bars {
    display: flex;
    align-items: end;
    gap: var(--space-1);
    height: 64px;
    margin: 0 -24px -1px;
    padding: 0 24px;
}

.l-stat-latency-bar {
    flex: 1;
    background: var(--color-accent);
    opacity: 0.85;
    min-height: 4px;
    border-radius: 2px 2px 0 0;
}

.l-stat-languages {
    margin-top: 18px;
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
}

.l-stat-languages b { color: var(--color-text); }

@media (prefers-color-scheme: dark) {
    .l-stat-card { background: var(--color-surface); border-color: rgba(255, 255, 255, 0.08); }
}

.l-sources-toolbar {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.l-sources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.l-source-card {
    background: var(--color-surface);
    padding: 14px var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.l-source-mark {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--bg-tint);
    color: var(--color-text);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
}

.l-source-mark.is-reg    { background: rgba(109, 40, 217, 0.1); color: var(--kind-reg); }
.l-source-mark.is-prov   { background: rgba(29, 78, 216, 0.1); color: var(--kind-prov); }
.l-source-mark.is-casino { background: rgba(4, 120, 87, 0.1); color: var(--kind-casino); }
.l-source-mark.is-media  { background: rgba(146, 64, 14, 0.1); color: var(--kind-media); }

.l-source-info { min-width: 0; flex: 1; }

.l-source-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.l-source-host {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.l-source-count {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-text-muted);
    font-feature-settings: 'tnum';
    flex: 0 0 auto;
}

.l-source-card-empty {
    grid-column: 1 / -1;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.l-sources-more {
    margin-top: var(--space-4);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
}

.l-sources-wall {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 24px;
}

.l-sources-wall-cell {
    background: var(--color-surface);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    align-items: center;
    justify-content: center;
    text-align: center;
    aspect-ratio: 1 / 1;
    position: relative;
}

.l-sources-wall-cell .l-source-mark { width: 28px; height: 28px; font-size: 11px; }

.l-sources-wall-cell .l-sw-host {
    font-family: var(--font-mono);
    font-size: 9.5px;
    color: var(--color-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.l-sources-wall-cell .l-sw-count {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 9px;
    font-weight: 700;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

@media (prefers-color-scheme: dark) {
    .l-sources-grid { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.06); }
    .l-source-card { background: var(--color-surface); }
    .l-sources-wall { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.06); }
    .l-sources-wall-cell { background: var(--color-surface); }
    .l-source-mark { background: rgba(255, 255, 255, 0.08); }
}

.l-pipeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.l-pipe-step {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    position: relative;
    border-right: 1px solid var(--color-border);
}

.l-pipe-step:last-child { border-right: none; }

.l-pipe-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -7px;
    width: 14px;
    height: 14px;
    transform: translateY(-50%) rotate(45deg);
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    z-index: 1;
}

.l-pipe-step:last-child::after { display: none; }

.l-pipe-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.l-pipe-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.l-pipe-desc {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    line-height: 1.5;
}

.l-pipe-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-text-muted);
    background: var(--bg-tint);
    padding: 4px 7px;
    border-radius: var(--radius-sm);
    display: inline-block;
    align-self: flex-start;
    margin-top: var(--space-1);
}

@media (prefers-color-scheme: dark) {
    .l-pipeline { background: var(--color-surface); border-color: rgba(255, 255, 255, 0.08); }
    .l-pipe-step { border-right-color: rgba(255, 255, 255, 0.06); }
    .l-pipe-step::after {
        background: var(--color-surface);
        border-color: rgba(255, 255, 255, 0.08);
    }
    .l-pipe-meta { background: rgba(255, 255, 255, 0.08); }
}

