/* ==========================================================================
   Public Contact page (/contact-us/)
   Matches the dark public pages (landing, pricing, e-sign and underwriting solutions).
   The colours and sizes below are the same as pricing_page.css.
   ========================================================================== */

.rs-contact-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-input-bg: rgba(4, 16, 26, 0.55);
    --rs-error: #fca5a5;
    --rs-error-border: rgba(248, 113, 113, 0.75);
    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-contact-full-page {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    background: #06121b;
}

.rs-contact-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-contact-page) span {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

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

/* site.css sets every link's weight with !important through --site-fw. */
.rs-contact-page a {
    --site-fw: 600;
}

/* site.css gives links a 4px padding, which leaves gaps inside sentences. */
.rs-contact-form__privacy a,
.rs-contact-office__link {
    padding: 0 !important;
    font-size: inherit !important;
}

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

/* --------------------------------------------------------------------------
   Layout: intro and help list on the left, the form card on the right.
   On narrow screens the form comes right after the intro.
   -------------------------------------------------------------------------- */

.rs-contact-main {
    padding: 72px 0 48px;
}

.rs-contact-main__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    grid-template-areas:
        "intro card"
        "aside card";
    grid-template-rows: auto 1fr;
    column-gap: 64px;
    row-gap: 36px;
    align-items: start;
}

.rs-contact-intro {
    grid-area: intro;
}

.rs-contact-aside {
    grid-area: aside;
}

.rs-contact-card {
    grid-area: card;
}

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */

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

.rs-contact-title {
    display: flex;
    flex-direction: column;
    margin: 0 0 20px;
    color: var(--rs-text);
    font-family: var(--site-ff) !important;
    font-size: clamp(35.2px, 4.6vw, 58px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

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

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

/* --------------------------------------------------------------------------
   "How can we help?" list
   -------------------------------------------------------------------------- */

.rs-contact-subhead {
    margin: 0 0 14px;
    color: var(--rs-muted);
    font-family: var(--site-ff) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase !important;
}

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

.rs-contact-topic {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px !important;
    border: 1px solid var(--rs-border-soft);
    border-radius: 18px;
    background: var(--rs-card);
    color: var(--rs-text);
    text-decoration: none;
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.rs-contact-topic:hover,
.rs-contact-topic:focus-visible {
    border-color: rgba(67, 226, 212, 0.4);
    background: rgba(255, 255, 255, 0.06);
    color: var(--rs-text);
}

.rs-contact-topic.is-selected {
    border-color: rgba(67, 226, 212, 0.55);
    background: var(--rs-card-strong);
}

.rs-contact-topic__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(67, 226, 212, 0.1);
    color: var(--rs-teal);
    font-size: 18px !important;
}

.rs-contact-topic__copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.rs-contact-topic__title {
    color: var(--rs-text);
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.rs-contact-topic__description {
    color: var(--rs-muted);
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
}

.rs-contact-topic__arrow {
    flex-shrink: 0;
    color: var(--rs-muted);
    transition: color 0.18s ease, transform 0.18s ease;
}

.rs-contact-topic:hover .rs-contact-topic__arrow,
.rs-contact-topic.is-selected .rs-contact-topic__arrow {
    color: var(--rs-teal);
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Office
   -------------------------------------------------------------------------- */

.rs-contact-office {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border: 1px dashed var(--rs-border);
    border-radius: 18px;
}

.rs-contact-office__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--rs-text-soft);
    font-size: 18px !important;
}

.rs-contact-office__copy {
    font-size: 14px;
}

.rs-contact-office__title {
    margin: 0 0 4px;
    color: var(--rs-text);
    font-family: var(--site-ff) !important;
    font-size: 16px;
    font-weight: 700;
}

.rs-contact-office__address {
    display: flex;
    flex-direction: column;
    margin: 0 0 8px;
    color: var(--rs-muted);
    font-size: 14px;
    font-style: normal;
    line-height: 1.55;
}

.rs-contact-office__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--rs-teal);
    font-size: 14px;
    text-decoration: none;
}

.rs-contact-office__link:hover {
    color: #99f6e4;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Form card
   -------------------------------------------------------------------------- */

.rs-contact-card {
    padding: 32px;
    border: 1px solid rgba(67, 226, 212, 0.3);
    border-radius: 26px;
    background:
        radial-gradient(circle at 100% 0%, rgba(67, 226, 212, 0.1), transparent 45%),
        rgba(255, 255, 255, 0.035);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.rs-contact-card__head {
    margin-bottom: 24px;
}

.rs-contact-card__title {
    margin: 0 0 6px;
    color: var(--rs-text);
    font-family: var(--site-ff) !important;
    font-size: 24px;
    font-weight: 700;
}

.rs-contact-card__subtitle {
    margin: 0;
    color: var(--rs-muted);
    font-size: 15px;
    font-weight: 600;
}

.rs-contact-form__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
}

.rs-contact-field {
    position: relative;
    min-width: 0;
}

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

/* --------------------------------------------------------------------------
   Fields made by CAR(): restyle the shared compact input for the dark page.
   Markup: .site-compact-input-group > label.site-compact-input-underlined >
           input|textarea + .site-compact-input-label + .site-compact-input-help-text
   The label is shown above the box (order: -1).
   -------------------------------------------------------------------------- */

.rs-contact-form .site-compact-input-group {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.rs-contact-form label.site-compact-input-underlined {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

/* site2.css paints this label white with !important (".site-compact-input-underlined input +
   .site-compact-input-label.has-value"), so this selector must be more specific than that one. */
.rs-contact-page .rs-contact-form label.site-compact-input-underlined > .site-compact-input-label {
    position: static !important;
    order: -1;
    display: flex;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    background: transparent !important;
    color: var(--rs-text-soft) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    pointer-events: none;
}

.rs-contact-form .site-compact-input-label .field-label-name {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    text-transform: none !important;
}

.rs-contact-form .site-compact-input-underlined input,
.rs-contact-form .site-compact-input-underlined textarea {
    /* Site rules cap the input width on narrow screens; fill the column instead. */
    width: 100% !important;
    max-width: none !important;
    height: 48px;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid var(--rs-border) !important;
    border-radius: 14px !important;
    outline: none;
    background: var(--rs-input-bg) !important;
    box-shadow: none !important;
    color: var(--rs-text) !important;
    font-family: var(--site-ff);
    /* 16px or more, so phones do not zoom in when a field is tapped. */
    font-size: 16px !important;
    font-weight: 500;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.rs-contact-form .site-compact-input-underlined textarea {
    height: auto;
    min-height: 156px;
    padding: 12px 14px !important;
    line-height: 1.55;
    resize: vertical;
}

.rs-contact-form .site-compact-input-underlined input::placeholder,
.rs-contact-form .site-compact-input-underlined textarea::placeholder {
    color: #6f879c;
    opacity: 1;
}

.rs-contact-form .site-compact-input-underlined input:hover,
.rs-contact-form .site-compact-input-underlined textarea:hover {
    border-color: rgba(255, 255, 255, 0.22) !important;
}

.rs-contact-form .site-compact-input-underlined input:focus,
.rs-contact-form .site-compact-input-underlined textarea:focus {
    border-color: var(--rs-teal) !important;
    background: rgba(4, 16, 26, 0.8) !important;
    box-shadow: 0 0 0 3px rgba(67, 226, 212, 0.18) !important;
}

/* Browser autofill paints a light background; keep the dark box. */
.rs-contact-form .site-compact-input-underlined input:-webkit-autofill {
    -webkit-text-fill-color: var(--rs-text);
    box-shadow: 0 0 0 1000px #0b1d29 inset !important;
    caret-color: var(--rs-text);
}

.rs-contact-form .site-compact-input-help-text {
    display: block;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--rs-error) !important;
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.rs-contact-form .site-compact-input-help-text:empty {
    display: none;
}

.rs-contact-field.has-error .site-compact-input-underlined input,
.rs-contact-field.has-error .site-compact-input-underlined textarea {
    border-color: var(--rs-error-border) !important;
}

/* --------------------------------------------------------------------------
   Topic pills (CAR "select" in expanded_select mode)
   -------------------------------------------------------------------------- */

.rs-contact-form .expanded-select-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Another site rule adds a 26px margin around this box. */
    margin: 0 !important;
}

.rs-contact-form .expanded-select-label {
    margin: 0;
    padding: 0;
    color: var(--rs-text-soft);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
}

.rs-contact-form .expanded-choices {
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    /* A site rule caps this row at 500px, which pushed the fifth pill onto a second line. */
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rs-contact-form .expanded-option-btn {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--rs-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--rs-text-soft);
    font-family: var(--site-ff);
    font-size: 14.4px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.rs-contact-form .expanded-option-btn:hover {
    border-color: rgba(67, 226, 212, 0.45);
    color: var(--rs-text);
}

.rs-contact-form .expanded-option-btn:focus-visible {
    outline: 2px solid var(--rs-teal);
    outline-offset: 2px;
}

.rs-contact-form .expanded-option-btn.selected {
    border-color: var(--rs-teal);
    background: var(--rs-teal);
    color: #04101a;
    font-weight: 700;
}

.rs-contact-field.has-error .expanded-option-btn:not(.selected) {
    border-color: var(--rs-error-border);
}

.rs-contact-topic-error {
    margin: 8px 0 0;
    color: var(--rs-error);
    font-size: 13px;
    font-weight: 600;
}

.rs-contact-topic-error:empty {
    display: none;
}

/* --------------------------------------------------------------------------
   Book a Demo inside the card (#rs-contact-demo)
   demo_booking's book_demo.js draws the same calendar as its drawer here. Its colours are
   --bd-* tokens (demo_booking.css); these are the dark values of this page.
   -------------------------------------------------------------------------- */

.rs-contact-form .rs-contact-field[hidden],
.rs-contact-form__footer[hidden],
.rs-contact-demo[hidden] {
    display: none !important;
}

.rs-contact-demo {
    --bd-text: #ffffff;
    --bd-muted: #9fb7cc;
    --bd-line: rgba(255, 255, 255, 0.12);
    --bd-surface: rgba(4, 16, 26, 0.55);
    --bd-soft: rgba(255, 255, 255, 0.04);
    --bd-accent: #43e2d4;
    --bd-accent-ink: #04101a;
    --bd-accent-soft: rgba(67, 226, 212, 0.12);
    --bd-accent-ring: rgba(67, 226, 212, 0.45);
    --bd-error: #fca5a5;
    --bd-error-soft: rgba(248, 113, 113, 0.1);
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--rs-border-soft);
}

/* The Week | Month dropdown (the site's custom dropdown), dark like the rest of the card. */
.rs-contact-page .rs-contact-demo .site-dropdown__button {
    border-color: var(--rs-border) !important;
    background: var(--rs-input-bg) !important;
    color: var(--rs-text) !important;
}

.rs-contact-page .rs-contact-demo .site-dropdown__arrow {
    color: var(--rs-teal) !important;
}

.rs-contact-page .rs-contact-demo .site-dropdown__menu {
    border-color: var(--rs-border) !important;
    background: #0b1d29 !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45) !important;
}

.rs-contact-page .rs-contact-demo .site-dropdown__option {
    background: transparent !important;
    color: var(--rs-text-soft) !important;
}

.rs-contact-page .rs-contact-demo .site-dropdown__option:hover,
.rs-contact-page .rs-contact-demo .site-dropdown__option.is-selected {
    background: rgba(67, 226, 212, 0.12) !important;
    color: var(--rs-text) !important;
}

/* The booking's Time, AM/PM and Email fields: the same dark boxes, with the label above,
   as the message fields (see "Fields made by CAR()" above). */
.rs-contact-page .rs-contact-demo .site-compact-input-group {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.rs-contact-page .rs-contact-demo label.site-compact-input-underlined {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.rs-contact-page .rs-contact-demo label.site-compact-input-underlined > .site-compact-input-label {
    position: static !important;
    order: -1;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    background: transparent !important;
    color: var(--rs-text-soft) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    pointer-events: none;
}

.rs-contact-page .rs-contact-demo .site-compact-input-label .field-label-name {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    text-transform: none !important;
}

.rs-contact-page .rs-contact-demo .site-compact-input-label .field-label-icon {
    color: var(--rs-teal) !important;
    font-size: 14px !important;
}

.rs-contact-page .rs-contact-demo label.site-compact-input-underlined input,
.rs-contact-page .rs-contact-demo label.site-compact-input-underlined select {
    width: 100% !important;
    max-width: none !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid var(--rs-border) !important;
    border-radius: 14px !important;
    outline: none;
    background-color: var(--rs-input-bg) !important;
    box-shadow: none !important;
    color: var(--rs-text) !important;
    /* Dark native arrow and dark option list for the selects. */
    color-scheme: dark;
    font-family: var(--site-ff);
    /* 16px or more, so phones do not zoom in when a field is tapped. */
    font-size: 16px !important;
    font-weight: 500;
}

/* The site draws select arrows as a picture on a white square; use a teal chevron instead. */
.rs-contact-page .rs-contact-demo label.site-compact-input-underlined select {
    padding-right: 40px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2343e2d4'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E") !important;
    background-position: right 14px center !important;
    background-repeat: no-repeat !important;
    background-size: 12px 12px !important;
    cursor: pointer;
}

.rs-contact-page .rs-contact-demo label.site-compact-input-underlined input:focus,
.rs-contact-page .rs-contact-demo label.site-compact-input-underlined select:focus {
    border-color: var(--rs-teal) !important;
    box-shadow: 0 0 0 3px rgba(67, 226, 212, 0.18) !important;
}

.rs-contact-page .rs-contact-demo .site-compact-input-help-text:empty {
    display: none;
}

/* --------------------------------------------------------------------------
   Info button by a field label, and the message counter
   -------------------------------------------------------------------------- */

.rs-contact-field-info {
    position: absolute;
    top: -1px;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 1px solid var(--rs-border);
    border-radius: 999px;
    background: transparent;
    color: var(--rs-muted);
    font-family: Georgia, serif;
    font-size: 12px;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.rs-contact-field-info:hover,
.rs-contact-field-info[aria-expanded="true"] {
    border-color: var(--rs-teal);
    color: var(--rs-teal);
}

.rs-contact-field-info__panel {
    margin: 8px 0 0;
    padding: 10px 12px;
    border: 1px solid var(--rs-border-soft);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--rs-text-soft);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
}

.rs-contact-field-info__panel[hidden] {
    display: none;
}

.rs-contact-counter {
    margin: 6px 0 0;
    color: var(--rs-muted);
    font-size: 12.5px;
    font-weight: 600;
    text-align: right;
}

.rs-contact-counter.is-over {
    color: var(--rs-error);
}

/* --------------------------------------------------------------------------
   Form footer, buttons, and the "sent" view
   -------------------------------------------------------------------------- */

.rs-contact-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--rs-border-soft);
}

.rs-contact-form__privacy {
    margin: 0;
    color: var(--rs-muted);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
}

.rs-contact-form__privacy a {
    color: var(--rs-text-soft);
    text-decoration: underline;
}

.rs-contact-form__privacy a:hover {
    color: var(--rs-teal);
}

.rs-contact-noscript {
    margin: 16px 0 0;
    color: var(--rs-error);
    font-size: 14px;
    font-weight: 600;
}

.rs-contact-btn {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px !important;
    border: 1px solid transparent;
    border-radius: 14px;
    font-family: var(--site-ff);
    /* site.css shrinks every link to 13px; buttons that are links keep the button size. */
    font-size: 15.2px !important;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, filter 0.18s ease;
    --site-fw: 700;
}

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

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

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

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

.rs-contact-btn[disabled] {
    cursor: progress;
    opacity: 0.7;
}

.rs-contact-btn .bi {
    transition: transform 0.18s ease;
}

.rs-contact-btn--primary:hover .bi-arrow-right {
    transform: translateX(3px);
}

.rs-contact-success {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 0 8px;
}

.rs-contact-success[hidden],
.rs-contact-form-view[hidden] {
    display: none;
}

.rs-contact-success__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--rs-teal);
    color: #04101a;
    font-size: 26px !important;
}

.rs-contact-success__title {
    margin: 6px 0 0;
    color: var(--rs-text);
    font-family: var(--site-ff) !important;
    font-size: 26px;
    font-weight: 700;
    outline: none;
}

.rs-contact-success__text {
    max-width: 460px;
    margin: 0 0 8px;
    color: #b4c9dd;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Closing call to action (same as the pricing page)
   -------------------------------------------------------------------------- */

.rs-contact-final-cta {
    padding: 24px 0 72px;
}

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

.rs-contact-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-contact-final-cta__text {
    margin: 0;
    color: var(--rs-muted);
    font-size: 15.7px;
    font-weight: 600;
}

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

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

.rs-contact-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-contact-page .nlp-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

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

.rs-contact-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-contact-page .nlp-footer__brand-name {
    font-size: 20px;
    font-weight: 700;
}

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

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

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

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

.rs-contact-page .nlp-footer__links a,
.rs-contact-page .nlp-footer__legal a {
    color: #d1d5db;
    text-decoration: none;
    --site-fw: 400;
}

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

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

.rs-contact-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-contact-page .nlp-footer__social:first-child {
    background: #2563eb;
}

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

.rs-contact-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: 991px) {
    .rs-contact-main {
        padding-top: 52px;
    }

    .rs-contact-main__grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "intro"
            "card"
            "aside";
        grid-template-rows: none;
        row-gap: 32px;
    }

    .rs-contact-lead {
        max-width: 680px;
    }

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

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

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

    .rs-contact-main {
        padding: 40px 0 32px;
    }

    .rs-contact-card {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .rs-contact-form__fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .rs-contact-form__footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .rs-contact-form__footer .rs-contact-btn {
        width: 100%;
    }

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

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

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