@layer pages {
    .ep-page {
        color: #1d1d1f;
        background: #fff;
    }

    section.rb2-section[id^="ep-"] {
        padding-block: 120px;
    }

    section[id^="ep-"] {
        scroll-margin-top: 90px;
    }

    .ep-soft {
        background: #f5f5f7;
    }

    #ep-hero .rb2-highlight {
        color: inherit;
    }

    .ep-preview-topics {
        display: none;
    }

    .ep-preview-topics button:focus-visible {
        outline: 3px solid #0071e3;
        outline-offset: 3px;
    }

    /* ── Hero (matches .rb-booking-hero) ───────────────── */
    .ep-booking-hero {
        padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
        background: #fff;
        color: #1d1d1f;
    }

    .ep-booking-hero__layout {
        display: grid;
        grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
        gap: clamp(2rem, 4vw, 4.5rem);
        align-items: center;
    }

    .ep-booking-hero__copy h1 {
        margin: 0 0 1rem;
        font-size: clamp(2.25rem, 4.2vw, 3.75rem);
        line-height: 1.07;
        letter-spacing: -0.035em;
        font-weight: 700;
        text-wrap: balance;
    }

    .ep-booking-hero__copy p {
        margin: 0 0 1.5rem;
        max-width: 38ch;
        color: #6e6e73;
        font-size: clamp(1rem, 1.5vw, 1.125rem);
        line-height: 1.6;
    }

    .ep-booking-hero__actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem 1.25rem;
    }

    .ep-booking-hero__copy a:focus-visible,
    .ep-booking-hero__copy button:focus-visible {
        outline: 3px solid #0071e3;
        outline-offset: 4px;
    }

    .ep-booking-hero__preview {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        align-items: stretch;
        margin: 0;
        overflow: hidden;
        border: 1px solid #e1e1e6;
        border-radius: 20px;
        background: #f5f5f7;
    }

    .ep-booking-hero__preview picture {
        display: contents;
    }

    .ep-booking-hero__photo {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: cover;
        object-position: center;
    }

    .ep-booking-hero__card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.75rem;
        padding: 0.9rem;
        background: #fff;
    }

    .ep-booking-hero__thumbnail {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 10px;
        background: #f5f5f7;
        border: 1px solid #e5e7eb;
    }

    .ep-booking-hero__sample-label {
        margin: 0 0 0.25rem;
        color: #6e6e73;
        font-size: 0.75rem;
    }

    .ep-booking-hero__room-name {
        margin: 0 0 0.4rem;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.25;
        color: #1d1d1f;
    }

    .ep-booking-hero__available {
        display: inline-block;
        margin: 0;
        padding: 0.2rem 0.5rem;
        border-radius: 6px;
        background: #e7f6ed;
        color: #186337;
        font-size: 0.78rem;
        font-weight: 600;
    }

    .ep-booking-hero__chips {
        display: flex;
        flex-wrap: wrap;
        gap: 0.3rem;
        margin: 0.65rem 0 0;
        padding: 0;
        list-style: none;
        font-size: 0.72rem;
    }

    .ep-booking-hero__chips li {
        padding: 0.2rem 0.4rem;
        border: 1px solid #e1e1e6;
        border-radius: 6px;
        color: #1d1d1f;
    }

    .ep-booking-hero__proof {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
        margin: clamp(1.5rem, 4vw, 3rem) 0 0;
        padding: 1.25rem 0 0;
        border-top: 1px solid #e1e1e6;
        list-style: none;
        font-weight: 600;
    }

    .ep-booking-hero__proof li {
        display: flex;
        align-items: center;
        gap: 0.65rem;
    }

    .ep-booking-hero__proof svg {
        width: 20px;
        height: 20px;
        flex: none;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.6;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    @media (max-width: 991px) {
        .ep-booking-hero__layout {
            grid-template-columns: minmax(0, 1fr);
        }

        .ep-booking-hero__copy h1 {
            max-width: 22ch;
        }
    }

    @media (max-width: 575px) {
        .ep-booking-hero__preview {
            grid-template-columns: minmax(0, 1fr);
        }

        .ep-booking-hero__photo {
            height: auto;
            aspect-ratio: 3 / 2;
        }

        .ep-booking-hero__card {
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
        }

        .ep-booking-hero__thumbnail {
            width: 30%;
        }

        .ep-booking-hero__proof {
            grid-template-columns: minmax(0, 1fr);
        }
    }

    /* ── Tabbed Space Finder (matches .rb-finder) ──────── */
    .rb-finder__head {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 32px;
    }

    .rb-finder__title {
        margin-bottom: 0;
    }

    .rb-finder__tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline proximity;
        scrollbar-width: none;
        max-width: 100%;
        padding: 4px;
    }

    .rb-finder__tabs::-webkit-scrollbar {
        display: none;
    }

    .rb-finder__tab {
        position: relative;
        flex: none;
        scroll-snap-align: start;
        border: 1px solid rgba(15, 23, 42, 0.08);
        background: #fff;
        color: #1d1d1f;
        border-radius: 999px;
        padding: 11px 20px;
        font: inherit;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }

    .rb-finder__tab:hover {
        background: #e8e8ed;
    }

    .rb-finder__tab[aria-selected="true"] {
        background: #0071e3;
        color: #fff;
        border-color: #0071e3;
    }

    .rb-finder__tab[aria-selected="true"]::after {
        content: "";
        position: absolute;
        inset: auto 22px 5px;
        border-block-end: 2px solid currentColor;
        border-radius: 2px;
    }

    .rb-finder__tab:focus-visible {
        outline: 3px solid #0071e3;
        outline-offset: 3px;
    }

    .rb-finder__panels {
        display: grid;
    }

    .rb-finder__panel {
        grid-area: 1 / 1;
        min-width: 0;
    }

    .rb-finder__card {
        display: grid;
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
        background: #fff;
        border-radius: 28px;
        overflow: hidden;
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 24px 54px -24px rgba(15, 23, 42, 0.16);
    }

    .rb-finder__media {
        margin: 0;
        position: relative;
        min-height: 440px;
        background: #e8e8ed;
    }

    .rb-finder__media picture {
        display: contents;
    }

    .rb-finder__media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .rb-finder__body {
        padding: 36px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 24px;
    }

    .rb-finder__status {
        display: inline-flex;
        align-items: center;
        padding: 5px 12px;
        border-radius: 999px;
        background: #e7f6ed;
        color: #186337;
        font-size: 0.78rem;
        font-weight: 700;
        margin-bottom: 14px;
    }

    .rb-finder__room {
        margin: 0 0 4px;
        font-size: 1.6rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: #1d1d1f;
        line-height: 1.2;
    }

    .rb-finder__floor {
        margin: 0 0 22px;
        font-size: 0.95rem;
        color: #6e6e73;
        font-weight: 500;
    }

    .rb-finder__specs {
        list-style: none;
        margin: 0 0 22px;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .rb-finder__specs li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.95rem;
        font-weight: 500;
        color: #1d1d1f;
    }

    .rb-finder__specs svg {
        width: 18px;
        height: 18px;
        stroke: #0071e3;
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex: none;
    }

    .rb-finder__slots-label {
        margin: 0 0 8px;
        font-size: 0.75rem;
        font-weight: 600;
        color: #6e6e73;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .rb-finder__slots {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        font-variant-numeric: tabular-nums;
    }

    .rb-finder__slots li {
        padding: 6px 12px;
        border-radius: 8px;
        border: 1px solid #e1e1e6;
        background: #f5f5f7;
        font-size: 0.85rem;
        font-weight: 600;
        color: #1d1d1f;
    }

    .rb-finder__link {
        margin-top: 0;
    }

    @keyframes rb-finder-in {
        from {
            opacity: 0;
            transform: translate3d(0, 6px, 0);
        }

        to {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }

    @media (prefers-reduced-motion: no-preference) {
        .rb-finder__panel:not([hidden]) .rb-finder__card {
            animation: rb-finder-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
        }
    }

    @media (max-width: 991px) {
        .rb-finder__head {
            align-items: flex-start;
        }

        .rb-finder__card {
            grid-template-columns: minmax(0, 1fr);
        }

        .rb-finder__media {
            min-height: 0;
            aspect-ratio: 3 / 2;
        }

        .rb-finder__body {
            padding: 24px;
        }
    }

    /* ── Full-bleed Interactive States (matches #rb-how) ─ */
    @media (min-width: 768px) {
        #ep-states .rb-closer {
            display: flex;
            align-items: center;
            border: 1px solid rgba(15, 23, 42, 0.08);
            box-shadow: 0 24px 54px -26px rgba(15, 23, 42, 0.18);
        }

        #ep-states .rb-closer__figure img,
        #ep-states .rb-closer__figure[data-closer-image="0"] img {
            object-position: 72% center;
        }

        #ep-states .rb-closer__topics {
            width: min(376px, 40%);
            padding: 36px 0 36px 36px;
        }

        #ep-states .rb-closer__topic summary {
            background: #fff;
            border: 1px solid rgba(15, 23, 42, 0.08);
            box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.2);
        }

        #ep-states .rb-closer__topic summary:hover {
            background: #f5f5f7;
        }

        #ep-states .rb-closer__topic[open] summary {
            background: #0071e3;
            border-color: #0071e3;
            color: #fff;
            box-shadow: 0 14px 30px -12px rgba(0, 113, 227, 0.45);
        }

        #ep-states .rb-closer__topic[open] summary:hover {
            background: #0062c4;
            border-color: #0062c4;
        }

        #ep-states .rb-closer__detail {
            border: 1px solid rgba(15, 23, 42, 0.08);
            box-shadow: 0 18px 38px -14px rgba(15, 23, 42, 0.22);
        }
    }

    @media (max-width: 767px) {
        #ep-states .rb-closer {
            display: flex;
            flex-direction: column;
            background: #f5f5f7;
        }

        #ep-states .ep-preview-topics {
            display: flex;
            gap: 6px;
            padding: 12px;
            order: 0;
        }

        .ep-preview-topics button {
            flex: 1 1 0;
            min-width: 0;
            border: 0;
            border-radius: 24px;
            padding: 10px 8px;
            min-height: 44px;
            color: #1d1d1f;
            background: #fff;
            font: inherit;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
        }

        .ep-preview-topics button[aria-pressed="true"] {
            background: #0071e3;
            color: #fff;
        }

        #ep-states .rb-closer__images {
            order: 1;
            width: 100%;
            flex: none;
        }

        #ep-states .rb-closer__figure img,
        #ep-states .rb-closer__figure[data-closer-image="0"] img {
            object-position: 78% center;
        }

        #ep-states .rb-closer__topics {
            order: 2;
            padding: 20px;
        }

        #ep-states .rb-closer__topic summary {
            display: none;
        }

        #ep-states .rb-closer__topic:not([open]) {
            display: none;
        }

        #ep-states .rb-closer__detail {
            margin-top: 0;
            background: transparent;
            padding: 0;
        }

        #ep-states .rb-closer__detail p {
            color: #6e6e73;
        }
    }

    /* ── Scroll-Driven 3-Card Fan Stage (matches .rb-fan) ─ */
    #ep-wireless-fan {
        overflow-x: clip;
    }

    .rb-fan__title {
        font-size: clamp(2.1rem, 4.2vw, 3.35rem);
        letter-spacing: -0.03em;
        line-height: 1.08;
        margin: 0 0 clamp(2.5rem, 5vw, 4rem);
        max-width: 18ch;
        text-wrap: balance;
    }

    .rb-fan__stage {
        position: relative;
        height: clamp(360px, 44vw, 540px);
        margin-bottom: clamp(2.5rem, 5vw, 4rem);
    }

    .rb-fan__card {
        position: absolute;
        margin: 0;
        border-radius: 24px;
        overflow: hidden;
        background: #fff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 22px 50px -18px rgba(15, 23, 42, 0.22);
    }

    .rb-fan__card picture {
        display: contents;
    }

    .rb-fan__card img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .rb-fan__card--diagram {
        background: #000;
    }

    .rb-fan__card--diagram img {
        object-fit: contain;
        padding: 10px;
    }

    .rb-fan__card--1 {
        left: 0;
        bottom: 8%;
        width: 35%;
        aspect-ratio: 4 / 3;
        z-index: 1;
    }

    .rb-fan__card--2 {
        left: 28%;
        top: 4%;
        width: 38%;
        aspect-ratio: 4 / 3;
        z-index: 2;
    }

    .rb-fan__card--3 {
        right: 0;
        bottom: 0;
        width: 46%;
        aspect-ratio: 16 / 10;
        z-index: 3;
        box-shadow: 0 28px 64px -20px rgba(15, 23, 42, 0.28);
    }

    .rb-fan__label {
        position: absolute;
        left: 14px;
        bottom: 14px;
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.96);
        color: #1d1d1f;
        font-size: 0.8rem;
        font-weight: 600;
        line-height: 1.2;
        border: 1px solid rgba(15, 23, 42, 0.08);
    }

    .rb-fan__footer {
        max-width: 680px;
    }

    .rb-fan__copy {
        font-size: clamp(1.1rem, 1.8vw, 1.3rem);
        font-weight: 600;
        line-height: 1.5;
        color: #6e6e73;
        margin: 0 0 1.25rem;
    }

    .rb-fan__copy strong {
        color: #1d1d1f;
        font-weight: 600;
    }

    @keyframes rb-fan-stage-in {
        from {
            transform: translate3d(24px, 24px, 0) rotate(-6deg);
        }

        to {
            transform: translate3d(0, 0, 0) rotate(0deg);
        }
    }

    @keyframes rb-fan-card-1-in {
        from {
            transform: translate3d(42%, 18%, 0) rotate(6deg) scale(0.92);
        }

        to {
            transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
        }
    }

    @keyframes rb-fan-card-2-in {
        from {
            transform: translate3d(-6%, 12%, 0) rotate(-4deg) scale(0.95);
        }

        to {
            transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
        }
    }

    @keyframes rb-fan-card-3-in {
        from {
            transform: translate3d(-34%, -4%, 0) rotate(-7deg) scale(0.96);
        }

        to {
            transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
        }
    }

    @keyframes rb-fan-label-in {
        from {
            opacity: 0;
            transform: translate3d(0, 8px, 0);
        }

        to {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }

    @media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
        @supports ((animation-timeline: view()) and (animation-range: entry)) {
            .rb-fan__stage {
                view-timeline: --rb-fan-tl block;
                animation: rb-fan-stage-in auto linear both;
                animation-timeline: --rb-fan-tl;
                animation-range: entry 5% cover 46%;
            }

            .rb-fan__card--1 {
                animation: rb-fan-card-1-in auto linear both;
                animation-timeline: --rb-fan-tl;
                animation-range: entry 5% cover 46%;
            }

            .rb-fan__card--2 {
                animation: rb-fan-card-2-in auto linear both;
                animation-timeline: --rb-fan-tl;
                animation-range: entry 5% cover 46%;
            }

            .rb-fan__card--3 {
                animation: rb-fan-card-3-in auto linear both;
                animation-timeline: --rb-fan-tl;
                animation-range: entry 5% cover 46%;
            }

            .rb-fan__label {
                animation: rb-fan-label-in auto linear both;
                animation-timeline: --rb-fan-tl;
                animation-range: cover 24% cover 46%;
            }
        }

        .rb-fan__stage.rb-fan--js-fallback {
            transform: translate3d(calc((1 - var(--rb-fan-p, 1)) * 24px), calc((1 - var(--rb-fan-p, 1)) * 24px), 0) rotate(calc((1 - var(--rb-fan-p, 1)) * -6deg));
        }

        .rb-fan--js-fallback .rb-fan__card--1 {
            transform: translate3d(calc((1 - var(--rb-fan-p, 1)) * 42%), calc((1 - var(--rb-fan-p, 1)) * 18%), 0) rotate(calc((1 - var(--rb-fan-p, 1)) * 6deg)) scale(calc(0.92 + var(--rb-fan-p, 1) * 0.08));
        }

        .rb-fan--js-fallback .rb-fan__card--2 {
            transform: translate3d(calc((1 - var(--rb-fan-p, 1)) * -6%), calc((1 - var(--rb-fan-p, 1)) * 12%), 0) rotate(calc((1 - var(--rb-fan-p, 1)) * -4deg)) scale(calc(0.95 + var(--rb-fan-p, 1) * 0.05));
        }

        .rb-fan--js-fallback .rb-fan__card--3 {
            transform: translate3d(calc((1 - var(--rb-fan-p, 1)) * -34%), calc((1 - var(--rb-fan-p, 1)) * -4%), 0) rotate(calc((1 - var(--rb-fan-p, 1)) * -7deg)) scale(calc(0.96 + var(--rb-fan-p, 1) * 0.04));
        }

        .rb-fan--js-fallback .rb-fan__label {
            opacity: clamp(0, calc((var(--rb-fan-p, 1) - 0.5) * 2), 1);
            transform: translate3d(0, calc((1 - clamp(0, calc((var(--rb-fan-p, 1) - 0.5) * 2), 1)) * 8px), 0);
        }
    }

    @media (max-width: 767px) {
        .rb-fan__stage {
            display: flex;
            gap: 14px;
            overflow-x: auto;
            overscroll-behavior-inline: contain;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            height: auto;
            margin-bottom: 2rem;
            padding-bottom: 0.25rem;
        }

        .rb-fan__stage::-webkit-scrollbar {
            display: none;
        }

        .rb-fan__card {
            position: relative;
            inset: auto;
            flex: 0 0 82vw;
            width: auto;
            aspect-ratio: 4 / 3;
            scroll-snap-align: start;
            scroll-snap-stop: always;
        }
    }

    /* ── Architecture & How It Works ───────────────────── */
    .ep-diagram-figure {
        margin: 0;
        background: #000;
        border-radius: 28px;
        padding: clamp(16px, 2.5vw, 28px);
        overflow: hidden;
        box-shadow: 0 24px 54px -26px rgba(15, 23, 42, 0.22);
    }

    .ep-diagram-figure picture {
        display: contents;
    }

    .ep-diagram-figure img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: unset;
        object-fit: contain;
    }

    .ep-how-group {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid #d2d2d7;
    }

    .ep-how-group__title {
        font-size: 1.1rem;
        font-weight: 700;
        color: #1d1d1f;
        margin: 0 0 0.75rem;
    }

    .ep-page .rb2-split__points li .o-icon {
        color: #0071e3;
    }

    /* ── Cost highlights & Comparison table ────────────── */
    .ep-cost-highlights {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
        margin: 2rem 0 2.5rem;
        padding-block: 1.5rem;
        border-block: 1px solid #e1e1e6;
    }

    .ep-cost-highlight h3 {
        font-size: 1rem;
        font-weight: 700;
        color: #1d1d1f;
        margin: 0 0 0.35rem;
    }

    .ep-cost-highlight p {
        font-size: 0.92rem;
        color: #6e6e73;
        line-height: 1.55;
        margin: 0;
    }

    .ep-compare-wrap {
        overflow: auto;
        max-inline-size: 100%;
        container-type: inline-size;
        border-radius: 20px;
        border: 1px solid #e1e1e6;
        background: #fff;
    }

    .ep-compare-wrap:focus-visible {
        outline: 3px solid #0071e3;
        outline-offset: 3px;
    }

    .ep-compare-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        font-size: 0.95rem;
    }

    .ep-compare-table thead {
        position: sticky;
        inset-block-start: 0;
        z-index: 1;
    }

    .ep-compare-table th,
    .ep-compare-table td {
        padding: 1rem 1.25rem;
        border-bottom: 1px solid #e5e7eb;
        text-align: left;
        vertical-align: top;
        line-height: 1.5;
    }

    .ep-compare-table thead th {
        background: #f5f5f7;
        color: #1d1d1f;
        font-weight: 700;
    }

    .ep-compare-table thead th.ep-compare-col--epaper {
        color: #0071e3;
        background: #eff6ff;
    }

    .ep-compare-table tbody th[scope="row"] {
        position: sticky;
        inset-inline-start: 0;
        background: #fff;
        font-weight: 600;
        color: #1d1d1f;
        width: 28%;
    }

    .ep-compare-table tbody td.ep-compare-cell--epaper {
        background: rgba(0, 113, 227, 0.03);
        color: #1d1d1f;
        font-weight: 500;
    }

    .ep-compare-table tbody td.ep-compare-cell--lcd {
        color: #6e6e73;
    }

    .ep-compare-table tbody tr:last-child th,
    .ep-compare-table tbody tr:last-child td {
        border-bottom: 0;
    }

    @container (width < 640px) {
        .ep-compare-wrap {
            border: 0;
            border-radius: 0;
            background: transparent;
            overflow: visible;
        }

        .ep-compare-table,
        .ep-compare-table thead,
        .ep-compare-table tbody,
        .ep-compare-table tr,
        .ep-compare-table th,
        .ep-compare-table td {
            display: block;
        }

        .ep-compare-table thead {
            display: none;
        }

        .ep-compare-table tbody tr {
            margin-block-end: 1rem;
            border: 1px solid #e1e1e6;
            border-radius: 16px;
            overflow: hidden;
            background: #fff;
        }

        .ep-compare-table tbody tr:last-child {
            margin-block-end: 0;
        }

        .ep-compare-table tbody th[scope="row"] {
            position: sticky;
            inset-block-start: 0;
            z-index: 2;
            width: auto;
            background: #f5f5f7;
            border-bottom: 1px solid #e1e1e6;
        }

        .ep-compare-table tbody td::before {
            content: attr(data-label) ": ";
            display: block;
            font-size: 0.78rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: #6e6e73;
            margin-bottom: 0.2rem;
        }

        .ep-compare-table tbody td.ep-compare-cell--epaper::before {
            color: #0071e3;
        }
    }

    /* ── Dark Hardware Lineup (matches #rb-hardware) ───── */
    .ep-specs-head {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: space-between;
        gap: 0.75rem 1.5rem;
        margin-bottom: 2rem;
    }

    .ep-specs-head .rb2-section__title {
        margin-bottom: 0;
        color: #fff;
    }

    .ep-specs-head .rb2-link {
        margin-top: 0;
        color: #93c5fd;
    }

    .ep-specs-head .rb2-link:hover {
        color: #fff;
    }

    .ep-spec-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .ep-spec-card {
        background: #1e293b;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 22px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        color: #f8fafc;
    }

    .ep-spec-card--gateway {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }

    .ep-spec-card__media {
        background: #fff;
        margin: 14px 14px 0;
        border-radius: 16px;
        padding: 1.5rem 1.25rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
    }

    .ep-spec-card--gateway .ep-spec-card__media {
        margin: 14px 0 14px 14px;
    }

    .ep-spec-card__media img {
        max-height: 180px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        display: block;
    }

    .ep-spec-card__tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        justify-content: center;
    }

    .ep-spec-tag {
        display: inline-block;
        font-size: 0.75rem;
        font-weight: 600;
        color: #45454a;
        background: #f5f5f7;
        padding: 0.25rem 0.7rem;
        border-radius: 999px;
    }

    .ep-spec-card__body {
        padding: 1.5rem 1.75rem 1.75rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .ep-spec-card__brand {
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #94a3b8;
        margin-bottom: 0.25rem;
    }

    .ep-spec-card__title {
        font-size: 1.25rem;
        font-weight: 700;
        color: #fff;
        margin: 0 0 0.5rem;
    }

    .ep-spec-card__desc {
        font-size: 0.92rem;
        color: #94a3b8;
        line-height: 1.6;
        margin: 0 0 1.25rem;
    }

    .ep-spec-drawer {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: auto;
    }

    .ep-spec-drawer summary {
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.85rem 0;
        font-size: 0.92rem;
        font-weight: 600;
        color: #f8fafc;
        cursor: pointer;
    }

    .ep-spec-drawer summary::-webkit-details-marker {
        display: none;
    }

    .ep-spec-drawer summary:focus-visible {
        outline: 3px solid #60a5fa;
        outline-offset: 4px;
    }

    .ep-spec-drawer__chevron {
        width: 18px;
        height: 18px;
        flex: none;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.75;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform 0.2s ease;
    }

    .ep-spec-drawer[open] .ep-spec-drawer__chevron {
        transform: rotate(90deg);
    }

    .ep-spec-drawer__body {
        padding-bottom: 1rem;
    }

    .ep-spec-card__table {
        font-size: 0.85rem;
        overflow-x: auto;
    }

    .ep-spec-card__table table {
        width: 100%;
        border-collapse: collapse;
    }

    .ep-spec-card__table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .ep-spec-card__table th,
    .ep-spec-card__table td {
        padding: 0.45rem 0.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        vertical-align: top;
        line-height: 1.45;
        text-align: left;
    }

    .ep-spec-card__table td:first-child {
        color: #94a3b8;
        font-weight: 500;
        width: 42%;
    }

    .ep-spec-card__table td:last-child {
        color: #f8fafc;
    }

    .ep-spec-card__table tr:last-child td {
        border-bottom: 0;
    }

    .ep-spec-card__bullets {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
    }

    .ep-spec-card__bullets li {
        font-size: 0.88rem;
        color: #cbd5e1;
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        line-height: 1.5;
    }

    .ep-spec-card__bullets li .o-icon {
        color: #60a5fa;
        font-size: 0.75rem;
        flex-shrink: 0;
        margin-top: 0.3rem;
    }

    .ep-spec-card .rb2-link {
        margin-top: 0.75rem;
        align-self: flex-start;
        color: #60a5fa;
    }

    .ep-spec-card .rb2-link:hover {
        color: #93c5fd;
    }

    .ep-spec-drawer::details-content {
        interpolate-size: allow-keywords;
        overflow: clip;
        contain: layout;
    }

    .ep-spec-drawer:not([open])::details-content {
        block-size: 0;
    }

    @media (prefers-reduced-motion: no-preference) {
        .ep-spec-drawer::details-content {
            transition: block-size 0.3s ease-in-out, content-visibility 0.3s ease-in-out allow-discrete;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .ep-spec-drawer__chevron {
            transition: none;
        }
    }

    /* ── FAQ (matches #rb-faq) ─────────────────────────── */
    #ep-faq .rb2-section__title {
        margin-bottom: 1.5rem;
    }

    #ep-faq .faq-list {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        max-width: 860px;
    }

    #ep-faq .faq-item {
        border: 1px solid #eaeaea;
        border-radius: 14px;
        background: #fff;
        overflow: hidden;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    #ep-faq .faq-item[open] {
        border-color: rgba(0, 113, 227, 0.35);
        box-shadow: 0 6px 24px rgba(0, 113, 227, 0.08);
    }

    #ep-faq .faq-question {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1.1rem 1.25rem;
        background: none;
        border: none;
        font-size: 1.02rem;
        font-weight: 600;
        color: #1d1d1f;
        text-align: left;
        cursor: pointer;
    }

    #ep-faq .faq-icon {
        color: #0071e3;
        transition: transform 0.2s ease;
    }

    #ep-faq .faq-item[open] .faq-icon {
        transform: rotate(180deg);
    }

    #ep-faq .faq-answer {
        padding: 0 1.25rem;
    }

    #ep-faq .faq-item[open] .faq-answer {
        padding: 0 1.25rem 1.1rem;
    }

    #ep-faq .faq-answer p {
        margin: 0;
        color: #4a4a50;
        line-height: 1.65;
    }

    .ep-faq-contact {
        margin-top: 24px;
    }

    /* ── Duo Cross-Solutions Gallery (matches #rb-cross) ─ */
    .fp-gallery--duo .fp-gallery__head {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 2rem;
    }

    .fp-gallery--duo .fp-gallery__scroll {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(1.25rem, 2.5vw, 2rem);
        overflow: visible;
        scroll-snap-type: none;
        padding-bottom: 0;
    }

    .fp-gallery--duo .fp-resource-card {
        flex: initial;
        min-width: 0;
        text-decoration: none;
        color: inherit;
    }

    .fp-gallery--duo .fp-resource-card:hover {
        text-decoration: none;
        color: inherit;
    }

    .fp-gallery--duo .fp-resource-card:focus-visible {
        outline: 3px solid #0071e3;
        outline-offset: 4px;
        border-radius: 22px;
    }

    .fp-gallery--duo .fp-resource-card__figure {
        position: relative;
        aspect-ratio: 4 / 3;
        margin: 0 0 1.1rem;
        overflow: hidden;
        border-radius: 28px;
        background: #fff;
    }

    .fp-gallery--duo .fp-resource-card__figure picture {
        display: contents;
    }

    .fp-gallery--duo .fp-resource-card__figure img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .fp-gallery--duo a.fp-resource-card:hover .fp-resource-card__figure img {
        transform: scale(1.03);
    }

    .fp-gallery--duo .fp-resource-card__copy {
        text-align: left;
        padding: 14px;
        border-radius: 16px;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .fp-gallery--duo .fp-resource-card__copy h3 {
        font-size: 1.15rem;
        font-weight: 700;
        color: inherit;
        margin: 0 0 0.4rem;
        line-height: 1.3;
    }

    .fp-gallery--duo .fp-resource-card__link {
        margin-top: 0.4rem;
        font-size: 0.9rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        opacity: 0;
        color: inherit;
    }

    .fp-gallery--duo .fp-resource-card__link .o-icon {
        font-size: 0.75rem;
        transition: transform 0.2s ease;
    }

    .fp-gallery--duo a.fp-resource-card:hover .fp-resource-card__link .o-icon {
        transform: translateX(3px);
    }

    .fp-gallery--duo a:is(:hover, :focus-visible) .fp-resource-card__copy {
        background: #0071e3;
        color: #fff;
    }

    .fp-gallery--duo a:is(:hover, :focus-visible) .fp-resource-card__link {
        opacity: 1;
    }

    @media (max-width: 992px) {
        .fp-gallery--duo .fp-gallery__scroll {
            grid-template-columns: 1fr;
        }

        .fp-gallery--duo .fp-resource-card {
            flex-basis: auto;
        }

        .fp-gallery--duo .fp-resource-card__figure {
            border-radius: 18px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .fp-gallery--duo .fp-resource-card__figure img,
        .fp-gallery--duo .fp-resource-card__link .o-icon {
            transition: none;
        }

        .fp-gallery--duo a.fp-resource-card:hover .fp-resource-card__figure img {
            transform: none;
        }

        .fp-gallery--duo a.fp-resource-card:hover .fp-resource-card__link .o-icon {
            transform: none;
        }
    }

    /* ── Responsive ────────────────────────────────────── */
    @media (max-width: 767px) {
        .ep-cost-highlights {
            grid-template-columns: minmax(0, 1fr);
            gap: 1.25rem;
        }

        .ep-spec-grid {
            grid-template-columns: minmax(0, 1fr);
        }

        .ep-spec-card--gateway {
            grid-template-columns: minmax(0, 1fr);
        }

        .ep-spec-card--gateway .ep-spec-card__media {
            margin: 14px 14px 0;
        }
    }
}
