/**
 * Ravers Co Apps - the landing, download and licence pages.
 *
 * Deep-Space UV, the site's own palette: ground #0f0326, surface #1a0a3e,
 * violet #7c3aed, lilac #a78bfa, cyan #00e5ff, pink #ec4899, gold #fbbf24
 * (gold buttons carry #1a0033 text, as every CTA on the site does). The
 * app's own tokens are the same values (brand\README.md in the DAW repo).
 * Colours fall back from the Branding plugin's variables, so a palette change
 * there carries through. Everything is scoped to .rcapps.
 */

.rcapps {
    --rc-ground: var(--rsdg-dark-bg, #0f0326);
    --rc-deep: #0a0015;
    --rc-surface: #1a0a3e;
    --rc-surface-2: #150a2e;
    --rc-line: rgba(255, 255, 255, 0.09);
    --rc-line-strong: rgba(167, 139, 250, 0.32);
    --rc-violet: var(--rsdg-primary, #7c3aed);
    --rc-lilac: #a78bfa;
    --rc-cyan: #00e5ff;
    --rc-pink: #ec4899;
    --rc-gold: #fbbf24;
    --rc-gold-2: #f59e0b;
    --rc-on-gold: #1a0033;
    --rc-ink: #f3f0fb;
    --rc-body: #e8e2f5;
    --rc-muted: #b3a9d1;
    --rc-display: 'Protest Riot', 'Alexandria', 'Poppins', system-ui, sans-serif;
    --rc-sans: 'Alexandria', 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --rc-mono: ui-monospace, 'Cascadia Mono', Consolas, 'SF Mono', monospace;
    --rc-radius: 18px;
    --rc-gutter: 16px;

    display: block;
    margin: 0 !important;
    background: var(--rc-ground);
    color: var(--rc-body);
    font-family: var(--rc-sans);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

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

.rcapps a {
    color: var(--rc-lilac);
    text-underline-offset: 3px;
}

.rcapps a:hover {
    color: var(--rc-cyan);
}

.rcapps :focus-visible {
    outline: 2px solid var(--rc-cyan);
    outline-offset: 3px;
    border-radius: 6px;
}

.rcapps p {
    margin: 0 0 0.9em;
}

.rcapps-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--rc-gutter);
}

.rcapps-wrap--narrow {
    max-width: 820px;
}

@media (min-width: 700px) {
    .rcapps {
        --rc-gutter: 28px;
    }
}

.rcapps-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.rcapps-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.rcapps-eyebrow {
    margin: 0 0 10px !important;
    color: var(--rc-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.rcapps-h1,
.rcapps-h2 {
    margin: 0 0 22px;
    color: var(--rc-ink);
    font-family: var(--rc-display);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.01em;
}

.rcapps-h1 {
    font-size: clamp(2.4rem, 6vw, 3.6rem);
}

.rcapps-h2 {
    font-size: clamp(1.9rem, 4.6vw, 3rem);
}

.rcapps-h3 {
    margin: 36px 0 12px;
    color: var(--rc-ink);
    font-size: 1.25rem;
    font-weight: 700;
}

.rcapps-small {
    color: var(--rc-muted);
    font-size: 0.88rem;
}

.rcapps-num {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ------------------------------------------------------------ ribbon */

.rcapps-ribbon {
    position: relative;
    z-index: 2;
    padding: 10px var(--rc-gutter);
    background: repeating-linear-gradient(-45deg, #2a1300, #2a1300 14px, #331800 14px, #331800 28px);
    border-bottom: 1px solid rgba(251, 191, 36, 0.4);
    color: #fde68a;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.rcapps-ribbon a {
    margin-left: 8px;
    color: var(--rc-gold) !important;
    font-weight: 700;
}

/* ------------------------------------------------------------ buttons */

.rcapps .rcapps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--rc-sans);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.2s ease, border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.rcapps .rcapps-btn:hover {
    transform: translateY(-2px);
}

.rcapps .rcapps-btn:active {
    transform: translateY(0);
}

.rcapps .rcapps-btn--gold {
    background: linear-gradient(135deg, var(--rc-gold), var(--rc-gold-2));
    color: var(--rc-on-gold);
    box-shadow: 0 10px 30px -10px rgba(251, 191, 36, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.rcapps .rcapps-btn--gold:hover {
    color: var(--rc-on-gold);
    box-shadow: 0 16px 40px -10px rgba(251, 191, 36, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.rcapps .rcapps-btn--violet {
    /* Darker than the brand pair so white text keeps 4.5:1 across the whole button. */
    background: linear-gradient(135deg, #6d28d9, #be185d);
    color: #fff;
    box-shadow: 0 10px 30px -12px rgba(124, 58, 237, 0.8);
}

.rcapps .rcapps-btn--violet:hover {
    color: #fff;
    box-shadow: 0 16px 38px -12px rgba(236, 72, 153, 0.75);
}

.rcapps .rcapps-btn--ghost {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--rc-line-strong);
    color: var(--rc-ink);
    backdrop-filter: blur(10px);
}

.rcapps .rcapps-btn--ghost:hover {
    border-color: var(--rc-cyan);
    color: var(--rc-ink);
    box-shadow: 0 0 22px rgba(0, 229, 255, 0.25);
}

.rcapps .rcapps-btn--sm {
    min-height: 42px;
    padding: 9px 18px;
    font-size: 0.92rem;
}

/* ------------------------------------------------------------- hero */

.rcapps-hero {
    position: relative;
    padding: 46px 0 64px;
    overflow: hidden;
    isolation: isolate;
}

.rcapps-hero__glow {
    position: absolute;
    inset: -20% -10% auto;
    height: 140%;
    z-index: -1;
    background:
        radial-gradient(42% 40% at 18% 22%, rgba(124, 58, 237, 0.42), transparent 70%),
        radial-gradient(36% 34% at 82% 30%, rgba(0, 229, 255, 0.2), transparent 70%),
        radial-gradient(40% 40% at 60% 90%, rgba(236, 72, 153, 0.18), transparent 70%);
    pointer-events: none;
}

.rcapps-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(167, 139, 250, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(167, 139, 250, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 75%);
    pointer-events: none;
}

.rcapps-hero__grid {
    display: grid;
    gap: 44px;
    align-items: center;
}

@media (min-width: 960px) {
    .rcapps-hero {
        padding: 72px 0 96px;
    }

    .rcapps-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
        gap: 56px;
    }
}

.rcapps-hero__title {
    margin: 0 0 14px;
    font-family: var(--rc-display);
    font-size: clamp(2.9rem, 8.6vw, 5.4rem);
    font-weight: 400;
    line-height: 0.96;
    letter-spacing: 0.01em;
    background: linear-gradient(100deg, #ffffff 0%, #e9ddff 40%, var(--rc-lilac) 68%, var(--rc-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    overflow-wrap: anywhere;
}

.rcapps-hero__lead {
    margin: 0 0 12px !important;
    color: var(--rc-ink);
    font-size: clamp(1.25rem, 2.6vw, 1.6rem);
    font-weight: 700;
    line-height: 1.3;
}

.rcapps-hero__sub {
    max-width: 34em;
    color: var(--rc-muted);
    font-size: 1.05rem;
}

/* ------------------------------------------------- download block */

.rcapps-dl {
    margin: 28px 0 22px;
}

.rcapps-dl__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.rcapps .rcapps-dl__btn {
    min-height: 64px;
    padding: 12px 28px 12px 22px;
    text-align: left;
}

.rcapps-btn__icon {
    display: inline-flex;
    flex: 0 0 auto;
}

.rcapps-btn__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rcapps-btn__label {
    font-size: 1.08rem;
}

.rcapps-btn__meta {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.78;
    font-variant-numeric: tabular-nums;
}

/* The visitor's own platform stays big; the others step back to a quiet link. */
.rcapps .rcapps-dl__btn.is-alt {
    min-height: 44px;
    padding: 8px 16px 8px 12px;
    background: transparent;
    border-color: var(--rc-line);
    box-shadow: none;
    color: var(--rc-muted);
}

.rcapps .rcapps-dl__btn.is-alt .rcapps-btn__label {
    font-size: 0.9rem;
}

.rcapps .rcapps-dl__btn.is-alt .rcapps-btn__meta {
    display: none;
}

.rcapps .rcapps-dl__btn.is-alt:hover {
    border-color: var(--rc-lilac);
    color: var(--rc-ink);
}

.rcapps-dl__image {
    margin: 8px 0 0 !important;
    font-size: 0.86rem;
}

.rcapps-dl__help {
    margin: 14px 0 0 !important;
    font-size: 0.92rem;
    font-weight: 600;
}

.rcapps-dl__note {
    margin: 14px 0 0 !important;
    color: var(--rc-muted);
    font-size: 0.95rem;
}

.rcapps-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.rcapps-inline input[type="email"] {
    flex: 1 1 220px;
    min-width: 0;
}

.rcapps-started {
    margin-top: 6px;
    padding: 20px 22px;
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: var(--rc-radius);
    background: linear-gradient(160deg, rgba(0, 229, 255, 0.08), rgba(124, 58, 237, 0.12));
    animation: rcapps-rise 0.45s ease both;
}

.rcapps-started:focus {
    outline: none;
}

.rcapps-started__title {
    margin: 0 0 10px !important;
    color: var(--rc-ink);
    font-size: 1.15rem;
    font-weight: 700;
}

.rcapps-started__steps {
    margin: 0 0 12px;
    padding-left: 22px;
}

.rcapps-started__steps li {
    margin: 6px 0;
}

.rcapps-started__small {
    margin: 0 !important;
    color: var(--rc-muted);
    font-size: 0.88rem;
}

@keyframes rcapps-rise {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.rcapps-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rcapps-trust li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px 6px 9px;
    border: 1px solid var(--rc-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--rc-body);
    font-size: 0.84rem;
}

.rcapps-trust svg {
    flex: 0 0 auto;
    color: var(--rc-cyan);
}

/* ------------------------------------------------------- hero art */

.rcapps-hero__art {
    min-width: 0;
}

.rcapps-frame {
    position: relative;
    border-radius: 16px;
    background: #0b021e;
    box-shadow:
        0 0 0 1px rgba(167, 139, 250, 0.22),
        0 40px 90px -30px rgba(124, 58, 237, 0.65),
        0 18px 50px -24px rgba(0, 229, 255, 0.35);
    overflow: hidden;
}

@media (min-width: 960px) {
    .rcapps-frame {
        transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
        transform-origin: left center;
        transition: transform 0.6s ease;
    }

    .rcapps-hero__art:hover .rcapps-frame {
        transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
    }
}

.rcapps-frame__img,
.rcapps-art {
    display: block;
    width: 100%;
    height: auto;
}

.rcapps-art__ph {
    animation: rcapps-playhead 9.6s linear infinite;
}

@keyframes rcapps-playhead {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(432px);
    }
}

.rcapps-art__m {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: rcapps-meter 1.1s ease-in-out infinite alternate;
}

.rcapps-art__m--0 { animation-duration: 0.9s; }
.rcapps-art__m--1 { animation-duration: 1.3s; animation-delay: -0.4s; }
.rcapps-art__m--2 { animation-duration: 0.7s; animation-delay: -0.2s; }
.rcapps-art__m--3 { animation-duration: 1.15s; animation-delay: -0.7s; }
.rcapps-art__m--4 { animation-duration: 1s; animation-delay: -0.5s; }

@keyframes rcapps-meter {
    0% { transform: scaleY(0.28); }
    35% { transform: scaleY(0.74); }
    60% { transform: scaleY(0.46); }
    100% { transform: scaleY(0.9); }
}

/* -------------------------------------------------------- proof strip */

.rcapps-proof {
    position: relative;
    padding: 30px 0;
    background: var(--rc-deep);
}

.rcapps-proof::before,
.rcapps-proof::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #7c3aed 20%, #00e5ff 50%, #ec4899 80%, transparent);
    opacity: 0.6;
}

.rcapps-proof::before { top: 0; }
.rcapps-proof::after { bottom: 0; }

.rcapps-proof__grid {
    display: grid;
    gap: 18px;
}

@media (min-width: 760px) {
    .rcapps-proof__grid {
        grid-template-columns: 1.5fr 1.1fr 0.8fr 0.8fr;
        gap: 28px;
    }
}

.rcapps-proof__k {
    margin: 0 0 4px !important;
    color: var(--rc-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rcapps-proof__v {
    margin: 0 !important;
    color: var(--rc-ink);
    font-size: 0.95rem;
    font-weight: 600;
}

.rcapps-proof__v--big {
    font-family: var(--rc-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--rc-gold);
}

/* ------------------------------------------------------------ tour */

.rcapps-shots,
.rcapps-tour,
.rcapps-free,
.rcapps-specs,
.rcapps-news,
.rcapps-faq,
.rcapps-talk,
.rcapps-bugs {
    padding: 72px 0;
}

@media (min-width: 960px) {
    .rcapps-bugs,
    .rcapps-shots,
    .rcapps-tour,
    .rcapps-free,
    .rcapps-specs,
    .rcapps-news,
    .rcapps-faq,
    .rcapps-talk {
        padding: 100px 0;
    }
}

/* ------------------------------------------------------- screenshots */

.rcapps-shots__grid {
    display: grid;
    gap: 22px;
    align-items: start;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 700px) {
    .rcapps-shots__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1040px) {
    .rcapps-shots__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.rcapps-shot {
    margin: 0;
}

.rcapps .rcapps-shot__link {
    display: block;
    border: 1px solid var(--rc-line);
    border-radius: 14px;
    background: #0b021e;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rcapps .rcapps-shot__link:hover {
    transform: translateY(-3px);
    border-color: var(--rc-line-strong);
    box-shadow: 0 22px 40px -26px rgba(124, 58, 237, 0.9);
}

.rcapps-shot img {
    display: block;
    width: 100%;
    height: auto;
}

.rcapps-shot__cap {
    margin-top: 10px;
    color: var(--rc-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* The bug report form: a card on the download page, and under Getting help in the guide. */
.rcapps-bugs {
    background: var(--rc-surface-2);
}

.rcapps-guide .rcapps-bug {
    margin-top: 26px;
}

.rcapps-form input[readonly] {
    opacity: 0.75;
}

/* In the guide a picture sits in the text beside the step it shows. */
.rcapps-shot--inline {
    margin: 20px 0 26px;
}

.rcapps-tour__grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 640px) {
    .rcapps-tour__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1040px) {
    .rcapps-tour__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.rcapps-feature {
    position: relative;
    padding: 24px 22px 22px;
    border: 1px solid var(--rc-line);
    border-radius: var(--rc-radius);
    background: linear-gradient(170deg, rgba(124, 58, 237, 0.12), rgba(255, 255, 255, 0.02) 60%);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rcapps-feature:hover {
    transform: translateY(-4px);
    border-color: var(--rc-line-strong);
    box-shadow: 0 22px 40px -26px rgba(124, 58, 237, 0.9);
}

.rcapps-feature--image {
    padding-top: 14px;
}

.rcapps-feature__img img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 16px;
    border-radius: 12px;
}

.rcapps-feature__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.55), rgba(0, 229, 255, 0.35));
    color: #fff;
    font-family: var(--rc-display);
    font-size: 1.15rem;
}

.rcapps-feature__title {
    margin: 0 0 8px;
    color: var(--rc-ink);
    font-size: 1.12rem;
    font-weight: 700;
}

.rcapps-feature__text {
    margin: 0 !important;
    color: var(--rc-muted);
    font-size: 0.95rem;
}

/* ------------------------------------------------------- free means free */

.rcapps-free {
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(251, 191, 36, 0.08), transparent 70%),
        var(--rc-surface-2);
}

.rcapps-free__grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 700px) {
    .rcapps-free__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* THREE ACROSS, AND THE PRIVACY CARD FULL WIDTH UNDER THEM. Four across,
   the fourth card ("Your work stays home") is three times the length of the
   others - deliberately, it names everything that leaves the computer - and
   it stretched the whole row, leaving the other three mostly empty. */
@media (min-width: 1040px) {
    .rcapps-free__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rcapps-free__card:nth-child(4) {
        grid-column: 1 / -1;
    }
}

/* In two columns the same card closes the grid at full width as well. */
@media (min-width: 700px) and (max-width: 1039px) {
    .rcapps-free__card:nth-child(4) {
        grid-column: 1 / -1;
    }
}

.rcapps-free__card {
    padding: 22px;
    border: 1px solid rgba(251, 191, 36, 0.22);
    border-radius: var(--rc-radius);
    background: rgba(0, 0, 0, 0.18);
}

.rcapps-free__k {
    margin: 0 0 8px !important;
    color: var(--rc-gold);
    font-family: var(--rc-display);
    font-size: 1.3rem;
}

.rcapps-free__card p:last-child {
    margin: 0;
    color: var(--rc-body);
    font-size: 0.96rem;
}

.rcapps-free__more {
    margin: 26px 0 0 !important;
    font-weight: 700;
}

/* ------------------------------------------------------------ specs */

.rcapps-specs__grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 760px) {
    .rcapps-specs__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* THREE ACROSS WHERE THREE FIT. There are three platforms (Windows, Apple
   silicon, Intel Mac); in two columns the third sat alone on a row of its
   own under the other two. */
@media (min-width: 1080px) {
    .rcapps-specs__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.rcapps-spec {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
    border: 1px solid var(--rc-line);
    border-radius: var(--rc-radius);
    background: var(--rc-surface);
}

.rcapps-spec__os {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    color: var(--rc-ink);
    font-size: 1.3rem;
    font-weight: 700;
}

.rcapps-spec__icon {
    display: inline-flex;
    color: var(--rc-cyan);
}

.rcapps-spec__list {
    flex: 1 1 auto;
    margin: 0;
    padding-left: 20px;
    color: var(--rc-body);
}

.rcapps-spec__list li {
    margin: 4px 0;
}

.rcapps-spec .rcapps-btn {
    align-self: flex-start;
}

/* ------------------------------------------------------- what's new */

.rcapps-news {
    background: var(--rc-deep);
}

.rcapps-news__list {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.rcapps-release,
.rcapps-q {
    border: 1px solid var(--rc-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.rcapps-release > summary,
.rcapps-q > summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 52px 16px 20px;
    position: relative;
    color: var(--rc-ink);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.rcapps-release > summary::-webkit-details-marker,
.rcapps-q > summary::-webkit-details-marker {
    display: none;
}

.rcapps-release > summary::after,
.rcapps-q > summary::after {
    content: '';
    position: absolute;
    right: 22px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--rc-lilac);
    border-bottom: 2px solid var(--rc-lilac);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
}

.rcapps-release[open] > summary::after,
.rcapps-q[open] > summary::after {
    transform: translateY(-30%) rotate(-135deg);
}

.rcapps-release__v {
    font-family: var(--rc-mono);
    font-size: 1rem;
}

.rcapps-release__d {
    color: var(--rc-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.rcapps-release__tag {
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.14);
    color: var(--rc-cyan);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rcapps-release__body {
    padding: 0 20px 18px;
}

.rcapps-release__body ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.rcapps-sums {
    width: 100%;
    margin-top: 6px;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.rcapps-sums th,
.rcapps-sums td {
    overflow-wrap: anywhere;
    padding: 8px 10px 8px 0;
    border-bottom: 1px solid var(--rc-line);
    text-align: left;
    vertical-align: top;
}

.rcapps-sums th {
    color: var(--rc-muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rcapps-sha {
    font-family: var(--rc-mono);
    font-size: 0.78rem;
    color: var(--rc-lilac);
    word-break: break-all;
    background: none;
}

@media (max-width: 640px) {
    .rcapps-sums thead {
        display: none;
    }

    .rcapps-sums tr {
        display: grid;
        gap: 2px;
        padding: 8px 0;
        border-bottom: 1px solid var(--rc-line);
    }

    .rcapps-sums td {
        padding: 0;
        border: 0;
    }
}

/* -------------------------------------------------------------- FAQ */

.rcapps-q {
    margin-bottom: 10px;
}

.rcapps-q > p {
    margin: 0 !important;
    padding: 0 20px 18px;
    color: var(--rc-body);
}

/* ------------------------------------------------------------ forms */

.rcapps-talk__grid {
    display: grid;
    gap: 18px;
    align-items: start;
}

@media (min-width: 900px) {
    .rcapps-talk__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        align-items: stretch;
    }
}

/* THE ASK, SAID PLAINLY above the two forms, at a reading width. */
.rcapps-talk__lead {
    max-width: 760px;
    margin: -4px 0 28px;
    color: var(--rc-body);
    font-size: 1.06rem;
    line-height: 1.65;
}

/* QUESTIONS ON THE PAGE'S OWN LEFT EDGE, at a reading width. They sat in a
   narrower centred column, so the page's left edge jumped in and out between
   this and the full-width sections around it (17 November 2026). */
.rcapps-faq__list {
    max-width: 860px;
}

/* THE INVITATION AFTER THE TOUR: early access, and what people tell us
   decides what comes next. One band, two buttons, no popup. */
.rcapps-invite {
    padding: 8px 0 56px;
}

.rcapps-invite__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    padding: 28px 32px;
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: var(--rc-radius);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(0, 229, 255, 0.07));
}

.rcapps-invite__inner > div {
    flex: 1 1 420px;
    min-width: 0;
}

.rcapps-invite__title {
    margin: 0 0 8px;
    color: var(--rc-ink);
    font-size: 1.3rem;
    font-weight: 700;
}

.rcapps-invite__text {
    margin: 0;
    color: var(--rc-body);
    line-height: 1.6;
}

.rcapps-invite__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

/* THE SAME ASK IN THE HERO, one line under the early access note. */
.rcapps-invite-line {
    margin: 10px 0 0;
    font-weight: 600;
}

.rcapps-invite-line a {
    color: #00e5ff;
}

.rcapps-card {
    padding: 26px;
    border: 1px solid var(--rc-line);
    border-radius: var(--rc-radius);
    background: var(--rc-surface);
}

.rcapps-card__title {
    margin: 0 0 6px;
    color: var(--rc-ink);
    font-size: 1.3rem;
    font-weight: 700;
}

.rcapps-card__text {
    color: var(--rc-muted);
    font-size: 0.95rem;
}

.rcapps-form label {
    display: block;
    margin: 14px 0 6px;
    color: var(--rc-body);
    font-size: 0.88rem;
    font-weight: 600;
}

.rcapps input[type="email"],
.rcapps input[type="text"],
.rcapps select,
.rcapps textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid rgba(167, 139, 250, 0.28);
    border-radius: 12px;
    background: rgba(10, 0, 21, 0.55);
    color: var(--rc-ink);
    font-family: var(--rc-sans);
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rcapps textarea {
    min-height: 120px;
    resize: vertical;
}

.rcapps input::placeholder,
.rcapps textarea::placeholder {
    color: rgba(232, 226, 245, 0.42);
}

.rcapps input:focus,
.rcapps select:focus,
.rcapps textarea:focus {
    border-color: var(--rc-lilac);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
    outline: none;
}

.rcapps select option {
    background: #160a33;
    color: var(--rc-ink);
}

.rcapps-form__row {
    display: grid;
    gap: 0 14px;
}

@media (min-width: 560px) {
    .rcapps-form__row {
        grid-template-columns: 1fr 1fr;
    }
}

.rcapps-radios {
    margin: 14px 0 0;
    padding: 0;
    border: 0;
}

.rcapps-form .rcapps-radios label,
.rcapps-form .rcapps-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0;
    font-weight: 500;
}

.rcapps-radios input,
.rcapps-check input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--rc-violet);
}

.rcapps-form .rcapps-btn {
    margin-top: 18px;
}

.rcapps-ts {
    margin-top: 14px;
}

.rcapps-form__msg {
    min-height: 1.4em;
    margin: 12px 0 0 !important;
    font-size: 0.92rem;
    font-weight: 600;
}

.rcapps-form__msg.is-ok {
    color: #86efac;
}

.rcapps-form__msg.is-err {
    color: #fda4af;
}

.rcapps-form.is-busy .rcapps-btn {
    opacity: 0.6;
    pointer-events: none;
}

/* ------------------------------------------------------------ close */

.rcapps-close {
    padding: 60px 0 76px;
    background:
        radial-gradient(60% 120% at 0% 100%, rgba(124, 58, 237, 0.35), transparent 70%),
        radial-gradient(50% 120% at 100% 0%, rgba(0, 229, 255, 0.16), transparent 70%),
        var(--rc-deep);
    border-top: 1px solid var(--rc-line);
}

.rcapps-close__inner {
    display: grid;
    gap: 22px;
    align-items: center;
}

@media (min-width: 900px) {
    .rcapps-close__inner {
        grid-template-columns: auto 1fr auto;
        gap: 32px;
    }
}

.rcapps-close__title {
    margin: 0 0 6px;
    color: var(--rc-ink);
    font-family: var(--rc-display);
    font-size: clamp(1.6rem, 3.6vw, 2.3rem);
    font-weight: 400;
    line-height: 1.1;
}

.rcapps-close__text {
    margin: 0 !important;
    color: var(--rc-muted);
}

.rcapps-close__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* -------------------------------------------------------- licence page */

.rcapps-doc {
    padding: 48px 0 90px;
}

.rcapps-crumb {
    margin-bottom: 18px !important;
    font-weight: 600;
}

.rcapps-doc__meta {
    color: var(--rc-muted);
}

.rcapps-doc__text {
    padding: 24px;
    border: 1px solid var(--rc-line);
    border-radius: var(--rc-radius);
    background: var(--rc-surface);
    color: var(--rc-body);
    font-size: 0.97rem;
    overflow-wrap: anywhere;
}

/* THE LICENCE AS A DOCUMENT (RCAPPS_Products::licence_html): clause headings,
   paragraphs at a reading width, and the lettered items set in from them. */
.rcapps-doc__text--licence {
    line-height: 1.65;
}

.rcapps-doc__text--licence .rcapps-doc__h {
    margin: 26px 0 8px;
    color: var(--rc-ink);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.rcapps-doc__text--licence .rcapps-doc__h:first-child {
    margin-top: 0;
    font-size: 1rem;
}

.rcapps-doc__text--licence .rcapps-doc__p {
    margin: 0 0 12px;
    max-width: 72ch;
}

.rcapps-doc__text--licence .rcapps-doc__item {
    margin-left: 1.4em;
}

.rcapps-q .rcapps-doc__text {
    margin: 0 20px 18px;
}

.rcapps-doc__pre {
    max-height: 70vh;
    margin: 0 20px 18px;
    padding: 18px;
    overflow: auto;
    border-radius: 12px;
    background: var(--rc-deep);
    color: var(--rc-body);
    font-family: var(--rc-mono);
    font-size: 0.8rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* ----------------------------------------------------- help page */

.rcapps-guide__lead {
    color: var(--rc-ink);
    font-size: 1.08rem;
}

.rcapps-toc {
    margin: 26px 0 8px;
    padding: 20px 24px;
    border: 1px solid var(--rc-line);
    border-radius: var(--rc-radius);
    background: var(--rc-surface);
}

.rcapps-toc__h {
    margin: 0 0 8px;
    color: var(--rc-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rcapps-toc ol {
    margin: 0;
    padding-left: 22px;
}

.rcapps-toc li {
    margin: 4px 0;
}

.rcapps-guide__more {
    margin: 14px 0 0 !important;
    font-weight: 600;
}

.rcapps-guide__h {
    margin-top: 48px;
    font-size: 1.45rem;
    scroll-margin-top: 90px;
}

.rcapps-guide__h4 {
    margin: 26px 0 8px;
    color: var(--rc-ink);
    font-size: 1.05rem;
    font-weight: 700;
    scroll-margin-top: 90px;
}

.rcapps-guide ol,
.rcapps-guide ul {
    margin: 0 0 0.9em;
    padding-left: 22px;
}

.rcapps-guide li {
    margin: 6px 0;
}

.rcapps-guide__note {
    padding: 10px 14px;
    border-left: 3px solid var(--rc-gold);
    border-radius: 6px;
    background: rgba(251, 191, 36, 0.08);
    color: var(--rc-ink);
    font-size: 0.94rem;
}

.rcapps kbd {
    display: inline-block;
    padding: 1px 7px;
    border: 1px solid var(--rc-line-strong);
    border-radius: 6px;
    background: var(--rc-deep);
    color: var(--rc-ink);
    font-family: var(--rc-mono);
    font-size: 0.82em;
    line-height: 1.5;
    white-space: nowrap;
}

.rcapps-table {
    width: 100%;
    margin: 6px 0 18px;
    border-collapse: collapse;
    font-size: 0.94rem;
}

.rcapps-table th,
.rcapps-table td {
    padding: 10px 12px 10px 0;
    border-bottom: 1px solid var(--rc-line);
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.rcapps-table th {
    color: var(--rc-muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rcapps-table td:first-child {
    color: var(--rc-ink);
    font-weight: 600;
}

@media (max-width: 640px) {
    .rcapps-table thead {
        display: none;
    }

    .rcapps-table tr {
        display: grid;
        gap: 4px;
        padding: 10px 0;
        border-bottom: 1px solid var(--rc-line);
    }

    .rcapps-table td {
        padding: 0;
        border: 0;
    }
}

/* ------------------------------------------------- reduced motion */

/* The hidden attribute always wins, whatever display a class gives. */
.rcapps [hidden] {
    display: none !important;
}

/* Still mode: the Pause motion button, or a visitor's saved choice. */
.rcapps--still *,
.rcapps--still *::before,
.rcapps--still *::after {
    animation: none !important;
    transition: none !important;
}

.rcapps--still .rcapps-frame__video {
    display: none;
}

.rcapps-hero__art {
    position: relative;
}

.rcapps-motion {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    min-height: 32px;
    padding: 6px 12px;
    border: 1px solid var(--rc-line);
    border-radius: 999px;
    background: rgba(15, 3, 38, 0.82);
    color: var(--rc-ink);
    font: inherit;
    font-size: 0.78rem;
    cursor: pointer;
}

.rcapps-motion[aria-pressed="true"] {
    border-color: var(--rc-lilac);
}

.rcapps-motion:focus-visible {
    outline: 2px solid var(--rc-cyan, #00e5ff);
    outline-offset: 2px;
}

.rcapps-stage {
    margin: 14px 0 0 !important;
    padding: 10px 14px;
    border-left: 3px solid var(--rc-gold);
    border-radius: 6px;
    background: rgba(251, 191, 36, 0.08);
    color: var(--rc-ink);
    font-size: 0.92rem;
}

@media (prefers-reduced-motion: reduce) {
    .rcapps *,
    .rcapps *::before,
    .rcapps *::after {
        animation: none !important;
        transition: none !important;
    }

    .rcapps-frame {
        transform: none !important;
    }
}

/* ------------------------------------------------ hero video, trademarks */

.rcapps-frame__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.rcapps-tm {
    margin: 18px auto 0 !important;
    color: var(--rc-muted);
    font-size: 0.74rem;
}

@media (prefers-reduced-motion: reduce) {
    .rcapps-frame__video {
        display: none;
    }
}
