/* ============================================================
   CHANGELOG PAGE
   Editorial single-column layout. Monochromatic, quiet, minimal.
   Shares navbar + footer styles with pricing-page.css.
   ============================================================ */

/* Holographic ambient glow — same aesthetic as landing page */
.cl-holo-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.cl-holo-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    will-change: transform;
}

.cl-holo-blob--1 {
    width: 500px;
    height: 500px;
    background: rgba(79, 195, 247, 0.07);
    animation: cl-holo-drift1 25s ease-in-out infinite;
}

.cl-holo-blob--2 {
    width: 400px;
    height: 400px;
    background: rgba(167, 139, 250, 0.05);
    animation: cl-holo-drift2 30s ease-in-out infinite;
}

@keyframes cl-holo-drift1 {
    0%, 100% { transform: translate(-10%, -10%); }
    25%      { transform: translate(calc(100vw - 450px), -5%); }
    50%      { transform: translate(calc(100vw - 400px), calc(100vh - 450px)); }
    75%      { transform: translate(-5%, calc(100vh - 400px)); }
}

@keyframes cl-holo-drift2 {
    0%, 100% { transform: translate(calc(100vw - 350px), -5%); }
    25%      { transform: translate(calc(100vw - 300px), calc(100vh - 350px)); }
    50%      { transform: translate(-5%, calc(100vh - 300px)); }
    75%      { transform: translate(-10%, -10%); }
}

/* Ensure main sits above the glow */
.cl-main {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

/* ── Heading ── */
.cl-head {
    padding-top: 128px;
    padding-bottom: 80px;
}

body.cardboard .cl-head h1 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin: 0 0 10px;
    color: #fff;
    text-transform: none;
}

body.cardboard .cl-subtitle {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

/* ── Entries ── */
.cl-entries {
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.cl-entry {
    position: relative;
    display: block;
    padding: 40px 44px 44px;
    background: linear-gradient(180deg,
        rgba(20, 20, 20, 0.72) 0%,
        rgba(14, 14, 14, 0.72) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

/* Inner highlight on the top edge — matches the landing card aesthetic */
.cl-entry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(79, 195, 247, 0.35),
        rgba(167, 139, 250, 0.2),
        transparent);
    pointer-events: none;
}

/* Soft blue glow above the card */
.cl-entry::after {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 160px;
    background: radial-gradient(ellipse at center,
        rgba(79, 195, 247, 0.12) 0%,
        transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.cl-entry-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.42);
    font-variant-numeric: tabular-nums;
    margin-bottom: 14px;
}

.cl-entry-meta time {
    color: rgba(255, 255, 255, 0.55);
}

.cl-entry-sep {
    color: rgba(255, 255, 255, 0.22);
}

.cl-entry-version {
    font-weight: 500;
}

body.cardboard .cl-entry-title {
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: -0.022em;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 22px;
    text-wrap: balance;
}

body.cardboard .cl-entry-lead {
    margin: 0 0 8px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
    text-wrap: pretty;
}

/* Section labels (MAJOR FEATURES, IMPROVEMENTS, etc.) */
body.cardboard .cl-section-label {
    margin: 32px 0 14px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

/* Bulleted list */
.cl-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cl-list li {
    position: relative;
    padding-left: 22px;
    font-size: 0.94rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.58);
    text-wrap: pretty;
}

.cl-list li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0.68em;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.cl-list li strong {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    margin-right: 2px;
}

/* Footnote at end of an entry */
body.cardboard .cl-entry-footnote {
    margin: 32px 0 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.45);
    text-wrap: pretty;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .cl-main {
        padding: 0 20px;
    }

    .cl-head {
        padding-top: 96px;
        padding-bottom: 56px;
    }

    body.cardboard .cl-head h1 {
        font-size: 1.9rem;
    }

    body.cardboard .cl-subtitle {
        font-size: 0.95rem;
    }

    .cl-entries {
        gap: 48px;
        padding-bottom: 96px;
    }

    .cl-entry {
        padding: 28px 22px 32px;
        border-radius: 14px;
    }

    body.cardboard .cl-entry-title {
        font-size: 1.45rem;
    }

    .cl-entry-lead {
        font-size: 0.9rem;
    }

    .cl-list li {
        font-size: 0.88rem;
    }

    .cl-section-label {
        font-size: 0.62rem;
        margin-top: 28px;
    }
}

@media (max-width: 480px) {
    body.cardboard .cl-head h1 {
        font-size: 1.7rem;
    }

    body.cardboard .cl-entry-title {
        font-size: 1.3rem;
    }
}
