﻿/* Public release notes. Two columns on desktop - version and date pinned left,
   the notes themselves reading in a comfortable measure on the right. */

.up-main {
    padding: 132px 0 96px;
    background: var(--gr-white);
}

.up-head {
    max-width: 60ch;
    margin-bottom: 52px;
}

.up-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--gr-navy);
    margin-bottom: 12px;
}

.up-title {
    margin: 0 0 12px;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.12;
    color: var(--gr-ink);
}

.up-lede {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gr-body);
}

.up-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--gr-line);
}

.up-release {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 28px;
    padding: 34px 0;
    border-bottom: 1px solid var(--gr-line);
}

.up-release__meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    /* Follows the notes on long releases rather than floating at the top. */
    position: sticky;
    top: 96px;
    align-self: start;
}

.up-release__version {
    font-size: .92rem;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--gr-navy);
    font-variant-numeric: tabular-nums;
}

.up-release__badge {
    align-self: start;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--gr-navy);
    background: #eef3fb;
    border-radius: 999px;
    padding: 2px 8px;
    margin-top: 2px;
}

.up-release__date {
    font-size: .78rem;
    color: var(--gr-muted);
}

.up-release__title {
    margin: 0 0 16px;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--gr-ink);
}

.up-changes {
    list-style: none;
    margin: 0;
    padding: 0;
}

.up-change + .up-change {
    margin-top: 16px;
}

.up-change__head {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: var(--gr-ink);
    margin-bottom: 3px;
}

.up-change__text {
    display: block;
    font-size: .86rem;
    line-height: 1.6;
    color: var(--gr-body);
    max-width: 72ch;
}

.up-empty {
    padding: 44px 0;
    color: var(--gr-muted);
}

.up-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 56px;
    padding: 32px;
    background: var(--gr-cream);
    border-radius: var(--gr-radius);
}

.up-cta p {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--gr-ink);
}

@media (max-width: 767.98px) {
    .up-main { padding: 104px 0 64px; }
    .up-head { margin-bottom: 36px; }

    /* Stacked, a sticky meta column would just cover the notes. */
    .up-release {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 26px 0;
    }

    .up-release__meta {
        position: static;
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
    }
}
