/* PremiBox product pages (/premibox, /premibox/changelog). Header block +
   version log; the long-form copy below is plain .prose. Colors come from
   the core tokens so both themes resolve without a block of their own. */

.pbx-head {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
    gap: 28px;
    align-items: start;
    padding: 8px 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 720px) {
    .pbx-head {
        grid-template-columns: 1fr;
    }
}

.pbx-head-main {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.pbx-icon {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 18px;
}

.pbx-eyebrow {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pbx-head h1 {
    margin: 0 0 6px;
    font-size: 32px;
    letter-spacing: -0.02em;
}

.pbx-tagline {
    margin: 0;
    max-width: 44ch;
    color: var(--text-muted);
    font-size: 16px;
}

.pbx-download {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
}

.pbx-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    color: #fff;
    background: var(--accent);
}

.pbx-cta svg {
    width: 20px;
    height: 20px;
}

.pbx-cta:hover {
    filter: brightness(1.08);
}

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

.pbx-facts div {
    display: flex;
    flex-direction: column;
}

.pbx-facts dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.pbx-facts dd {
    margin: 0;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pbx-links {
    margin: 14px 0 0;
    font-size: 14px;
    color: var(--text-muted);
}

.pbx-unavailable,
.pbx-muted {
    color: var(--text-muted);
}

.pbx-body {
    max-width: 760px;
}

.pbx-lead {
    color: var(--text-muted);
    max-width: 66ch;
}

.pbx-log {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    gap: 14px;
}

.pbx-log-row {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    background: var(--surface);
}

.pbx-log-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    margin-bottom: 6px;
}

.pbx-log-head h2 {
    margin: 0;
    font-size: 18px;
}

.pbx-log-head time {
    color: var(--text-muted);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.pbx-log-row p {
    margin: 0;
}

.pbx-pill {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--green);
    background: var(--green-soft);
}
