/* ==========================================================================
   Rogue Asylum: styles for every logged-OUT page
   (login, sign-up, rules, error messages, 404).
   ========================================================================== */

/* ---------- Shared: page column, message cards, buttons ---------- */
.rpub-main { max-width: 1240px; min-height: 62vh; margin: 0 auto; padding: 0 1rem 1rem; }
.rpub-msg { max-width: 560px; margin: 3rem auto; }
.rpub-msg .nk-info-box { margin-bottom: 1.25rem; }
.rpub-msg__actions { margin: 0; text-align: center; }
.rpub-btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.6rem;
    font-family: var(--ra-serif); font-size: .85rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: #fff !important; background: var(--ra-red); border-radius: 8px;
    box-shadow: 0 8px 26px rgba(229, 57, 58, .3); text-decoration: none;
}
.rpub-btn:hover { filter: brightness(1.1); color: #fff !important; }
/* ra.css turns links red on hover; keep the login and sign-up controls as designed */
.rlp-login a:hover, .rsp-signup a:hover { color: var(--ra-cream); }

/* ---------- Header + footer bars ---------- */
.rhf-topbar, .rhf-footer {
    --rhf-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    box-sizing: border-box;
    width: 100%;
    margin: 0;
    font-family: var(--rhf-sans);
    line-height: 1.6;
    text-align: left;
    -webkit-font-smoothing: antialiased;
}
.rhf-topbar *, .rhf-topbar *::before, .rhf-topbar *::after,
.rhf-footer *, .rhf-footer *::before, .rhf-footer *::after { box-sizing: border-box; }

/* ---------- Top bar (full width, very top of the page) ---------- */
.rhf-topbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .4rem 1.25rem;
    padding: .9rem 1.5rem;
    background: rgba(0, 0, 0, .55);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #77746f;
}
.rhf-topbar nav { display: flex; gap: 1.1rem; }
.rhf-topbar a { color: #a8a5a0; text-decoration: none; }
.rhf-topbar a:hover { color: #ece8dc; }

/* ---------- Footer bar (full width, very bottom of the page) ---------- */
.rhf-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .6rem 1.5rem;
    margin-top: 2.5rem;
    padding: 1.1rem 1.5rem;
    background: linear-gradient(to top, rgba(229, 57, 58, .12), rgba(0, 0, 0, .5));
    border-top: 1px solid rgba(255, 255, 255, .07);
    font-size: .85rem;
    color: #7d7a76;
}
.rhf-footer a { color: #a8a5a0; text-decoration: none; }
.rhf-footer a:hover { color: #ece8dc; }
.rhf-footer-links { display: flex; align-items: center; gap: 1rem; }
.rhf-version { color: #4a4745; }

@media (max-width: 400px) {
    .rhf-topbar { font-size: .66rem; letter-spacing: .14em; }
}

/* ---------- Login page ---------- */
/* Shared settings */
.rlp-login {
    --rlp-red: #e5393a;
    --rlp-cream: #ece8dc;
    --rlp-text: #a9a6a0;
    --rlp-muted: #6f6c68;
    --rlp-line: rgba(255, 255, 255, .09);
    --rlp-field: #151414;
    --rlp-serif: "Cinzel", "Trajan Pro", "Times New Roman", serif;
    --rlp-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --rlp-type: "Special Elite", "Courier New", monospace;

    font-family: var(--rlp-sans);
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    -webkit-font-smoothing: antialiased;
}
.rlp-login,
.rlp-login *, .rlp-login *::before, .rlp-login *::after { box-sizing: border-box; }
.rlp-login { color: var(--rlp-text); }
.rlp-login h1, .rlp-login h2, .rlp-login p { margin: 0; }
.rlp-login a { color: var(--rlp-cream); }

/* ---------- Stage: wider than the theme's content column, centered ---------- */
.rlp-login .rlp-stage {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 1rem;
}

/* Brand */
.rlp-login .rlp-brand {
    position: relative;
    padding: 2.75rem 0 2.25rem;
    text-align: center;
}
.rlp-login .rlp-brand::before {              /* red glow behind the logo */
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: min(680px, 100vw);
    height: 340px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(229, 57, 58, .18), transparent 68%);
    pointer-events: none;
}
.rlp-login .rlp-brand > * { position: relative; }
.rlp-login .rlp-brand img {
    display: block;
    width: auto;
    height: auto;
    max-width: 90px;
    max-height: 72px;
    margin: 0 auto 1.5rem;
}
.rlp-login .rlp-title {
    font-family: var(--rlp-serif);
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--rlp-cream);
}
.rlp-login .rlp-title .rlp-accent { color: var(--rlp-red); }
.rlp-login .rlp-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.1rem;
    font-family: var(--rlp-type);
    font-size: .85rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #a09d97;
}
.rlp-login .rlp-tagline::before,
.rlp-login .rlp-tagline::after {
    content: "";
    width: clamp(24px, 8vw, 50px);
    height: 1px;
    background: var(--rlp-red);
}

/* ---------- Card ---------- */
.rlp-login .rlp-card {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    background: #0e0d0d;
    border: 1px solid var(--rlp-line);
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.rlp-login .rlp-about {
    padding: 1.75rem 1.5rem;
    background:
        radial-gradient(ellipse at top left, rgba(229, 57, 58, .1), transparent 60%),
        #0d0c0c;
}
.rlp-login .rlp-access {
    padding: 1.75rem 1.5rem;
    background: #121112;
}
@media (min-width: 768px) {
    .rlp-login .rlp-card { grid-template-columns: 1fr 1fr; }
    .rlp-login .rlp-about,
    .rlp-login .rlp-access { padding: 2.5rem 2.5rem 2.25rem; }
    .rlp-login .rlp-about { border-right: 1px solid rgba(255, 255, 255, .07); }
}

/* About column */
.rlp-login .rlp-eyebrow {
    display: flex;
    align-items: center;
    gap: .9rem;
    font-family: var(--rlp-type);
    font-size: .78rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #7a7773;
}
.rlp-login .rlp-eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--rlp-red);
}
.rlp-login .rlp-heading {
    margin-top: 1.25rem;
    font-family: var(--rlp-serif);
    font-size: clamp(1.4rem, 5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--rlp-cream);
}
.rlp-login .rlp-heading em { font-style: normal; color: var(--rlp-red); }
.rlp-login .rlp-desc {
    margin-top: 1.1rem;
    font-size: 1.02rem;
    line-height: 1.7;
}
.rlp-login .rlp-desc p { margin: 0 0 1rem; }
.rlp-login .rlp-build {
    margin-top: .5rem;
    font-size: .9rem;
    color: #85827d;
}
.rlp-login .rlp-rules {
    display: inline-block;
    margin-top: 1.5rem;
    padding-bottom: 2px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    text-decoration: none;
}
.rlp-login .rlp-rules:hover { border-bottom-color: var(--rlp-cream); }
.rlp-login .rlp-system {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-top: 2rem;
    padding: .9rem 1rem;
    border: 1px dashed rgba(255, 255, 255, .16);
    border-radius: 10px;
    background: rgba(0, 0, 0, .35);
    font-size: .76rem;
    letter-spacing: .14em;
    line-height: 1.55;
    text-transform: uppercase;
    color: #85827d;
}
.rlp-login .rlp-dot {
    flex: none;
    width: 6px;
    height: 6px;
    margin-top: .5em;
    border-radius: 50%;
    background: var(--rlp-red);
    box-shadow: 0 0 8px var(--rlp-red);
}

/* Login column */
.rlp-login .rlp-sectionhead {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    font-family: var(--rlp-serif);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rlp-cream);
}
.rlp-login .rlp-sectionhead::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--rlp-red), transparent);
}
.rlp-login .rlp-field { margin-bottom: 1.25rem; }
.rlp-login .rlp-label {
    display: block;
    margin: 0 0 .55rem;
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #8a8782;
}
.rlp-login .rlp-input {
    display: block;
    width: 100%;
    height: auto;
    min-height: 54px;
    margin: 0;
    padding: 0 1.1rem;
    font-family: var(--rlp-sans);
    font-size: 16px;                   /* stops iOS zooming in on focus */
    font-weight: 400;
    line-height: 1.4;
    color: var(--rlp-cream);
    background: var(--rlp-field);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.rlp-login .rlp-input::placeholder { color: #5d5b58; }
.rlp-login .rlp-input:hover { border-color: rgba(255, 255, 255, .22); }
.rlp-login .rlp-input:focus {
    outline: none;
    color: var(--rlp-cream);
    background: var(--rlp-field);
    border-color: var(--rlp-red);
    box-shadow: 0 0 0 3px rgba(229, 57, 58, .2);
}
.rlp-login .rlp-input:-webkit-autofill,
.rlp-login .rlp-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--rlp-cream);
    caret-color: var(--rlp-cream);
    box-shadow: 0 0 0 1000px var(--rlp-field) inset;
}
.rlp-login .rlp-pass { position: relative; }
.rlp-login .rlp-pass .rlp-input { padding-right: 3.25rem; }
.rlp-login .rlp-toggle {
    position: absolute;
    top: 50%;
    right: 4px;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    color: #8a8782;
    background: none;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    cursor: pointer;
}
.rlp-login .rlp-toggle:hover { color: var(--rlp-cream); background: none; }
.rlp-login .rlp-toggle:focus-visible { outline: 2px solid var(--rlp-red); }
.rlp-login .rlp-toggle .rlp-eye-slash { display: none; }
.rlp-login .rlp-toggle[aria-pressed="true"] .rlp-eye-slash { display: inline; }

.rlp-login .rlp-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1rem;
    margin: 1.5rem 0;
    font-size: .95rem;
}
.rlp-login .rlp-check {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0;
    font-size: .95rem;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    color: var(--rlp-cream);
    cursor: pointer;
}
.rlp-login .rlp-check input {
    -webkit-appearance: none;
    appearance: none;
    flex: none;
    display: grid;
    place-content: center;
    width: 22px;
    height: 22px;
    margin: 0;
    background: var(--rlp-field);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 5px;
    cursor: pointer;
}
.rlp-login .rlp-check input:checked {
    background: var(--rlp-red);
    border-color: var(--rlp-red);
}
.rlp-login .rlp-check input:checked::after {
    content: "";
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3.2 3.2L13 4.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rlp-login .rlp-check input:focus-visible { outline: 2px solid var(--rlp-cream); outline-offset: 2px; }
.rlp-login .rlp-forgot {
    padding-bottom: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    text-decoration: none;
}
.rlp-login .rlp-forgot:hover { border-bottom-color: var(--rlp-cream); }

.rlp-login .rlp-btn {
    display: block;
    width: 100%;
    height: auto;
    min-height: 56px;
    margin: 0;
    padding: 0 1rem;
    font-family: var(--rlp-serif);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #fff;
    background: var(--rlp-red);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 8px 26px rgba(229, 57, 58, .35);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.rlp-login .rlp-btn:hover {
    color: #fff;
    background: var(--rlp-red);
    filter: brightness(1.08);
    box-shadow: 0 10px 32px rgba(229, 57, 58, .45);
    transform: translateY(-1px);
}
.rlp-login .rlp-btn:active { transform: translateY(0); }
.rlp-login .rlp-btn:focus-visible { outline: 2px solid var(--rlp-cream); outline-offset: 3px; }

.rlp-login .rlp-or {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    font-family: var(--rlp-type);
    font-size: .75rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #6a6763;
}
.rlp-login .rlp-or::before,
.rlp-login .rlp-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--rlp-line);
}
.rlp-login .rlp-signup {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 1rem;
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-align: center;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    transition: border-color .15s ease, background-color .15s ease;
}
.rlp-login .rlp-signup:hover {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .03);
}
.rlp-login .rlp-signup:focus-visible { outline: 2px solid var(--rlp-red); outline-offset: 3px; }
.rlp-login .rlp-fine {
    margin-top: 1.5rem;
    font-size: .85rem;
    line-height: 1.7;
    text-align: center;
    color: var(--rlp-muted);
}

.rlp-login .rlp-secure {
    margin: 2rem 0 .5rem;
    font-size: .72rem;
    letter-spacing: .3em;
    text-align: center;
    text-transform: uppercase;
    color: #55524f;
}

@media (max-width: 400px) {
    .rlp-login .rlp-tagline { letter-spacing: .2em; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
    .rlp-login .rlp-btn, .rlp-login .rlp-input, .rlp-login .rlp-signup { transition: none; }
    .rlp-login .rlp-btn:hover { transform: none; }
}

/* ---------- Sign-up page ---------- */
/* Shared settings */
.rsp-signup {
    --rsp-red: #e5393a;
    --rsp-cream: #ece8dc;
    --rsp-text: #a9a6a0;
    --rsp-muted: #6f6c68;
    --rsp-line: rgba(255, 255, 255, .09);
    --rsp-field: #151414;
    --rsp-serif: "Cinzel", "Trajan Pro", "Times New Roman", serif;
    --rsp-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --rsp-type: "Special Elite", "Courier New", monospace;

    font-family: var(--rsp-sans);
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    -webkit-font-smoothing: antialiased;
}
.rsp-signup,
.rsp-signup *, .rsp-signup *::before, .rsp-signup *::after { box-sizing: border-box; }
.rsp-signup { color: var(--rsp-text); }
.rsp-signup h1, .rsp-signup h2, .rsp-signup p { margin: 0; }
.rsp-signup a { color: var(--rsp-cream); }

/* ---------- Stage: centered, a bit wider than the form ---------- */
.rsp-signup .rsp-stage {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 0 1rem;
}

/* Brand */
.rsp-signup .rsp-brand {
    position: relative;
    padding: 2.75rem 0 2.25rem;
    text-align: center;
}
.rsp-signup .rsp-brand::before {            /* red glow behind the logo */
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: min(680px, 100vw);
    height: 340px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(229, 57, 58, .18), transparent 68%);
    pointer-events: none;
}
.rsp-signup .rsp-brand > * { position: relative; }
.rsp-signup .rsp-brand img {
    display: block;
    width: auto;
    height: auto;
    max-width: 90px;
    max-height: 72px;
    margin: 0 auto 1.5rem;
}
.rsp-signup .rsp-title {
    font-family: var(--rsp-serif);
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--rsp-cream);
}
.rsp-signup .rsp-title .rsp-accent { color: var(--rsp-red); }
.rsp-signup .rsp-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.1rem;
    font-family: var(--rsp-type);
    font-size: .85rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #a09d97;
}
.rsp-signup .rsp-tagline::before,
.rsp-signup .rsp-tagline::after {
    content: "";
    width: clamp(24px, 8vw, 50px);
    height: 1px;
    background: var(--rsp-red);
}

/* ---------- Card ---------- */
.rsp-signup .rsp-card {
    padding: 1.75rem 1.5rem;
    background:
        radial-gradient(ellipse at top left, rgba(229, 57, 58, .1), transparent 60%),
        #121112;
    border: 1px solid var(--rsp-line);
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
@media (min-width: 640px) {
    .rsp-signup .rsp-card { padding: 2.5rem; }
}

.rsp-signup .rsp-sectionhead {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    font-family: var(--rsp-serif);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rsp-cream);
}
.rsp-signup .rsp-sectionhead::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--rsp-red), transparent);
}

/* ---------- Form fields ---------- */
.rsp-signup .rsp-field { margin-bottom: 1.25rem; }
.rsp-signup .rsp-row { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) {
    .rsp-signup .rsp-row { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; }
}
.rsp-signup .rsp-label {
    display: block;
    margin: 0 0 .55rem;
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #8a8782;
}
.rsp-signup .rsp-hint {
    font-weight: 400;
    opacity: .7;
}
.rsp-signup .rsp-input {
    display: block;
    width: 100%;
    height: auto;
    min-height: 54px;
    margin: 0;
    padding: 0 1.1rem;
    font-family: var(--rsp-sans);
    font-size: 16px;                    /* stops iOS zooming in on focus */
    font-weight: 400;
    line-height: 1.4;
    color: var(--rsp-cream);
    background-color: var(--rsp-field);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.rsp-signup .rsp-input:hover { border-color: rgba(255, 255, 255, .22); }
.rsp-signup .rsp-input:focus {
    outline: none;
    color: var(--rsp-cream);
    background-color: var(--rsp-field);
    border-color: var(--rsp-red);
    box-shadow: 0 0 0 3px rgba(229, 57, 58, .2);
}
.rsp-signup .rsp-input:user-invalid { border-color: var(--rsp-red); }
.rsp-signup .rsp-input:-webkit-autofill,
.rsp-signup .rsp-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--rsp-cream);
    caret-color: var(--rsp-cream);
    box-shadow: 0 0 0 1000px var(--rsp-field) inset;
}

/* Dropdown: dark closed state, dark open list, custom arrow */
.rsp-signup select.rsp-input {
    color-scheme: dark;
    padding-right: 2.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px 8px;
    cursor: pointer;
}
.rsp-signup select.rsp-input option {
    color: #ece8dc;
    background-color: #151414;
}

/* Show / hide password */
.rsp-signup .rsp-pass { position: relative; }
.rsp-signup .rsp-pass .rsp-input { padding-right: 3.25rem; }
.rsp-signup .rsp-toggle {
    position: absolute;
    top: 50%;
    right: 4px;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    color: #8a8782;
    background: none;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    cursor: pointer;
}
.rsp-signup .rsp-toggle:hover { color: var(--rsp-cream); background: none; }
.rsp-signup .rsp-toggle:focus-visible { outline: 2px solid var(--rsp-red); }
.rsp-signup .rsp-toggle .rsp-eye-slash { display: none; }
.rsp-signup .rsp-toggle[aria-pressed="true"] .rsp-eye-slash { display: inline; }

/* ---------- Buttons and links ---------- */
.rsp-signup .rsp-btn {
    display: block;
    width: 100%;
    height: auto;
    min-height: 56px;
    margin: .5rem 0 0;
    padding: 0 1rem;
    font-family: var(--rsp-serif);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #fff;
    background: var(--rsp-red);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 8px 26px rgba(229, 57, 58, .35);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.rsp-signup .rsp-btn:hover {
    color: #fff;
    background: var(--rsp-red);
    filter: brightness(1.08);
    box-shadow: 0 10px 32px rgba(229, 57, 58, .45);
    transform: translateY(-1px);
}
.rsp-signup .rsp-btn:active { transform: translateY(0); }
.rsp-signup .rsp-btn:focus-visible { outline: 2px solid var(--rsp-cream); outline-offset: 3px; }

.rsp-signup .rsp-tos {
    margin-top: 1.1rem;
    font-size: .85rem;
    line-height: 1.7;
    text-align: center;
    color: var(--rsp-muted);
}
.rsp-signup .rsp-tos a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rsp-signup .rsp-or {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    font-family: var(--rsp-type);
    font-size: .75rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #6a6763;
}
.rsp-signup .rsp-or::before,
.rsp-signup .rsp-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--rsp-line);
}
.rsp-signup .rsp-alt {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 1rem;
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-align: center;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    transition: border-color .15s ease, background-color .15s ease;
}
.rsp-signup .rsp-alt:hover {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .03);
}
.rsp-signup .rsp-alt:focus-visible { outline: 2px solid var(--rsp-red); outline-offset: 3px; }

.rsp-signup .rsp-forgot-wrap {
    margin-top: 1.5rem;
    font-size: .9rem;
    text-align: center;
}
.rsp-signup .rsp-forgot {
    padding-bottom: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    text-decoration: none;
}
.rsp-signup .rsp-forgot:hover { border-bottom-color: var(--rsp-cream); }

.rsp-signup .rsp-secure {
    margin: 2rem 0 .5rem;
    font-size: .72rem;
    letter-spacing: .3em;
    text-align: center;
    text-transform: uppercase;
    color: #55524f;
}

@media (max-width: 400px) {
    .rsp-signup .rsp-tagline { letter-spacing: .2em; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
    .rsp-signup .rsp-btn, .rsp-signup .rsp-input, .rsp-signup .rsp-alt { transition: none; }
    .rsp-signup .rsp-btn:hover { transform: none; }
}