/* ============================================================
   newrelease-v4.css - "What's New in GenRPA v4" (release page, v4 tab)
   Everything is scoped under .rv4 so the older tabs and
   newrelease.css keep working as before.
   ============================================================ */

/* ---------------- tokens ---------------- */
.rv4 {
    --rv-red: #E84545;
    --rv-red-d: #b92e2e;
    --rv-red-btn: #cf3636;
    --rv-red-text: #c62f2f;
    --rv-teal-text: #1b7f76;
    --rv-navy: #0a192f;
    --rv-navy-2: #112240;
    --rv-navy-3: #1a2d52;
    --rv-teal: #26a69a;
    --rv-ink: #0f1b2d;
    --rv-slate: #5b6684;
    --rv-line: #e7ebf3;
    --rv-soft: #f6f8fc;
    --rv-radius: 16px;
    --rv-shadow: 0 24px 60px rgba(10, 25, 47, .16);
    --rv-shadow-sm: 0 8px 24px rgba(10, 25, 47, .08);
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--rv-ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

    .rv4 *,
    .rv4 *::before,
    .rv4 *::after {
        box-sizing: border-box;
    }

    .rv4 img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .rv4 a {
        color: inherit;
    }

.rv4-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------------- buttons ---------------- */
.rv4-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    white-space: nowrap;
}

.rv4 .rv4-btn-primary {
    background: var(--rv-red-btn);
    color: #fff;
    box-shadow: 0 10px 26px rgba(232, 69, 69, .35);
}

    .rv4 .rv4-btn-primary:hover {
        background: var(--rv-red-d);
        transform: translateY(-2px);
    }

.rv4 .rv4-btn-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .04);
}

    .rv4 .rv4-btn-ghost:hover {
        border-color: rgba(255, 255, 255, .6);
        transform: translateY(-2px);
    }

/* ---------------- hero ---------------- */
.rv4-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(1100px 520px at 85% -10%, rgba(232, 69, 69, .22), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(38, 166, 154, .18), transparent 60%), linear-gradient(180deg, #0a192f 0%, #0d1f3a 100%);
    color: #e6f1ff;
    padding: 72px 0 0;
}

    .rv4-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
        background-size: 48px 48px;
        -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
        mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
        pointer-events: none;
    }

.rv4-hero-inner {
    position: relative;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}

.rv4-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .3px;
    color: #ccd6f6;
}

    .rv4-eyebrow .rv4-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--rv-teal);
        box-shadow: 0 0 0 4px rgba(38, 166, 154, .22);
    }

.rv4-hero h1 {
    font-size: clamp(2.2rem, 5.2vw, 3.9rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 22px 0 18px;
    color: #fff;
}

    .rv4-hero h1 .rv4-grad {
        background: linear-gradient(90deg, #ff6b6b 0%, #E84545 45%, #f59e0b 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.rv4-lead {
    font-size: 1.1rem;
    color: #a8b2d1;
    max-width: 760px;
    margin: 0 auto 30px;
}

.rv4-hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* light / dark switch for all screenshots */
.rv4-theme-switch {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    margin: 34px auto 0;
}

    .rv4-theme-switch button {
        font: inherit;
        font-size: .82rem;
        font-weight: 600;
        color: #a8b2d1;
        background: transparent;
        border: 0;
        border-radius: 999px;
        padding: 7px 16px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: background .2s ease, color .2s ease;
    }

        .rv4-theme-switch button[aria-pressed="true"] {
            background: #fff;
            color: var(--rv-ink);
        }

.rv4-hero-shot {
    position: relative;
    max-width: 1120px;
    margin: 28px auto 0;
    padding: 0 24px;
}

    .rv4-hero-shot::before {
        content: "";
        position: absolute;
        left: 8%;
        right: 8%;
        top: 12%;
        bottom: -10%;
        background: radial-gradient(closest-side, rgba(232, 69, 69, .35), transparent);
        filter: blur(40px);
        pointer-events: none;
    }

    .rv4-hero-shot .rv4-frame {
        position: relative;
        border-radius: 14px 14px 0 0;
        border-bottom: 0;
        box-shadow: 0 -10px 60px rgba(0, 0, 0, .35);
    }

/* ---------------- facts band ---------------- */
.rv4 .rv4-facts {
    background: #fff;
    border-bottom: 1px solid var(--rv-line);
    padding: 0;
}

.rv4-facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.rv4-fact {
    padding: 30px 26px;
    border-right: 1px solid var(--rv-line);
}

    .rv4-fact:last-child {
        border-right: 0;
    }

    .rv4-fact strong {
        display: block;
        font-size: 1.35rem;
        font-weight: 700;
        color: var(--rv-ink);
        margin-bottom: 4px;
    }

        .rv4-fact strong i {
            color: var(--rv-red);
            margin-right: 8px;
            font-size: 1.05rem;
        }

    .rv4-fact span {
        color: var(--rv-slate);
        font-size: .9rem;
    }

/* ---------------- layout with table of contents ---------------- */
.rv4-body {
    background: var(--rv-soft);
    padding: 64px 0 24px;
}

.rv4-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.rv4-toc {
    position: sticky;
    top: 96px;
    font-size: .86rem;
}

    .rv4-toc h4 {
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        color: var(--rv-slate);
        margin: 0 0 12px;
    }

    .rv4-toc ol {
        list-style: none;
        margin: 0;
        padding: 0;
        border-left: 2px solid var(--rv-line);
    }

    .rv4-toc a {
        display: flex;
        gap: 10px;
        padding: 7px 0 7px 16px;
        margin-left: -2px;
        border-left: 2px solid transparent;
        color: var(--rv-slate);
        text-decoration: none;
        line-height: 1.35;
        transition: color .2s ease, border-color .2s ease;
    }

        .rv4-toc a .rv4-toc-n {
            font-variant-numeric: tabular-nums;
            color: var(--rv-slate);
            font-weight: 600;
            min-width: 18px;
        }

        .rv4-toc a:hover {
            color: var(--rv-ink);
        }

        .rv4-toc a.is-active {
            color: var(--rv-red-text);
            border-left-color: var(--rv-red);
            font-weight: 600;
        }

            .rv4-toc a.is-active .rv4-toc-n {
                color: var(--rv-red-text);
            }

    .rv4-toc .rv4-toc-sep {
        height: 10px;
    }

/* ---------------- feature blocks ---------------- */
.rv4-feature {
    background: #fff;
    border: 1px solid var(--rv-line);
    border-radius: var(--rv-radius);
    padding: 40px 40px 34px;
    margin-bottom: 32px;
    box-shadow: var(--rv-shadow-sm);
    scroll-margin-top: 96px;
}

.rv4-feature-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
}

.rv4-num {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    background: linear-gradient(135deg, #d13b3b, #b92e2e);
    box-shadow: 0 10px 22px rgba(232, 69, 69, .28);
}

.rv4-kicker {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--rv-teal-text);
    margin-bottom: 4px;
}

.rv4 .rv4-feature h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--rv-ink);
}

.rv4-pitch {
    font-size: 1.02rem;
    color: var(--rv-slate);
    margin: 0;
}

.rv4-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin: 26px 0 28px;
}

.rv4 .rv4-cols h3 {
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--rv-slate);
    margin: 0 0 10px;
}

.rv4-cols p {
    margin: 0;
    color: #2b3852;
    font-size: .95rem;
}

.rv4-checks {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .rv4-checks li {
        position: relative;
        padding-left: 30px;
        margin-bottom: 10px;
        font-size: .95rem;
        color: #2b3852;
    }

        .rv4-checks li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 4px;
            width: 19px;
            height: 19px;
            border-radius: 50%;
            background: rgba(38, 166, 154, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2326a69a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.5L12 5.5'/%3E%3C/svg%3E") center / 13px no-repeat;
        }

/* ---------------- screenshots ---------------- */
.rv4-figure {
    margin: 0;
}

.rv4-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0f1b2d;
    border: 1px solid #d9dfeb;
    box-shadow: var(--rv-shadow);
}

    .rv4-frame img {
        width: 100%;
        cursor: zoom-in;
    }

.rv4-frame-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 14px;
    background: linear-gradient(180deg, #f3f5fa, #e9edf5);
    border-bottom: 1px solid #d9dfeb;
}

    .rv4-frame-bar span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #cfd6e4;
    }

    .rv4-frame-bar em {
        margin-left: 8px;
        font-style: normal;
        font-size: .74rem;
        color: var(--rv-slate);
        font-weight: 500;
    }

/* themed pictures: a figure can carry a light and a dark picture */
.rv4 .shot-dark {
    display: none;
}

.rv4[data-shots="dark"] .shot-light.has-dark {
    display: none;
}

.rv4[data-shots="dark"] .shot-dark {
    display: block;
}

.rv4[data-shots="dark"] .rv4-frame-bar {
    background: linear-gradient(180deg, #1c2a44, #16223a);
    border-bottom-color: #26385c;
}

    .rv4[data-shots="dark"] .rv4-frame-bar span {
        background: #33476d;
    }

.rv4-figure figcaption {
    margin-top: 12px;
    font-size: .84rem;
    color: var(--rv-slate);
    text-align: center;
}

/* several pictures in one figure: small tabs above it */
.rv4-shot-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

    .rv4-shot-tabs button {
        font: inherit;
        font-size: .82rem;
        font-weight: 600;
        color: var(--rv-slate);
        background: var(--rv-soft);
        border: 1px solid var(--rv-line);
        border-radius: 999px;
        padding: 6px 14px;
        cursor: pointer;
        transition: all .2s ease;
    }

        .rv4-shot-tabs button:hover {
            color: var(--rv-ink);
        }

        .rv4-shot-tabs button[aria-selected="true"] {
            color: #fff;
            background: var(--rv-ink);
            border-color: var(--rv-ink);
        }

.rv4-shot-panel[hidden] {
    display: none;
}

/* before / after slider */
.rv4-compare {
    position: relative;
    --pos: 50%;
    user-select: none;
}

    .rv4-compare .rv4-compare-after {
        position: absolute;
        inset: 0;
        clip-path: inset(0 0 0 var(--pos));
    }

        .rv4-compare .rv4-compare-after img,
        .rv4-compare .rv4-compare-before img {
            cursor: ew-resize;
        }

    .rv4-compare input[type="range"] {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        opacity: 0;
        cursor: ew-resize;
        z-index: 3;
    }

    .rv4-compare .rv4-compare-line {
        position: absolute;
        top: 0;
        bottom: 0;
        left: var(--pos);
        width: 3px;
        margin-left: -1.5px;
        background: #fff;
        box-shadow: 0 0 0 1px rgba(15, 27, 45, .15);
        z-index: 2;
        pointer-events: none;
    }

        .rv4-compare .rv4-compare-line::after {
            content: "\2194";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 40px;
            height: 40px;
            margin: -20px 0 0 -20px;
            border-radius: 50%;
            background: #fff;
            color: var(--rv-ink);
            display: grid;
            place-items: center;
            font-size: 1.1rem;
            font-weight: 700;
            box-shadow: 0 6px 18px rgba(10, 25, 47, .25);
        }

    .rv4-compare .rv4-compare-tag {
        position: absolute;
        top: 14px;
        z-index: 2;
        padding: 4px 10px;
        border-radius: 6px;
        background: rgba(15, 27, 45, .78);
        color: #fff;
        font-size: .72rem;
        font-weight: 600;
        letter-spacing: .4px;
        pointer-events: none;
    }

        .rv4-compare .rv4-compare-tag.left {
            left: 14px;
        }

        .rv4-compare .rv4-compare-tag.right {
            right: 14px;
            background: var(--rv-red-text);
        }

    .rv4-compare input[type="range"]:focus-visible ~ .rv4-compare-line::after {
        outline: 3px solid var(--rv-red);
        outline-offset: 2px;
    }

/* two pictures side by side */
.rv4-pair {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 22px;
    align-items: start;
}

/* ---------------- upgrade band ---------------- */
.rv4-upgrade {
    position: relative;
    overflow: hidden;
    border-radius: var(--rv-radius);
    padding: 44px 40px;
    margin-bottom: 32px;
    color: #e6f1ff;
    background: radial-gradient(700px 300px at 100% 0%, rgba(38, 166, 154, .25), transparent 60%), linear-gradient(135deg, var(--rv-navy) 0%, var(--rv-navy-3) 100%);
    scroll-margin-top: 96px;
}

    .rv4 .rv4-upgrade h2 {
        color: #fff;
        font-size: clamp(1.35rem, 2.4vw, 1.75rem);
        font-weight: 700;
        margin: 0 0 8px;
    }

    .rv4-upgrade > p {
        color: #a8b2d1;
        margin: 0 0 26px;
        max-width: 720px;
    }

.rv4-upgrade-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.rv4-upgrade-item {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: 20px;
}

    .rv4-upgrade-item i {
        color: var(--rv-teal);
        font-size: 1.2rem;
        margin-bottom: 10px;
        display: block;
    }

    .rv4-upgrade-item strong {
        display: block;
        color: #fff;
        margin-bottom: 4px;
        font-size: .98rem;
    }

    .rv4-upgrade-item span {
        color: #a8b2d1;
        font-size: .88rem;
    }

.rv4-note {
    margin-top: 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(245, 158, 11, .1);
    border: 1px solid rgba(245, 158, 11, .35);
    color: #fde7b0;
    font-size: .9rem;
}

    .rv4-note i {
        color: #f59e0b;
        margin-top: 4px;
    }

    .rv4-note strong {
        color: #fff;
    }

/* ---------------- more features ---------------- */
/* a white panel like the feature blocks (the theme gives every <section> a white background and 80px 0 padding) */
.rv4 .rv4-section {
    background: #fff;
    border: 1px solid var(--rv-line);
    border-radius: var(--rv-radius);
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: var(--rv-shadow-sm);
    scroll-margin-top: 96px;
}

.rv4 .rv4-section > h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 700;
    margin: 0 0 6px;
}

.rv4-section > p {
    color: var(--rv-slate);
    margin: 0 0 22px;
}

.rv4-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.rv4-card {
    background: #fff;
    border: 1px solid var(--rv-line);
    border-radius: 14px;
    padding: 22px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .rv4-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--rv-shadow-sm);
        border-color: #d5dcea;
    }

    .rv4-card .rv4-ico {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: grid;
        place-items: center;
        background: rgba(232, 69, 69, .1);
        color: var(--rv-red);
        margin-bottom: 14px;
    }

    .rv4-card:nth-child(3n+2) .rv4-ico {
        background: rgba(38, 166, 154, .12);
        color: var(--rv-teal);
    }

    .rv4-card:nth-child(3n) .rv4-ico {
        background: rgba(99, 102, 241, .12);
        color: #5b5fd6;
    }

    .rv4 .rv4-card h3 {
        font-size: 1rem;
        font-weight: 700;
        margin: 0 0 6px;
        color: var(--rv-ink);
    }

    .rv4-card p {
        margin: 0;
        font-size: .88rem;
        color: var(--rv-slate);
    }

/* ---------------- improvements ---------------- */
.rv4-improve {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.rv4-improve-group {
    background: #fff;
    border: 1px solid var(--rv-line);
    border-radius: 14px;
    padding: 22px 24px;
}

    .rv4 .rv4-improve-group h3 {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1rem;
        font-weight: 700;
        margin: 0 0 12px;
    }

        .rv4 .rv4-improve-group h3 i {
            color: var(--rv-red);
        }

    .rv4-improve-group ul {
        margin: 0;
        padding-left: 18px;
    }

    .rv4-improve-group li {
        font-size: .88rem;
        color: #2b3852;
        margin-bottom: 6px;
    }

        .rv4-improve-group li::marker {
            color: #9aa4bf;
        }

/* ---------------- requirements ---------------- */
.rv4-req {
    background: #fff;
    border: 1px solid var(--rv-line);
    border-radius: 14px;
    overflow: hidden;
}

    .rv4-req table {
        width: 100%;
        border-collapse: collapse;
        font-size: .9rem;
    }

    .rv4-req th,
    .rv4-req td {
        text-align: left;
        padding: 14px 20px;
        border-bottom: 1px solid var(--rv-line);
        vertical-align: top;
    }

    .rv4-req tr:last-child th,
    .rv4-req tr:last-child td {
        border-bottom: 0;
    }

    .rv4-req th {
        width: 30%;
        font-weight: 600;
        color: var(--rv-ink);
        background: var(--rv-soft);
    }

    .rv4-req td {
        color: #2b3852;
    }

/* ---------------- closing call to action ---------------- */
.rv4-cta {
    background: linear-gradient(135deg, var(--rv-navy) 0%, var(--rv-navy-2) 100%);
    color: #e6f1ff;
    text-align: center;
    padding: 72px 0;
}

    .rv4 .rv4-cta h2 {
        color: #fff;
        font-size: clamp(1.6rem, 3vw, 2.3rem);
        font-weight: 800;
        margin: 0 0 10px;
    }

    .rv4-cta p {
        color: #a8b2d1;
        margin: 0 auto 28px;
        max-width: 620px;
    }

/* ---------------- lightbox ---------------- */
/* centred explicitly: the theme's CSS resets the margins the browser uses to centre a modal dialog */
.rv4-lightbox {
    position: fixed;
    inset: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    border: 0;
    padding: 0;
    background: transparent;
    max-width: 96vw;
    max-height: 94vh;
    overflow: visible;
}

    .rv4-lightbox::backdrop {
        background: rgba(5, 12, 27, .86);
        backdrop-filter: blur(4px);
    }

    .rv4-lightbox img {
        max-width: 96vw;
        max-height: 88vh;
        border-radius: 10px;
        box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
        display: block;
        cursor: zoom-out;
    }

    .rv4-lightbox p {
        color: #ccd6f6;
        text-align: center;
        margin: 12px 0 0;
        font-family: 'Poppins', 'Segoe UI', sans-serif;
        font-size: .9rem;
    }

    .rv4-lightbox button {
        position: absolute;
        top: -14px;
        right: -14px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 0;
        background: #fff;
        color: #0f1b2d;
        font-size: 1.2rem;
        cursor: pointer;
        box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
    }

/* ---------------- motion ---------------- */
@media (prefers-reduced-motion: no-preference) {
    .rv4 .rv4-reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity .6s ease, transform .6s ease;
    }

        .rv4 .rv4-reveal.is-in {
            opacity: 1;
            transform: none;
        }
}

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
    .rv4-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .rv4-toc {
        display: none;
    }
}

@media (max-width: 900px) {
    .rv4-facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rv4-fact:nth-child(2) {
        border-right: 0;
    }

    .rv4-fact:nth-child(-n+2) {
        border-bottom: 1px solid var(--rv-line);
    }

    .rv4-cols,
    .rv4-pair,
    .rv4-improve {
        grid-template-columns: minmax(0, 1fr);
    }

    .rv4-cols {
        gap: 22px;
    }

    .rv4-cards,
    .rv4-upgrade-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .rv4-wrap {
        padding: 0 16px;
    }

    .rv4-hero {
        padding-top: 48px;
    }

    .rv4-hero-shot {
        padding: 0 16px;
    }

    .rv4-facts-grid,
    .rv4-cards,
    .rv4-upgrade-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rv4-fact {
        border-right: 0;
        border-bottom: 1px solid var(--rv-line);
        padding: 22px 4px;
    }

        .rv4-fact:last-child {
            border-bottom: 0;
        }

    .rv4-feature {
        padding: 26px 18px 22px;
        border-radius: 14px;
    }

    .rv4-feature-head {
        gap: 14px;
    }

    .rv4-num {
        width: 42px;
        height: 42px;
        font-size: .92rem;
        border-radius: 12px;
    }

    .rv4-upgrade {
        padding: 30px 20px;
    }

    .rv4 .rv4-section {
        padding: 26px 18px 22px;
        border-radius: 14px;
    }

    .rv4-req th,
    .rv4-req td {
        display: block;
        width: 100%;
        padding: 10px 16px;
    }

    .rv4-req th {
        border-bottom: 0;
        padding-bottom: 2px;
    }

    .rv4-frame-bar {
        height: 24px;
    }

        .rv4-frame-bar em {
            display: none;
        }

    .rv4-hero-actions .rv4-btn {
        width: 100%;
        justify-content: center;
    }
}

/* small windows (dialogs) keep their own size instead of being stretched to the column */
.rv4-figure.is-natural .rv4-frame {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}

    .rv4-figure.is-natural .rv4-frame img {
        width: auto;
    }

/* desktop windows bring their own title bar; only web pages (GenControlRoom) get the frame bar */
.rv4-frame:not(.is-web) > .rv4-frame-bar {
    display: none;
}
