@import url('wire.css');

.live {
    padding: 3rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.live-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: start;
}

.panel {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
}

.panel-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-title {
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--color-success);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    50% { opacity: 0.3; }
}

.panel-status {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-family: 'JetBrains Mono', monospace;
}

.empty {
    color: var(--text-tertiary);
    font-size: 0.9375rem;
}

.get-app {
    padding: 5rem 0;
    text-align: center;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.store-button {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 12rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    background: var(--color-primary);
    color: var(--text-inverse);
    text-decoration: none;
    transition: opacity 0.2s;
}

.store-button:hover {
    opacity: 0.85;
}

.store-button[aria-disabled="true"] {
    opacity: 0.45;
    cursor: default;
}

.store-sub {
    font-size: 0.75rem;
    opacity: 0.8;
}

.store-name {
    font-size: 1.125rem;
    font-weight: 700;
}

.hub {
    padding: 3rem 0 4rem;
}

.hub-header {
    margin-bottom: 2.5rem;
    max-width: 48rem;
}

.hub-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.hub-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hub-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.hub-section {
    margin-bottom: 2.5rem;
}

.hub-heading {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
}

.form-points li {
    padding: 0.375rem 0 0.375rem 1.25rem;
    position: relative;
    color: var(--text-secondary);
}

.form-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.95rem;
    width: 0.375rem;
    height: 0.375rem;
    background: var(--color-accent);
}

.form-index {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 0.75rem;
}

.form-index a {
    display: block;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: var(--bg-elevated);
    color: var(--text-secondary);
    text-decoration: none;
}

.form-index strong {
    display: block;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.hub-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--bg-secondary);
}

.disclaimer {
    color: var(--text-secondary);
}

a.nav-brand {
    text-decoration: none;
}

.nav-brand {
    white-space: nowrap;
}

#wire,
#get-the-app {
    scroll-margin-top: 6rem;
}

@media (max-width: 900px) {
    .live-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .nav-links a:not(:last-child) {
        display: none;
    }

    .wire-item {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .wire-company {
        flex-basis: 100%;
        order: 3;
        white-space: normal;
    }

    .hub-title {
        font-size: 1.875rem;
    }
}

.panel-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--text-link);
}
