@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap");

.rs-legal-page .rs-public-container { max-width: 960px; }
.rs-legal-header { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.rs-legal-header h1 { font-family: "Space Grotesk", sans-serif; font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.1; }
.rs-legal-content { max-width: 860px; margin: 0 auto; line-height: 1.75; }
.rs-legal-content section + section { margin-top: 2.25rem; }
.rs-legal-content h2 { margin: 0 0 1rem; font-size: clamp(1.35rem, 3vw, 1.7rem); line-height: 1.3; }
.rs-legal-content h3 { margin: 1.5rem 0 .75rem; font-size: 1.1rem; }
.rs-legal-content li + li { margin-top: .35rem; }
.rs-legal-content address { font-style: normal; }

@media (max-width: 575.98px) {
    .rs-legal-page { padding-top: 2rem !important; }
    .rs-legal-content { padding: 1.25rem; }
}

:root {
    --rs-primary: #2563eb;
    --rs-primary-dark: #1d4ed8;
    --rs-primary-soft: #eff6ff;
    --rs-accent: #10b981;
    --rs-accent-soft: #ecfdf5;
    --rs-warning: #f59e0b;
    --rs-danger: #ef4444;
    --rs-bg: #f6f8fb;
    --rs-surface: #ffffff;
    --rs-surface-muted: #f9fafb;
    --rs-border: #e5e7eb;
    --rs-border-strong: #d1d5db;
    --rs-text: #0f172a;
    --rs-muted: #64748b;
    --rs-subtle: #94a3b8;
    --rs-shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
    --rs-shadow: 0 16px 40px rgba(15, 23, 42, .08);
    --rs-radius: 14px;
    --rs-radius-sm: 10px;
    --rs-sidebar: 280px;
    --rs-topbar: 68px;
}

:root[data-theme="dark"] {
    --rs-primary: #60a5fa;
    --rs-primary-dark: #3b82f6;
    --rs-primary-soft: rgba(96, 165, 250, .14);
    --rs-accent: #34d399;
    --rs-accent-soft: rgba(52, 211, 153, .14);
    --rs-warning: #fbbf24;
    --rs-danger: #f87171;
    --rs-bg: #0b1220;
    --rs-surface: #111827;
    --rs-surface-muted: #172033;
    --rs-border: rgba(148, 163, 184, .22);
    --rs-border-strong: rgba(148, 163, 184, .34);
    --rs-text: #f8fafc;
    --rs-muted: #b6c2d2;
    --rs-subtle: #7f8ca3;
    --rs-shadow-sm: 0 1px 2px rgba(0, 0, 0, .28);
    --rs-shadow: 0 20px 48px rgba(0, 0, 0, .42);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--rs-bg);
    color: var(--rs-text);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
}

body,
.rs-public-nav,
.rs-topbar,
.rs-sidebar,
.rs-public-footer,
.rs-footer,
.rs-card,
.card,
.dashboard-card,
.kpi-card,
.insight-box,
.upload-card,
.assistant-card,
.result-card,
.business-card,
.empty-box,
.summary-card,
.section,
.stat-card,
.modal-content,
.confirm-box,
.offcanvas {
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

a {
    color: inherit;
}

.rs-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--rs-text);
    text-decoration: none;
}

.rs-brand-text {
    display: inline-block;
    color: var(--rs-text);
    font-family: "Space Grotesk", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1;
}

.brand-logo {
    display: block;
    width: auto;
    height: 52px;
    max-width: 170px;
    object-fit: contain;
    flex: 0 0 auto;
}

.auth-logo {
    display: block;
    width: auto;
    height: 72px;
    max-width: 210px;
    object-fit: contain;
}

.rs-auth-page {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--rs-topbar));
    padding: 2rem 0;
}

.rs-auth-page .rs-card-lg {
    width: 100%;
}

.login-page {
    position: relative;
    isolation: isolate;
    justify-content: center;
    overflow: hidden;
    padding: clamp(2rem, 5vh, 3.5rem) 0;
}

.login-background {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 58%, #ffffff 100%);
}

.login-landscape {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.login-content {
    position: relative;
    z-index: 1;
    padding-block: .5rem;
}

.login-page .auth-card {
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 20px 55px rgba(15, 63, 143, .14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.login-page .auth-card:hover {
    transform: none;
    border-color: rgba(148, 163, 184, .25);
    box-shadow: 0 20px 55px rgba(15, 63, 143, .14);
}

.login-page .btn-submit:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .42);
    outline-offset: 3px;
}

:root[data-theme="dark"] .login-background {
    background: linear-gradient(180deg, #071426 0%, #10284a 62%, #0b1729 100%);
}

:root[data-theme="dark"] .login-landscape {
    opacity: .48;
    filter: brightness(.52) saturate(.75) hue-rotate(5deg);
}

:root[data-theme="dark"] .login-page .auth-card {
    border-color: rgba(148, 163, 184, .22);
    background: rgba(15, 23, 42, .94);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .36);
}

:root[data-theme="dark"] .login-page .auth-card:hover {
    border-color: rgba(148, 163, 184, .22);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .36);
}

.rs-brand-mark {
    display: inline-grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border-radius: .75rem;
    background: linear-gradient(135deg, var(--rs-primary), var(--rs-accent));
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .24);
}

.rs-brand-text span {
    color: var(--rs-primary);
}

.rs-brand-text .rs-brand-ai {
    color: var(--rs-text);
    font: inherit;
}

.rs-public-nav,
.rs-topbar {
    position: fixed;
    z-index: 1040;
    top: 0;
    right: 0;
    left: 0;
    height: var(--rs-topbar);
    border-bottom: 1px solid rgba(226, 232, 240, .9);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
}

:root[data-theme="dark"] .rs-public-nav,
:root[data-theme="dark"] .rs-topbar {
    border-bottom-color: var(--rs-border);
    background: rgba(17, 24, 39, .86);
}

.rs-public-main {
    padding-top: var(--rs-topbar);
}

.rs-public-container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.rs-public-nav-inner {
    width: 100%;
    max-width: none;
    padding-inline: clamp(.75rem, 2vw, 1.75rem);
}

.rs-public-actions {
    flex: 0 0 auto;
    justify-content: flex-end;
}

.rs-public-nav .rs-brand {
    min-width: 0;
    flex: 0 1 auto;
}

.rs-landing-hero {
    position: relative;
    display: flex;
    min-height: calc(100vh - var(--rs-topbar));
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 78% 22%, rgba(16, 185, 129, .28), transparent 32%),
        linear-gradient(135deg, #0f172a 0%, #1e3a8a 48%, #2563eb 100%);
}

.rs-landing-hero::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 15, 31, .88) 0%, rgba(7, 15, 31, .76) 42%, rgba(7, 15, 31, .42) 68%, rgba(7, 15, 31, .28) 100%),
        linear-gradient(180deg, rgba(7, 15, 31, .12), rgba(7, 15, 31, .36));
    content: "";
    pointer-events: none;
}

.rs-landing-hero .rs-public-container {
    position: relative;
    z-index: 2;
}

.rs-hero-bg,
.rs-hero-bg-slide {
    position: absolute;
    inset: 0;
}

.rs-hero-bg {
    z-index: 0;
    background: #0f172a;
}

.rs-hero-bg-slide {
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.02);
    will-change: opacity, transform;
}

.has-single-bg .rs-hero-bg-slide {
    opacity: 1;
    animation: heroKenBurns 18s ease-in-out infinite alternate;
}

.has-slideshow-bg .rs-hero-bg-slide {
    animation: heroFade4 28s ease-in-out infinite;
}

.slide-count-2 .rs-hero-bg-slide {
    animation-name: heroFade2;
    animation-duration: 14s;
}

.slide-count-3 .rs-hero-bg-slide {
    animation-name: heroFade3;
    animation-duration: 21s;
}

.rs-hero-bg-slide:nth-child(2) {
    animation-delay: 7s;
}

.rs-hero-bg-slide:nth-child(3) {
    animation-delay: 14s;
}

.rs-hero-bg-slide:nth-child(4) {
    animation-delay: 21s;
}

.rs-landing-hero .rs-hero-title,
.rs-landing-hero .rs-hero-copy {
    max-width: 720px;
    color: #fff;
    text-shadow: 0 2px 18px rgba(15, 23, 42, .28);
}

.rs-landing-hero .rs-hero-copy {
    color: rgba(255, 255, 255, .84);
}

.rs-landing-hero .badge-soft-primary {
    background: rgba(239, 246, 255, .96);
    color: var(--rs-primary);
}

.rg-business-demo {
    --rg-demo-blue: #2f66e9;
    --rg-demo-blue-soft: #eef4ff;
    --rg-demo-green: #047857;
    --rg-demo-heading: #111827;
    --rg-demo-text: #64748b;
    --rg-demo-canvas: #f7f9fc;
    --rg-demo-surface: #ffffff;
    --rg-demo-border: #e2e8f0;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    width: min(100%, 660px);
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 20px;
    background: var(--rg-demo-canvas);
    color: var(--rg-demo-heading);
    box-shadow: 0 24px 54px rgba(15, 23, 42, .2);
    font-size: .7rem;
}

.rg-business-demo__sidebar { padding: 1rem .65rem; border-right: 1px solid var(--rg-demo-border); background: var(--rg-demo-surface); }
.rg-business-demo__brand,
.rg-business-demo__mobile-brand { display: flex; align-items: center; gap: .38rem; min-width: 0; }
.rg-business-demo__brand img,
.rg-business-demo__mobile-brand img { width: 25px; height: 25px; object-fit: contain; }
.rg-business-demo__sidebar nav { display: grid; gap: .38rem; margin-top: 1.25rem; }
.rg-business-demo__sidebar nav span { display: flex; align-items: center; gap: .42rem; min-width: 0; padding: .48rem .52rem; border-radius: 9px; color: var(--rg-demo-text); font-size: .58rem; font-weight: 700; white-space: nowrap; }
.rg-business-demo__sidebar nav span.is-active { background: var(--rg-demo-blue-soft); color: var(--rg-demo-blue); }
.rg-business-demo__sidebar nav i { flex: 0 0 auto; font-size: .68rem; }
.rg-business-demo__canvas { min-width: 0; padding: .85rem; background: var(--rg-demo-canvas); }
.rg-business-demo__header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem; }
.rg-business-demo__mobile-brand { display: none; }
.rg-business-demo__eyebrow { display: inline-flex; margin-bottom: .2rem; padding: .18rem .38rem; border: 1px solid #bfdbfe; border-radius: 99px; background: var(--rg-demo-blue-soft); color: #1d4ed8; font-size: .48rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.rg-business-demo__header h2 { margin: 0; color: var(--rg-demo-heading); font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.rg-business-demo__header p { margin: .12rem 0 0; color: var(--rg-demo-text); font-size: .56rem; }
.rg-business-demo__header button,
.rg-business-demo__actions button { border: 1px solid var(--rg-demo-blue); border-radius: 9px; background: var(--rg-demo-blue); color: #fff; font-size: .55rem; font-weight: 800; }
.rg-business-demo__header button { display: inline-flex; align-items: center; gap: .25rem; padding: .48rem .58rem; }
.rg-business-demo button:disabled { cursor: default; opacity: 1; }
.rg-business-demo__business-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: .75rem; margin-top: .75rem; padding: .65rem; border: 1px solid var(--rg-demo-border); border-radius: 16px; background: var(--rg-demo-surface); box-shadow: 0 8px 22px rgba(15, 23, 42, .06); }
.rg-business-demo__property { width: 100%; height: 100%; min-height: 142px; border-radius: 12px; object-fit: cover; }
.rg-business-demo__details { min-width: 0; }
.rg-business-demo__identity { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.rg-business-demo__identity > div > span { color: var(--rg-demo-blue); font-size: .48rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.rg-business-demo__identity h3 { margin: .12rem 0; color: var(--rg-demo-heading); font-size: .86rem; font-weight: 800; }
.rg-business-demo__identity p,
.rg-business-demo__sync { margin: 0; color: var(--rg-demo-text); font-size: .52rem; }
.rg-business-demo__connected { display: inline-flex; align-items: center; gap: .25rem; flex: 0 0 auto; padding: .25rem .38rem; border: 1px solid #a7f3d0; border-radius: 99px; background: #ecfdf5; color: var(--rg-demo-green); font-size: .46rem; font-weight: 800; }
.rg-business-demo__sync { margin-top: .32rem; }
.rg-business-demo__sync i { color: var(--rg-demo-green); }
.rg-business-demo__metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .3rem; margin: .55rem 0 0; }
.rg-business-demo__metrics div { min-width: 0; padding: .4rem; border: 1px solid var(--rg-demo-border); border-radius: 9px; background: var(--rg-demo-canvas); }
.rg-business-demo__metrics dt { color: var(--rg-demo-blue); font-size: .78rem; font-weight: 850; line-height: 1; }
.rg-business-demo__metrics div:nth-child(1) dt,
.rg-business-demo__metrics div:nth-child(3) dt { color: var(--rg-demo-green); }
.rg-business-demo__metrics dd { margin: .18rem 0 0; color: var(--rg-demo-text); font-size: .43rem; line-height: 1.2; }
.rg-business-demo__actions { display: flex; gap: .35rem; margin-top: .5rem; }
.rg-business-demo__actions button { padding: .38rem .5rem; }
.rg-business-demo__actions button + button { border-color: var(--rg-demo-border); background: var(--rg-demo-surface); color: var(--rg-demo-heading); }
.rg-business-demo__services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .38rem; margin-top: .55rem; }
.rg-business-demo__services > div { display: grid; gap: .2rem; min-width: 0; padding: .45rem .5rem; border: 1px solid var(--rg-demo-border); border-radius: 10px; background: var(--rg-demo-surface); }
.rg-business-demo__services span { overflow: hidden; color: var(--rg-demo-text); font-size: .44rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.rg-business-demo__services span i { margin-right: .22rem; color: var(--rg-demo-blue); }
.rg-business-demo__services strong { display: flex; align-items: center; gap: .25rem; color: var(--rg-demo-green); font-size: .48rem; }
.rg-business-demo__services strong i { width: .34rem; height: .34rem; border-radius: 50%; background: #10b981; }
.rg-business-demo.is-demo-pending { opacity: 0; transform: translateY(14px); }
.rg-business-demo.is-demo-visible { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .75, .3, 1); }
.rg-business-demo.is-demo-pending .rg-business-demo__eyebrow,
.rg-business-demo.is-demo-pending [data-rg-demo-status] { opacity: 0; transform: translateY(6px); }
.rg-business-demo.is-demo-visible .rg-business-demo__eyebrow,
.rg-business-demo.is-demo-visible [data-rg-demo-status] { opacity: 1; transform: none; transition: opacity .4s ease, transform .4s ease; }
.rg-business-demo.is-demo-visible [data-rg-demo-status]:nth-child(2) { transition-delay: .12s; }
.rg-business-demo.is-demo-visible [data-rg-demo-status]:nth-child(3) { transition-delay: .24s; }

@keyframes heroKenBurns {
    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.1);
    }
}

@keyframes heroFade2 {
    0%, 100% {
        opacity: 0;
        transform: scale(1.02);
    }

    8%, 46% {
        opacity: 1;
    }

    56% {
        opacity: 0;
        transform: scale(1.08);
    }
}

@keyframes heroFade3 {
    0%, 100% {
        opacity: 0;
        transform: scale(1.02);
    }

    6%, 28% {
        opacity: 1;
    }

    38% {
        opacity: 0;
        transform: scale(1.08);
    }
}

@keyframes heroFade4 {
    0%, 100% {
        opacity: 0;
        transform: scale(1.02);
    }

    5%, 21% {
        opacity: 1;
    }

    30% {
        opacity: 0;
        transform: scale(1.08);
    }
}

.rs-btn,
.btn-solid,
.btn-ghost,
.btn-submit,
.dashboard-btn,
.upload-btn,
.assistant-btn,
.analyze-btn,
.reply-btn,
.copy-btn,
.filter-btn,
.action-btn,
.cancel-btn,
.delete-confirm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 2.6rem;
    padding: .7rem 1rem;
    border: 1px solid transparent;
    border-radius: .75rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.rs-btn:hover,
.btn-solid:hover,
.btn-ghost:hover,
.btn-submit:hover,
.dashboard-btn:hover,
.upload-btn:hover,
.assistant-btn:hover,
.analyze-btn:hover,
.reply-btn:hover,
.copy-btn:hover,
.filter-btn:hover,
.action-btn:hover,
.cancel-btn:hover,
.delete-confirm-btn:hover {
    transform: translateY(-1px);
}

.btn-solid,
.btn-submit,
.dashboard-btn,
.analyze-btn {
    background: var(--rs-primary);
    color: #fff;
    box-shadow: 0 12px 22px rgba(37, 99, 235, .18);
}

.btn-solid:hover,
.btn-submit:hover,
.dashboard-btn:hover,
.analyze-btn:hover {
    background: var(--rs-primary-dark);
    color: #fff;
    box-shadow: 0 16px 30px rgba(37, 99, 235, .24);
}

.btn-ghost,
.action-btn,
.cancel-btn {
    border-color: var(--rs-border);
    background: var(--rs-surface);
    color: var(--rs-text);
}

.btn-ghost:hover,
.action-btn:hover,
.cancel-btn:hover {
    border-color: var(--rs-primary);
    color: var(--rs-primary);
    box-shadow: var(--rs-shadow-sm);
}

.upload-btn,
.assistant-btn,
.reply-btn,
.copy-btn {
    background: var(--rs-accent);
    color: #fff;
    box-shadow: 0 12px 22px rgba(16, 185, 129, .18);
}

.upload-btn:hover,
.assistant-btn:hover,
.reply-btn:hover,
.copy-btn:hover {
    background: #059669;
    color: #fff;
}

.delete-confirm-btn,
.btn-danger {
    background: var(--rs-danger);
    color: #fff;
    border: 0;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: .7rem 1rem;
    border-radius: .75rem;
    font-weight: 700;
}

.btn-danger:hover,
.delete-confirm-btn:hover {
    background: #dc2626;
    color: #fff;
}

.rs-shell {
    min-height: 100vh;
    padding-top: var(--rs-topbar);
}

.rs-topbar {
    left: var(--rs-sidebar);
    transition: left .25s ease;
}

.rs-sidebar {
    position: fixed;
    z-index: 1050;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--rs-sidebar);
    overflow-x: hidden;
    border-right: 1px solid var(--rs-border);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(18px);
    transition: width .25s ease, transform .25s ease, opacity .2s ease;
}

:root[data-theme="dark"] .rs-sidebar {
    background: rgba(17, 24, 39, .92);
}

.rs-sidebar-body {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 1rem;
}

.rs-nav-section {
    margin-top: 1.5rem;
}

.rs-nav-label {
    margin: 0 0 .5rem .65rem;
    color: var(--rs-subtle);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rs-nav-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem .8rem;
    border-radius: .8rem;
    color: var(--rs-muted);
    font-weight: 650;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.rs-nav-link:hover,
.rs-nav-link.active {
    background: var(--rs-primary-soft);
    color: var(--rs-primary);
}

.rs-nav-danger {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--rs-danger);
    text-align: left;
}

.rs-nav-danger:hover {
    background: #fef2f2;
    color: #dc2626;
}

.rs-main {
    min-height: calc(100vh - var(--rs-topbar));
    margin-left: var(--rs-sidebar);
    padding: var(--rs-topbar) 2rem 2rem;
    transition: margin-left .25s ease;
}

.sidebar-toggle {
    min-width: 2.6rem;
    padding-inline: .75rem;
}

.sidebar-backdrop {
    display: none;
}

@media (min-width: 992px) {
    body.sidebar-collapsed .rs-sidebar {
        width: 0;
        opacity: 0;
        pointer-events: none;
        border-right: 0;
    }

    body.sidebar-collapsed .rs-topbar {
        left: 0;
    }

    body.sidebar-collapsed .rs-main,
    body.sidebar-collapsed .rs-footer {
        margin-left: 0;
    }
}

.rs-content {
    width: min(1240px, 100%);
    margin-inline: auto;
}

.rs-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.rs-eyebrow {
    margin-bottom: .35rem;
    color: var(--rs-primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rs-page-title {
    margin: 0;
    color: var(--rs-text);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0;
}

.rs-page-subtitle {
    max-width: 680px;
    margin: .5rem 0 0;
    color: var(--rs-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.rs-card,
.card,
.dashboard-card,
.kpi-card,
.insight-box,
.upload-card,
.assistant-card,
.result-card,
.business-card,
.empty-box,
.summary-card,
.section,
.stat-card {
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    background: var(--rs-surface);
    box-shadow: var(--rs-shadow-sm);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .2s ease, color .2s ease;
}

.rs-card {
    padding: 1.35rem;
}

.rs-card:hover,
.card:hover,
.dashboard-card:hover,
.kpi-card:hover,
.insight-box:hover,
.upload-card:hover,
.assistant-card:hover,
.result-card:hover,
.business-card:hover,
.empty-box:hover,
.summary-card:hover,
.section:hover,
.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, .28);
    box-shadow: var(--rs-shadow);
}

.rs-card-lg {
    padding: 1.75rem;
}

.gbp-register-notice {
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: var(--rs-radius-sm);
    background: var(--rs-primary-soft);
    color: var(--rs-text);
    overflow: hidden;
}

.gbp-register-notice-header {
    display: grid;
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .85rem;
    padding: 1rem;
    border: 0;
    border-radius: inherit;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
    transition: background-color .18s ease;
}

.gbp-register-notice-header:hover {
    background: rgba(37, 99, 235, .06);
}

.gbp-register-notice-header:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .34);
    outline-offset: -3px;
}

.gbp-register-notice-icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 999px;
    background: rgba(37, 99, 235, .12);
    color: var(--rs-primary);
}

.gbp-register-notice-chevron {
    color: var(--rs-primary);
    transition: transform .24s ease;
}

.gbp-register-notice.is-expanded .gbp-register-notice-chevron {
    transform: rotate(180deg);
}

.gbp-register-notice-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s ease, opacity .2s ease;
}

.gbp-register-notice.is-expanded .gbp-register-notice-content {
    opacity: 1;
}

.gbp-register-notice-copy {
    padding: 0 1rem 1rem calc(3rem + .85rem);
}

.gbp-register-notice p {
    color: var(--rs-muted);
    line-height: 1.55;
}

.gbp-register-notice .small {
    color: var(--rs-primary);
}

.analysis-progress-card {
    width: 100%;
}

.analysis-progress-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
}

.analysis-progress-copy {
    min-width: 0;
}

.analysis-progress-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
    flex: 0 0 auto;
}

.rs-card-title {
    margin: 0 0 .5rem;
    color: var(--rs-text);
    font-size: 1rem;
    font-weight: 800;
}

.rs-muted {
    color: var(--rs-muted);
}

.rs-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.rs-kpi {
    position: relative;
    overflow: hidden;
    padding: 1.2rem;
}

.rs-kpi::after {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: var(--rs-primary-soft);
    content: "";
}

.rs-kpi-icon {
    position: relative;
    z-index: 1;
    display: inline-grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: .85rem;
    background: var(--rs-primary-soft);
    color: var(--rs-primary);
}

.rs-kpi-value {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--rs-text);
    font-size: 2rem;
    font-weight: 800;
}

.rs-kpi-label {
    position: relative;
    z-index: 1;
    margin: .25rem 0 0;
    color: var(--rs-muted);
    font-size: .88rem;
    font-weight: 650;
}

.field,
.form-field {
    margin-bottom: 1rem;
}

.field label,
.form-label,
.form-field label {
    margin-bottom: .5rem;
    color: var(--rs-text);
    font-size: .88rem;
    font-weight: 750;
}

.field input,
.field textarea,
.field select,
.form-control,
.form-select {
    min-height: 3rem;
    border: 1px solid var(--rs-border-strong);
    border-radius: .8rem;
    background: var(--rs-surface);
    color: var(--rs-text);
    box-shadow: none;
}

.field input::placeholder,
.field textarea::placeholder,
.form-control::placeholder {
    color: var(--rs-subtle);
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: .8rem .95rem;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.form-control:focus,
.form-select:focus {
    border-color: var(--rs-primary);
    box-shadow: 0 0 0 .25rem rgba(37, 99, 235, .12);
    outline: 0;
}

.form-hint {
    margin-top: .4rem;
    color: var(--rs-muted);
    font-size: .84rem;
}

.table {
    margin-bottom: 0;
}

.table thead th,
.review-table th {
    border-bottom: 1px solid var(--rs-border);
    background: var(--rs-surface-muted);
    color: var(--rs-muted);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.table,
.review-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--rs-text);
    --bs-table-border-color: var(--rs-border);
}

.table td,
.table th,
.review-table td,
.review-table th {
    color: var(--rs-text);
    border-color: var(--rs-border);
}

.table tbody tr,
.review-table tbody tr {
    transition: background .18s ease;
}

.table tbody tr:hover,
.review-table tbody tr:hover {
    background: var(--rs-primary-soft);
}

.badge-soft-primary,
.badge-soft-success,
.badge-soft-warning,
.badge-soft-danger,
.status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .38rem .65rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
}

.badge-soft-primary {
    background: var(--rs-primary-soft);
    color: var(--rs-primary);
}

.badge-soft-success,
.status.analyzed {
    background: var(--rs-accent-soft);
    color: #047857;
}

.badge-soft-warning,
.status.pending {
    background: #fffbeb;
    color: #b45309;
}

.badge-soft-danger {
    background: #fef2f2;
    color: #b91c1c;
}

:root[data-theme="dark"] .badge-soft-warning,
:root[data-theme="dark"] .status.pending {
    background: rgba(251, 191, 36, .16);
    color: #fcd34d;
}

:root[data-theme="dark"] .badge-soft-danger {
    background: rgba(248, 113, 113, .16);
    color: #fca5a5;
}

:root[data-theme="dark"] .badge-soft-success,
:root[data-theme="dark"] .status.analyzed {
    color: #86efac;
}

.rs-recommendation-item {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border: 1px solid var(--rs-border);
    border-radius: 8px;
    background: var(--rs-bg);
    color: var(--rs-muted);
    line-height: 1.65;
}

.rs-recommendation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: var(--rs-accent-soft);
    color: var(--rs-accent);
    font-size: .95rem;
    margin-top: .1rem;
}

.progress {
    height: .7rem;
    border-radius: 999px;
    background: var(--rs-border);
}

.progress-bar,
.progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rs-primary), var(--rs-accent));
}

.rs-footer {
    position: relative;
    margin-left: var(--rs-sidebar);
    padding: 1.25rem 2rem;
    border-top: 1px solid var(--rs-border);
    color: var(--rs-muted);
    font-size: .88rem;
    transition: margin-left .25s ease;
}

.rs-public-footer {
    position: relative;
    border-top: 1px solid var(--rs-border);
    background: var(--rs-surface);
}

.rs-footer > div:first-child,
.rs-public-footer > .rs-public-container {
    padding-right: 4.75rem;
}

.rs-contact-widget {
    position: absolute;
    right: max(1.25rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 1050;
    width: 3.5rem;
    height: 3.5rem;
}

.rs-contact-options {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear .2s;
}

.rs-contact-button {
    display: inline-grid;
    width: 3.5rem;
    height: 3.5rem;
    flex: 0 0 3.5rem;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .24);
    transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}

.rs-contact-button:hover,
.rs-contact-button:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, .3);
}

.rs-contact-button:focus-visible {
    outline: 3px solid rgba(96, 165, 250, .5);
    outline-offset: 3px;
}

.rs-contact-toggle,
.rs-contact-close {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.rs-contact-call {
    background: #14b8a6;
}

.rs-contact-whatsapp {
    background: #25d366;
}

.rs-contact-options .rs-contact-button {
    opacity: 0;
    transform: translateY(1rem) scale(.86);
}

.rs-contact-widget.is-open .rs-contact-options {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.rs-contact-widget.is-open .rs-contact-options .rs-contact-button {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.rs-contact-widget.is-open .rs-contact-options .rs-contact-button:nth-child(2) {
    transition-delay: .04s;
}

.rs-contact-widget.is-open .rs-contact-options .rs-contact-button:first-child {
    transition-delay: .08s;
}

.rs-contact-widget.is-open .rs-contact-toggle {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: scale(.8);
}

@media (max-width: 575.98px) {
    .rs-contact-widget {
        right: max(1rem, env(safe-area-inset-right));
        bottom: max(1rem, env(safe-area-inset-bottom));
    }
}

.modal-content,
.confirm-box {
    border: 1px solid var(--rs-border);
    border-radius: 1rem;
    background: var(--rs-surface);
    color: var(--rs-text);
    box-shadow: var(--rs-shadow);
}

.modal {
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(6px);
}

.theme-toggle {
    display: inline-grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border: 1px solid var(--rs-border);
    border-radius: .75rem;
    background: var(--rs-surface);
    color: var(--rs-text);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    border-color: var(--rs-primary);
    color: var(--rs-primary);
}

.input-group-text {
    border-color: var(--rs-border-strong);
    background: var(--rs-surface);
    color: var(--rs-muted);
}

.bg-white,
.bg-light {
    background-color: var(--rs-surface-muted) !important;
}

.text-muted {
    color: var(--rs-muted) !important;
}

.text-primary {
    color: var(--rs-primary) !important;
}

.text-success {
    color: var(--rs-accent) !important;
}

.border,
.border-top,
.border-bottom {
    border-color: var(--rs-border) !important;
}

.lead,
.small,
p,
li,
td {
    color: inherit;
}

.offcanvas {
    background: var(--rs-surface);
    color: var(--rs-text);
}

:root[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.rs-service-card,
.rs-benefit-card,
.rs-audience-card {
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rs-service-card:hover,
.rs-benefit-card:hover,
.rs-audience-card:hover {
    transform: translateY(-3px);
    border-color: var(--rs-primary);
    box-shadow: var(--rs-shadow);
}

.rs-service-card p {
    line-height: 1.65;
}

.rs-problem-solution-section {
    scroll-margin-top: calc(var(--rs-topbar) + 1rem);
    background:
        linear-gradient(180deg, var(--rs-bg) 0%, var(--rs-surface-muted) 100%);
}

.rs-business-reality-section {
    background: var(--rs-surface);
}

.rs-business-reality-container {
    width: min(1560px, 100%);
    margin-inline: auto;
    padding-inline: clamp(2rem, 4vw, 4rem);
}

.rs-business-reality-intro {
    max-width: 850px;
    font-size: 1.05rem;
    line-height: 1.75;
}

.rs-business-reality-visual {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    background: var(--rs-surface-muted);
    box-shadow: var(--rs-shadow);
}

.rs-business-reality-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: contain;
    object-position: center;
}

.rs-reality-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: clamp(1.3rem, 1.8vw, 1.75rem);
    border-radius: var(--rs-radius);
    box-shadow: var(--rs-shadow);
}

.rs-reality-card::after {
    position: absolute;
    top: -55px;
    right: -55px;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    content: "";
    pointer-events: none;
}

.rs-reality-card-danger {
    border-top: 4px solid #ef4444;
}

.rs-reality-card-danger::after {
    background: rgba(239, 68, 68, .1);
}

.rs-reality-card-warning {
    border-top: 4px solid #f59e0b;
}

.rs-reality-card-warning::after {
    background: rgba(245, 158, 11, .12);
}

.rs-reality-card > * {
    position: relative;
    z-index: 1;
}

.rs-reality-card-heading {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    min-height: 4.5rem;
    margin-bottom: 1.35rem;
}

.rs-reality-card-icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border-radius: .85rem;
    font-size: 1.15rem;
}

.rs-reality-card-danger .rs-reality-card-icon {
    background: #fef2f2;
    color: #dc2626;
}

.rs-reality-card-warning .rs-reality-card-icon {
    background: #fff7ed;
    color: #d97706;
}

.rs-reality-list {
    display: grid;
    gap: .85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rs-reality-list li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    color: var(--rs-muted);
    font-size: .92rem;
    line-height: 1.55;
}

.rs-reality-list li > i {
    flex: 0 0 1rem;
    width: 1rem;
    margin-top: .22rem;
    font-size: .82rem;
    text-align: center;
}

.rs-reality-card-danger .rs-reality-list li > i {
    color: #dc2626;
}

.rs-reality-card-warning .rs-reality-list li > i {
    color: #d97706;
}

.rs-business-reality-callout {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    overflow: hidden;
    padding: clamp(1.75rem, 3vw, 2.75rem);
    border: 1px solid rgba(37, 99, 235, .32);
    border-radius: calc(var(--rs-radius) + .35rem);
    background:
        radial-gradient(circle at 0% 0%, rgba(96, 165, 250, .2), transparent 38%),
        linear-gradient(120deg, rgba(239, 246, 255, .98), rgba(219, 234, 254, .86));
    box-shadow: 0 22px 50px rgba(37, 99, 235, .14);
}

.rs-reality-quote-icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: clamp(3.5rem, 5vw, 4.75rem);
    height: clamp(3.5rem, 5vw, 4.75rem);
    place-items: center;
    border: 1px solid rgba(37, 99, 235, .2);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, .72);
    color: var(--rs-primary);
    font-size: clamp(2rem, 3vw, 3rem);
    box-shadow: var(--rs-shadow-sm);
}

.rs-reality-callout-content {
    flex: 1 1 auto;
    max-width: 900px;
}

.rs-reality-callout-label {
    color: var(--rs-primary);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.rs-reality-callout-statement {
    color: #172554;
    font-size: clamp(1.2rem, 1.55vw, 1.55rem);
    font-weight: 700;
    line-height: 1.55;
}

.rs-reality-callout-statement span {
    color: var(--rs-primary);
    font-weight: 850;
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, .28);
    text-decoration-thickness: .2em;
    text-underline-offset: .08em;
}

.rs-reality-callout-cta {
    flex: 0 0 auto;
    min-height: 3.25rem;
    padding-inline: 1.45rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 12px 26px rgba(37, 99, 235, .24);
    white-space: nowrap;
}

.rs-reality-callout-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, .3);
}

.rs-reality-callout-cta:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .35);
    outline-offset: 3px;
}

:root[data-theme="dark"] .rs-business-reality-callout {
    border-color: rgba(96, 165, 250, .38);
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, .24), transparent 40%),
        linear-gradient(120deg, rgba(30, 41, 59, .98), rgba(30, 58, 138, .5));
    box-shadow: 0 24px 54px rgba(0, 0, 0, .28);
}

:root[data-theme="dark"] .rs-reality-quote-icon {
    border-color: rgba(96, 165, 250, .3);
    background: rgba(15, 23, 42, .62);
}

:root[data-theme="dark"] .rs-reality-callout-statement {
    color: #eff6ff;
}

:root[data-theme="dark"] .rs-reality-card-danger .rs-reality-card-icon {
    background: rgba(220, 38, 38, .16);
    color: #fca5a5;
}

:root[data-theme="dark"] .rs-reality-card-warning .rs-reality-card-icon {
    background: rgba(217, 119, 6, .16);
    color: #fcd34d;
}

.rs-problem-card,
.rs-solution-card {
    position: relative;
    overflow: hidden;
}

.rs-problem-card::after,
.rs-solution-card::after {
    position: absolute;
    top: -70px;
    right: -70px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    content: "";
    pointer-events: none;
}

.rs-problem-card::after {
    background: rgba(239, 68, 68, .1);
}

.rs-solution-card::after {
    background: var(--rs-accent-soft);
}

.rs-problem-card > *,
.rs-solution-card > * {
    position: relative;
    z-index: 1;
}

.rs-problem-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.rs-problem-icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 1rem;
    font-size: 1.35rem;
}

.rs-problem-icon-danger {
    background: #fef2f2;
    color: var(--rs-danger);
}

.rs-problem-icon-success {
    background: var(--rs-accent-soft);
    color: var(--rs-accent);
}

.rs-insight-list {
    display: grid;
    gap: .85rem;
}

.rs-insight-list div {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .85rem .95rem;
    border: 1px solid var(--rs-border);
    border-radius: 8px;
    background: var(--rs-surface-muted);
    color: var(--rs-muted);
    font-weight: 650;
    line-height: 1.55;
}

.rs-problem-card .rs-insight-list i {
    color: var(--rs-danger);
}

.rs-solution-card .rs-insight-list i {
    color: var(--rs-accent);
}

.rs-timeline {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.rs-timeline-item {
    position: relative;
    display: grid;
    gap: .85rem;
    align-content: start;
    min-height: 150px;
    padding: 1.2rem;
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    background: var(--rs-surface);
    box-shadow: var(--rs-shadow-sm);
}

.rs-timeline-item:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -.75rem;
    color: var(--rs-primary);
    font-family: "bootstrap-icons";
    font-size: 1.15rem;
    content: "\F285";
    transform: translateY(-50%);
}

.rs-audience-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1rem;
}

.rs-audience-card {
    display: grid;
    min-height: 118px;
    place-items: center;
    gap: .75rem;
    text-align: center;
    font-weight: 800;
}

.rs-audience-card i {
    color: var(--rs-primary);
    font-size: 1.8rem;
}

.rg-premium-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(4rem, 7vw, 6.5rem) 0;
    border-block: 1px solid rgba(37, 99, 235, .1);
    background:
        radial-gradient(circle at 92% 2%, rgba(37, 99, 235, .12), transparent 27rem),
        radial-gradient(circle at 4% 18%, rgba(96, 165, 250, .1), transparent 19rem),
        linear-gradient(180deg, #fafdff 0%, #f5f9ff 48%, #ffffff 100%);
}

.rg-premium-section::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .32;
    background-image: radial-gradient(rgba(37, 99, 235, .2) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(90deg, #000, transparent 18%, transparent 82%, #000);
    content: "";
    pointer-events: none;
}

.rg-premium-header {
    max-width: 820px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.rg-premium-header .rs-eyebrow {
    display: inline-flex;
    margin-bottom: .75rem;
    padding: .38rem .75rem;
    border-radius: 999px;
    background: var(--rs-primary-soft);
    color: var(--rs-primary);
}

.rg-premium-heading {
    margin-bottom: 1rem;
    color: #0b1f44;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.rg-premium-header > p:last-child {
    max-width: 680px;
    margin: 0 auto;
    color: var(--rs-muted);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.65;
}

.rg-premium-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.rg-premium-card {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: clamp(1.5rem, 2.5vw, 2rem);
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 22px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 2px 5px rgba(15, 23, 42, .04), 0 24px 60px rgba(15, 63, 143, .12);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.rg-premium-card::after {
    position: absolute;
    z-index: -1;
    top: -85px;
    right: -75px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 99, 235, .2), rgba(96, 165, 250, .05) 55%, transparent 72%);
    content: "";
    pointer-events: none;
}

.rg-premium-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, .25);
    box-shadow: 0 3px 8px rgba(15, 23, 42, .05), 0 30px 70px rgba(15, 63, 143, .16);
}

.rg-premium-card-topline {
    margin-bottom: .9rem;
}

.rg-fit-badge,
.rg-offer-badge,
.rg-coming-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .01em;
}

.rg-fit-badge {
    gap: .4rem;
    padding: .42rem .7rem;
    background: #fff7d6;
    color: #9a6700;
    font-size: .72rem;
}

.rg-fit-badge i {
    color: #e9a400;
}

.rg-premium-card > h3 {
    margin: 0 0 .5rem;
    color: #0f2b5b;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.rg-offer-badge {
    margin-bottom: .25rem;
    padding: .2rem .48rem;
    background: var(--rs-primary-soft);
    color: var(--rs-primary);
    font-size: .62rem;
    text-transform: uppercase;
}

.rg-premium-price {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: .55rem;
    white-space: nowrap;
}

.rg-premium-price .rs-marketing-price-original {
    font-size: 1rem;
}

.rg-premium-price strong {
    color: var(--rs-primary);
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: clamp(2.35rem, 4vw, 3.15rem);
    letter-spacing: -.04em;
    line-height: 1;
}

.rg-premium-price > span:last-child {
    color: var(--rs-muted);
    font-size: .78rem;
    font-weight: 700;
}

.rg-price-note {
    margin: .55rem 0 1.25rem;
    color: var(--rs-muted);
    font-size: .84rem;
}

.rg-feature-groups {
    display: grid;
    border-top: 1px solid var(--rs-border);
}

.rg-feature-group {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: .75rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--rs-border);
}

.rg-feature-heading {
    display: contents;
}

.rg-feature-icon {
    display: inline-grid;
    width: 2.5rem;
    height: 2.5rem;
    grid-row: 1 / span 2;
    place-items: center;
    border-radius: .75rem;
    font-size: 1.1rem;
}

.rg-feature-icon-blue { background: #eaf2ff; color: #2563eb; }
.rg-feature-icon-purple { background: #f3e8ff; color: #7c3aed; }
.rg-feature-icon-green { background: #dcfce7; color: #16a34a; }

.rg-feature-group h4 {
    margin: 0 0 .3rem;
    color: var(--rs-primary);
    font-size: .82rem;
    font-weight: 800;
    text-transform: none;
}

.rg-checkout-plan-card .rg-feature-group h3,
.rg-checkout-plan-card .rg-coming-next h3 {
    margin: 0 0 .3rem;
    color: var(--rs-primary);
    font-size: .82rem;
    font-weight: 800;
}

.rg-checkout-plan-card > h2 {
    margin: 0 0 .5rem;
    color: #0f2b5b;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.rg-checkout-plan-card .rg-coming-next h3 {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: #6d28d9;
    font-size: .78rem;
}

:root[data-theme="dark"] .rg-checkout-plan-card > h2 {
    color: var(--rs-text);
}

.rg-feature-group ul {
    display: grid;
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rg-feature-group li {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    color: #486078;
    font-size: .76rem;
    font-weight: 600;
    line-height: 1.35;
}

.rg-feature-group li i {
    margin-top: .12rem;
    color: #22c55e;
    font-size: .72rem;
}

.rg-feature-label {
    min-width: 0;
}

.rg-coming-next {
    display: grid;
    gap: .55rem;
    margin: 1rem 0;
    padding: .85rem 1rem;
    border: 1px solid rgba(124, 58, 237, .13);
    border-radius: 12px;
    background: linear-gradient(135deg, #faf7ff, #f4f1ff);
}

.rg-coming-next h4 {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
    color: #6d28d9;
    font-size: .78rem;
    font-weight: 800;
}

.rg-coming-next > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: #5b6475;
    font-size: .72rem;
    font-weight: 650;
}

.rg-coming-next > div > span:first-child {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.rg-coming-next i { color: #7c3aed; }

.rg-coming-badge {
    flex: 0 0 auto;
    padding: .2rem .45rem;
    background: #ede9fe;
    color: #6d28d9;
    font-size: .54rem;
    text-transform: uppercase;
}

.rg-premium-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr);
    gap: .65rem;
}

.rg-premium-actions .btn-solid,
.rg-premium-actions .btn-ghost {
    justify-content: center;
    padding-inline: .8rem;
    font-size: .76rem;
    text-align: center;
}

.rg-premium-primary:hover {
    box-shadow: 0 14px 28px rgba(37, 99, 235, .25);
}

.rg-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    margin: .75rem 0 0;
    color: var(--rs-muted);
    font-size: .68rem;
    text-align: center;
}

.rg-secure-note i { color: var(--rs-primary); }

.rg-preview-wrap {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: clamp(2rem, 4vw, 3.8rem) .5rem 1.5rem;
}

.rg-preview-wrap::before {
    position: absolute;
    z-index: -1;
    inset: 8% 3% 2%;
    border-radius: 42%;
    background: radial-gradient(circle, rgba(37, 99, 235, .22), rgba(96, 165, 250, .09) 45%, transparent 72%);
    filter: blur(28px);
    content: "";
}

.rg-dashboard-preview {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 20px;
    background: #f6f9fd;
    box-shadow: 0 30px 70px rgba(15, 63, 143, .16), 0 3px 8px rgba(15, 23, 42, .08);
    transition: transform .22s ease, box-shadow .22s ease;
}

.rg-preview-wrap:hover .rg-dashboard-preview {
    transform: translateY(-3px);
    box-shadow: 0 36px 82px rgba(15, 63, 143, .2), 0 4px 10px rgba(15, 23, 42, .08);
}

.rg-preview-chip,
.rg-preview-rating {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .75rem;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 10px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 10px 26px rgba(15, 63, 143, .11);
    font-size: .68rem;
    font-weight: 800;
    animation: rgChipIn .55s ease both;
}

.rg-preview-chip-sync { top: .3rem; left: 34%; color: #15803d; }
.rg-preview-chip-ai { top: 1.1rem; right: 3%; color: var(--rs-primary); animation-delay: .12s; }
.rg-preview-rating { bottom: 0; left: 6%; color: #805b00; animation-delay: .2s; }
.rg-preview-rating i { color: #f5b51b; }

@keyframes rgChipIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.rg-dashboard-topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 58px;
    padding: .75rem 1rem;
    border-bottom: 1px solid #e5eaf1;
    background: #fff;
}

.rg-dashboard-brand {
    display: flex;
    align-items: center;
    color: #0f2b5b;
    font-size: .76rem;
    font-weight: 800;
}

.rg-dashboard-brand > span:first-child {
    display: inline-grid;
    width: 1.55rem;
    height: 1.55rem;
    margin-right: .4rem;
    place-items: center;
    border-radius: .45rem;
    background: var(--rs-primary-soft);
    color: var(--rs-primary);
}

.rg-dashboard-brand > span:last-child { color: var(--rs-primary); }

.rg-window-dots { display: flex; gap: .3rem; }
.rg-window-dots i { width: .42rem; height: .42rem; border-radius: 50%; background: #cbd5e1; }
.rg-demo-pill { justify-self: end; padding: .25rem .5rem; border-radius: 999px; background: #f1f5f9; color: #64748b; font-size: .55rem; font-weight: 800; }

.rg-dashboard-body {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 500px;
}

.rg-dashboard-nav {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: .65rem;
    padding: 1rem .6rem;
    background: linear-gradient(180deg, #10284a, #0b1f3a);
}

.rg-dashboard-nav span {
    display: inline-grid;
    width: 2.15rem;
    height: 2.15rem;
    place-items: center;
    border-radius: .6rem;
    color: #9fb3ce;
    font-size: .8rem;
}

.rg-dashboard-nav span.active { background: #2563eb; color: #fff; }

.rg-dashboard-main { min-width: 0; padding: 1rem; }

.rg-dashboard-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
}

.rg-dashboard-title-row p { margin: 0 0 .12rem; color: #94a3b8; font-size: .55rem; font-weight: 700; }
.rg-dashboard-title-row h3 { margin: 0; color: #10284a; font-size: .95rem; font-weight: 800; }
.rg-dashboard-title-row > span { padding: .35rem .5rem; border: 1px solid #e2e8f0; border-radius: .45rem; background: #fff; color: #64748b; font-size: .5rem; font-weight: 700; }

.rg-preview-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
    margin-bottom: .6rem;
}

.rg-preview-metrics > div,
.rg-chart-card,
.rg-review-card,
.rg-alert-card,
.rg-ai-card,
.rg-report-card {
    border: 1px solid #e7edf5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(15, 23, 42, .025);
}

.rg-preview-metrics > div { position: relative; min-height: 95px; padding: .7rem; }
.rg-preview-metrics span { display: block; color: #64748b; font-size: .53rem; font-weight: 700; }
.rg-preview-metrics strong { display: block; margin: .4rem 0; color: #10284a; font-size: 1.25rem; line-height: 1; }
.rg-preview-metrics strong small { color: #64748b; font-size: .5rem; }
.rg-preview-metrics em { color: #16a34a; font-size: .48rem; font-style: normal; font-weight: 700; }
.rg-ring { position: absolute; right: .65rem; bottom: .65rem; width: 1.65rem; height: 1.65rem; border: 4px solid #dcfce7; border-top-color: #10b981; border-right-color: #10b981; border-radius: 50%; transform: rotate(24deg); }

.rg-preview-middle { display: grid; grid-template-columns: 1.35fr .85fr; gap: .6rem; margin-bottom: .6rem; }
.rg-chart-card, .rg-review-card { min-height: 158px; padding: .75rem; }
.rg-chart-card h4, .rg-review-card h4, .rg-preview-bottom h4 { margin: 0; color: #10284a; font-size: .62rem; font-weight: 800; }
.rg-chart-grid { height: 92px; margin-top: .45rem; background-image: linear-gradient(#edf2f7 1px, transparent 1px); background-size: 100% 23px; }
.rg-chart-grid svg { width: 100%; height: 100%; }
.rg-chart-legend { display: flex; gap: .75rem; color: #64748b; font-size: .48rem; }
.rg-chart-legend span { display: inline-flex; align-items: center; gap: .25rem; }
.rg-chart-legend i { width: .4rem; height: .4rem; border-radius: 50%; }
.rg-chart-legend .positive { background: #10b981; }
.rg-chart-legend .negative { background: #f87171; }

.rg-preview-card-title { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.rg-preview-card-title > span { padding: .18rem .35rem; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: .45rem; font-weight: 800; }
.rg-review-person { display: flex; align-items: center; gap: .4rem; margin: .7rem 0 .3rem; }
.rg-review-person > span { display: inline-grid; width: 1.6rem; height: 1.6rem; place-items: center; border-radius: 50%; background: #eaf2ff; color: var(--rs-primary); font-size: .5rem; font-weight: 800; }
.rg-review-person strong, .rg-review-person small { display: block; }
.rg-review-person strong { color: #334155; font-size: .54rem; }
.rg-review-person small { color: #94a3b8; font-size: .45rem; }
.rg-stars { color: #f5b51b; font-size: .66rem; letter-spacing: .06em; }
.rg-review-card p { margin: .4rem 0 0; color: #475569; font-size: .53rem; line-height: 1.5; }

.rg-preview-bottom { display: grid; grid-template-columns: .8fr 1.3fr .9fr; gap: .6rem; }
.rg-alert-card, .rg-ai-card, .rg-report-card { min-height: 128px; padding: .72rem; }
.rg-alert-card > div { display: flex; align-items: center; gap: .35rem; }
.rg-alert-card strong { color: #10284a; font-size: .55rem; }
.rg-alert-icon { color: #ef4444; font-size: .7rem; }
.rg-alert-card p { margin: .75rem 0 .55rem; color: #64748b; font-size: .5rem; line-height: 1.45; }
.rg-alert-card > span { padding: .18rem .35rem; border-radius: 999px; background: #fef2f2; color: #b91c1c; font-size: .44rem; font-weight: 800; }
.rg-ai-card { background: linear-gradient(135deg, #fff, #effcf5); }
.rg-ai-card h4 i { margin-right: .25rem; color: #7c3aed; }
.rg-ai-card p { margin: .65rem 0; color: #475569; font-size: .5rem; line-height: 1.5; }
.rg-ai-card button { padding: .32rem .55rem; border: 0; border-radius: .35rem; background: #16a34a; color: #fff; font-size: .45rem; font-weight: 800; opacity: 1; }
.rg-report-card { display: grid; align-content: start; gap: .55rem; }
.rg-report-card > i { color: #ef4444; font-size: 1.15rem; }
.rg-report-card strong, .rg-report-card div span { display: block; }
.rg-report-card strong { color: #10284a; font-size: .54rem; }
.rg-report-card div span { color: #94a3b8; font-size: .45rem; }
.rg-report-status { color: #15803d; font-size: .45rem; font-weight: 800; }

.rg-value-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(2rem, 4vw, 3rem);
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 14px 34px rgba(15, 63, 143, .07);
}

.rg-value-row > div { display: flex; align-items: center; gap: .85rem; padding: 1.2rem 1.35rem; }
.rg-value-row > div + div { border-left: 1px solid var(--rs-border); }
.rg-value-row > div > span { display: inline-grid; flex: 0 0 auto; width: 2.75rem; height: 2.75rem; place-items: center; border-radius: 50%; background: var(--rs-primary-soft); color: var(--rs-primary); font-size: 1.15rem; }
.rg-value-row > div:nth-child(2) > span { background: #f3e8ff; color: #7c3aed; }
.rg-value-row > div:nth-child(3) > span { background: #dcfce7; color: #16a34a; }
.rg-value-row strong { display: block; margin-bottom: .2rem; color: #10284a; font-size: .88rem; }
.rg-value-row p { margin: 0; color: var(--rs-muted); font-size: .68rem; line-height: 1.45; }

.rg-trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2rem; padding-top: 1.3rem; color: var(--rs-muted); font-size: .72rem; font-weight: 650; }
.rg-trust-row span { display: inline-flex; align-items: center; gap: .4rem; }
.rg-trust-row i { color: var(--rs-primary); }

:root[data-theme="dark"] .rg-premium-section {
    background:
        radial-gradient(circle at 92% 2%, rgba(37, 99, 235, .2), transparent 27rem),
        linear-gradient(180deg, #0b1220, #101b30 50%, #0b1220);
}

:root[data-theme="dark"] .rg-premium-heading,
:root[data-theme="dark"] .rg-premium-card > h3,
:root[data-theme="dark"] .rg-value-row strong { color: var(--rs-text); }
:root[data-theme="dark"] .rg-premium-card,
:root[data-theme="dark"] .rg-value-row { border-color: var(--rs-border); background: rgba(17, 24, 39, .96); }
:root[data-theme="dark"] .rg-feature-group li { color: var(--rs-muted); }
:root[data-theme="dark"] .rg-coming-next { border-color: rgba(167, 139, 250, .25); background: rgba(76, 29, 149, .14); }

.rs-pricing-card {
    position: relative;
    overflow: hidden;
}

.rs-pricing-card::after {
    position: absolute;
    top: -72px;
    right: -72px;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    background: var(--rs-primary-soft);
    content: "";
}

.rs-pricing-card > * {
    position: relative;
    z-index: 1;
}

.rs-marketing-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .75rem;
}

.rs-marketing-price-original {
    color: var(--rs-subtle);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-thickness: .12em;
}

.rs-pricing-list {
    display: grid;
    gap: .9rem;
}

.rs-pricing-list div {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--rs-muted);
    font-weight: 650;
}

.rs-pricing-list i {
    color: var(--rs-accent);
}

.rs-benefit-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rs-benefit-card .rs-kpi-icon {
    margin-bottom: 0;
}

.rs-final-cta {
    background:
        linear-gradient(135deg, var(--rs-surface), var(--rs-surface-muted));
}

@media (max-width: 991.98px) {
    .rg-business-demo { width: min(100%, 720px); margin-top: .5rem; }

    .rg-premium-layout {
        grid-template-columns: 1fr;
        max-width: 760px;
        margin-inline: auto;
    }

    .rg-premium-card {
        max-width: 620px;
        margin-inline: auto;
    }

    .rg-preview-wrap {
        width: 100%;
    }

    .rg-dashboard-body {
        min-height: 470px;
    }

    .rg-value-row {
        grid-template-columns: 1fr;
        max-width: 760px;
        margin-inline: auto;
        margin-top: 2rem;
    }

    .rg-value-row > div + div {
        border-top: 1px solid var(--rs-border);
        border-left: 0;
    }

    .rs-landing-hero {
        min-height: auto;
    }

    .rs-landing-hero::before {
        background:
            linear-gradient(90deg, rgba(15, 23, 42, .82) 0%, rgba(15, 23, 42, .64) 58%, rgba(15, 23, 42, .44) 100%),
            linear-gradient(180deg, rgba(15, 23, 42, .2), rgba(15, 23, 42, .5));
    }

    .rs-hero-bg-slide {
        background-position: center;
    }

    .rs-topbar {
        left: 0;
    }

    .rs-sidebar {
        width: min(var(--rs-sidebar), 84vw);
        transform: translateX(-100%);
        box-shadow: none;
    }

    body.sidebar-open {
        overflow: hidden;
    }

    body.sidebar-open .rs-sidebar {
        transform: translateX(0);
        box-shadow: 16px 0 40px rgba(15, 23, 42, .18);
    }

    body.sidebar-open .sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1045;
        background: rgba(15, 23, 42, .42);
        backdrop-filter: blur(2px);
    }

    .rs-main,
    .rs-footer {
        margin-left: 0;
    }

    .rs-main {
        padding: var(--rs-topbar) 1.25rem 1.25rem;
    }

    .rs-page-header {
        flex-direction: column;
    }

    .analysis-progress-header {
        flex-direction: column;
    }

    .analysis-progress-actions,
    .analysis-progress-actions .btn-ghost {
        width: 100%;
    }

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

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

    .rs-timeline-item:not(:last-child)::after {
        display: none;
    }

    .rs-business-reality-callout {
        align-items: flex-start;
        flex-direction: column;
    }

    .rs-business-reality-visual img {
        height: auto;
        aspect-ratio: 3 / 2;
    }
}

@media (max-width: 575.98px) {
    :root {
        --rs-topbar: 62px;
    }

    .rs-landing-hero {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .rs-landing-hero::before {
        background: rgba(15, 23, 42, .78);
    }

    .rs-landing-hero .row {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .rs-hero-title {
        font-size: 2.25rem;
    }

    .rg-business-demo { grid-template-columns: 1fr; border-radius: 16px; }
    .rg-business-demo__sidebar { display: none; }
    .rg-business-demo__canvas { padding: .75rem; }
    .rg-business-demo__header { grid-template-columns: 1fr auto; }
    .rg-business-demo__mobile-brand { display: flex; grid-column: 1 / -1; padding-bottom: .5rem; border-bottom: 1px solid var(--rg-demo-border); }
    .rg-business-demo__business-card { grid-template-columns: 1fr; }
    .rg-business-demo__property { height: 150px; min-height: 0; }
    .rg-business-demo__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rg-business-demo__metrics div { padding: .55rem; }
    .rg-business-demo__services { grid-template-columns: 1fr; }
    .rg-business-demo__services > div { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }

    .rs-public-nav-inner {
        padding-inline: .5rem;
    }

    .rs-public-nav .rs-brand {
        gap: .45rem;
    }

    .rs-public-nav .rs-brand-text {
        display: none;
    }

    .rs-public-actions {
        gap: .3rem !important;
    }

    .rs-public-actions .rs-pricing-nav-link {
        display: none;
    }

    .rs-public-actions .btn-solid,
    .rs-public-actions .btn-ghost {
        min-height: 2.3rem;
        padding: .55rem .6rem;
        border-radius: .65rem;
        font-size: .82rem;
    }

    .rs-public-actions .theme-toggle {
        width: 2.3rem;
        height: 2.3rem;
        border-radius: .65rem;
    }

    .brand-logo {
        height: 40px;
        max-width: 128px;
    }

    .auth-logo {
        height: 58px;
        max-width: 180px;
    }

    .rg-premium-section {
        padding: 3.5rem 0;
    }

    .rg-premium-section::before,
    .rg-preview-rating {
        display: none;
    }

    .rg-premium-header {
        margin-bottom: 2.25rem;
    }

    .rg-premium-heading {
        font-size: 2rem;
    }

    .rg-premium-card {
        padding: 1.25rem;
        border-radius: 18px;
    }

    .rg-premium-price {
        gap: .4rem;
    }

    .rg-premium-price strong {
        font-size: clamp(2rem, 11vw, 2.65rem);
    }

    .rg-feature-group {
        grid-template-columns: 2.25rem minmax(0, 1fr);
        gap: .65rem;
    }

    .rg-feature-icon {
        width: 2.25rem;
        height: 2.25rem;
    }

    .rg-feature-group li {
        font-size: .75rem;
    }

    .rg-coming-next > div {
        align-items: flex-start;
        flex-direction: column;
        gap: .35rem;
    }

    .rg-premium-actions {
        grid-template-columns: 1fr;
    }

    .rg-premium-actions .btn-solid,
    .rg-premium-actions .btn-ghost {
        width: 100%;
        font-size: .82rem;
    }

    .rg-preview-wrap {
        margin-top: .5rem;
        padding: 3.25rem 0 0;
    }

    .rg-preview-chip {
        padding: .45rem .55rem;
        font-size: .57rem;
    }

    .rg-preview-chip-sync { left: 2%; }
    .rg-preview-chip-ai { right: 1%; }

    .rg-dashboard-preview {
        border-radius: 15px;
    }

    .rg-dashboard-topbar {
        grid-template-columns: 1fr auto;
        min-height: 50px;
        padding: .65rem .75rem;
    }

    .rg-window-dots {
        display: none;
    }

    .rg-dashboard-body {
        grid-template-columns: 42px minmax(0, 1fr);
        min-height: 0;
    }

    .rg-dashboard-nav {
        padding-inline: .3rem;
    }

    .rg-dashboard-nav span {
        width: 1.75rem;
        height: 1.75rem;
        font-size: .68rem;
    }

    .rg-dashboard-main {
        padding: .65rem;
    }

    .rg-dashboard-title-row > span,
    .rg-preview-metrics em,
    .rg-ring,
    .rg-chart-legend,
    .rg-alert-card {
        display: none;
    }

    .rg-preview-metrics {
        gap: .35rem;
    }

    .rg-preview-metrics > div {
        min-height: 72px;
        padding: .5rem;
    }

    .rg-preview-metrics strong {
        font-size: 1rem;
    }

    .rg-preview-middle {
        grid-template-columns: 1fr;
        gap: .4rem;
    }

    .rg-chart-card {
        min-height: 130px;
    }

    .rg-review-card {
        min-height: 0;
    }

    .rg-preview-bottom {
        grid-template-columns: 1.25fr .85fr;
        gap: .4rem;
    }

    .rg-ai-card,
    .rg-report-card {
        min-height: 118px;
    }

    .rg-value-row > div {
        padding: 1rem;
    }

    .rg-trust-row {
        align-items: flex-start;
        flex-direction: column;
        padding-inline: .5rem;
    }

    .login-page {
        align-items: flex-start;
        padding: 1.5rem 0 2rem;
    }

    .login-content {
        width: min(100% - 8px, 1180px);
        padding-block: 0;
    }

    .login-page .auth-card {
        border-radius: 18px;
        padding: 1.25rem;
    }

    .login-landscape {
        width: 175%;
        max-width: none;
        transform: translateX(-21.5%);
    }

    .landscape-foliage {
        display: none;
    }

    .rs-kpi-grid {
        grid-template-columns: 1fr;
    }

    .rs-main {
        padding: var(--rs-topbar) 1rem 1rem;
    }

    .rs-card,
    .rs-card-lg {
        padding: 1rem;
    }

    .rs-timeline,
    .rs-audience-grid {
        grid-template-columns: 1fr;
    }

    .rs-benefit-card {
        align-items: flex-start;
    }

    .rs-business-reality-intro {
        font-size: 1rem;
    }

    .rs-business-reality-container {
        padding-inline: 1rem;
    }

    .rs-reality-card-heading {
        min-height: 0;
    }

    .rs-business-reality-callout {
        padding: 1.1rem;
    }

    .rs-business-reality-callout .btn-solid {
        width: 100%;
        white-space: normal;
    }
}

@media (max-width: 420px) {
    .rs-public-actions .btn-solid,
    .rs-public-actions .btn-ghost {
        padding-inline: .5rem;
        font-size: .78rem;
    }
}

@media (max-width: 340px) {
    .rs-public-actions .btn-solid,
    .rs-public-actions .btn-ghost {
        padding-inline: .42rem;
        font-size: .74rem;
    }

    .brand-logo {
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rg-premium-card,
    .rg-dashboard-preview,
    .rg-preview-chip,
    .rg-preview-rating,
    .rg-premium-primary {
        animation: none;
        transition: none;
    }

    .gbp-register-notice-header,
    .gbp-register-notice-chevron,
    .gbp-register-notice-content {
        transition: none;
    }

    .login-page .auth-card,
    .login-card-error {
        animation: none;
        transition: none;
    }

    .rs-contact-button,
    .rs-contact-options {
        transition: none;
    }

    .rs-hero-bg-slide,
    .has-single-bg .rs-hero-bg-slide,
    .has-slideshow-bg .rs-hero-bg-slide {
        animation: none;
        transform: none;
    }

    .rs-hero-bg-slide:first-child {
        opacity: 1;
    }
}

/* Public homepage reputation command-center preview. */
.rg-ai-spotlight {
    --ai-ink: #111827;
    --ai-text: #5f6f89;
    --ai-blue: #2f66e9;
    --ai-blue-soft: #eef4ff;
    --ai-border: #dfe7f3;
    --ai-surface: #ffffff;
    --ai-canvas: #f7f9fc;
    --ai-success: #10b981;
    overflow: hidden;
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
    border-bottom: 1px solid var(--ai-border);
    background: linear-gradient(180deg, var(--ai-canvas), var(--ai-blue-soft));
}

.rg-ai-spotlight__layout {
    display: grid;
    grid-template-columns: minmax(300px, .76fr) minmax(0, 1.24fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4.75rem);
    min-width: 0;
}

.rg-ai-spotlight__content,
.rg-ai-spotlight__visual { min-width: 0; }

.rg-ai-spotlight__labels { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-bottom: 1rem; }
.rg-ai-spotlight__eyebrow { margin: 0; color: var(--ai-blue); font-size: .73rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.rg-ai-spotlight__badge { padding: .38rem .65rem; border: 1px solid rgba(47, 102, 233, .2); border-radius: 999px; background: var(--ai-surface); color: var(--ai-blue); font-size: .68rem; font-weight: 800; }
.rg-ai-spotlight h2 { margin: 0; color: var(--ai-ink); font-family: "Space Grotesk", sans-serif; font-size: clamp(2rem, 3.3vw, 3.35rem); font-weight: 750; letter-spacing: -.04em; line-height: 1.08; }
.rg-ai-spotlight__description { margin: 1.25rem 0 0; color: var(--ai-text); font-size: clamp(.96rem, 1.2vw, 1.08rem); line-height: 1.75; }
.rg-ai-spotlight__benefits { display: grid; gap: .75rem; margin: 1.7rem 0 0; padding: 0; list-style: none; }
.rg-ai-spotlight__benefits li { display: grid; grid-template-columns: 1.65rem minmax(0, 1fr); align-items: start; gap: .65rem; color: var(--ai-ink); font-size: .91rem; font-weight: 700; line-height: 1.5; }
.rg-ai-spotlight__benefits i { display: grid; width: 1.65rem; height: 1.65rem; place-items: center; border-radius: 50%; background: rgba(47, 102, 233, .1); color: var(--ai-blue); font-size: .8rem; }
.rg-ai-spotlight__trust { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); align-items: center; gap: .65rem; margin: 1.7rem 0 0; padding: .8rem .9rem; border: 1px solid rgba(16, 185, 129, .22); border-radius: 12px; background: rgba(255, 255, 255, .72); color: #166534; font-size: .77rem; font-weight: 750; line-height: 1.45; }
.rg-ai-spotlight__trust i { color: var(--ai-success); font-size: 1.2rem; }
.rg-ai-spotlight__visual { margin: 0; }
.rg-ai-spotlight__frame { overflow: hidden; padding: clamp(.4rem, .7vw, .65rem); border: 1px solid var(--ai-border); border-radius: 22px; background: var(--ai-surface); box-shadow: 0 28px 70px rgba(39, 61, 98, .16); }
.rg-ai-spotlight__frame picture { display: block; aspect-ratio: 1918 / 906; overflow: hidden; border-radius: 15px; background: #fff; }
.rg-ai-spotlight__frame img { display: block; width: 100%; height: auto; aspect-ratio: 1918 / 906; object-fit: contain; }
.rg-ai-spotlight__visual figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; padding: .75rem .35rem 0; color: var(--ai-text); font-size: .69rem; }
.rg-ai-spotlight__visual figcaption strong { color: var(--ai-ink); font-weight: 800; }
.rg-ai-spotlight.is-rg-ai-pending [data-rg-ai-reveal] { opacity: 0; transform: translateY(16px); }
.rg-ai-spotlight.is-rg-ai-pending [data-rg-ai-reveal="visual"] { transform: translate(18px, 16px); }
.rg-ai-spotlight.is-rg-ai-visible [data-rg-ai-reveal] { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s cubic-bezier(.2, .75, .3, 1); }
.rg-ai-spotlight.is-rg-ai-visible [data-rg-ai-reveal="visual"] { transition-delay: .12s; }
.rg-ai-spotlight.is-rg-ai-visible [data-rg-ai-reveal="benefit"] { transition-delay: calc(.18s + var(--rg-ai-order) * .08s); }

:root[data-theme="dark"] .rg-ai-spotlight { --ai-ink: #f8fafc; --ai-text: #b6c2d4; --ai-blue-soft: #111b2e; --ai-border: #2c3b52; --ai-surface: #111827; --ai-canvas: #0c1423; }
:root[data-theme="dark"] .rg-ai-spotlight__trust { background: rgba(17, 24, 39, .78); color: #86efac; }

@media (max-width: 991.98px) {
    .rg-ai-spotlight__layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .rg-ai-spotlight__content { max-width: 760px; }
}

@media (max-width: 767.98px) {
    .rg-ai-spotlight { padding: 4rem 0; }
    .rg-ai-spotlight__frame { border-radius: 16px; padding: .3rem; }
    .rg-ai-spotlight__frame picture { border-radius: 11px; }
    .rg-ai-spotlight__visual figcaption { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .rg-ai-spotlight [data-rg-ai-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

.rgcc-section {
    --rgcc-primary: var(--rs-primary);
    --rgcc-primary-rgb: 37, 99, 235;
    --rgcc-warm: #f59e0b;
    --rgcc-ink: #13213c;
    --rgcc-panel: rgba(255, 255, 255, .88);
    --rgcc-line: rgba(37, 99, 235, .24);
    --rg-health-progress: #10b981;
    --rg-health-progress-strong: #059669;
    --rg-health-track: #e8edf5;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
    scroll-margin-top: calc(var(--rs-topbar) + 1rem);
    background:
        radial-gradient(circle at 12% 12%, rgba(var(--rgcc-primary-rgb), .09), transparent 27rem),
        radial-gradient(circle at 88% 46%, rgba(245, 158, 11, .08), transparent 25rem),
        linear-gradient(180deg, var(--rs-surface) 0%, var(--rs-bg) 58%, var(--rs-surface) 100%);
}

.rgcc-section::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: radial-gradient(rgba(var(--rgcc-primary-rgb), .16) 1px, transparent 1px);
    background-size: 30px 30px;
    content: "";
    opacity: .28;
    mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 72%, transparent);
}

.rgcc-intro {
    max-width: 830px;
    margin: 0 auto clamp(2.5rem, 5vw, 4.25rem);
    text-align: center;
}

.rgcc-eyebrow,
.rgcc-panel-label {
    margin: 0 0 .9rem;
    color: var(--rgcc-primary);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.rgcc-intro h2 {
    margin: 0;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: clamp(2.25rem, 5vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.04;
}

.rgcc-intro > p:not(.rgcc-eyebrow) {
    max-width: 760px;
    margin: 1.35rem auto 0;
    color: var(--rs-muted);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.75;
}

.rgcc-actions {
    display: flex;
    justify-content: center;
    gap: .8rem;
    margin-top: 1.75rem;
}

.rgcc-feature-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.rgcc-feature-card {
    min-width: 0;
    padding: 1.25rem;
    border: 1px solid rgba(var(--rgcc-primary-rgb), .14);
    border-radius: 20px;
    background: var(--rgcc-panel);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .07);
    backdrop-filter: blur(18px);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.rgcc-feature-card:hover,
.rgcc-feature-card:focus-within,
.rgcc-feature-card:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(var(--rgcc-primary-rgb), .34);
    box-shadow: 0 24px 55px rgba(15, 23, 42, .11);
}

.rgcc-feature-card:focus-visible {
    outline: 3px solid rgba(var(--rgcc-primary-rgb), .24);
    outline-offset: 3px;
}

.rgcc-card-heading {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-height: 3.35rem;
}

.rgcc-feature-icon,
.rgcc-module-heading > span {
    display: grid;
    flex: 0 0 auto;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    border: 1px solid rgba(var(--rgcc-primary-rgb), .16);
    border-radius: 14px;
    background: rgba(var(--rgcc-primary-rgb), .09);
    color: var(--rgcc-primary);
    font-size: 1.1rem;
}

.rgcc-card-heading h3 {
    margin: 0;
    font-size: .98rem;
    font-weight: 800;
}

.rgcc-card-heading p {
    margin: .22rem 0 0;
    color: var(--rs-muted);
    font-size: .72rem;
}

.rgcc-mini-metrics {
    display: grid;
    gap: .52rem;
    margin: 1.15rem 0;
}

.rgcc-mini-metrics > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--rs-border);
}

.rgcc-mini-metrics dt {
    color: var(--rs-muted);
    font-size: .72rem;
    font-weight: 500;
}

.rgcc-mini-metrics dd {
    margin: 0;
    color: var(--rgcc-ink);
    font-size: .83rem;
    font-weight: 800;
}

.rgcc-card-outcome {
    display: flex;
    align-items: baseline;
    gap: .45rem;
    color: var(--rgcc-primary);
}

.rgcc-card-outcome strong { font-size: 1.05rem; }
.rgcc-card-outcome span { color: var(--rs-muted); font-size: .69rem; font-weight: 700; }

.rgcc-connectors {
    position: relative;
    height: 128px;
    margin: -1px 1.5rem -1px;
}

.rgcc-connectors svg { width: 100%; height: 100%; overflow: visible; }
.rgcc-connector-path { fill: none; stroke: var(--rgcc-line); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.rgcc-connector-pulse { fill: var(--rgcc-warm); opacity: .9; }

.rgcc-command-center {
    overflow: hidden;
    border: 1px solid rgba(var(--rgcc-primary-rgb), .2);
    border-radius: 28px;
    background: rgba(250, 252, 255, .94);
    box-shadow: 0 35px 90px rgba(30, 64, 175, .14), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.rgcc-command-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(var(--rgcc-primary-rgb), .12);
    background: linear-gradient(100deg, rgba(var(--rgcc-primary-rgb), .08), rgba(245, 158, 11, .055));
}

.rgcc-panel-label { margin-bottom: .35rem; font-size: .64rem; }
.rgcc-panel-label span { display: inline-block; width: .42rem; height: .42rem; margin-right: .35rem; border-radius: 50%; background: var(--rgcc-warm); }
.rgcc-command-header h3 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(1.35rem, 2.3vw, 2rem); font-weight: 700; letter-spacing: -.025em; }
.rgcc-command-header > div > p:last-child { margin: .35rem 0 0; color: var(--rs-muted); font-size: .83rem; }

.rgcc-live-status {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    flex: 0 0 auto;
    padding: .55rem .75rem;
    border: 1px solid rgba(var(--rgcc-primary-rgb), .16);
    border-radius: 999px;
    background: var(--rs-surface);
    color: var(--rs-muted);
    font-size: .7rem;
    font-weight: 700;
}

.rgcc-live-status i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--rgcc-primary); box-shadow: 0 0 0 4px rgba(var(--rgcc-primary-rgb), .12); }

.rgcc-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 1px;
    background: rgba(var(--rgcc-primary-rgb), .1);
}

.rgcc-dashboard-grid > section { min-width: 0; padding: clamp(1.25rem, 3vw, 2rem); background: var(--rgcc-panel); }
.rgcc-ai-demo { grid-column: 1 / -1; }

.rgcc-module-heading,
.rgcc-ai-heading {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.25rem;
}

.rgcc-module-heading p { margin: 0; color: var(--rgcc-primary); font-size: .64rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.rgcc-module-heading h4 { margin: .2rem 0 0; font-size: 1.05rem; font-weight: 800; }
.rgcc-briefing ol { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.rgcc-briefing li { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; align-items: center; gap: .7rem; padding: .75rem; border: 1px solid var(--rs-border); border-radius: 14px; background: var(--rs-surface); }
.rgcc-briefing li > span { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 10px; }
.rgcc-briefing li > span.positive { background: rgba(var(--rgcc-primary-rgb), .1); color: var(--rgcc-primary); }
.rgcc-briefing li > span.attention { background: rgba(245, 158, 11, .12); color: #b45309; }
.rgcc-briefing li > span.focus { background: rgba(139, 92, 246, .1); color: #7c3aed; }
.rgcc-briefing li p { margin: 0; font-size: .8rem; font-weight: 650; }
.rgcc-briefing li > i { color: var(--rs-subtle); font-size: .75rem; }
.rgcc-priority-status { margin: 1rem 0 0; color: var(--rgcc-primary); font-size: .72rem; font-weight: 750; }

.rgcc-health-layout { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 1.25rem; align-items: stretch; }
.rgcc-progress-list { display: grid; gap: .9rem; }
.rgcc-progress-item > div:first-child { display: flex; justify-content: space-between; gap: .75rem; margin-bottom: .38rem; font-size: .72rem; }
.rgcc-progress-item span { color: var(--rs-muted); }
.rgcc-progress-item strong { font-size: .72rem; }
.rgcc-progress-track { overflow: hidden; height: .46rem; border-radius: 99px; background: var(--rg-health-track); }
.rgcc-progress-track span { display: block; width: var(--rgcc-progress, 100%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--rg-health-progress-strong), var(--rg-health-progress)); }

.rgcc-score-card { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 175px; padding: 1rem; border: 1px solid rgba(245, 158, 11, .24); border-radius: 20px; background: radial-gradient(circle at 50% 15%, rgba(245, 158, 11, .16), transparent 60%), var(--rs-surface); text-align: center; }
.rgcc-score-card > span { color: var(--rs-muted); font-size: .7rem; font-weight: 700; }
.rgcc-score-card > strong { color: var(--rgcc-ink); font-family: "Space Grotesk", sans-serif; font-size: 3.4rem; line-height: 1.05; }
.rgcc-score-card > small { color: var(--rs-subtle); font-size: .62rem; }
.rgcc-score-card > div { margin-top: .7rem; padding: .3rem .55rem; border-radius: 99px; background: rgba(245, 158, 11, .12); color: #b45309; font-size: .62rem; font-weight: 800; }

.rgcc-ai-demo { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(320px, 1.25fr) minmax(260px, .85fr); gap: 1.4rem; align-items: start; }
.rgcc-ai-heading { align-items: flex-start; margin: 0; }
.rgcc-ai-logo { display: grid; flex: 0 0 auto; width: 3rem; height: 3rem; place-items: center; border: 1px solid var(--rs-border); border-radius: 14px; background: #fff; }
.rgcc-ai-logo img { display: block; width: auto; height: auto; max-width: 2.5rem; max-height: 2.15rem; object-fit: contain; }
.rgcc-ai-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.rgcc-ai-title-row h4 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.rgcc-ai-heading p { margin: .35rem 0 0; color: var(--rs-muted); font-size: .72rem; line-height: 1.55; }
.rgcc-chat { display: grid; gap: .75rem; }
.rgcc-chat-user { justify-self: end; max-width: 88%; min-height: 2.65rem; padding: .75rem .9rem; border-radius: 16px 16px 4px 16px; background: var(--rgcc-primary); color: #fff; font-size: .75rem; line-height: 1.5; }
.rgcc-question-typed::after { content: ""; display: inline-block; width: 1px; height: .9em; margin-left: 2px; background: currentColor; vertical-align: -.08em; }
.rgcc-chat-assistant { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .7rem; max-width: 94%; padding: .8rem; border: 1px solid var(--rs-border); border-radius: 4px 16px 16px 16px; background: var(--rs-surface); }
.rgcc-chat-assistant > span { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 10px; background: rgba(var(--rgcc-primary-rgb), .1); color: var(--rgcc-primary); }
.rgcc-chat-assistant p { margin: 0; font-size: .75rem; line-height: 1.55; }
.rgcc-evidence-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .65rem; }
.rgcc-evidence-chips span { padding: .27rem .45rem; border: 1px solid rgba(var(--rgcc-primary-rgb), .14); border-radius: 99px; color: var(--rs-muted); font-size: .58rem; font-weight: 700; }
.rgcc-evidence-chips i { color: var(--rgcc-primary); }

.rgcc-demo-controls { min-width: 0; }
.rgcc-demo-input { display: grid; grid-template-columns: minmax(0, 1fr) 2.2rem; gap: .35rem; padding: .38rem; border: 1px solid var(--rs-border); border-radius: 14px; background: var(--rs-surface); }
.rgcc-demo-input input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--rs-text); font-size: .68rem; }
.rgcc-demo-input button { display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--rgcc-primary); color: #fff; opacity: .55; }
.rgcc-suggestions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.rgcc-suggestions button { padding: .38rem .55rem; border: 1px solid var(--rs-border); border-radius: 99px; background: transparent; color: var(--rs-muted); font-size: .6rem; font-weight: 700; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.rgcc-suggestions button:hover,
.rgcc-suggestions button:focus-visible { border-color: rgba(var(--rgcc-primary-rgb), .42); background: rgba(var(--rgcc-primary-rgb), .07); color: var(--rgcc-primary); outline: 2px solid rgba(var(--rgcc-primary-rgb), .18); outline-offset: 2px; }
.rgcc-safety-note { margin: .65rem 0 0; color: var(--rs-muted); font-size: .6rem; }
.rgcc-safety-note i { color: var(--rgcc-primary); }

.rgcc-is-pending [data-rgcc-reveal] { opacity: 0; transform: translateY(18px); }
.rgcc-is-pending [data-rgcc-reveal="command-center"] { transform: translateY(20px) scale(.985); }
.rgcc-is-pending [data-rgcc-reveal="answer"] { transform: translateY(8px); }
.rgcc-is-pending .rgcc-progress-track span { width: 0; }
.rgcc-is-pending .rgcc-connector-path { stroke-dashoffset: 1; }
.rgcc-is-animated [data-rgcc-reveal]:not([data-rgcc-reveal="briefing"]):not([data-rgcc-reveal="answer"]) { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s cubic-bezier(.2, .75, .3, 1); }
.rgcc-is-animated [data-rgcc-reveal="card"] { transition-delay: calc(.12s + var(--rgcc-order) * .09s); }
.rgcc-is-animated [data-rgcc-reveal="command-center"] { transition-delay: .55s; }
.rgcc-health-active [data-rgcc-reveal="briefing"] { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s cubic-bezier(.2, .75, .3, 1); transition-delay: calc(var(--rgcc-order) * .11s); }
.rgcc-ai-active [data-rgcc-reveal="answer"] { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s cubic-bezier(.2, .75, .3, 1); }
.rgcc-health-active .rgcc-progress-track span { width: var(--rgcc-progress); transition: width 1s cubic-bezier(.2, .75, .3, 1); }
.rgcc-is-animated .rgcc-connector-path { stroke-dashoffset: 0; transition: stroke-dashoffset 1s .25s ease; }
.is-preview-playing.rgcc-is-visible .rgcc-live-status i { animation: rgcc-idle-pulse 2.8s 2s ease-in-out infinite; }

@keyframes rgcc-idle-pulse { 50% { box-shadow: 0 0 0 8px rgba(var(--rgcc-primary-rgb), 0); } }

:root[data-theme="dark"] .rgcc-section { --rgcc-primary-rgb: 96, 165, 250; --rgcc-ink: #f8fafc; --rgcc-panel: rgba(17, 24, 39, .9); --rgcc-line: rgba(96, 165, 250, .3); }
:root[data-theme="dark"] .rgcc-command-center { background: rgba(10, 17, 31, .96); box-shadow: 0 35px 90px rgba(0, 0, 0, .38); }
:root[data-theme="dark"] .rgcc-command-header { background: linear-gradient(100deg, rgba(96, 165, 250, .11), rgba(245, 158, 11, .07)); }
:root[data-theme="dark"] .rgcc-score-card > div { color: #fbbf24; }

@media (max-width: 1199.98px) {
    .rgcc-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rgcc-connectors { height: 62px; margin-inline: 0; opacity: .75; }
    .rgcc-connectors::before { position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px dashed var(--rgcc-line); content: ""; }
    .rgcc-connectors svg { display: none; }
    .rgcc-ai-demo { grid-template-columns: minmax(200px, .7fr) minmax(320px, 1.3fr); }
    .rgcc-demo-controls { grid-column: 1 / -1; }
}

@media (max-width: 767.98px) {
    .rgcc-section { padding: 4rem 0; }
    .rgcc-actions { align-items: stretch; flex-direction: column; }
    .rgcc-actions .btn-solid,
    .rgcc-actions .btn-ghost { justify-content: center; width: 100%; }
    .rgcc-feature-grid { grid-template-columns: 1fr; }
    .rgcc-connectors { display: none; }
    .rgcc-command-center { margin-top: 1.5rem; border-radius: 22px; }
    .rgcc-command-header { align-items: flex-start; flex-direction: column; padding: 1.25rem; }
    .rgcc-dashboard-grid { grid-template-columns: 1fr; }
    .rgcc-ai-demo { grid-column: auto; grid-template-columns: 1fr; }
    .rgcc-health-layout { grid-template-columns: 1fr; }
    .rgcc-score-card { min-height: 155px; }
    .rgcc-chat-user,
    .rgcc-chat-assistant { max-width: 100%; }
    .rgcc-suggestions { display: grid; grid-template-columns: 1fr; }
    .rgcc-suggestions button { width: 100%; min-height: 2.6rem; }
}

@media (max-width: 374.98px) {
    .rgcc-intro h2 { font-size: 2rem; }
    .rgcc-feature-card,
    .rgcc-dashboard-grid > section { padding: 1rem; }
    .rgcc-command-header h3 { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .rg-business-demo,
    .rg-business-demo__eyebrow,
    .rg-business-demo [data-rg-demo-status] { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
    .rgcc-section *,
    .rgcc-section *::before,
    .rgcc-section *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
    .rgcc-section [data-rgcc-reveal] { opacity: 1 !important; transform: none !important; }
    .rgcc-section .rgcc-progress-track span { width: var(--rgcc-progress) !important; }
    .rgcc-section .rgcc-connector-path { stroke-dashoffset: 0 !important; }
    .rgcc-section .rgcc-connector-pulse { display: none; }
    .rgcc-question-typed::after { display: none; }
}

/* Landing-page heading character, sourced from the Premium reference heading. */
body.landing-page {
    --landing-heading-font: "Space Grotesk", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --landing-heading-weight: 700;
    --landing-heading-color: #0b1f44;
    --landing-heading-tracking: -.035em;
}

body.landing-page .rs-public-main h1,
body.landing-page .rs-public-main h2,
body.landing-page .rs-public-main h3,
body.landing-page .rs-public-main h4 {
    color: var(--landing-heading-color);
    font-family: var(--landing-heading-font);
    font-style: normal;
    font-weight: var(--landing-heading-weight);
    letter-spacing: var(--landing-heading-tracking);
    text-wrap: balance;
}

body.landing-page .rs-public-main h1,
body.landing-page .rs-public-main h2 { line-height: 1.08; }
body.landing-page .rs-public-main h3 { line-height: 1.18; }
body.landing-page .rs-public-main h4 { line-height: 1.22; }

:root[data-theme="dark"] body.landing-page {
    --landing-heading-color: var(--rs-text);
}

body.landing-page .rs-public-main .rs-landing-hero .rs-hero-title,
body.landing-page .rs-public-main .rs-landing-hero .rs-hero-title span {
    color: #fff;
}
