/*
 * Ridey admin: sign-in page and the welcome screen that follows it ("Command Centre").
 * One visual language for both and for the whole panel (the Ridey Command theme): midnight obsidian #06090F, deep navy #0B111B, card #141C27, amber gold
 * #F59E0B / #FBBF24 / #D97706 for actions, emerald #10B981 for "verified", sky #38BDF8 and violet as secondary accents, glass surfaces with a hairline border.
 * Type: Plus Jakarta Sans for the interface, JetBrains Mono for telemetry. No libraries; the only motion is a short fade and rise, switched off for people
 * who ask for reduced motion.
 */

.ra-login,
.ra-splash {
    --ra-obsidian: #06090F;
    --ra-navy: #0B111B;
    --ra-card: #141C27;
    --ra-input: #0E1520;
    --ra-amber: #F59E0B;
    --ra-amber-light: #FBBF24;
    --ra-amber-dark: #D97706;
    --ra-emerald: #10B981;
    --ra-emerald-light: #34D399;
    --ra-sky: #38BDF8;
    --ra-violet: #A78BFA;
    --ra-text: #F8FAFC;
    --ra-soft: #94A3B8;
    --ra-muted: #64748B;
    --ra-line: rgba(255, 255, 255, .08);
    --ra-danger: #FDA29B;
    --ra-accent: #F59E0B;
    --ra-accent-ink: #1A1206;
    --ra-radius: 14px;
    --ra-radius-lg: 28px;
    --ra-ease: cubic-bezier(.2, .7, .2, 1);
    --ra-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

@keyframes ra-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ra-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes ra-spin { to { transform: rotate(360deg); } }
@keyframes ra-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); } }
@keyframes ra-shimmer { from { transform: translateX(-120%); } to { transform: translateX(120%); } }

/* ------------------------------------------------------------------ shared pieces */

.ra-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: ra-fade .7s var(--ra-ease) both;
}

/* the logo sits in a white rounded square, as in the approved design */
.ra-logo { display: inline-flex; line-height: 0; text-decoration: none; }
.ra-logo img {
    display: block;
    width: 4.25rem;
    height: 4.25rem;
    padding: .35rem;
    background: #fff;
    border-radius: 20px;
    object-fit: contain;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .16);
}
.ra-logo-chip img { width: auto; height: 4.25rem; max-width: 12rem; }

.ra-dot { display: inline-block; flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: var(--ra-emerald-light); box-shadow: 0 0 10px rgba(52, 211, 153, .7); }
.ra-dot.is-pulse { animation: ra-pulse 2.2s ease-out infinite; }

/* ------------------------------------------------------------------ sign-in page */

.tk-login.ra-login {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--ra-obsidian);
    color: var(--ra-text);
}

.ra-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 17rem;
    background: var(--ra-navy) center / cover no-repeat;
    color: #fff;
}

.ra-hero .ra-photo { object-position: 50% 62%; }

.ra-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(6, 9, 15, .68) 0%, rgba(6, 9, 15, .22) 30%, rgba(6, 9, 15, .66) 56%, var(--ra-obsidian) 100%),
        linear-gradient(115deg, rgba(11, 17, 27, .5), transparent 60%);
}

.ra-hero-body {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 1.25rem 2.75rem;
}

.ra-hero-top { display: flex; align-items: center; gap: 1rem; }
.ra-hero .ra-logo img { width: auto; height: 3.25rem; border-radius: 14px; }
.ra-divider { display: none; width: 1px; height: 3.4rem; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .22), transparent); }

.ra-pill {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(6, 9, 15, .55);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ra-hero-copy { margin-top: auto; text-shadow: 0 1px 18px rgba(5, 11, 22, .55); }

.ra-hero-copy h2 {
    max-width: 24rem;
    font-size: 1.85rem;
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -.035em;
    animation: ra-rise .6s var(--ra-ease) .1s both;
}

.ra-hero-copy h2 em { font-style: normal; color: var(--ra-amber); }

.ra-hero-copy p,
.ra-benefits,
.ra-hero-foot { display: none; }

.ra-panel {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 1rem 2rem;
    background: var(--ra-obsidian);
}

/* the glass card */
.ra-card {
    position: relative;
    width: 100%;
    max-width: 29rem;
    margin-top: -1.75rem;
    padding: 1.75rem 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)), rgba(14, 21, 32, .78);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: var(--ra-radius-lg);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    backdrop-filter: blur(22px) saturate(140%);
    box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .07);
    animation: ra-rise .5s var(--ra-ease) both;
}

/* ambient edge light: amber across the top, a cool teal glow low on the left */
.ra-card::before,
.ra-card::after { content: ''; position: absolute; pointer-events: none; border-radius: inherit; }
.ra-card::before {
    inset: -1px;
    padding: 1px;
    background: linear-gradient(105deg, rgba(56, 189, 248, .55) 0%, transparent 22%, transparent 55%, rgba(245, 158, 11, .85) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: .75;
}
.ra-card::after { inset: 0; box-shadow: 0 0 60px -10px rgba(245, 158, 11, .22); opacity: .7; }

.ra-card h1 {
    font-size: 2.1rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.035em;
    color: #fff;
    text-align: center;
}
.ra-card h1 em { font-style: normal; color: var(--ra-amber); }

.ra-sub { margin-top: .7rem; color: var(--ra-soft); font-size: .95rem; line-height: 1.55; text-align: center; }
.tk-login.ra-login .ra-form { margin-top: 2rem; }

.ra-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--ra-line);
    color: var(--ra-soft);
    font-size: .8125rem;
    text-align: center;
}
.ra-legal svg { flex: none; width: 1.7rem; height: 1.7rem; fill: none; stroke: var(--ra-emerald-light); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.ra-links { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; font-size: .875rem; }
.ra-link { background: none; border: 0; padding: .25rem 0; cursor: pointer; color: var(--ra-amber-light); font-weight: 600; border-radius: 6px; }
.ra-link:hover { text-decoration: underline; }
.ra-link-quiet { color: var(--ra-soft); font-weight: 500; }
.ra-link:focus-visible { outline: 2px solid var(--ra-amber); outline-offset: 2px; }

/* the fields (Filament's own markup, restyled) */
.tk-login.ra-login .ra-form .fi-fo-field-wrp-label span,
.tk-login.ra-login .ra-form label span { color: #F1F5F9; font-size: .9375rem; font-weight: 600; }
.tk-login.ra-login .ra-form .fi-fo-field-wrp-label sup { color: #F87171; }

.tk-login.ra-login .ra-form .fi-input-wrp {
    border-radius: var(--ra-radius);
    background: var(--ra-input);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, .42), 0 0 0 0 rgba(245, 158, 11, 0) !important;
    transition: box-shadow .16s var(--ra-ease);
}

.tk-login.ra-login .ra-form .fi-input-wrp:hover { box-shadow: 0 0 0 1px rgba(245, 158, 11, .7) !important; }
.tk-login.ra-login .ra-form .fi-input-wrp:focus-within { box-shadow: 0 0 0 1.5px var(--ra-amber-light), 0 0 22px rgba(245, 158, 11, .28) !important; }
.tk-login.ra-login .ra-form .fi-input-wrp.fi-invalid,
.tk-login.ra-login .ra-form .fi-input-wrp:has([aria-invalid="true"]) { box-shadow: 0 0 0 2px var(--ra-danger) !important; }

/* the password field's frame is teal-green in the approved design */
.tk-login.ra-login .ra-form .fi-fo-field-wrp:has(input[type="password"]) .fi-input-wrp,
.tk-login.ra-login .ra-form .fi-fo-field-wrp:has(input[autocomplete="current-password"]) .fi-input-wrp { box-shadow: 0 0 0 1px rgba(45, 212, 191, .5) !important; }
.tk-login.ra-login .ra-form .fi-fo-field-wrp:has(input[autocomplete="current-password"]) .fi-input-wrp:focus-within { box-shadow: 0 0 0 1.5px #5EEAD4, 0 0 22px rgba(45, 212, 191, .25) !important; }

.tk-login.ra-login .ra-form .fi-input-wrp-prefix,
.tk-login.ra-login .ra-form .fi-input-wrp-suffix { background: transparent !important; border: 0 !important; box-shadow: none !important; color: #E2E8F0; }
.tk-login.ra-login .ra-form .fi-input-wrp-prefix svg,
.tk-login.ra-login .ra-form .fi-input-wrp-suffix svg { color: #E2E8F0; width: 1.35rem; height: 1.35rem; }
.tk-login.ra-login .ra-form .fi-input-wrp-prefix { padding-inline-start: 1rem; }

.tk-login.ra-login .ra-form .fi-input {
    height: 3.5rem;
    padding-inline: .9rem;
    font-size: 1rem;
    color: #fff;
    background: transparent;
}

.tk-login.ra-login .ra-form .fi-input::placeholder { color: color-mix(in srgb, var(--ra-soft) 70%, transparent); }

/* browser autofill paints its own (blue or yellow) background; keep the field's own */
.tk-login.ra-login .ra-form input:-webkit-autofill,
.tk-login.ra-login .ra-form input:-webkit-autofill:hover,
.tk-login.ra-login .ra-form input:-webkit-autofill:focus,
.tk-login.ra-login .ra-form input:-webkit-autofill:active {
    -webkit-text-fill-color: #fff;
    caret-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px var(--ra-input) inset;
    box-shadow: 0 0 0 1000px var(--ra-input) inset;
    border-radius: var(--ra-radius);
    transition: background-color 9999s ease-out 0s;
}

.tk-login.ra-login .ra-form .fi-fo-field-wrp-error-message,
.tk-login.ra-login .ra-form [data-validation-error] { color: var(--ra-danger); font-size: .8125rem; font-weight: 500; animation: ra-rise .25s var(--ra-ease) both; }

/* "Remember me": a round emerald check */
.tk-login.ra-login .ra-form .fi-checkbox-input {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .28);
    background-color: transparent;
    --tw-ring-shadow: 0 0 #0000;
}
.tk-login.ra-login .ra-form .fi-checkbox-input:checked {
    background-color: var(--ra-emerald);
    border-color: var(--ra-emerald);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.5 2.7 2.7L12 5.5'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    box-shadow: 0 0 16px rgba(16, 185, 129, .45);
}
.tk-login.ra-login .ra-form .fi-checkbox-input:focus-visible { outline: 2px solid var(--ra-amber); outline-offset: 3px; }
.tk-login.ra-login .ra-form .fi-fo-checkbox label span { color: #CBD5E1; font-weight: 500; font-size: .9375rem; }

/* the sign-in button */
.tk-login.ra-login .ra-form .fi-btn {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 3.5rem;
    justify-content: center;
    gap: .75rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #FCD34D, #F59E0B 52%, #D97706) !important;
    color: var(--ra-accent-ink) !important;
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: .005em;
    box-shadow: 0 16px 34px -12px rgba(245, 158, 11, .75), inset 0 1px 0 rgba(255, 255, 255, .45);
    transition: transform .16s var(--ra-ease), box-shadow .16s var(--ra-ease), filter .16s var(--ra-ease);
}

.tk-login.ra-login .ra-form .fi-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%);
    transform: translateX(-120%);
    pointer-events: none;
}
.tk-login.ra-login .ra-form .fi-btn:hover::after { animation: ra-shimmer .9s var(--ra-ease); }
.tk-login.ra-login .ra-form .fi-btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 20px 38px -12px rgba(245, 158, 11, .85), inset 0 1px 0 rgba(255, 255, 255, .45); }
.tk-login.ra-login .ra-form .fi-btn:active { transform: translateY(0) scale(.985); filter: brightness(.97); }
.tk-login.ra-login .ra-form .fi-btn:focus-visible { outline: 3px solid var(--ra-amber-light); outline-offset: 3px; }
.tk-login.ra-login .ra-form .fi-btn[disabled],
.tk-login.ra-login .ra-form .fi-btn.fi-disabled { cursor: progress; filter: saturate(.85); opacity: .85; transform: none; }
.tk-login.ra-login .ra-form .fi-btn svg { color: currentColor; width: 1.5rem; height: 1.5rem; }

@media (min-width: 640px) {
    .ra-card { padding: 2.25rem 2.25rem 2rem; }
}

@media (min-width: 1024px) {
    /* one full-page composition: the photograph spans both columns, the brand copy sits in the left half and the card in the right */
    .tk-login.ra-login { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr; }

    .ra-hero { grid-column: 1 / -1; grid-row: 1; min-height: 100vh; min-height: 100dvh; }
    .ra-hero .ra-photo { object-position: 50% 40%; }
    .ra-hero-shade {
        background:
            linear-gradient(90deg, rgba(6, 9, 15, .15) 0%, rgba(6, 9, 15, .55) 52%, rgba(6, 9, 15, .9) 100%),
            linear-gradient(180deg, rgba(6, 9, 15, .62) 0%, rgba(6, 9, 15, .08) 28%, rgba(6, 9, 15, .15) 58%, rgba(6, 9, 15, .82) 100%);
    }
    .ra-hero-body { width: 50%; padding: 4.25rem 3.25rem 3rem 4.75rem; gap: 2rem; }
    .ra-hero .ra-logo img { height: 5.1rem; border-radius: 22px; padding: .4rem; }
    .ra-divider { display: block; }

    .ra-hero-copy h2 { max-width: 34rem; font-size: clamp(3rem, 4.6vw, 4.4rem); line-height: .98; letter-spacing: -.045em; }
    .ra-hero-copy p { display: block; max-width: 27rem; margin-top: 1.5rem; color: rgba(255, 255, 255, .86); font-size: 1.1rem; line-height: 1.5; animation: ra-rise .6s var(--ra-ease) .2s both; }

    .ra-benefits { display: grid; gap: .55rem; margin-top: 2rem; padding: 0; list-style: none; max-width: 32rem; animation: ra-rise .6s var(--ra-ease) .3s both; }
    .ra-benefits li {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: .3rem 1.25rem .3rem .3rem;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(11, 17, 27, .72), rgba(11, 17, 27, .25));
        color: rgba(255, 255, 255, .95);
        font-size: 1.0625rem;
        font-weight: 500;
    }
    .ra-benefits svg {
        flex: none;
        box-sizing: content-box;
        width: 1.55rem;
        height: 1.55rem;
        padding: .75rem;
        fill: none;
        stroke: var(--ring);
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
        border-radius: 50%;
        border: 1.5px solid var(--ring);
        background: color-mix(in srgb, var(--ring) 14%, rgba(6, 9, 15, .6));
        box-shadow: 0 0 20px color-mix(in srgb, var(--ring) 30%, transparent);
    }
    .ra-benefits .is-amber { --ring: var(--ra-amber); }
    .ra-benefits .is-emerald { --ring: var(--ra-emerald); }
    .ra-benefits .is-sky { --ring: var(--ra-sky); }
    .ra-benefits .is-violet { --ring: var(--ra-violet); }

    .ra-hero-foot { display: flex; align-items: center; gap: .65rem; color: rgba(255, 255, 255, .75); font-size: 1rem; }

    .ra-panel { grid-column: 2; grid-row: 1; position: relative; z-index: 2; align-items: center; padding: 2rem 4rem 2rem 1rem; background: transparent; }
    .ra-card { margin-top: 0; max-width: 33rem; padding: 2.75rem 2.9rem 2.1rem; }
    .ra-card h1 { font-size: 3rem; }
}

/* ------------------------------------------------------------------ language switch (English | Français) */

.ra-lang {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(6, 9, 15, .6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--ra-muted);
    font-size: .8125rem;
    font-weight: 600;
}
.ra-lang svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: var(--ra-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ra-lang a { color: var(--ra-soft); text-decoration: none; border-radius: 6px; padding: .1rem .2rem; transition: color .16s var(--ra-ease); }
.ra-lang a:hover { color: #fff; }
.ra-lang a[aria-current="true"] { color: var(--ra-amber-light); }
.ra-lang a:focus-visible { outline: 2px solid var(--ra-amber); outline-offset: 2px; }

@media (min-width: 1024px) {
    .ra-lang { top: 1.75rem; right: 2.5rem; }
}

/* ------------------------------------------------------------------ welcome screen (after sign-in) */

.ra-splash {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: clamp(1rem, 3vw, 2.25rem);
    overflow-y: auto;
    isolation: isolate;
    color: #fff;
    background: var(--ra-obsidian) center / cover no-repeat;
    animation: ra-fade .45s ease-out both;
}

.ra-splash.is-leaving { animation: ra-leave .35s ease-in both; }
@keyframes ra-leave { to { opacity: 0; transform: scale(1.015); } }

/* the photograph is only a faint texture under the grid */
.ra-splash .ra-photo { position: fixed; object-position: 50% 68%; opacity: .06; mix-blend-mode: luminosity; }
.ra-splash-shade { position: fixed; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 50% 40%, rgba(11, 17, 27, .35), var(--ra-obsidian) 78%); }

/* the architectural grid */
.ra-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 75%);
}

/* ambient light: emerald and amber crescents at the sides, a warm halo behind the emblem */
.ra-aura { position: fixed; z-index: -1; pointer-events: none; width: 46vw; height: 80vh; top: 12vh; filter: blur(2px); }
.ra-aura-l { left: -26vw; border-radius: 50%; background: radial-gradient(closest-side, transparent 80%, rgba(16, 185, 129, .22) 93%, rgba(245, 158, 11, .34) 98%, transparent 100%); }
.ra-aura-r { right: -26vw; border-radius: 50%; background: radial-gradient(closest-side, transparent 80%, rgba(16, 185, 129, .22) 93%, rgba(245, 158, 11, .34) 98%, transparent 100%); }

/* telemetry strip */
.ra-telemetry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(100%, 70rem);
    padding: .85rem 1.75rem;
    border-radius: 999px;
    border: 1px solid rgba(245, 158, 11, .32);
    background: rgba(11, 17, 27, .6);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 0 30px -14px rgba(245, 158, 11, .5);
    color: #CBD5E1;
    font-family: var(--ra-mono);
    font-size: .8125rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    animation: ra-rise .5s var(--ra-ease) both;
}
.ra-tele-item { display: inline-flex; align-items: center; gap: .65rem; white-space: nowrap; }
.ra-tele-clock { color: #F8FAFC; font-variant-numeric: tabular-nums; }
.ra-tele-sep { flex: none; width: 1px; height: 1.5rem; background: rgba(255, 255, 255, .14); }

/* the console */
.ra-console {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
    width: min(100%, 70rem);
    margin-top: 2.6rem;
    padding: 4.4rem clamp(1rem, 4vw, 3.5rem) 1.1rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)), rgba(14, 21, 32, .68);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    backdrop-filter: blur(22px) saturate(140%);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(245, 158, 11, .45), 0 0 80px -30px rgba(245, 158, 11, .25);
    animation: ra-rise .6s var(--ra-ease) .1s both;
}

.ra-emblem { position: absolute; top: -3.1rem; left: 50%; transform: translateX(-50%); }
.ra-emblem::before { content: ''; position: absolute; inset: -1.4rem; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 158, 11, .42), rgba(16, 185, 129, .18) 60%, transparent 100%); }
.ra-splash .ra-emblem img { width: auto; height: 6.2rem; padding: .35rem; background: #0B111B; border-radius: 26px; box-shadow: 0 0 0 1.5px rgba(245, 158, 11, .6), 0 0 38px rgba(245, 158, 11, .35); }

.ra-splash-main { max-width: 56rem; text-align: center; }

.ra-splash h1 {
    margin: 0 0 .5rem;
    font-size: clamp(2rem, 5.4vw, 4.1rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -.04em;
    color: #fff;
    text-wrap: balance;
}

.ra-who { color: #F1F5F9; font-size: clamp(1.1rem, 2.2vw, 1.8rem); font-weight: 500; }
.ra-who span { margin-inline: .5rem; color: var(--ra-muted); }

.ra-access {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: 1.05rem;
    padding: .55rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(52, 211, 153, .5);
    background: rgba(5, 30, 24, .6);
    box-shadow: 0 0 26px -8px rgba(16, 185, 129, .45);
    color: var(--ra-emerald-light);
    font-size: 1.05rem;
    font-weight: 700;
}
.ra-access svg { width: 1.55rem; height: 1.55rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ra-glass {
    width: min(100%, 55rem);
    padding: .95rem 1.35rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-left: 4px solid var(--ra-amber);
    background: rgba(11, 17, 27, .7);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    font-size: .9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, .88);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ra-glass,
    .ra-console,
    .ra-telemetry,
    .ra-card { background: rgba(11, 17, 27, .94); }
}

.ra-glass-row { display: flex; align-items: center; gap: 1.1rem; }
.ra-glass-lock { flex: none; width: 2.1rem; height: 2.1rem; fill: none; stroke: var(--ra-amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ra-glass-credit { flex: 1; min-width: 0; font-size: clamp(1rem, 1.9vw, 1.5rem); font-weight: 500; color: #fff; }
.ra-glass strong { font-weight: 600; color: #fff; }
.ra-glass .ra-phone { color: var(--ra-amber); font-weight: 700; }
.ra-nowrap { white-space: nowrap; }
.ra-glass-note { margin-top: .75rem; padding-top: .7rem; border-top: 1px solid rgba(255, 255, 255, .1); color: #94A3B8; font-size: .9rem; text-align: center; }

.ra-copy {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem 1.35rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .03);
    color: #F8FAFC;
    cursor: pointer;
    font-family: var(--ra-mono);
    font-size: .95rem;
    letter-spacing: .08em;
    transition: border-color .16s var(--ra-ease), background .16s var(--ra-ease), color .16s var(--ra-ease);
}
.ra-copy:hover { border-color: var(--ra-amber); background: rgba(245, 158, 11, .08); }
.ra-copy.is-done { border-color: var(--ra-emerald-light); color: var(--ra-emerald-light); }
.ra-copy:focus-visible { outline: 3px solid var(--ra-amber-light); outline-offset: 3px; }
.ra-copy svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ra-continue {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    width: min(100%, 38rem);
    min-height: 4.2rem;
    padding: .9rem 2rem;
    margin-top: .25rem;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: linear-gradient(180deg, #FCD34D, #F59E0B 52%, #D97706);
    color: var(--ra-accent-ink);
    font: inherit;
    font-weight: 800;
    font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    box-shadow: 0 20px 44px -14px rgba(245, 158, 11, .85), inset 0 1px 0 rgba(255, 255, 255, .5);
    transition: transform .16s var(--ra-ease), box-shadow .16s var(--ra-ease), filter .16s var(--ra-ease);
}

.ra-continue::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .4) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
.ra-continue:hover::after { animation: ra-shimmer .9s var(--ra-ease); }
.ra-continue:hover { transform: translateY(-2px); filter: brightness(1.05); }
.ra-continue:active { transform: translateY(0) scale(.985); }
.ra-continue:focus-visible { outline: 2px solid rgba(252, 211, 77, .85); outline-offset: 5px; }
.ra-continue[aria-busy="true"] { cursor: progress; filter: saturate(.85); }
.ra-continue svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s var(--ra-ease); }
.ra-continue:hover svg { transform: translateX(4px); }
.ra-spinner { width: 1.3rem; height: 1.3rem; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: ra-spin .7s linear infinite; }

.ra-console-foot {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    margin-top: .4rem;
    padding-top: .9rem;
    border-top: 1px solid rgba(255, 255, 255, .06);
    color: #94A3B8;
    font-family: var(--ra-mono);
    font-size: .8125rem;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.ra-console-foot i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(245, 158, 11, .5), rgba(245, 158, 11, .08)); }

@media (max-width: 767px) {
    .ra-splash { justify-content: flex-start; padding-top: 1.25rem; }
    .ra-telemetry { flex-wrap: wrap; justify-content: center; gap: .45rem 1rem; padding: .7rem 1rem; border-radius: 22px; font-size: .6875rem; }
    .ra-tele-sep { display: none; }
    .ra-console { margin-top: 2.4rem; padding-top: 3.9rem; }
    .ra-splash .ra-emblem img { height: 5.2rem; }
    .ra-emblem { top: -2.6rem; }
    .ra-glass-row { flex-wrap: wrap; }
    .ra-glass-lock { display: none; }
    .ra-copy { margin-inline: auto; }
    .ra-continue { min-height: 3.6rem; }
    .ra-console-foot { font-size: .625rem; gap: .6rem; letter-spacing: .04em; }
    .ra-console-foot span { white-space: nowrap; }
}

/* ------------------------------------------------------------------ reduced motion */

@media (prefers-reduced-motion: reduce) {
    .ra-login *,
    .ra-splash,
    .ra-splash * {
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
        transition-duration: .01ms !important;
    }
    .ra-spinner { animation-duration: 1.4s !important; } /* a spinner that does not move would look frozen */
}
