/* ==========================================================================
   Public pricing page (/pricing/)
   Matches the dark public pages (landing, e-sign and underwriting solutions).
   ========================================================================== */

.rs-pricing-page {
    --rs-bg: #06121b;
    --rs-card: rgba(255, 255, 255, 0.035);
    --rs-card-strong: rgba(67, 226, 212, 0.07);
    --rs-teal: #43e2d4;
    --rs-text: #ffffff;
    --rs-text-soft: #d2dfec;
    --rs-muted: #9fb7cc;
    --rs-border: rgba(255, 255, 255, 0.12);
    --rs-border-soft: rgba(255, 255, 255, 0.08);
    --rs-amber: #fcd34d;
    min-height: 100vh;
    color: var(--rs-text);
    background:
        radial-gradient(circle at 12% 0%, rgba(45, 212, 191, 0.14), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(103, 232, 249, 0.07), transparent 28%),
        linear-gradient(90deg, #06121b 0%, #071722 50%, #0a1c28 100%);
    overflow-x: hidden;
}

body.body-map-full-page.rs-pricing-full-page {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    background: #06121b;
}

.rs-pricing-page * {
    box-sizing: border-box;
}

/* The site gives every span a fixed size and every heading capitals and a left padding.
   :where() keeps these resets weaker than the page's own class rules. */
:where(.rs-pricing-page) span {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

:where(.rs-pricing-page) :is(h1, h2, h3, h4) {
    padding: 0;
    text-transform: none;
}

.rs-pricing-shell {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Which prices show. #rs-pricing-page carries data-currency, data-billing and
   data-audience; everything that doesn't match is hidden.
   -------------------------------------------------------------------------- */

.rs-pricing-page[data-currency="CAD"] [data-price-variant^="USD-"],
.rs-pricing-page[data-currency="USD"] [data-price-variant^="CAD-"],
.rs-pricing-page[data-billing="annual"] [data-price-variant$="-monthly"],
.rs-pricing-page[data-billing="monthly"] [data-price-variant$="-annual"],
.rs-pricing-page[data-currency="CAD"] [data-currency-variant="USD"],
.rs-pricing-page[data-currency="USD"] [data-currency-variant="CAD"],
.rs-pricing-page[data-billing="annual"] [data-billing-variant="monthly"],
.rs-pricing-page[data-billing="monthly"] [data-billing-variant="annual"],
.rs-pricing-page[data-audience="agents"] [data-audience-panel="developers"],
.rs-pricing-page[data-audience="developers"] [data-audience-panel="agents"] {
    display: none !important;
}

/* --------------------------------------------------------------------------
   Hero and controls
   -------------------------------------------------------------------------- */

.rs-pricing-hero {
    padding: 72px 0 28px;
    text-align: center;
}

.rs-pricing-eyebrow {
    margin: 0 0 16px;
    color: var(--rs-teal);
    font-size: 14.4px;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.rs-pricing-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 18px;
    max-width: 900px;
    color: var(--rs-text);
    font-family: var(--site-ff) !important;
    font-size: clamp(35.2px, 5.2vw, 62.4px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.rs-pricing-title__accent {
    background: linear-gradient(90deg, #99f6e4, #43e2d4 45%, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rs-pricing-lead {
    max-width: 680px;
    margin: 0 auto;
    color: #b4c9dd;
    font-size: 16.8px;
    font-weight: 600;
    line-height: 1.7;
}

.rs-pricing-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
}

.rs-pricing-tabs,
.rs-pricing-toggle {
    display: inline-flex;
    padding: 5px;
    border: 1px solid var(--rs-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.rs-pricing-tab,
.rs-pricing-toggle__option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    color: var(--rs-text-soft);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.rs-pricing-tab {
    min-height: 48px;
    padding: 0 24px !important;
    font-size: 16px;
}

.rs-pricing-toggle__option {
    min-height: 38px;
    padding: 0 16px !important;
    font-size: 14.4px;
}

.rs-pricing-tab:hover,
.rs-pricing-toggle__option:hover {
    color: var(--rs-text);
}

.rs-pricing-tab:focus-visible,
.rs-pricing-toggle__option:focus-visible {
    outline: 2px solid var(--rs-teal);
    outline-offset: 2px;
}

/* Active tab and toggle options follow the page state, so they are right before JS runs. */
.rs-pricing-page[data-audience="agents"] [data-pricing-audience="agents"],
.rs-pricing-page[data-audience="developers"] [data-pricing-audience="developers"],
.rs-pricing-page[data-currency="CAD"] [data-pricing-currency="CAD"],
.rs-pricing-page[data-currency="USD"] [data-pricing-currency="USD"],
.rs-pricing-page[data-billing="annual"] [data-pricing-billing="annual"],
.rs-pricing-page[data-billing="monthly"] [data-pricing-billing="monthly"] {
    background: var(--rs-teal);
    color: #04101a;
}

.rs-pricing-toggles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.rs-pricing-save {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(67, 226, 212, 0.16);
    color: var(--rs-teal);
    font-size: 11.5px;
    font-weight: 800;
}

.rs-pricing-page[data-billing="annual"] .rs-pricing-save {
    background: rgba(4, 16, 26, 0.16);
    color: #04101a;
}

.rs-pricing-tax-note {
    margin: 0;
    color: var(--rs-muted);
    font-size: 13.8px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Plan cards
   -------------------------------------------------------------------------- */

.rs-pricing-panel {
    padding: 20px 0 40px;
}

.rs-pricing-panel__intro {
    margin: 0 0 28px;
    color: var(--rs-muted);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.rs-pricing-grid {
    display: grid;
    gap: 16px;
    align-items: stretch;
}

.rs-pricing-grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

/* Each card shares the grid's rows (name, tagline, price, buttons, features),
   so prices and buttons line up across a row of cards. */
.rs-pricing-card {
    position: relative;
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 0;
    align-content: start;
    min-width: 0;
    padding: 28px 22px 26px;
    border: 1px solid var(--rs-border-soft);
    border-radius: 24px;
    background: var(--rs-card);
}

.rs-pricing-card.is-highlighted {
    border-color: rgba(67, 226, 212, 0.55);
    background: var(--rs-card-strong);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(67, 226, 212, 0.12) inset;
}

.rs-pricing-card__badge {
    position: absolute;
    top: -13px;
    left: 22px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--rs-teal);
    color: #04101a;
    font-size: 11.8px;
    font-weight: 800;
    white-space: nowrap;
}

.rs-pricing-card__name {
    margin: 0 0 6px;
    color: var(--rs-text);
    font-family: var(--site-ff) !important;
    font-size: 20.8px;
    font-weight: 800;
    line-height: 1.2;
}

.rs-pricing-card__tagline {
    margin: 0 0 18px;
    color: var(--rs-muted);
    font-size: 14.4px;
    font-weight: 600;
    line-height: 1.45;
}

.rs-pricing-card__price {
    margin-bottom: 18px;
}

.rs-pricing-card__variant {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rs-pricing-card__amount-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.rs-pricing-card__prefix {
    color: var(--rs-muted);
    font-size: 14.4px;
    font-weight: 700;
}

.rs-pricing-card__amount {
    color: var(--rs-text);
    font-size: 41.6px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.rs-pricing-card__amount--sales {
    display: block;
    font-size: 33.6px;
}

.rs-pricing-card__currency {
    color: var(--rs-muted);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.rs-pricing-card__unit {
    color: var(--rs-text-soft);
    font-size: 13.8px;
    font-weight: 700;
}

/* Keep "(billed monthly)" in one piece when the price line wraps. */
.rs-pricing-card__billing {
    white-space: nowrap;
}

.rs-pricing-card__note {
    display: block;
    margin-top: 4px;
    color: var(--rs-muted);
    font-size: 12.8px;
    font-weight: 600;
}

.rs-pricing-card__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}

.rs-pricing-card__body {
    min-width: 0;
}

.rs-pricing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px !important;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 15.2px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, filter 0.18s ease;
}

.rs-pricing-btn--primary {
    background: var(--rs-teal);
    color: #04101a;
}

.rs-pricing-btn--primary:hover {
    filter: brightness(1.05);
    color: #04101a;
}

.rs-pricing-btn--secondary {
    border-color: var(--rs-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--rs-text-soft);
}

.rs-pricing-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--rs-text);
}

.rs-pricing-card:not(.is-highlighted):not(.is-sales) .rs-pricing-btn--primary {
    border-color: rgba(67, 226, 212, 0.5);
    background: transparent;
    color: var(--rs-teal);
}

.rs-pricing-card:not(.is-highlighted):not(.is-sales) .rs-pricing-btn--primary:hover {
    background: rgba(67, 226, 212, 0.1);
}

.rs-pricing-card__features-intro {
    margin: 0 0 10px;
    color: var(--rs-text);
    font-size: 13.8px;
    font-weight: 800;
}

.rs-pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Owner, 2026-11-02: plain-weight text, with an icon for what each line is about. */
.rs-pricing-card__feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--rs-text-soft);
    font-size: 14.1px;
    font-weight: 400;
    line-height: 1.45;
}

.rs-pricing-card__icon {
    flex-shrink: 0;
    width: 17px;
    margin-top: 1px;
    color: var(--rs-teal);
    font-size: 15px;
    text-align: center;
}

/* AI features stand out with the amber used for badges. */
.rs-pricing-card__icon--ai {
    color: var(--rs-amber);
}

.rs-pricing-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    padding: 1px 8px;
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.1);
    color: var(--rs-amber);
    font-size: 10.9px;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
    vertical-align: 0.1em;
}

/* --------------------------------------------------------------------------
   Example cost of separate agent tools
   -------------------------------------------------------------------------- */

.rs-pricing-savings {
    margin-top: 56px;
    padding: 30px;
    border: 1px solid rgba(67, 226, 212, 0.25);
    border-radius: 24px;
    background: linear-gradient(130deg, rgba(67, 226, 212, 0.08), rgba(255, 255, 255, 0.025));
}

.rs-pricing-savings__eyebrow {
    margin: 0 0 8px;
    color: var(--rs-teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rs-pricing-savings__example {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.82fr);
    gap: 24px;
    align-items: stretch;
}

.rs-pricing-savings__list,
.rs-pricing-savings__result {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--rs-border-soft);
    border-radius: 18px;
    background: rgba(4, 19, 27, 0.65);
}

.rs-pricing-savings__line,
.rs-pricing-savings__total {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 0;
    color: var(--rs-text-soft);
    font-size: 15px;
}

.rs-pricing-savings__line + .rs-pricing-savings__line,
.rs-pricing-savings__total + .rs-pricing-savings__total {
    border-top: 1px solid var(--rs-border-soft);
}

.rs-pricing-savings__line small,
.rs-pricing-savings__total small {
    display: block;
    margin-top: 2px;
    color: var(--rs-muted);
    font-size: 12px;
    font-weight: 500;
}

.rs-pricing-savings__line strong,
.rs-pricing-savings__total strong {
    color: var(--rs-text);
    font-size: 19px;
    white-space: nowrap;
}

.rs-pricing-savings__total strong small {
    text-align: right;
}

.rs-pricing-savings__difference {
    margin: 17px 0 0;
    padding: 14px;
    border-radius: 12px;
    background: rgba(67, 226, 212, 0.11);
    color: var(--rs-text);
    font-size: 16px;
}

.rs-pricing-savings__difference strong {
    display: block;
    margin-top: 3px;
    color: var(--rs-teal);
    font-size: 22px;
}

.rs-pricing-savings__value {
    margin: 20px 0 0;
    color: var(--rs-text-soft);
    font-size: 14px;
    font-weight: 600;
}

.rs-pricing-savings__method,
.rs-pricing-savings__sources {
    margin: 10px 0 0;
    color: var(--rs-muted);
    font-size: 12px;
    line-height: 1.65;
}

.rs-pricing-savings__sources a {
    color: var(--rs-teal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Compare plans (feature matrix)
   -------------------------------------------------------------------------- */

.rs-pricing-matrix {
    margin-top: 56px;
}

.rs-pricing-matrix__scroll {
    overflow-x: auto;
    border: 1px solid var(--rs-border-soft);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.02);
}

.rs-pricing-matrix__scroll:focus-visible {
    outline: 2px solid var(--rs-teal);
    outline-offset: 2px;
}

.rs-pricing-matrix__table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
    color: var(--rs-text-soft);
    font-size: 14px;
}

.rs-pricing-matrix__table--5 {
    min-width: 860px;
}

.rs-pricing-matrix__table--4 {
    min-width: 720px;
}

.rs-pricing-matrix__table th,
.rs-pricing-matrix__table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--rs-border-soft);
    vertical-align: middle;
}

/* Feature column: wide, and fixed in place while the table scrolls sideways. */
.rs-pricing-matrix__corner,
.rs-pricing-matrix__feature {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 32%;
    background: #0b1923;
    text-align: left;
}

.rs-pricing-matrix__corner {
    color: var(--rs-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rs-pricing-matrix__feature {
    color: var(--rs-text-soft);
    font-weight: 600;
    line-height: 1.45;
}

.rs-pricing-matrix__plan {
    text-align: center;
    background: rgba(255, 255, 255, 0.025);
}

.rs-pricing-matrix__plan-name {
    display: block;
    color: var(--rs-text);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rs-pricing-matrix__plan-price {
    display: block;
    margin-top: 4px;
    color: var(--rs-teal);
    font-size: 14px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.rs-pricing-matrix__plan-unit {
    display: block;
    color: var(--rs-muted);
    font-size: 11px;
    font-weight: 700;
}

.rs-pricing-matrix__plan.is-highlighted,
.rs-pricing-matrix__cell.is-highlighted {
    background: rgba(67, 226, 212, 0.07);
}

.rs-pricing-matrix__plan.is-highlighted {
    box-shadow: inset 0 3px 0 var(--rs-teal);
}

.rs-pricing-matrix__cell {
    text-align: center;
}

.rs-pricing-matrix__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(67, 226, 212, 0.14);
    color: var(--rs-teal);
    font-size: 15px;
}

.rs-pricing-matrix__text {
    color: var(--rs-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.rs-pricing-matrix__none {
    color: rgba(159, 183, 204, 0.45);
    font-weight: 700;
}

/* Section headings: a button that folds the section's rows away. */
.rs-pricing-matrix__section-row th {
    padding: 0;
    background: rgba(255, 255, 255, 0.035);
    text-align: left;
}

.rs-pricing-matrix__toggle {
    position: sticky;
    left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    padding: 16px;
    border: 0;
    background: transparent;
    color: var(--rs-text);
    text-align: left;
    cursor: pointer;
}

.rs-pricing-matrix__toggle:focus {
    outline: none;
}

.rs-pricing-matrix__toggle:focus-visible {
    outline: 2px solid var(--rs-teal);
    outline-offset: -2px;
}

.rs-pricing-matrix__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: 1px solid var(--rs-border);
    border-radius: 9px;
    color: var(--rs-text-soft);
    font-size: 12px;
    transition: transform 0.18s ease;
}

.rs-pricing-matrix__section.is-collapsed .rs-pricing-matrix__chevron {
    transform: rotate(-90deg);
}

.rs-pricing-matrix__section.is-collapsed .rs-pricing-matrix__row {
    display: none;
}

.rs-pricing-matrix__section-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rs-pricing-matrix__section-title {
    color: var(--rs-text);
    font-size: 16px;
    font-weight: 800;
}

.rs-pricing-matrix__section-description {
    color: var(--rs-muted);
    font-size: 12px;
    font-weight: 600;
}

.rs-pricing-matrix__table tbody:last-child tr:last-child th,
.rs-pricing-matrix__table tbody:last-child tr:last-child td {
    border-bottom: 0;
}

/* --------------------------------------------------------------------------
   Add-ons
   -------------------------------------------------------------------------- */

.rs-pricing-add-ons {
    margin-top: 56px;
}

.rs-pricing-section-head {
    margin-bottom: 22px;
    text-align: center;
}

.rs-pricing-section-title {
    margin: 0 0 8px;
    color: var(--rs-text);
    font-family: var(--site-ff) !important;
    font-size: clamp(25.6px, 3vw, 35.2px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.rs-pricing-section-copy {
    margin: 0;
    color: var(--rs-muted);
    font-size: 15.2px;
    font-weight: 600;
}

/* Cards keep one third of the row and sit in the middle, however many add-ons there are. */
.rs-pricing-add-on-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.rs-pricing-add-on-grid > .rs-pricing-add-on {
    flex: 0 1 calc((100% - 32px) / 3);
}

.rs-pricing-add-on {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px 22px;
    border: 1px solid var(--rs-border-soft);
    border-radius: 22px;
    background: var(--rs-card);
}

.rs-pricing-add-on__name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    color: var(--rs-text);
    font-size: 18.4px;
    font-weight: 800;
}

.rs-pricing-add-on__description {
    margin: 0 0 16px;
    color: var(--rs-muted);
    font-size: 14.4px;
    font-weight: 600;
    line-height: 1.5;
}

.rs-pricing-add-on__included {
    margin: -6px 0 14px;
    color: var(--rs-teal);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.rs-pricing-add-on__billing {
    margin: 0 0 12px;
    color: var(--rs-muted);
    font-size: 12.8px;
    font-weight: 600;
}

.rs-pricing-add-on__lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.rs-pricing-add-on__line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--rs-text-soft);
    font-size: 14.4px;
    font-weight: 600;
}

.rs-pricing-add-on__amount {
    color: var(--rs-text);
    font-size: 21.6px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.rs-pricing-add-on__amount small {
    margin-left: 4px;
    color: var(--rs-muted);
    font-size: 11.2px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.rs-pricing-add-on__note {
    margin: auto 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--rs-border-soft);
    color: var(--rs-muted);
    font-size: 13.4px;
    font-weight: 600;
}

.rs-pricing-add-on__button {
    align-self: flex-start;
    margin: 4px 0 16px;
}

/* Staff-only price list (owner, 2026-11-02). The server leaves it out for everyone else. */
.rs-pricing-add-on__internal {
    margin: 0 0 16px;
    padding: 14px 14px 4px;
    border: 1px dashed var(--rs-border-soft);
    border-radius: 14px;
}

.rs-pricing-add-on__internal-title {
    margin: 0 0 10px;
    color: var(--rs-muted);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rs-pricing-add-on__internal-note {
    margin: 0 0 10px;
    color: var(--rs-muted);
    font-size: 12.8px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Questions
   -------------------------------------------------------------------------- */

.rs-pricing-faq {
    padding: 56px 0 24px;
}

.rs-pricing-faq__shell {
    max-width: 860px;
}

.rs-pricing-faq__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rs-pricing-faq__item {
    border: 1px solid var(--rs-border-soft);
    border-radius: 18px;
    background: var(--rs-card);
}

.rs-pricing-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    color: var(--rs-text);
    font-size: 16px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.rs-pricing-faq__question::-webkit-details-marker {
    display: none;
}

.rs-pricing-faq__icon {
    flex-shrink: 0;
    color: var(--rs-teal);
    transition: transform 0.18s ease;
}

.rs-pricing-faq__item[open] .rs-pricing-faq__icon {
    transform: rotate(45deg);
}

.rs-pricing-faq__answer {
    margin: 0;
    padding: 0 22px 20px;
    color: #b4c9dd;
    font-size: 15.2px;
    font-weight: 600;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Closing call to action
   -------------------------------------------------------------------------- */

.rs-pricing-final-cta {
    padding: 40px 0 72px;
}

.rs-pricing-final-cta__shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 36px;
    border: 1px solid rgba(67, 226, 212, 0.3);
    border-radius: 26px;
    background:
        radial-gradient(circle at 0% 0%, rgba(67, 226, 212, 0.16), transparent 50%),
        rgba(255, 255, 255, 0.03);
}

.rs-pricing-final-cta__title {
    margin: 0 0 6px;
    color: var(--rs-text);
    font-family: var(--site-ff) !important;
    font-size: 25.6px;
    font-weight: 700;
}

.rs-pricing-final-cta__text {
    margin: 0;
    color: var(--rs-muted);
    font-size: 15.7px;
    font-weight: 600;
}

.rs-pricing-final-cta__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Footer (same look as the other public pages)
   -------------------------------------------------------------------------- */

.rs-pricing-page .nlp-footer {
    padding: 48px 24px;
    border-top: 1px solid var(--rs-border);
    color: #ffffff;
    background:
        radial-gradient(circle at 100% 100%, rgba(67, 226, 212, 0.18), transparent 45%),
        linear-gradient(to top left, #06121b, #07121a);
}

.rs-pricing-page .nlp-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.rs-pricing-page .nlp-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.rs-pricing-footer__brandmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 16px;
    color: #04101a;
    background: linear-gradient(135deg, #99f6e4, #67e8f9);
}

.rs-pricing-page .nlp-footer__brand-name {
    font-size: 20px;
    font-weight: 700;
}

.rs-pricing-page .nlp-footer__tagline {
    color: #d1d5db;
    font-size: 15.2px;
}

.rs-pricing-page .nlp-footer__heading {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.rs-pricing-page .nlp-footer__links,
.rs-pricing-page .nlp-footer__legal {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rs-pricing-page .nlp-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rs-pricing-page .nlp-footer__links a,
.rs-pricing-page .nlp-footer__legal a {
    color: #d1d5db;
    text-decoration: none;
}

.rs-pricing-page .nlp-footer__links a:hover,
.rs-pricing-page .nlp-footer__legal a:hover {
    color: #ffffff;
}

.rs-pricing-page .nlp-footer__socials {
    display: flex;
    gap: 12px;
}

.rs-pricing-page .nlp-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
}

.rs-pricing-page .nlp-footer__social:first-child {
    background: #2563eb;
}

.rs-pricing-page .nlp-footer__social:last-child {
    background: #dc2626;
}

.rs-pricing-page .nlp-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--rs-border);
    color: #9ca3af;
    font-size: 15.2px;
}

/* --------------------------------------------------------------------------
   Smaller screens
   -------------------------------------------------------------------------- */

@media (max-width: 1279px) {
    .rs-pricing-grid--5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rs-pricing-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rs-pricing-card {
        padding-top: 30px;
    }
}

@media (max-width: 991px) {
    .rs-pricing-grid--5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rs-pricing-add-on-grid > .rs-pricing-add-on {
        flex-basis: 100%;
    }

    .rs-pricing-final-cta__shell {
        flex-direction: column;
        align-items: flex-start;
    }

    .rs-pricing-page .nlp-footer__grid,
    .rs-pricing-page .nlp-footer__bottom {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .rs-pricing-shell {
        width: calc(100% - 32px);
    }

    .rs-pricing-savings {
        padding: 20px 16px;
    }

    .rs-pricing-savings__example {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rs-pricing-savings__list,
    .rs-pricing-savings__result {
        padding: 16px;
    }

    .rs-pricing-matrix__corner,
    .rs-pricing-matrix__feature {
        width: 150px;
    }

    .rs-pricing-matrix__table--5 {
        min-width: 650px;
    }

    .rs-pricing-matrix__table--4 {
        min-width: 550px;
    }

    .rs-pricing-matrix__table th,
    .rs-pricing-matrix__table td {
        padding: 11px 10px;
        font-size: 13px;
    }

    /* Keep the section heading inside the screen while the table scrolls sideways. */
    .rs-pricing-matrix__toggle {
        max-width: calc(100vw - 40px);
        padding: 14px 10px;
    }

    .rs-pricing-hero {
        padding-top: 44px;
    }

    .rs-pricing-tabs {
        display: flex;
        width: 100%;
    }

    .rs-pricing-tab {
        flex: 1 1 0;
        min-width: 0;
        min-height: 44px;
        padding: 0 10px !important;
        font-size: 13.8px;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }

    .rs-pricing-grid--5,
    .rs-pricing-grid--4 {
        grid-template-columns: 1fr;
        gap: 22px;
    }


    .rs-pricing-final-cta__shell {
        padding: 24px 20px;
    }

    .rs-pricing-final-cta__actions {
        flex-direction: column;
        width: 100%;
    }

    .rs-pricing-page .nlp-footer {
        padding: 40px 0;
    }
}

/* An automatic promotion (Subscription Management Phase 7): the old price crossed out. */
.rs-pricing-card__was {
  color: var(--site-medium-grey, #64748b);
  font-size: 1.1rem;
  margin-right: 0.35rem;
}

.rs-pricing-card__promotion {
  color: var(--site-primary-text-dark, #0f766e);
  font-weight: 600;
}
