﻿/* =====================================================================
   RSolutions – Product showcase (rsol-products/*)
   Scoped under .rp so the existing main.css / bootstrap.css are untouched.
   Units are px on purpose: Bootstrap 3 sets html{font-size:10px}.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
    --org: #e67817;
    --ylw: #fca903;
    --gold: #fca903;
    --gold-glow: rgba(252,169,3,0.22);
    --rp-navy: #0E2350;
    --rp-navy-2: #16306B;
    --rp-blue: #1E56D8;
    --rp-org: #E67817;
    --rp-org-deep: #B85A07;
    --rp-gold: #FCA903;
    --rp-on-gold: #0E2350;
    --rp-bg: #F5F7FB;
    --rp-surface: #FFFFFF;
    --rp-surface-2: #EEF2F9;
    --rp-ink: #0E2350;
    --rp-text: #2A3550;
    --rp-muted: #5A6478;
    --rp-line: #DCE3EF;
    --rp-line-strong: #C3CEE2;
    --rp-link: #1E56D8;
    --rp-blue-soft: #E7EEFF;
    --rp-good: #13795B;
    --rp-bad: #C2361B;
    --rp-shadow: 0 1px 2px rgba(14,35,80,.06), 0 12px 32px -12px rgba(14,35,80,.18);
    --rp-shadow-lg: 0 30px 80px -30px rgba(14,35,80,.45);
    --rp-font: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
    --rp-display: "Bricolage Grotesque", "Figtree", "Segoe UI", system-ui, sans-serif;
    --rp-radius: 14px;
    --rp-radius-sm: 8px;
    --rp-wrap: 1200px;
    --rp-header-h: 72px;
    /* chart palette (validated for both themes) */
    --rp-c1: #1E56D8;
    --rp-c2: #FCA903;
    --rp-c3: #E67817;
    --rp-c4: #6C8BD6;
    --rp-c5: #9AA7C2;
}

    :root[data-theme="dark"] {
        --rp-bg: #08142E;
        --rp-surface: #0F1F42;
        --rp-surface-2: #142753;
        --rp-ink: #F2F5FB;
        --rp-text: #D3DBEA;
        --rp-muted: #9DAAC4;
        --rp-line: rgba(255,255,255,.10);
        --rp-line-strong: rgba(255,255,255,.18);
        --rp-link: #8DB0FF;
        --rp-blue-soft: rgba(127,166,255,.14);
        --rp-good: #4FD1A1;
        --rp-bad: #FF8A70;
        --rp-shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.6);
        --rp-shadow-lg: 0 30px 80px -30px rgba(0,0,0,.8);
        --rp-c1: #7FA6FF;
        --rp-c4: #3D63C9;
        --rp-c5: #56688F;
        color-scheme: dark;
    }

/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 132px;
}

body.rp-body {
    margin: 0;
    background: var(--rp-bg);
    color: var(--rp-text);
    font-family: var(--rp-font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

.rp {
    font-size: 17px;
}

    .rp img, .rp svg {
        max-width: 100%;
    }

:where(.rp) h1, :where(.rp) h2, :where(.rp) h3, :where(.rp) h4 {
    font-family: var(--rp-display);
    color: var(--rp-ink);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

:where(.rp) h1 {
    font-size: clamp(36px, 5.2vw, 60px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    font-weight: 700;
}

:where(.rp) h2 {
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.1;
}

:where(.rp) h3 {
    font-size: 21px;
    line-height: 1.25;
    font-weight: 600;
}

:where(.rp) h4 {
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
}

:where(.rp) p {
    margin: 0 0 1em;
}

    :where(.rp) p:last-child {
        margin-bottom: 0;
    }

.rp a {
    color: var(--rp-link);
    text-decoration: none;
}

    .rp a:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

:where(.rp) ul, :where(.rp) ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rp :focus-visible {
    outline: 3px solid var(--rp-gold);
    outline-offset: 3px;
    border-radius: 4px;
}

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

.rp-skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    background: var(--rp-gold);
    color: var(--rp-on-gold);
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
}

    .rp-skip:focus {
        top: 12px;
    }

main:focus {
    outline: none;
}

.rp-wrap {
    width: 100%;
    max-width: var(--rp-wrap);
    margin: 0 auto;
    padding: 0 24px;
}

.rp-sec {
    padding: 96px 0;
}

.rp-sec--alt {
    background: var(--rp-surface);
    border-block: 1px solid var(--rp-line);
}

.rp-sec__head {
    max-width: 760px;
    margin-bottom: 48px;
}

    .rp-sec__head p {
        color: var(--rp-muted);
        font-size: 19px;
        margin-top: 16px;
        max-width: 64ch;
    }

.rp-lede {
    font-size: 20px;
    line-height: 1.55;
    color: var(--rp-text);
    max-width: 60ch;
}

/* ---------- Buttons ---------- */
.rp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    font: 600 16px/1 var(--rp-font);
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
    white-space: nowrap;
}

.rp-btn--sm {
    min-height: 40px;
    padding: 0 16px;
    font-size: 15px;
}

.rp-btn--primary {
    background: var(--rp-gold);
    color: var(--rp-on-gold) !important;
}

    .rp-btn--primary:hover {
        background: var(--rp-org);
        color: #fff !important;
    }

.rp-btn--secondary {
    background: transparent;
    color: var(--rp-ink) !important;
    border-color: var(--rp-line-strong);
}

    .rp-btn--secondary:hover {
        border-color: var(--rp-ink);
    }

.rp-btn--onnavy {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255,255,255,.35);
}

    .rp-btn--onnavy:hover {
        border-color: #fff;
    }

.rp-btn:active {
    transform: translateY(1px);
}

.rp-btn[disabled], .rp-btn.is-busy {
    opacity: .65;
    cursor: progress;
}

/* ---------- Product mark: echoes the logo's dark "r" on a gold square ---------- */
.rp-mark {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    background: var(--rp-gold);
    color: var(--rp-on-gold);
    font-family: var(--rp-display);
    font-weight: 800;
    letter-spacing: -0.03em;
    border-radius: 6px;
    line-height: 1;
    white-space: nowrap;
}

    .rp-mark b {
        font-weight: 500;
        font-style: italic;
        margin-right: 1px;
    }

.rp-mark--xs {
    font-size: 11px;
    min-width: 44px;
    height: 24px;
    padding: 0 6px;
    align-items: center;
    border-radius: 5px;
}

.rp-mark--md {
    font-size: 17px;
    height: 44px;
    padding: 0 12px;
    align-items: center;
}

.rp-mark--lg {
    font-size: 22px;
    height: 56px;
    padding: 0 16px;
    align-items: center;
    border-radius: 8px;
}

/* ---------- Header ---------- */
.rp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--rp-bg) 88%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--rp-line);
}

.rp-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--rp-header-h);
}

.rp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--rp-ink) !important;
    text-decoration: none !important;
}

    .rp-brand img {
        height: 65px;
        width: auto;
        padding: 2px;
        border-radius: 3px;
    }

[data-theme="dark"] .rp-brand img {
    background-color: #fff;
}

.rp-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.rp-brand__name {
    font-family: var(--rp-display);
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.02em;
}

.rp-brand__sub {
    font-size: 13px;
    color: var(--rp-muted);
}

.rp-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.rp-nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rp-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 0;
    background: none;
    color: var(--rp-ink) !important;
    font: 500 16px var(--rp-font);
    cursor: pointer;
    text-decoration: none !important;
}

    .rp-nav__link:hover, .rp-mega__btn[aria-expanded="true"] {
        background: var(--rp-surface-2);
    }

.rp-nav__toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--rp-ink);
    padding: 8px;
    cursor: pointer;
}

.rp-mega {
    position: relative;
}

.rp-mega__panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 560px;
    padding: 16px;
    display: none;
    background: var(--rp-surface);
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    box-shadow: var(--rp-shadow-lg);
}

.rp-mega__btn[aria-expanded="true"] + .rp-mega__panel {
    display: block;
}

.rp-mega__all {
    display: block;
    font-weight: 600;
    padding: 6px 10px 12px;
    border-bottom: 1px solid var(--rp-line);
    margin-bottom: 8px;
}

.rp-mega__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

    .rp-mega__list a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 10px;
        border-radius: 8px;
        color: var(--rp-text);
        font-size: 15px;
        text-decoration: none !important;
    }

        .rp-mega__list a:hover {
            background: var(--rp-surface-2);
            color: var(--rp-ink);
        }

.rp-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rp-theme {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--rp-line-strong);
    background: transparent;
    color: var(--rp-ink);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
}

    .rp-theme:hover {
        background: var(--rp-surface-2);
    }

.rp-theme__moon {
    display: none;
}

[data-theme="dark"] .rp-theme__moon {
    display: block;
}

[data-theme="dark"] .rp-theme__sun {
    display: none;
}

/* ---------- Breadcrumb ---------- */
.rp-crumbs {
    font-size: 14px;
    color: var(--rp-muted);
    margin-bottom: 28px;
}

    .rp-crumbs ol {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .rp-crumbs li + li::before {
        content: "/";
        margin-right: 6px;
        color: var(--rp-line-strong);
    }

    .rp-crumbs a {
        color: var(--rp-muted);
    }

    .rp-crumbs [aria-current] {
        color: var(--rp-ink);
    }

/* ---------- Hero (product) ---------- */
.rp-hero {
    padding: 48px 0 88px;
    overflow: hidden;
}

.rp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 56px;
    align-items: center;
}

.rp-hero__id {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 14px;
    margin-bottom: 24px;
}

    .rp-hero__id > span:last-child {
        font-size: 15px;
        color: var(--rp-muted);
        line-height: 1.3;
    }

    .rp-hero__id strong {
        display: block;
        color: var(--rp-ink);
        font-weight: 600;
    }

.rp-hero h1 {
    margin-bottom: 24px;
    font-size: clamp(34px, 4.1vw, 52px);
}

.rp-hero .rp-lede {
    margin-bottom: 32px;
}

.rp-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.rp-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 0;
    margin: 0;
    border-top: 1px solid var(--rp-line);
}

    .rp-facts div {
        padding: 16px 16px 0 0;
    }

    .rp-facts dt {
        font-family: var(--rp-display);
        font-size: 30px;
        font-weight: 700;
        color: var(--rp-ink);
        line-height: 1;
    }

    .rp-facts dd {
        margin: 6px 0 0;
        font-size: 14px;
        color: var(--rp-muted);
    }

.rp-hero__stage {
    position: relative;
    padding: 32px 0 32px 36px;
}

    .rp-hero__stage::before {
        /* the gold block the console sits on – the logo's square */
        content: "";
        position: absolute;
        inset: 0 28% 0 0;
        border-radius: 22px;
        background: var(--rp-gold);
    }

    .rp-hero__stage .rp-console {
        position: relative;
    }

/* ---------- Console (sample dashboard, pure HTML/CSS) ---------- */
.rp-console {
    container-type: inline-size;
    container-name: console;
    background: var(--rp-surface);
    color: var(--rp-text);
    border: 1px solid var(--rp-line);
    border-radius: 14px;
    box-shadow: var(--rp-shadow-lg);
    overflow: hidden;
    font-size: 13px;
    line-height: 1.4;
}

.rp-console__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--rp-surface-2);
    border-bottom: 1px solid var(--rp-line);
}

    .rp-console__bar i {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--rp-line-strong);
        display: block;
    }

.rp-console__url {
    margin-left: 10px;
    font-size: 12px;
    color: var(--rp-muted);
    background: var(--rp-surface);
    border-radius: 6px;
    padding: 3px 10px;
    flex: 1;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rp-console__body {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    min-height: 340px;
}

.rp-console__side {
    background: var(--rp-navy);
    color: #C9D4EC;
    padding: 14px 10px;
}

    .rp-console__side .rp-mark {
        margin: 0 4px 14px;
    }

    .rp-console__side li {
        padding: 7px 10px;
        border-radius: 6px;
        font-size: 12.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .rp-console__side li.is-on {
            background: rgba(255,255,255,.1);
            color: #fff;
            font-weight: 600;
            box-shadow: inset 3px 0 0 var(--rp-gold);
        }

.rp-console__main {
    padding: 16px;
    display: grid;
    gap: 14px;
    align-content: start;
}

.rp-console__title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

    .rp-console__title b {
        font-family: var(--rp-display);
        font-size: 16px;
        color: var(--rp-ink);
    }

    .rp-console__title small {
        color: var(--rp-muted);
        font-size: 11.5px;
    }

.rp-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
}

.rp-kpi {
    border: 1px solid var(--rp-line);
    border-radius: 10px;
    padding: 10px;
    background: var(--rp-surface);
    min-width: 0;
}

    .rp-kpi span {
        display: block;
        color: var(--rp-muted);
        font-size: 11.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .rp-kpi strong {
        display: block;
        font-family: var(--rp-display);
        font-size: 19px;
        color: var(--rp-ink);
        margin: 4px 0 2px;
        white-space: nowrap;
    }

    .rp-kpi em {
        font-style: normal;
        font-size: 11.5px;
        color: var(--rp-good);
        font-weight: 600;
    }

.rp-panels {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 10px;
}

.rp-panel {
    border: 1px solid var(--rp-line);
    border-radius: 10px;
    padding: 12px;
    min-width: 0;
}

.rp-panel__t {
    font-family: var(--rp-font);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--rp-ink);
    margin: 0 0 10px !important;
}

.rp-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 8px;
    font-size: 11.5px;
    color: var(--rp-muted);
}

    .rp-legend i {
        display: inline-block;
        width: 10px;
        height: 10px;
        border-radius: 3px;
        margin-right: 5px;
        vertical-align: -1px;
    }

/* bar chart */
.rp-bars {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 8px;
    height: 140px;
    align-items: end;
    border-bottom: 1px solid var(--rp-line);
}

.rp-bars__grp {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 100%;
    position: relative;
}

    .rp-bars__grp span {
        width: 42%;
        max-width: 18px;
        border-radius: 4px 4px 0 0;
        height: var(--h);
        transform-origin: bottom;
    }

        .rp-bars__grp span:first-child {
            background: var(--rp-c1);
        }

        .rp-bars__grp span:last-child {
            background: var(--rp-c5);
            opacity: .7;
        }

.rp-bars__x {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 8px;
    font-size: 11px;
    color: var(--rp-muted);
    text-align: center;
    margin-top: 6px;
}

/* donut */
.rp-donut {
    display: grid;
    grid-template-columns: 92px minmax(0,1fr);
    gap: 12px;
    align-items: center;
}

.rp-donut__ring {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--ring);
    position: relative;
}

    .rp-donut__ring::after {
        content: "";
        position: absolute;
        inset: 16px;
        border-radius: 50%;
        background: var(--rp-surface);
    }

.rp-donut ul li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 11.5px;
    padding: 2px 0;
    color: var(--rp-text);
}

    .rp-donut ul li b {
        font-weight: 600;
        color: var(--rp-ink);
    }

.rp-donut ul i {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    margin-right: 6px;
}

/* feed table */
.rp-feed {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

    .rp-feed th {
        text-align: left;
        color: var(--rp-muted);
        font-weight: 500;
        padding: 0 0 6px;
        border-bottom: 1px solid var(--rp-line);
    }

    .rp-feed td {
        padding: 7px 0;
        border-bottom: 1px solid var(--rp-line);
        color: var(--rp-text);
    }

    .rp-feed tr:last-child td {
        border-bottom: 0;
    }

    .rp-feed td:last-child, .rp-feed th:last-child {
        text-align: right;
        font-weight: 600;
        color: var(--rp-ink);
    }

.rp-pill {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 99px;
    background: var(--rp-blue-soft);
    color: var(--rp-link);
    font-size: 11px;
    font-weight: 600;
}

/* console adapts to its own width: this is what the device switcher demonstrates */
@container console (max-width: 640px) {
    .rp-console__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-console__side {
        display: flex;
        gap: 4px;
        overflow-x: auto;
        padding: 8px;
        scrollbar-width: none;
    }

        .rp-console__side .rp-mark, .rp-console__side .rp-logo {
            display: none;
        }

        .rp-console__side ul {
            display: flex;
            gap: 4px;
        }

        .rp-console__side li.is-on {
            box-shadow: inset 0 -3px 0 var(--rp-gold);
        }

    .rp-kpis {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .rp-panels {
        grid-template-columns: minmax(0, 1fr);
    }
}

@container console (max-width: 380px) {
    .rp-console__main {
        padding: 12px;
    }

    .rp-kpi strong {
        font-size: 17px;
    }

    .rp-bars {
        height: 110px;
    }
}

/* hero console entrance: the page's one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
    .js .rp-hero .rp-bars__grp span {
        animation: rp-grow .9s cubic-bezier(.2,.8,.2,1) both;
        animation-delay: calc(var(--i) * 70ms + 250ms);
    }

    .js .rp-hero .rp-kpi {
        animation: rp-rise .6s ease both;
        animation-delay: calc(var(--i) * 80ms + 100ms);
    }

    .js .rp-hero__stage::before {
        animation: rp-slide .8s cubic-bezier(.2,.8,.2,1) both;
    }

    .js .rp-console.is-armed .rp-bars__grp span {
        transform: scaleY(0);
    }

    .js .rp-console.is-live .rp-bars__grp span {
        transform: scaleY(1);
        transition: transform .9s cubic-bezier(.2,.8,.2,1);
        transition-delay: calc(var(--i) * 60ms);
    }
}

@keyframes rp-grow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes rp-rise {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes rp-slide {
    from {
        transform: translateX(-24px);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

/* ---------- Section nav (sticky, scroll-spy) ---------- */
.rp-subnav {
    position: sticky;
    top: var(--rp-header-h);
    z-index: 90;
    background: var(--rp-bg);
    border-bottom: 1px solid var(--rp-line);
}

    .rp-subnav ul {
        display: flex;
        gap: 2px;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 8px 0;
    }

        .rp-subnav ul::-webkit-scrollbar {
            display: none;
        }

    .rp-subnav a {
        display: block;
        padding: 7px 12px;
        border-radius: 8px;
        color: var(--rp-muted);
        font-size: 14.5px;
        font-weight: 500;
        white-space: nowrap;
        text-decoration: none !important;
    }

        .rp-subnav a:hover {
            color: var(--rp-ink);
            background: var(--rp-surface-2);
        }

        .rp-subnav a.is-active {
            color: var(--rp-on-gold);
            background: var(--rp-gold);
        }

    .rp-subnav li:last-child a {
        color: var(--rp-org-deep);
        font-weight: 600;
    }

[data-theme="dark"] .rp-subnav li:last-child a {
    color: var(--rp-gold);
}

.rp-subnav li:last-child a.is-active {
    color: var(--rp-on-gold);
}

/* ---------- Overview ---------- */
.rp-ov {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.rp-ov__text p {
    font-size: 18px;
    max-width: 62ch;
}

    .rp-ov__text p:first-child {
        font-size: 21px;
        color: var(--rp-ink);
        font-family: var(--rp-display);
        font-weight: 500;
        line-height: 1.45;
        letter-spacing: -0.01em;
    }

.rp-glance {
    background: var(--rp-surface);
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    padding: 8px 24px;
}

.rp-sec--alt .rp-glance {
    background: var(--rp-bg);
}

.rp-glance h3 {
    font-size: 17px;
    padding: 16px 0 4px;
}

.rp-glance dl {
    margin: 0;
}

    .rp-glance dl div {
        padding: 14px 0;
        border-top: 1px solid var(--rp-line);
    }

        .rp-glance dl div:first-child {
            border-top: 0;
        }

.rp-glance dt {
    font-size: 14px;
    color: var(--rp-muted);
}

.rp-glance dd {
    margin: 2px 0 0;
    color: var(--rp-ink);
    font-weight: 500;
}

/* ---------- Feature explorer ---------- */
.rp-fx {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.rp-fx__tabs {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: sticky;
    top: 150px;
}

.rp-fx__tab {
    text-align: left;
    border: 0;
    background: none;
    cursor: pointer;
    padding: 14px 16px;
    border-radius: 10px;
    color: var(--rp-muted);
    font: 600 17px/1.3 var(--rp-display);
    letter-spacing: -0.01em;
    border-left: 3px solid transparent;
}

    .rp-fx__tab:hover {
        color: var(--rp-ink);
        background: var(--rp-surface-2);
    }

    .rp-fx__tab[aria-selected="true"] {
        color: var(--rp-ink);
        background: var(--rp-surface);
        border-left-color: var(--rp-gold);
        box-shadow: var(--rp-shadow);
    }

.rp-sec--alt .rp-fx__tab[aria-selected="true"] {
    background: var(--rp-bg);
}

.rp-fx__tab small {
    display: block;
    font: 400 14px/1.4 var(--rp-font);
    color: var(--rp-muted);
    margin-top: 4px;
}

.rp-fx__panel {
    background: var(--rp-surface);
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    padding: 36px;
}

.rp-sec--alt .rp-fx__panel {
    background: var(--rp-bg);
}

.rp-fx__panel + .rp-fx__panel {
    margin-top: 16px;
}

.js .rp-fx__panel[hidden] {
    display: none;
}

.rp-fx__panel h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.rp-fx__panel > p {
    color: var(--rp-muted);
    font-size: 18px;
    margin-bottom: 24px;
}

.rp-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
}

    .rp-checks li {
        position: relative;
        padding-left: 30px;
    }

        .rp-checks li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 3px;
            width: 20px;
            height: 20px;
            border-radius: 6px;
            background: var(--rp-blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231E56D8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
        }

[data-theme="dark"] .rp-checks li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%238DB0FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: no-preference) {
    .js .rp-fx__panel:not([hidden]) {
        animation: rp-rise .35s ease both;
    }
}

/* ---------- Roles & permissions ---------- */
.rp-roles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--rp-line);
    margin-bottom: 56px;
}

.rp-role {
    padding: 24px 24px 24px 0;
    border-bottom: 1px solid var(--rp-line);
}

    .rp-role h3 {
        font-size: 19px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        margin-bottom: 6px;
    }

    .rp-role p {
        color: var(--rp-muted);
        font-size: 16px;
    }

.rp-tag {
    display: inline-block;
    font: 600 12px/1 var(--rp-font);
    padding: 5px 8px;
    border-radius: 6px;
    background: var(--rp-surface-2);
    color: var(--rp-muted);
    letter-spacing: .01em;
}

.rp-tag--ext {
    background: var(--gold-glow);
    color: var(--rp-org-deep);
}

[data-theme="dark"] .rp-tag--ext {
    color: var(--rp-gold);
}

.rp-matrix-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.rp-matrix-scroll {
    position: relative;
    overflow-x: auto;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    background: var(--rp-surface);
}

.rp-sec--alt .rp-matrix-scroll {
    background: var(--rp-bg);
}

.rp-matrix {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 620px;
}

    .rp-matrix caption {
        text-align: left;
        padding: 16px 20px 0;
        font-family: var(--rp-display);
        font-weight: 600;
        color: var(--rp-ink);
        font-size: 17px;
    }

    .rp-matrix th, .rp-matrix td {
        padding: 12px 10px;
        border-bottom: 1px solid var(--rp-line);
        text-align: center;
    }

    .rp-matrix thead th {
        font-size: 13.5px;
        color: var(--rp-muted);
        font-weight: 600;
    }

    .rp-matrix th[scope="row"] {
        text-align: left;
        color: var(--rp-ink);
        font-weight: 600;
        padding-left: 20px;
        white-space: nowrap;
    }

    .rp-matrix tbody tr:last-child > * {
        border-bottom: 0;
    }

    .rp-matrix tbody tr:hover {
        background: var(--rp-surface-2);
    }

.rp-lvl {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font: 700 13px/1 var(--rp-font);
}

.rp-lvl--F {
    background: var(--rp-navy);
    color: #fff;
}

.rp-lvl--A {
    background: var(--rp-gold);
    color: var(--rp-on-gold);
}

.rp-lvl--C {
    background: var(--rp-blue);
    color: #fff;
}

.rp-lvl--O {
    background: var(--rp-blue-soft);
    color: var(--rp-link);
    box-shadow: inset 0 0 0 1.5px var(--rp-link);
}

.rp-lvl--V {
    background: var(--rp-surface-2);
    color: var(--rp-muted);
    box-shadow: inset 0 0 0 1.5px var(--rp-line-strong);
}

.rp-lvl--N {
    color: var(--rp-line-strong);
}

[data-theme="dark"] .rp-lvl--F {
    background: #F2F5FB;
    color: var(--rp-navy);
}

.rp-matrix-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 14px 20px 18px;
    font-size: 14px;
    color: var(--rp-muted);
    border-top: 1px solid var(--rp-line);
}

    .rp-matrix-legend > span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .rp-matrix-legend .rp-lvl {
        width: 22px;
        height: 22px;
        font-size: 11px;
        border-radius: 6px;
    }

.rp-controls h3 {
    margin-bottom: 16px;
}

.rp-controls li {
    padding: 12px 0 12px 28px;
    border-top: 1px solid var(--rp-line);
    position: relative;
    font-size: 16px;
}

    .rp-controls li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 19px;
        width: 12px;
        height: 12px;
        border: 2px solid var(--rp-org);
        border-radius: 3px;
    }

/* ---------- Modules & editions ---------- */
.rp-mods {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 2px solid var(--rp-ink);
    margin-bottom: 64px;
}

.rp-mod {
    padding: 20px 20px 20px 0;
    border-bottom: 1px solid var(--rp-line);
}

    .rp-mod h3 {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .rp-mod p {
        color: var(--rp-muted);
        font-size: 15.5px;
    }

.rp-eds {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.rp-ed {
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    padding: 28px;
    background: var(--rp-surface);
    display: flex;
    flex-direction: column;
}

.rp-sec--alt .rp-ed {
    background: var(--rp-bg);
}

.rp-ed--featured {
    border: 2px solid var(--rp-gold);
    position: relative;
}

    .rp-ed--featured .rp-ed__flag {
        position: absolute;
        top: -13px;
        left: 24px;
        background: var(--rp-gold);
        color: var(--rp-on-gold);
        font-size: 13px;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 6px;
    }

.rp-ed h3 {
    font-size: 24px;
}

.rp-ed__aud {
    color: var(--rp-muted);
    margin: 6px 0 20px;
    min-height: 3.2em;
}

.rp-ed ul {
    flex: 1;
    margin-bottom: 24px;
}

.rp-ed li {
    padding: 8px 0;
    border-top: 1px solid var(--rp-line);
    font-size: 16px;
}

    .rp-ed li:first-child {
        border-top: 0;
    }

/* ---------- Benefits ---------- */
.rp-bens {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 40px;
}

.rp-ben::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    background: var(--rp-gold);
    border-radius: 2px;
    margin-bottom: 18px;
}

.rp-ben h3 {
    font-size: 21px;
    margin-bottom: 8px;
}

.rp-ben p {
    color: var(--rp-muted);
}

/* ---------- Use cases ---------- */
.rp-cases {
    border-top: 1px solid var(--rp-line);
}

.rp-case {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 32px;
    padding: 22px 0;
    border-bottom: 1px solid var(--rp-line);
    align-items: baseline;
}

    .rp-case h3 {
        font-size: 20px;
    }

    .rp-case p {
        color: var(--rp-text);
        font-size: 17.5px;
    }

/* ---------- Dashboards (device switcher) ---------- */
.rp-dev__switch {
    display: inline-flex;
    padding: 4px;
    border-radius: 12px;
    background: var(--rp-surface-2);
    border: 1px solid var(--rp-line);
    margin-bottom: 28px;
}

    .rp-dev__switch button {
        border: 0;
        background: none;
        padding: 9px 16px;
        border-radius: 9px;
        font: 600 15px var(--rp-font);
        color: var(--rp-muted);
        cursor: pointer;
        display: inline-flex;
        gap: 8px;
        align-items: center;
    }

        .rp-dev__switch button[aria-pressed="true"] {
            background: var(--rp-surface);
            color: var(--rp-ink);
            box-shadow: var(--rp-shadow);
        }

.rp-dev__stage {
    display: grid;
    place-items: center;
    padding: 40px 24px;
    border-radius: 22px;
    background: var(--rp-navy);
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 0);
    background-size: 22px 22px;
}

.rp-dev__frame {
    width: 100%;
    max-width: 1040px;
    transition: max-width .45s cubic-bezier(.2,.8,.2,1);
}

    .rp-dev__frame[data-device="tablet"] {
        max-width: 600px;
    }

    .rp-dev__frame[data-device="mobile"] {
        max-width: 360px;
    }

        .rp-dev__frame[data-device="tablet"] .rp-console, .rp-dev__frame[data-device="mobile"] .rp-console {
            border-radius: 26px;
            border: 10px solid #050C1F;
        }

        .rp-dev__frame[data-device="tablet"] .rp-console__bar, .rp-dev__frame[data-device="mobile"] .rp-console__bar {
            display: none;
        }

.rp-dev__note {
    margin-top: 16px;
    color: var(--rp-muted);
    font-size: 14.5px;
}

.rp-dev .rp-console__body {
    min-height: 420px;
}

.rp-dev .rp-bars {
    height: 170px;
}

/* ---------- Workflow ---------- */
.rp-flow {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    counter-reset: step;
    position: relative;
}

    .rp-flow li {
        position: relative;
        padding: 0 20px 0 0;
        counter-increment: step;
    }

        .rp-flow li::before {
            content: counter(step);
            display: grid;
            place-items: center;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            margin-bottom: 18px;
            position: relative;
            z-index: 1;
            background: var(--rp-navy);
            color: #fff;
            font: 700 18px/1 var(--rp-display);
        }

[data-theme="dark"] .rp-flow li::before {
    background: var(--rp-gold);
    color: var(--rp-on-gold);
}

.rp-flow li::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 44px;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--rp-line-strong) 0 6px, transparent 6px 12px);
}

.rp-flow li:last-child::after {
    display: none;
}

.rp-flow li:first-child::before {
    background: var(--rp-gold);
    color: var(--rp-on-gold);
}

.rp-flow h3 {
    font-size: 19px;
    margin-bottom: 6px;
}

.rp-flow p {
    color: var(--rp-muted);
    font-size: 15.5px;
}

/* ---------- AI ---------- */
.rp-ai {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 64px;
    align-items: start;
}

.rp-ai__intro p {
    color: var(--rp-muted);
    font-size: 18px;
    margin-top: 16px;
}

.rp-ai__note {
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: 10px;
    background: var(--rp-blue-soft);
    color: var(--rp-text);
    font-size: 15.5px;
}

.rp-ai__list li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--rp-line);
}

    .rp-ai__list li:last-child {
        border-bottom: 1px solid var(--rp-line);
    }

.rp-ai__glyph {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--rp-navy);
    color: var(--rp-gold);
}

[data-theme="dark"] .rp-ai__glyph {
    background: var(--rp-surface-2);
}

.rp-ai__list h3 {
    font-size: 19px;
    margin-bottom: 4px;
}

.rp-ai__list p {
    color: var(--rp-muted);
}

/* ---------- Integrations & scale ---------- */
.rp-int {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 64px;
}

.rp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

    .rp-chips li {
        padding: 10px 16px;
        border-radius: 10px;
        background: var(--rp-surface);
        border: 1px solid var(--rp-line);
        font-weight: 500;
        color: var(--rp-ink);
        font-size: 15.5px;
    }

.rp-sec--alt .rp-chips li {
    background: var(--rp-bg);
}

.rp-scale h3 {
    margin-bottom: 16px;
}

.rp-scale li {
    padding: 14px 0 14px 34px;
    border-top: 1px solid var(--rp-line);
    position: relative;
}

    .rp-scale li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 18px;
        width: 18px;
        height: 14px;
        background: linear-gradient(var(--rp-blue) 0 0) 0 100%/4px 6px no-repeat, linear-gradient(var(--rp-blue) 0 0) 7px 100%/4px 10px no-repeat, linear-gradient(var(--rp-gold) 0 0) 14px 100%/4px 14px no-repeat;
    }

/* ---------- Security / accessibility / administration ---------- */
.rp-trio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.rp-trio__col {
    border-top: 3px solid var(--rp-ink);
    padding-top: 20px;
}

    .rp-trio__col:nth-child(2) {
        border-top-color: var(--rp-blue);
    }

    .rp-trio__col:nth-child(3) {
        border-top-color: var(--rp-gold);
    }

    .rp-trio__col h3 {
        margin-bottom: 14px;
    }

    .rp-trio__col li {
        padding: 9px 0;
        border-bottom: 1px solid var(--rp-line);
        font-size: 16px;
    }

/* ---------- FAQ ---------- */
.rp-faq {
    max-width: 860px;
}

    .rp-faq details {
        border-bottom: 1px solid var(--rp-line);
    }

        .rp-faq details:first-child {
            border-top: 1px solid var(--rp-line);
        }

    .rp-faq summary {
        list-style: none;
        cursor: pointer;
        padding: 22px 48px 22px 0;
        position: relative;
        font: 600 19px/1.35 var(--rp-display);
        color: var(--rp-ink);
        letter-spacing: -0.01em;
    }

        .rp-faq summary::-webkit-details-marker {
            display: none;
        }

        .rp-faq summary::after {
            content: "";
            position: absolute;
            right: 8px;
            top: 50%;
            width: 14px;
            height: 14px;
            margin-top: -9px;
            border-right: 2px solid var(--rp-muted);
            border-bottom: 2px solid var(--rp-muted);
            transform: rotate(45deg);
            transition: transform .2s ease;
        }

    .rp-faq details[open] summary::after {
        transform: rotate(-135deg);
        margin-top: -2px;
    }

    .rp-faq details p {
        padding: 0 48px 24px 0;
        color: var(--rp-text);
        font-size: 17.5px;
        max-width: 70ch;
    }

/* ---------- Enquiry band ---------- */
.rp-enq {
    background: var(--rp-navy);
    color: #D7E0F2;
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .rp-enq {
    background: #050E22;
}

.rp-enq::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -140px;
    background: var(--rp-gold);
    border-radius: 48px;
    transform: rotate(14deg);
    opacity: .95;
}

.rp-enq__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: start;
    position: relative;
}

.rp-enq h2 {
    color: #fff;
}

.rp-enq__intro > p {
    font-size: 19px;
    margin: 18px 0 32px;
    color: #C3CFE8;
    max-width: 52ch;
}

.rp-next {
    counter-reset: nx;
    margin-bottom: 32px;
}

    .rp-next li {
        counter-increment: nx;
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 14px;
        padding: 14px 0;
        border-top: 1px solid rgba(255,255,255,.12);
    }

        .rp-next li::before {
            content: counter(nx);
            width: 32px;
            height: 32px;
            border-radius: 9px;
            display: grid;
            place-items: center;
            background: rgba(255,255,255,.1);
            color: var(--rp-gold);
            font: 700 15px var(--rp-display);
        }

    .rp-next b {
        color: #fff;
        display: block;
        font-weight: 600;
    }

    .rp-next span {
        font-size: 15.5px;
        color: #B6C3DE;
    }

.rp-enq__contact {
    font-size: 16px;
}

    .rp-enq__contact a {
        color: #fff;
        font-weight: 600;
    }

/* ---------- Form ---------- */
.rp-form {
    background: var(--rp-surface);
    color: var(--rp-text);
    border-radius: 18px;
    padding: 36px;
    box-shadow: var(--rp-shadow-lg);
    border: 1px solid var(--rp-line);
}

    .rp-form h3 {
        font-size: 24px;
        margin-bottom: 6px;
    }

.rp-form__sub {
    color: var(--rp-muted);
    font-size: 15.5px;
    margin-bottom: 22px;
}

.rp-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
}

.rp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.rp-field--full {
    grid-column: 1 / -1;
}

.rp-field label {
    font-size: 15px;
    font-weight: 600;
    color: var(--rp-ink);
    margin: 0;
}

    .rp-field label .rp-opt {
        font-weight: 400;
        color: var(--rp-muted);
    }

    .rp-field label .rp-req {
        color: var(--rp-bad);
        margin-left: 2px;
    }

.rp .rp-input {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1.5px solid var(--rp-line-strong);
    border-radius: 10px;
    background: var(--rp-bg);
    color: var(--rp-ink);
    font: 400 16px/1.4 var(--rp-font);
    box-shadow: none;
    transition: border-color .15s ease, background-color .15s ease;
}

    .rp .rp-input::placeholder {
        color: var(--rp-muted);
        opacity: .8;
    }

    .rp .rp-input:hover {
        border-color: var(--rp-muted);
    }

    .rp .rp-input:focus {
        outline: none;
        border-color: var(--rp-blue);
        background: var(--rp-surface);
        box-shadow: 0 0 0 4px var(--rp-blue-soft);
    }

.rp textarea.rp-input {
    min-height: 116px;
    resize: vertical;
}

.rp .rp-input[readonly] {
    background: var(--rp-surface-2);
    border-style: dashed;
    color: var(--rp-ink);
    font-weight: 600;
    cursor: default;
}

.rp .rp-input[aria-invalid="true"] {
    border-color: var(--rp-bad);
}

.rp-err {
    font-size: 14px;
    color: var(--rp-bad);
    font-weight: 500;
    min-height: 0;
}

    .rp-err:empty {
        display: none;
    }

.rp-hint {
    font-size: 13.5px;
    color: var(--rp-muted);
}

.rp-count {
    font-size: 13px;
    color: var(--rp-muted);
    align-self: flex-end;
    margin-top: -2px;
}

    .rp-count.is-over {
        color: var(--rp-bad);
    }

.rp-captcha {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .rp-captcha img {
        height: 48px;
        width: 160px;
        border-radius: 10px;
        border: 1px solid var(--rp-line);
        background: #fff;
    }

.rp-captcha__refresh {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 10px;
    border: 1px solid var(--rp-line-strong);
    background: transparent;
    color: var(--rp-ink);
    cursor: pointer;
    display: grid;
    place-items: center;
}

    .rp-captcha__refresh:hover {
        background: var(--rp-surface-2);
    }

.rp-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.rp-form__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
}

    .rp-form__foot .rp-btn {
        min-width: 200px;
    }

.rp-form__privacy {
    font-size: 13.5px;
    color: var(--rp-muted);
    max-width: 34ch;
    margin: 0;
}

.rp-chip-product {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--rp-surface-2);
}

    .rp-chip-product span {
        font-weight: 600;
        color: var(--rp-ink);
    }

.rp select.rp-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' stroke='%235A6478' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding-right: 36px;
}

.rp-alert {
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 20px;
    font-size: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.rp-alert--error {
    background: color-mix(in srgb, var(--rp-bad) 10%, transparent);
    color: var(--rp-ink);
    border: 1px solid color-mix(in srgb, var(--rp-bad) 40%, transparent);
}

.rp-alert--ok {
    background: color-mix(in srgb, var(--rp-good) 10%, transparent);
    color: var(--rp-ink);
    border: 1px solid color-mix(in srgb, var(--rp-good) 40%, transparent);
}

.rp-done {
    text-align: left;
}

.rp-done__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--rp-gold);
    color: var(--rp-on-gold);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.rp-done__h {
    font-size: 26px;
    margin-bottom: 10px;
}

.rp-form__h {
    font-size: 24px;
    margin-bottom: 6px;
}

.rp-done__next {
    font-weight: 700;
    color: var(--rp-ink);
    margin-bottom: 6px !important;
}

.rp-done__ref {
    display: inline-block;
    margin: 8px 0 18px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--rp-surface-2);
    font-weight: 700;
    color: var(--rp-ink);
    letter-spacing: .02em;
}

.rp-done ol {
    margin: 0 0 24px;
    padding-left: 20px;
    color: var(--rp-text);
    list-style: decimal;
}

    .rp-done ol li {
        padding: 4px 0;
    }

/* ---------- Related products & product cards ---------- */
.rp-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.rp-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--rp-surface);
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    padding: 26px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .rp-card:hover {
        border-color: var(--rp-line-strong);
        box-shadow: var(--rp-shadow);
    }

.rp-sec--alt .rp-card {
    background: var(--rp-bg);
}

.rp-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rp-card__icon {
    width: 30px;
    height: 30px;
    color: var(--rp-muted);
}

.rp-card h3 {
    font-size: 22px;
}

    .rp-card h3 a {
        color: var(--rp-ink);
        text-decoration: none !important;
    }

        .rp-card h3 a::after {
            content: "";
            position: absolute;
            inset: 0;
        }

.rp-card__cat {
    font-size: 13.5px;
    color: var(--rp-muted);
}

.rp-card p {
    color: var(--rp-muted);
    font-size: 16px;
}

.rp-card ul {
    border-top: 1px solid var(--rp-line);
    padding-top: 12px;
    flex: 1;
}

.rp-card li {
    font-size: 15px;
    padding: 4px 0 4px 18px;
    position: relative;
    color: var(--rp-text);
}

    .rp-card li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 13px;
        width: 8px;
        height: 2px;
        background: var(--rp-org);
    }

.rp-card__act {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
}

    .rp-card__act .rp-btn {
        flex: 1;
    }

.rp-card__body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ---------- Overview page ---------- */
.rp-ohero {
    padding: 64px 0 56px;
}

.rp-ohero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 56px;
    align-items: end;
}

.rp-ohero h1 {
    margin-bottom: 22px;
    font-size: clamp(34px, 4.4vw, 54px);
}

.rp-suite {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

    .rp-suite a {
        aspect-ratio: 1;
        border-radius: 12px;
        display: grid;
        place-items: center;
        text-align: center;
        background: var(--rp-surface);
        border: 1px solid var(--rp-line);
        color: var(--rp-ink) !important;
        font: 800 15px/1 var(--rp-display);
        letter-spacing: -0.03em;
        text-decoration: none !important;
        transition: background-color .2s ease, color .2s ease, transform .2s ease;
    }

        .rp-suite a b {
            font-weight: 500;
            font-style: italic;
        }

        .rp-suite a:hover, .rp-suite a:focus-visible {
            background: var(--rp-gold);
            color: var(--rp-on-gold) !important;
            border-color: var(--rp-gold);
        }

        .rp-suite a:nth-child(1) {
            background: var(--rp-gold);
            color: var(--rp-on-gold) !important;
            border-color: var(--rp-gold);
        }

@media (prefers-reduced-motion: no-preference) {
    .js .rp-suite a {
        animation: rp-rise .5s ease both;
        animation-delay: calc(var(--i) * 45ms);
    }
}

.rp-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

    .rp-filter button {
        border: 1px solid var(--rp-line-strong);
        background: transparent;
        color: var(--rp-text);
        padding: 9px 16px;
        border-radius: 999px;
        font: 500 15px var(--rp-font);
        cursor: pointer;
    }

        .rp-filter button:hover {
            border-color: var(--rp-ink);
            color: var(--rp-ink);
        }

        .rp-filter button[aria-pressed="true"] {
            background: var(--rp-ink);
            color: var(--rp-bg);
            border-color: var(--rp-ink);
        }

.rp-filter__count {
    margin-left: auto;
    align-self: center;
    color: var(--rp-muted);
    font-size: 15px;
}

.rp-card[hidden] {
    display: none;
}

.rp-why {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
}

    .rp-why h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .rp-why p {
        color: var(--rp-muted);
        font-size: 16px;
    }

    .rp-why > div::before {
        content: "";
        display: block;
        width: 36px;
        height: 4px;
        background: var(--rp-gold);
        border-radius: 2px;
        margin-bottom: 18px;
    }

.rp-band {
    background: var(--rp-gold);
    color: var(--rp-on-gold);
    border-radius: 22px;
    padding: 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
}

    .rp-band h2 {
        color: var(--rp-on-gold);
        font-size: clamp(26px, 3vw, 36px);
    }

    .rp-band p {
        margin-top: 10px;
        font-size: 18px;
        max-width: 56ch;
    }

    .rp-band .rp-btn--primary {
        background: var(--rp-navy);
        color: #fff !important;
    }

        .rp-band .rp-btn--primary:hover {
            background: #000;
        }

    .rp-band .rp-btn--secondary {
        border-color: rgba(14,35,80,.4);
        color: var(--rp-on-gold) !important;
    }

/* ---------- Footer ---------- */
.rp-footer {
    background: var(--rp-navy);
    color: #B6C3DE;
    padding: 64px 0 0;
    font-size: 15.5px;
}

[data-theme="dark"] .rp-footer {
    background: #050E22;
    border-top: 1px solid var(--rp-line);
}

.rp-footer a {
    color: #E2E8F5;
}

.rp-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
    gap: 32px;
    padding-bottom: 48px;
}

.rp-footer__brand img {
    background: #fff;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 16px;
}

.rp-footer__brand p {
    max-width: 34ch;
}

.rp-footer__contact {
    margin-top: 12px;
    line-height: 1.9;
}

.rp-footer__h {
    font-family: var(--rp-font) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 12px !important;
    letter-spacing: 0 !important;
}

.rp-footer li {
    padding: 4px 0;
}

.rp-footer__base {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 22px;
    padding-bottom: 28px;
    font-size: 14.5px;
}

    .rp-footer__base p {
        margin: 0;
    }

    .rp-footer__base a + a {
        margin-left: 18px;
    }

.rp-fab {
    display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .rp-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .rp-hero__stage {
        max-width: 760px;
    }

    .rp-mods {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 36px 0;
    }

        .rp-flow li:nth-child(3)::after {
            display: none;
        }

    .rp-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-footer__brand {
        grid-column: 1 / -1;
    }

    .rp-why {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-ohero__grid {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .rp-suite {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    :root {
        --rp-header-h: 64px;
    }

    .rp-sec {
        padding: 72px 0;
    }

    .rp-nav {
        justify-content: flex-end;
        order: 3;
        flex: none;
    }

    .rp-nav__toggle {
        display: inline-grid;
        place-items: center;
    }

    .rp-nav__menu {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: var(--rp-header-h);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 16px 20px;
        background: var(--rp-surface);
        border-bottom: 1px solid var(--rp-line);
        box-shadow: var(--rp-shadow-lg);
        max-height: calc(100vh - var(--rp-header-h));
        overflow-y: auto;
    }

    .rp-nav__toggle[aria-expanded="true"] + .rp-nav__menu {
        display: flex;
    }

    .rp-nav__link {
        justify-content: space-between;
        padding: 14px 8px;
    }

    .rp-mega__panel {
        position: static;
        transform: none;
        width: auto;
        box-shadow: none;
        border: 0;
        padding: 0 0 8px;
    }

    .rp-mega__list {
        grid-template-columns: 1fr;
    }

    .rp-header__inner {
        gap: 12px;
    }

    .rp-header__actions {
        margin-left: auto;
    }

        .rp-header__actions .rp-btn {
            display: none;
        }

    .rp-ov, .rp-fx, .rp-matrix-wrap, .rp-ai, .rp-int, .rp-enq__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .rp-fx__tabs {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        gap: 6px;
        margin: 0 -24px;
        padding: 0 24px 4px;
    }

    .rp-fx__tab {
        flex: none;
        border-left: 0;
        border-bottom: 3px solid transparent;
        padding: 10px 14px;
        font-size: 16px;
    }

        .rp-fx__tab small {
            display: none;
        }

        .rp-fx__tab[aria-selected="true"] {
            border-bottom-color: var(--rp-gold);
        }

    .rp-roles, .rp-cards, .rp-eds, .rp-bens, .rp-trio {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-case {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .rp-band {
        grid-template-columns: minmax(0, 1fr);
        padding: 36px;
    }

    .rp-fab {
        display: flex;
        position: fixed;
        z-index: 95;
        left: 16px;
        right: 16px;
        bottom: 16px;
        min-height: 52px;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: var(--rp-gold);
        color: var(--rp-on-gold) !important;
        font-weight: 700;
        font-size: 17px;
        box-shadow: 0 10px 30px -8px rgba(14,35,80,.5);
        text-decoration: none !important;
        transition: transform .25s ease, opacity .25s ease;
    }

        .rp-fab.is-hidden {
            transform: translateY(120%);
            opacity: 0;
            pointer-events: none;
        }

    .rp-footer {
        padding-bottom: 76px;
    }
}

@media (max-width: 640px) {
    .rp {
        font-size: 16px;
    }

    body.rp-body {
        font-size: 16px;
    }

    .rp-wrap {
        padding: 0 18px;
    }

    .rp-sec {
        padding: 56px 0;
    }

    .rp-sec__head {
        margin-bottom: 32px;
    }

        .rp-sec__head p, .rp-lede {
            font-size: 17.5px;
        }

    .rp-brand__sub {
        display: none;
    }

    .rp-hero {
        padding: 28px 0 56px;
    }

    .rp-hero__id .rp-mark--lg {
        font-size: 18px;
        height: 44px;
        padding: 0 12px;
    }

    .rp-hero__id > span:last-child {
        flex: 1 1 200px;
    }

    .rp-fab {
        left: 18px;
        right: 18px;
    }

    .rp-hero__stage {
        padding: 16px 0 16px 16px;
    }

    .rp-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .rp-facts dt {
            font-size: 26px;
        }

    .rp-hero__cta .rp-btn {
        flex: 1;
    }

    .rp-checks, .rp-roles, .rp-cards, .rp-eds, .rp-bens, .rp-trio, .rp-mods, .rp-why {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-bens {
        gap: 32px;
    }

    .rp-flow {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

        .rp-flow li {
            display: grid;
            grid-template-columns: 44px minmax(0, 1fr);
            column-gap: 16px;
            padding: 0 0 28px;
        }

            .rp-flow li::before {
                margin: 0;
                grid-row: span 2;
            }

            .rp-flow li::after {
                top: 44px;
                bottom: 0;
                left: 21px;
                right: auto;
                width: 2px;
                height: auto;
                background: repeating-linear-gradient(180deg, var(--rp-line-strong) 0 6px, transparent 6px 12px);
                display: block;
            }

            .rp-flow li:last-child::after {
                display: none;
            }

    .rp-fx__tabs {
        margin: 0 -18px;
        padding: 0 18px 4px;
    }

    .rp-fx__panel {
        padding: 24px;
    }

        .rp-fx__panel h3 {
            font-size: 22px;
        }

    .rp-form {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .rp-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-form__foot .rp-btn {
        width: 100%;
    }

    .rp-enq {
        padding: 64px 0;
    }

        .rp-enq::before {
            width: 240px;
            height: 240px;
            right: -110px;
            top: -90px;
        }

    .rp-faq summary {
        font-size: 17.5px;
    }

    .rp-suite {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .rp-filter__count {
        width: 100%;
        margin: 4px 0 0;
    }

    .rp-dev__stage {
        padding: 20px 10px;
        border-radius: 16px;
    }

    .rp-dev__switch {
        display: flex;
        width: 100%;
    }

        .rp-dev__switch button {
            flex: 1;
            justify-content: center;
            padding: 9px 8px;
        }

    .rp-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .rp-band {
        padding: 28px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .rp *, .rp *::before, .rp *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media print {
    .rp-header, .rp-subnav, .rp-fab, .rp-enq, .rp-footer__grid, .rp-dev__switch {
        display: none !important;
    }

    .js .rp-fx__panel[hidden] {
        display: block !important;
    }

    body.rp-body {
        background: #fff;
        color: #000;
    }
}

/* ---------- Additions ---------- */
.rp-hero__name {
    display: block;
    font-family: var(--rp-font);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--rp-org-deep);
    margin-bottom: 14px;
    line-height: 1.3;
}

[data-theme="dark"] .rp-hero__name {
    color: var(--rp-gold);
}

.rp-card {
    position: relative;
}

.rp-enq .rp-crumbs li + li::before {
    color: rgba(255,255,255,.35);
}

.rp-alert[hidden] {
    display: none;
}

.rp-enq .rp-form .rp-form__h, .rp-enq .rp-form .rp-done__h {
    color: var(--rp-ink);
}

/* ---------- Main-site navigation mirror (product.master) ---------- */
.rp-topbar {
    background: var(--rp-navy);
    color: #C9D4EC;
    font-size: 13.5px;
}

[data-theme="dark"] .rp-topbar {
    background: #050E22;
}

.rp-topbar__inner {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    height: 34px;
    align-items: center;
}

.rp-topbar a {
    color: #E2E8F5 !important;
}

.rp-dd {
    position: relative;
}

.rp-dd__panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    padding: 8px;
    display: none;
    z-index: 110;
    background: var(--rp-surface);
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    box-shadow: var(--rp-shadow-lg);
}

.rp-dd__btn[aria-expanded="true"] + .rp-dd__panel {
    display: block;
}

.rp-dd__panel li a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--rp-text);
    font-size: 15px;
    text-decoration: none !important;
}

    .rp-dd__panel li a:hover {
        background: var(--rp-surface-2);
        color: var(--rp-ink);
    }

.rp-mega.rp-dd .rp-mega__panel {
    left: 50%;
    transform: translateX(-50%);
}

.rp-dd.is-current > .rp-dd__btn {
    box-shadow: inset 0 -2px 0 var(--rp-gold);
    border-radius: 8px 8px 0 0;
}

.rp-nav__menu {
    gap: 0;
}

.rp-nav__link {
    padding: 10px 11px;
    font-size: 15.5px;
}

.rp-footer__grid {
    grid-template-columns: minmax(0, 1.3fr) repeat(5, minmax(0, 1fr));
}

@media (max-width: 1180px) {
    .rp-nav {
        justify-content: flex-end;
        order: 3;
        flex: none;
    }

    .rp-nav__toggle {
        display: inline-grid;
        place-items: center;
    }

    .rp-nav__menu {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: var(--rp-header-h);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 16px 20px;
        background: var(--rp-surface);
        border-bottom: 1px solid var(--rp-line);
        box-shadow: var(--rp-shadow-lg);
        max-height: calc(100vh - var(--rp-header-h));
        overflow-y: auto;
    }

    .rp-nav__toggle[aria-expanded="true"] + .rp-nav__menu {
        display: flex;
    }

    .rp-nav__link {
        justify-content: space-between;
        padding: 14px 8px;
        width: 100%;
    }

    .rp-dd__panel, .rp-mega.rp-dd .rp-mega__panel {
        position: static;
        transform: none;
        width: auto;
        min-width: 0;
        box-shadow: none;
        border: 0;
        padding: 0 0 8px 8px;
    }

    .rp-mega__list {
        grid-template-columns: 1fr;
    }

    .rp-header__actions {
        margin-left: auto;
    }

    .rp-header__inner {
        position: relative;
    }

    .rp-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .rp-topbar__inner {
        justify-content: center;
        gap: 16px;
        font-size: 12.5px;
    }

    .rp-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =====================================================================
   Visual upgrade (Nov 2026): hero banner, imagery, icons, cards
   ===================================================================== */

/* ---------- Icon tiles ---------- */
.rp-ico {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    padding: 11px;
    background: var(--rp-blue-soft);
    color: var(--rp-link);
}

    .rp-ico svg {
        width: 100%;
        height: 100%;
        display: block;
    }

.rp-ico--xs {
    width: 26px;
    height: 26px;
    padding: 5px;
    border-radius: 7px;
}

.rp-ico--sm {
    width: 38px;
    height: 38px;
    padding: 8px;
    border-radius: 10px;
}

.rp-ico--lg {
    width: 56px;
    height: 56px;
    padding: 13px;
    border-radius: 14px;
}

.rp-ico--navy {
    background: var(--rp-navy);
    color: var(--rp-gold);
}

.rp-ico--gold {
    background: var(--rp-gold);
    color: var(--rp-navy);
}

[data-theme="dark"] .rp-ico--navy {
    background: var(--rp-surface-2);
}

/* ---------- Theme-matched images ---------- */
.rp-only-dark {
    display: none !important;
}

[data-theme="dark"] .rp-only-dark {
    display: block !important;
}

[data-theme="dark"] .rp-only-light {
    display: none !important;
}

/* ---------- Hero banner ---------- */
.rp-hero2 {
    position: relative;
    background: var(--rp-hero-bg, #0E2350);
    color: #D7E0F2;
    overflow: hidden;
    min-height: 640px;
    display: flex;
}

.rp-hero2__media {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 52%;
}

    .rp-hero2__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: right center;
        display: block;
    }

.rp-hero2::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 48%;
    width: 10%;
    background: linear-gradient(90deg, var(--rp-hero-bg, #0E2350), rgba(14,35,80,0));
    pointer-events: none;
}

[data-theme="dark"] .rp-hero2 {
    --rp-hero-bg: #071230;
}

[data-theme="dark"] .rp-hero2__media img {
    opacity: .92;
}

.rp-hero2__inner {
    position: relative;
    z-index: 1;
    padding-top: 36px;
    padding-bottom: 72px;
}

.rp-hero2__copy {
    max-width: min(560px, 46vw);
    position: relative;
    z-index: 2;
}

.rp-hero2 h1 {
    color: #fff;
    font-size: clamp(34px, 3.5vw, 50px);
    margin-bottom: 22px;
}

.rp-hero2 .rp-hero__name {
    color: var(--rp-gold);
}

.rp-hero2 .rp-lede {
    color: #C9D4EC;
    margin-bottom: 30px;
}

.rp-hero2 .rp-hero__id strong {
    color: #fff;
}

.rp-hero2 .rp-hero__id > span:last-child {
    color: #9FB0D3;
}

.rp-hero2 .rp-facts {
    border-top-color: rgba(255,255,255,.16);
}

    .rp-hero2 .rp-facts dt {
        color: #fff;
    }

    .rp-hero2 .rp-facts dd {
        color: #9FB0D3;
    }

.rp-crumbs--onnavy a, .rp-crumbs--onnavy {
    color: #9FB0D3 !important;
}

    .rp-crumbs--onnavy [aria-current] {
        color: #fff;
    }

    .rp-crumbs--onnavy li + li::before {
        color: rgba(255,255,255,.3);
    }

@media (prefers-reduced-motion: no-preference) {
    .js .rp-hero2__copy {
        animation: rp-rise .7s ease both;
    }

    .js .rp-hero2__media img {
        animation: rp-heroin 1.1s cubic-bezier(.2,.8,.2,1) both;
    }
}

@keyframes rp-heroin {
    from {
        opacity: 0;
        transform: translateX(40px) scale(1.02);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Image frames ---------- */
.rp-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 64px;
    align-items: center;
}

.rp-split--flow {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
}

.rp-shot {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--rp-line);
    box-shadow: var(--rp-shadow-lg);
    background: var(--rp-surface);
}

.rp-shot__img {
    display: block;
    width: 100%;
    height: auto;
}

.rp-shot--tilt {
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
    transform-origin: left center;
}

.rp-ov__text h2 {
    margin-bottom: 22px;
}

.rp-glance2 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 56px;
}

    .rp-glance2 li {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        padding: 20px;
        border-radius: 16px;
        background: var(--rp-surface);
        border: 1px solid var(--rp-line);
    }

    .rp-glance2 span:not(.rp-ico) {
        display: block;
        font-size: 14px;
        color: var(--rp-muted);
    }

    .rp-glance2 strong {
        display: block;
        color: var(--rp-ink);
        font-weight: 600;
        font-size: 16px;
        line-height: 1.35;
        margin-top: 2px;
    }

/* ---------- Feature explorer with icons ---------- */
.rp-fx__tab {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

    .rp-fx__tab .rp-ico {
        background: var(--rp-surface-2);
        color: var(--rp-muted);
    }

    .rp-fx__tab[aria-selected="true"] .rp-ico {
        background: var(--rp-gold);
        color: var(--rp-navy);
    }

.rp-fx__head {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--rp-line);
}

    .rp-fx__head h3 {
        font-size: 26px;
        margin-bottom: 6px;
    }

    .rp-fx__head p {
        color: var(--rp-muted);
        font-size: 17px;
    }

/* ---------- Roles with avatars ---------- */
.rp-role {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.rp-avatar {
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font: 700 15px var(--rp-font);
}

.rp-avatar--0 {
    background: #1E56D8;
}

.rp-avatar--1 {
    background: #E67817;
}

.rp-avatar--2 {
    background: #13795B;
}

.rp-avatar--3 {
    background: #7A4FD6;
}

.rp-avatar--4 {
    background: #0E8FA8;
}

.rp-avatar--5 {
    background: #0E2350;
}

[data-theme="dark"] .rp-avatar--5 {
    background: #3D63C9;
}

/* ---------- Module cards ---------- */
.rp-mods2 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 64px;
}

    .rp-mods2 li {
        padding: 22px;
        border-radius: 16px;
        background: var(--rp-bg);
        border: 1px solid var(--rp-line);
    }

.rp-sec:not(.rp-sec--alt) .rp-mods2 li {
    background: var(--rp-surface);
}

.rp-mods2 h3 {
    font-size: 18px;
    margin: 16px 0 6px;
}

.rp-mods2 p {
    color: var(--rp-muted);
    font-size: 15.5px;
}

/* ---------- Benefits ---------- */
.rp-bens2 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.rp-ben2 {
    padding: 28px;
    border-radius: 18px;
    background: var(--rp-surface);
    border: 1px solid var(--rp-line);
}

    .rp-ben2:first-child {
        background: var(--rp-navy);
        border-color: var(--rp-navy);
    }

        .rp-ben2:first-child h3 {
            color: #fff;
        }

        .rp-ben2:first-child p {
            color: #C3CFE8;
        }

    .rp-ben2 h3 {
        font-size: 21px;
        margin: 18px 0 8px;
    }

    .rp-ben2 p {
        color: var(--rp-muted);
    }

/* ---------- Industry cards ---------- */
.rp-cases2 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.rp-case2 {
    padding: 26px;
    border-radius: 18px;
    background: var(--rp-bg);
    border: 1px solid var(--rp-line);
    border-top: 4px solid var(--rp-blue);
}

    .rp-case2:nth-child(3n+2) {
        border-top-color: var(--rp-gold);
    }

    .rp-case2:nth-child(3n) {
        border-top-color: var(--rp-org);
    }

    .rp-case2 h3 {
        font-size: 20px;
        margin: 16px 0 8px;
    }

    .rp-case2 p {
        color: var(--rp-text);
        font-size: 16.5px;
    }

/* ---------- Dashboard gallery ---------- */
.rp-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 72px;
}

.rp-browser {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--rp-line);
    box-shadow: var(--rp-shadow-lg);
    background: var(--rp-surface);
}

.rp-browser__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--rp-surface-2);
    border-bottom: 1px solid var(--rp-line);
}

    .rp-browser__bar i {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--rp-line-strong);
        display: block;
    }

    .rp-browser__bar span {
        margin-left: 10px;
        font-size: 12.5px;
        color: var(--rp-muted);
        background: var(--rp-surface);
        padding: 3px 10px;
        border-radius: 6px;
    }

.rp-browser__img {
    display: block;
    width: 100%;
    height: auto;
}

.rp-callouts {
    counter-reset: co;
    display: grid;
    gap: 4px;
}

    .rp-callouts li {
        counter-increment: co;
        position: relative;
        padding: 16px 0 16px 48px;
        border-bottom: 1px solid var(--rp-line);
    }

        .rp-callouts li::before {
            content: counter(co);
            position: absolute;
            left: 0;
            top: 16px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background: var(--rp-gold);
            color: var(--rp-navy);
            font: 700 15px var(--rp-display);
        }

    .rp-callouts b {
        display: block;
        color: var(--rp-ink);
        font-size: 17px;
    }

    .rp-callouts span {
        color: var(--rp-muted);
        font-size: 15.5px;
    }

.rp-dev__h {
    font-size: 22px;
    margin-bottom: 16px;
}

/* ---------- Workflow ---------- */
.rp-steps {
    counter-reset: st;
    display: grid;
    gap: 0;
}

    .rp-steps li {
        counter-increment: st;
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 16px;
        padding: 16px 0;
        border-bottom: 1px solid var(--rp-line);
    }

    .rp-steps h3 {
        font-size: 18px;
        margin-bottom: 2px;
    }

        .rp-steps h3::before {
            content: counter(st) ". ";
            color: var(--rp-org-deep);
        }

[data-theme="dark"] .rp-steps h3::before {
    color: var(--rp-gold);
}

.rp-steps p {
    color: var(--rp-muted);
    font-size: 15.5px;
}

/* ---------- AI assistant mock ---------- */
.rp-aimock {
    margin-top: 28px;
    padding: 20px;
    border-radius: 18px;
    background: var(--rp-navy);
    display: grid;
    gap: 12px;
    box-shadow: var(--rp-shadow-lg);
}

[data-theme="dark"] .rp-aimock {
    background: var(--rp-surface-2);
}

.rp-aimock__q {
    justify-self: end;
    max-width: 85%;
    background: var(--rp-blue);
    color: #fff;
    padding: 12px 16px;
    border-radius: 16px 16px 4px 16px;
    font-size: 15.5px;
}

.rp-aimock__a {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 92%;
    background: #fff;
    color: #2A3550;
    padding: 14px 16px;
    border-radius: 16px 16px 16px 4px;
}

    .rp-aimock__a b {
        display: block;
        color: #0E2350;
        font-size: 15.5px;
    }

    .rp-aimock__a span:not(.rp-ico) {
        font-size: 14.5px;
        color: #5A6478;
    }

/* ---------- Integrations ---------- */
.rp-chips2 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

    .rp-chips2 li {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 8px 14px 8px 8px;
        border-radius: 12px;
        background: var(--rp-surface);
        border: 1px solid var(--rp-line);
        font-weight: 500;
        color: var(--rp-ink);
        font-size: 15.5px;
    }

.rp-sec--alt .rp-chips2 li {
    background: var(--rp-bg);
}

/* ---------- Security trio icons ---------- */
.rp-trio__col > .rp-ico {
    margin-bottom: 14px;
}

/* ---------- Cards with images ---------- */
.rp-card--img {
    padding: 0;
    overflow: hidden;
}

    .rp-card--img > :not(.rp-card__media) {
        margin-left: 24px;
        margin-right: 24px;
    }

    .rp-card--img > :last-child {
        margin-bottom: 24px;
    }

.rp-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--rp-surface-2);
}

    .rp-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .4s ease;
    }

.rp-card--img:hover .rp-card__media img {
    transform: scale(1.03);
}

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

    .rp-mods2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-glance2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .rp-split, .rp-split--flow {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .rp-shot--tilt {
        transform: none;
    }

    .rp-bens2, .rp-cases2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .rp-bens2, .rp-cases2, .rp-mods2, .rp-glance2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-fx__tab .rp-ico {
        display: none;
    }

    .rp-fx__head .rp-ico {
        width: 44px;
        height: 44px;
        padding: 10px;
    }

    .rp-fx__head h3 {
        font-size: 21px;
    }
}

@media (max-width: 1100px) {
    .rp-hero2 {
        flex-direction: column;
        min-height: 0;
    }

        .rp-hero2::after {
            display: none;
        }

    .rp-hero2__media {
        position: relative;
        order: 2;
        inset: auto;
        width: 100%;
    }

        .rp-hero2__media img {
            height: auto;
        }

    .rp-hero2__inner {
        padding-bottom: 32px;
    }

    .rp-hero2__copy {
        max-width: 680px;
    }
}

.rp-card--img .rp-card__top {
    display: none;
}

.rp-card--img .rp-card__body {
    margin-top: 20px;
}

.rp-browser__bar span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* =====================================================================
   12.7  Official product logos + minimal product navigation (Nov 2026)
   ===================================================================== */

/* ---------- Logo plate: supplied PNGs (3:2) on white so navy wordmarks stay legible in dark mode ---------- */
.rp-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    aspect-ratio: 3 / 2;
    background: #fff;
    border: 1px solid #E3E8F2;
    border-radius: 10px;
    padding: 3px 5px;
    box-sizing: border-box;
    line-height: 0;
    overflow: hidden;
}

    .rp-logo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.rp-logo--xs {
    width: 54px;
    border-radius: 7px;
    padding: 1px 2px;
}

.rp-logo--sm {
    width: 84px;
}

.rp-logo--md {
    width: 120px;
}

.rp-logo--lg {
    width: 156px;
    border-radius: 12px;
    padding: 4px 8px;
}

.rp-logo--xl {
    width: 210px;
    border-radius: 14px;
    padding: 6px 10px;
}

[data-theme="dark"] .rp-logo {
    border-color: transparent;
    box-shadow: 0 0 0 1px rgba(255,255,255,.06);
}
/* Fallback when a logo file is missing: the earlier text mark */
.rp-logo--text {
    aspect-ratio: auto;
    height: auto;
    padding: 6px 10px;
    line-height: 1;
    border: 0;
    background: var(--rp-gold);
    color: var(--rp-on-gold);
    font: 800 15px var(--rp-display);
    letter-spacing: -0.03em;
}

    .rp-logo--text b {
        font-weight: 500;
        font-style: italic;
    }

/* ---------- Header: logo = main home, "Products" = the only menu ---------- */
.rp-brand {
    border-radius: 10px;
}

    .rp-brand:focus-visible {
        outline: 2px solid var(--rp-gold);
        outline-offset: 4px;
    }

.rp-mega__split {
    display: flex;
    align-items: center;
}

.rp-mega__home {
    padding-right: 4px !important;
}

.rp-mega__btn {
    padding-left: 6px !important;
    padding-right: 10px !important;
}

.rp-mega.rp-dd.is-current > .rp-mega__split {
    box-shadow: inset 0 -2px 0 var(--rp-gold);
    border-radius: 8px 8px 0 0;
}

.rp-mega.rp-dd.is-current > .rp-dd__btn {
    box-shadow: none;
}

.rp-mega.rp-dd .rp-mega__panel {
    width: 620px;
}

.rp-mega .rp-mega__list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 10px;
}

.rp-mega__all {
    color: var(--rp-link) !important;
}

/* One menu item does not need a hamburger: show "Products" inline at every width */
@media (max-width: 1180px) {
    .rp-nav {
        order: 0;
        flex: 1;
        justify-content: flex-start;
    }

    .rp-nav__toggle {
        display: none !important;
    }

    .rp-nav__menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        align-items: center;
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
        max-height: none;
        overflow: visible;
    }

    .rp-nav__link {
        width: auto;
        padding: 10px 8px;
        justify-content: flex-start;
    }

    .rp-mega.rp-dd, .rp-mega__split {
        position: static;
    }

        .rp-mega.rp-dd .rp-mega__panel {
            position: absolute;
            left: 0;
            right: 0;
            top: 100%;
            width: auto;
            transform: none;
            padding: 12px 16px 16px;
            background: var(--rp-surface);
            border: 0;
            border-bottom: 1px solid var(--rp-line);
            border-radius: 0 0 var(--rp-radius) var(--rp-radius);
            box-shadow: var(--rp-shadow-lg);
            max-height: calc(100vh - var(--rp-header-h) - 34px);
            overflow-y: auto;
        }

    .rp-mega__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .rp-mega__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-header__inner {
        gap: 8px;
    }
}

@media (max-width: 380px) {
    .rp-brand__text {
        display: none;
    }
}

/* ---------- Overview: suite of logos ---------- */
.rp-suite {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

    .rp-suite a {
        aspect-ratio: 3 / 2;
        padding: 6px;
        background: #fff;
        border: 1px solid var(--rp-line);
        border-radius: 12px;
        box-shadow: 0 1px 2px rgba(14,35,80,.06);
        transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    }

        .rp-suite a:nth-child(1) {
            background: #fff;
            border-color: var(--rp-line);
        }

        .rp-suite a:hover, .rp-suite a:focus-visible {
            background: #fff;
            border-color: var(--rp-gold);
            transform: translateY(-2px);
            box-shadow: 0 0 0 3px rgba(252,169,3,.28), 0 10px 24px -12px rgba(14,35,80,.45);
        }

[data-theme="dark"] .rp-suite a {
    border-color: transparent;
}

.rp-suite .rp-logo {
    width: 100%;
    border: 0;
    padding: 10px;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 1180px) {
    .rp-suite {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .rp-suite {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
}

/* ---------- Cards: logo plate overlaps the bottom edge of the card image ---------- */
.rp-card--img .rp-card__top.rp-card__brand {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: -52px;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.rp-card__brand .rp-logo {
    box-shadow: 0 8px 22px -10px rgba(14,35,80,.45);
    border-color: #fff;
}

.rp-card--img .rp-card__brand + .rp-card__body {
    margin-top: 4px;
}

/* ---------- Landing page hero, enquiry and form ---------- */
.rp-hero__id .rp-logo {
    box-shadow: 0 10px 30px -12px rgba(0,0,0,.55);
    border-color: #fff;
}

.rp-enq__logo {
    margin-bottom: 20px;
}

.rp-chip-product .rp-logo {
    border-color: var(--rp-line);
}

.rp-console__side .rp-logo {
    margin: 0 4px 14px;
    width: 64px;
}

@media (max-width: 640px) {
    .rp-hero__id .rp-logo--lg {
        width: 120px;
    }
}
