/* Roarix marketing site.
   Built on the AI Workspace design tokens (public/assets/css/ai-workspace.css)
   so the website looks and feels like the product. */
:root {
    --primary: #5b4bf5;
    --primary-600: #4535dc;
    --primary-50: #f0eeff;
    --primary-100: #e1ddff;
    --ink: #0f1222;
    --text: #353b50;
    --muted: #686e84;
    --border: #dde0e8;
    --card: #ffffff;
    --bg: #eaecf1;
    --surface-2: #f5f6f9;
    --sidebar: #11132a;
    --success: #18a66a;
    --success-50: #e7f7ef;
    --warning: #c27a06;
    --warning-50: #fff5e0;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(15, 18, 34, .06), 0 4px 16px rgba(15, 18, 34, .05);
    --side-w: 248px;
}

/* ---------- Base ---------- */
body.lp { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp :where(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; }
.lp :where(ul, ol) { padding: 0; list-style: none; }
.lp :where(h1, h2, h3) { color: var(--ink); letter-spacing: -.01em; }
.lp img { max-width: 100%; height: auto; display: block; }
:where(.lp) a { color: inherit; }
.lp [hidden] { display: none !important; }
.lp :focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.lp main:focus { outline: none; }
.lp [id] { scroll-margin-top: 24px; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-skip { position: fixed; z-index: 100; top: 8px; left: 16px; padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--ink); transform: translateY(-200%); }
.lp-skip:focus { transform: none; }
html.lp-locked { overflow: hidden; }

/* ---------- Shell ---------- */
.lp-shell { display: flex; min-height: 100vh; }
.lp-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.lp-main main { flex: 1; }
.lp-page { display: grid; gap: 22px; width: min(1320px, 100%); margin-inline: auto; padding: 22px 28px 28px; }

/* ---------- Sidebar ---------- */
.lp-side { position: sticky; top: 0; flex: 0 0 var(--side-w); width: var(--side-w); height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 18px 14px; background: var(--sidebar); color: #c4c8db; z-index: 50; overflow-y: auto; scrollbar-width: none; }
.lp-side::-webkit-scrollbar { display: none; }
.lp-side-head { display: flex; align-items: center; justify-content: space-between; }
.lp-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; text-decoration: none; }
.lp-brand-mark { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #7b6bff, #5a48f0); box-shadow: 0 6px 14px rgba(109, 93, 252, .35); }
.lp-brand-name { display: block; font-weight: 800; font-size: 17px; line-height: 1.1; color: #fff; }
.lp-brand-sub { display: block; font-size: 11.5px; color: #878dab; }
.lp-brand-dark .lp-brand-name { color: var(--ink); }
.lp-brand-dark .lp-brand-sub { color: var(--muted); }
.lp-menu-close { display: none; width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 22px; cursor: pointer; }
.lp-nav { display: flex; flex-direction: column; gap: 2px; }
.lp-nav-link { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; color: #c4c8db; text-decoration: none; font-weight: 500; transition: background .15s, color .15s, box-shadow .15s; }
.lp-nav-link i { font-size: 18px; color: #878dab; transition: color .15s; }
.lp-nav-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.lp-nav-link:hover i { color: #fff; }
.lp-nav-link.active { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(91, 75, 245, .35); font-weight: 600; }
.lp-nav-link.active i { color: #fff; }
.lp-nav-divider { height: 1px; margin: 10px 8px; background: rgba(255, 255, 255, .1); }
.lp-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 12px; }
.lp-plan { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.lp-plan-name { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: #fff; margin-bottom: 6px !important; }
.lp-plan-name i { color: #f5a524; }
.lp-plan-row { display: flex; justify-content: space-between; font-size: 12px; color: #a5abc6; margin-bottom: 6px !important; }
.lp-progress { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); overflow: hidden; margin-bottom: 10px; }
.lp-progress span { display: block; width: 100%; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #7b6bff, #5a48f0); }
.lp-side-link { display: flex; align-items: center; gap: 8px; padding: 6px 8px; color: #a5abc6; text-decoration: none; font-size: 13px; }
.lp-side-link:hover { color: #fff; }
.lp-mobilebar { display: none; }
.lp-scrim { position: fixed; inset: 0; z-index: 45; background: rgba(15, 18, 34, .5); }

/* ---------- Buttons, chips, badges ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font: 600 14px/1 "Inter", sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
.lp-btn i { font-size: 17px; }
.lp-btn-sm { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
.lp-btn-block { width: 100%; }
.lp-btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(91, 75, 245, .25); }
.lp-btn-primary:hover { background: var(--primary-600); border-color: var(--primary-600); color: #fff; }
.lp-btn-primary:disabled { opacity: .55; cursor: default; box-shadow: none; }
.lp-btn-soft { background: #fff; border-color: var(--border); color: var(--ink); font-weight: 500; }
.lp-btn-soft:hover { border-color: #cfc9ff; background: var(--primary-50); color: var(--primary-600); }
.lp-btn-success { background: var(--success); border-color: var(--success); color: #fff; }
.lp-btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff; }
.lp-btn-ghost-light:hover { border-color: #fff; color: #fff; }
.lp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink); font: 500 13px/1.3 "Inter", sans-serif; cursor: pointer; transition: all .15s; text-align: left; }
.lp-chip i { font-size: 16px; color: var(--primary-600); }
.lp-chip:hover { border-color: var(--primary); background: var(--primary-50); color: var(--primary-600); }
.lp-chip.is-primary { border-color: var(--primary); background: var(--primary); color: #fff; }
.lp-chip.is-primary i { color: #fff; }
.lp-chip-sm { padding: 6px 11px; font-size: 12.5px; }
.lp-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.lp-badge i { font-size: 13px; }
.lp-badge.ok { background: var(--success-50); color: var(--success); }
.lp-badge.warn { background: var(--warning-50); color: var(--warning); }
.lp-badge.info { background: var(--primary-50); color: var(--primary-600); }
.lp-badge.neutral { background: #f1f2f6; color: var(--muted); }
.lp-dot-ok { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.lp-dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(24, 166, 106, .5); animation: lp-pulse 2s infinite; }
@keyframes lp-pulse { 70% { box-shadow: 0 0 0 7px rgba(24, 166, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(24, 166, 106, 0); } }
.lp-link { color: var(--primary-600); font-weight: 600; font-size: 13px; text-decoration: none; white-space: nowrap; }
.lp-link:hover { text-decoration: underline; }
.lp-link-muted { color: var(--primary-600); font-weight: 600; font-size: 12.5px; }
.lp-fine { margin-top: 14px !important; font-size: 13px; color: var(--muted); }

/* ---------- Cards ---------- */
.lp-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.lp-pad { padding: 20px 22px 22px; }
.lp-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 6px; }
.lp-card-head-lg { padding: 0 0 6px; }
.lp-card-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.lp-card-head-lg .lp-card-title { font-size: 19px; font-weight: 800; }
.lp-card-title i { font-size: 19px; color: var(--primary-600); }
.lp-card-lead { color: var(--muted); margin-bottom: 14px !important; }
.lp-spark { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: var(--primary-600); background: linear-gradient(135deg, #efeaff, #e3dcff); border: 1px solid var(--primary-100); }
.lp-spark-sm { flex-basis: 36px; width: 36px; height: 36px; border-radius: 10px; font-size: 18px; color: #fff; background: linear-gradient(135deg, #7b6bff, #5a48f0); border: 0; }
.lp-section-head { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.lp-section-head > div { flex: 1 1 360px; }
.lp-section-head h2 { font-size: 22px; font-weight: 800; }
.lp-section-head p { margin-top: 2px !important; color: var(--muted); }
.lp-section-head > .lp-link, .lp-section-head > .lp-tabs, .lp-section-head > .lp-billing { align-self: center; }

/* ---------- Topbar / hero ---------- */
.lp-topbar { display: flex; align-items: flex-start; gap: 14px; }
.lp-topbar-title { flex: 1; min-width: 0; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px !important; font-size: 12.5px; font-weight: 600; color: var(--primary-600); }
.lp-topbar h1 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; max-width: 22ch; }
.lp-lead { margin-top: 10px !important; max-width: 70ch; font-size: 16px; color: var(--muted); }
.lp-topbar-actions { display: flex; gap: 10px; flex: none; }
.lp-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; }
.lp-demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }

/* Chat */
.lp-chat { display: flex; flex-direction: column; height: 620px; overflow: hidden; }
.lp-chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.lp-chat-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lp-chat-title strong { color: var(--ink); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-chat-title > span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-chat-title .lp-dot-ok { margin-right: 6px; vertical-align: 1px; }
.lp-chat-body { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; background: var(--surface-2); }
.lp-msg { display: flex; gap: 12px; animation: lp-in .3s ease both; }
@keyframes lp-in { from { opacity: 0; transform: translateY(6px); } }
.lp-msg-user { justify-content: flex-end; }
.lp-msg-col { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.lp-msg-meta { font-weight: 700; color: var(--ink); font-size: 13px; }
.lp-avatar-ai { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 16px; background: linear-gradient(135deg, #7b6bff, #5a48f0); }
.lp-bubble { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--border); color: var(--text); max-width: 640px; }
.lp-bubble-user { max-width: 520px; background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(91, 75, 245, .25); }
.lp-typing { display: inline-flex; gap: 5px; width: fit-content; }
.lp-typing i { width: 7px; height: 7px; border-radius: 50%; background: #b9b2ff; animation: lp-dot 1s infinite; }
.lp-typing i:nth-child(2) { animation-delay: .15s; }
.lp-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes lp-dot { 50% { transform: translateY(-4px); background: var(--primary); } }
.lp-suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-toolcall { display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; padding: 5px 10px; border-radius: 8px; background: #fff; border: 1px dashed #cfc9ff; font-size: 12.5px; color: var(--muted); }
.lp-toolcall i { color: var(--primary-600); }
.lp-toolcall code { font: 600 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--primary-600); }
.lp-plan-card, .lp-draft { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--border); max-width: 640px; }
.lp-plan-card dl { display: grid; gap: 8px; }
.lp-plan-card dt { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lp-plan-card dd { color: var(--ink); }
.lp-plan-posts { display: grid; gap: 6px; margin: 12px 0 !important; }
.lp-plan-posts li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.lp-plan-posts i { font-size: 18px; color: var(--primary-600); }
.lp-plan-posts time { font-weight: 600; color: var(--ink); }
.lp-plan-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 12px; border-radius: 10px; background: var(--primary-50); color: var(--ink); }
.lp-plan-total strong { color: var(--primary-600); }
.lp-plan-total span { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.lp-plan-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lp-thumbs { display: flex; gap: 8px; }
.lp-thumb { position: relative; width: 96px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--surface-2); animation: lp-in .4s ease both; }
.lp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lp-thumb.is-video::after { content: "\25B6"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 18px; background: rgba(15, 18, 34, .25); }
.lp-draft-copy { margin-top: 12px; display: grid; gap: 6px; }
.lp-draft-head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.lp-draft-head .lp-badge { margin-left: auto; }
.lp-draft-copy b { display: inline-block; min-width: 26px; font-size: 11px; color: var(--primary-600); }
.lp-cta-card { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px; border-radius: 14px; background: linear-gradient(160deg, #f4f2ff, #ebe7ff); border: 1px solid var(--primary-100); max-width: 640px; }
.lp-cta-card p { flex: 1 1 260px; color: var(--ink); }
.lp-composer { display: flex; align-items: center; gap: 10px; margin: 12px 16px 6px; padding: 8px 8px 8px 12px; border-radius: 16px; border: 1px solid var(--border); background: #fff; }
.lp-composer:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
.lp-composer-plus { color: var(--muted); font-size: 20px; display: grid; }
.lp-composer input { flex: 1; min-width: 0; border: 0; outline: 0; font: 400 15px "Inter", sans-serif; color: var(--ink); background: transparent; padding: 8px 0; }
.lp-send { flex: none; width: 42px; height: 42px; border: 0; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 20px; cursor: pointer; }
.lp-send:hover { background: var(--primary-600); }
.lp-chat-note { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px 12px; font-size: 12.5px; color: var(--muted); }
.lp-chat-note i { color: var(--success); }

/* Right rail */
.lp-rail { display: grid; gap: 16px; }
.lp-rail-card { padding-bottom: 14px; }
.lp-rail-card > :not(.lp-card-head) { margin-inline: 16px; }
.lp-brandkit { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.lp-bk-logo { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 12px; display: grid; place-items: center; background: #3b2a24; color: #fff; font-weight: 800; font-size: 20px; }
.lp-brandkit strong { display: block; color: var(--ink); }
.lp-brandkit div > span { display: block; font-size: 13px; color: var(--muted); }
.lp-swatches { display: flex !important; gap: 6px; margin-top: 6px; }
.lp-swatches i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(15, 18, 34, .1); }
.lp-accounts li, .lp-upcoming li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); }
.lp-accounts li:first-child, .lp-upcoming li:first-child { border-top: 0; }
.lp-accounts div, .lp-upcoming div { flex: 1; min-width: 0; }
.lp-accounts strong, .lp-upcoming strong { display: block; font-size: 13.5px; color: var(--ink); }
.lp-accounts div span, .lp-upcoming div span { display: block; font-size: 12px; color: var(--muted); }
.lp-acc { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 18px; font-weight: 700; }
.lp-acc-fb { background: #1877f2; }
.lp-acc-ig { background: radial-gradient(circle at 30% 110%, #fdcb52, #fd5949 45%, #d6249f 65%, #285aeb); }
.lp-acc-th { background: #000; font-size: 16px; }
.lp-upcoming img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.lp-upcoming li { animation: lp-in .35s ease both; }
.lp-empty { font-size: 13px; color: var(--muted); padding: 4px 0; }

/* ---------- Stats + agents ---------- */
.lp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-stat { display: flex; gap: 12px; align-items: flex-start; padding: 16px; }
.lp-stat-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: var(--primary-600); background: var(--primary-50); }
.lp-stat-value { font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.15; }
.lp-stat-value span { font-size: 13px; font-weight: 600; color: var(--muted); }
.lp-stat-note { margin-top: 4px !important; font-size: 12.5px; color: var(--muted); }
.lp-agent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-agent { display: flex; flex-direction: column; gap: 10px; padding: 18px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.lp-agent:hover { border-color: #cfc9ff; box-shadow: 0 10px 28px rgba(91, 75, 245, .12); transform: translateY(-2px); }
.lp-agent-head { display: flex; align-items: center; gap: 10px; }
.lp-agent-head h3 { flex: 1; font-size: 16px; font-weight: 700; }
.lp-agent-icon { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; color: #fff; background: linear-gradient(135deg, #7b6bff, #5a48f0); box-shadow: 0 6px 14px rgba(109, 93, 252, .3); }
.lp-agent p { color: var(--muted); }
.lp-tool-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto !important; }
.lp-tool-list code { display: inline-block; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); font: 500 11.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); }

/* ---------- Autopilot + guardrails ---------- */
.lp-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.lp-jobs li, .lp-modules li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); }
.lp-jobs li:first-child { border-top: 0; }
.lp-jobs div, .lp-modules div { flex: 1; min-width: 0; }
.lp-jobs strong, .lp-modules strong { display: block; color: var(--ink); font-size: 14px; }
.lp-jobs div span, .lp-modules div span { display: block; font-size: 13px; color: var(--muted); }
.lp-job-icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; color: var(--primary-600); background: var(--primary-50); }
.lp-approval { padding: 14px; border-radius: 14px; border: 1px solid #f3dfb2; background: #fffaf0; margin-bottom: 8px; }
.lp-approval-head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.lp-approval-head i { color: var(--warning); font-size: 18px; }
.lp-approval-head .lp-badge { margin-left: auto; }
.lp-approval-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.lp-approval-row img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.lp-approval-row strong { display: block; color: var(--ink); }
.lp-approval-row span { font-size: 13px; color: var(--muted); }
.lp-rules li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); }
.lp-rules li:first-child { border-top: 0; }
.lp-rules i { font-size: 20px; color: var(--success); margin-top: 1px; }
.lp-rules strong { display: block; color: var(--ink); font-size: 14px; }
.lp-rules span { display: block; font-size: 13px; color: var(--muted); }

/* ---------- Tour + modules ---------- */
.lp-tabs { flex: none; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-shot { padding: 10px; overflow: hidden; background: linear-gradient(160deg, #f4f2ff, #e9ecf3); }
.lp-shot img { width: 100%; border-radius: 10px; border: 1px solid var(--border); }
.lp-modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.lp-modules li:nth-child(-n + 2) { border-top: 0; }

/* ---------- People ---------- */
.lp-people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-person { overflow: hidden; }
.lp-person img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lp-person div { padding: 14px 16px 16px; }
.lp-person h3 { font-size: 15px; font-weight: 700; }
.lp-person p { margin-top: 4px !important; font-size: 13.5px; color: var(--muted); }

/* ---------- Pricing ---------- */
.lp-billing { position: relative; flex: none; display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--border); }
.lp-billing input { position: absolute; opacity: 0; pointer-events: none; }
.lp-billing label { padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 13px; color: var(--muted); cursor: pointer; }
.lp-billing input:checked + label { background: var(--primary); color: #fff; }
.lp-billing input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; }
.lp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.lp-plan-tier { display: flex; flex-direction: column; padding: 20px; }
.lp-plan-tier .lp-plan-name { color: var(--ink); font-size: 15px; margin: 0 !important; }
.lp-plan-tier .lp-plan-row { color: var(--muted); margin-top: 14px !important; }
.lp-plan-tier .lp-progress { background: #e6e3ff; }
.lp-plan-tier.is-featured { background: linear-gradient(160deg, #f4f2ff, #ebe7ff); border-color: var(--primary-100); box-shadow: 0 16px 40px rgba(91, 75, 245, .16); }
.lp-tier-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lp-tier-pitch { margin-top: 4px !important; color: var(--muted); font-size: 13.5px; }
.lp-price { margin-top: 14px !important; font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.lp-price small { margin-left: 4px; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
#pricing:has(#lp-bill-m:checked) .lp-price[data-period="yearly"], #pricing:has(#lp-bill-y:checked) .lp-price[data-period="monthly"] { display: none; }
.lp-tier-list { display: grid; gap: 8px; margin: 6px 0 18px !important; }
.lp-tier-list li { display: flex; gap: 8px; align-items: center; font-size: 13.5px; }
.lp-tier-list i { color: var(--success); font-size: 18px; }
.lp-plan-tier .lp-btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.lp-faq details { border-top: 1px solid var(--border); }
.lp-faq details:first-child { border-top: 0; }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary i { font-size: 20px; color: var(--muted); transition: transform .2s; }
.lp-faq details[open] summary i { transform: rotate(180deg); color: var(--primary-600); }
.lp-faq p { padding-bottom: 14px; color: var(--muted); max-width: 80ch; }

/* ---------- Final CTA + footer ---------- */
.lp-final { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 12px; padding: 44px 24px; border-radius: var(--radius); background: var(--sidebar); color: #c4c8db; text-align: center; }
.lp-final::before { content: ""; position: absolute; width: 520px; height: 520px; top: -260px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(91, 75, 245, .45), transparent 65%); }
.lp-final > * { position: relative; }
.lp-final-mark { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #7b6bff, #5a48f0); box-shadow: 0 10px 24px rgba(109, 93, 252, .45); }
.lp-final h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; max-width: 24ch; }
.lp-final p { max-width: 60ch; }
.lp-final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.lp-footer { width: min(1320px, 100%); margin-inline: auto; padding: 8px 28px 28px; }
.lp-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.lp-footer .lp-brand { padding: 0; }
.lp-footer-pitch { margin-top: 8px !important; font-size: 13px; color: var(--muted); }
.lp-footer nav { display: flex; flex-wrap: wrap; align-content: center; gap: 6px 18px; }
.lp-footer nav a { color: var(--text); text-decoration: none; font-size: 13.5px; font-weight: 500; }
.lp-footer nav a:hover { color: var(--primary-600); }
.lp-footer-legal { margin-top: 12px !important; text-align: center; font-size: 12.5px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
    .lp-demo-grid { grid-template-columns: minmax(0, 1fr) 270px; }
    .lp-agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
    .lp-shell { display: block; }
    .lp-mobilebar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: var(--sidebar); }
    .lp-mobilebar .lp-brand { padding: 0; }
    .lp-menu-btn { width: 42px; height: 42px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 24px; display: grid; place-items: center; cursor: pointer; }
    .lp-side { position: fixed; left: 0; top: 0; bottom: 0; height: 100dvh; transform: translateX(-102%); transition: transform .25s ease; box-shadow: 20px 0 40px rgba(15, 18, 34, .3); }
    .lp-side.is-open { transform: none; }
    .lp-menu-close { display: grid; place-items: center; }
    .lp-demo-grid, .lp-two { grid-template-columns: 1fr; }
    .lp-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lp-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-plans { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 760px) {
    .lp-page { padding: 16px 14px; gap: 16px; }
    .lp-footer { padding: 4px 14px 20px; }
    .lp-topbar { flex-direction: column; }
    .lp-topbar > .lp-spark { display: none; }
    .lp-topbar-actions { width: 100%; }
    .lp-topbar-actions .lp-btn { flex: 1; }
    .lp-chat { height: 620px; }
    .lp-chat-head .lp-badge { display: none; }
    .lp-chat-body { padding: 14px 12px; }
    .lp-avatar-ai { display: none; }
    .lp-composer { margin-inline: 10px; }
    .lp-rail, .lp-stats, .lp-agent-grid, .lp-modules, .lp-people { grid-template-columns: 1fr; }
    .lp-modules li:nth-child(2) { border-top: 1px solid var(--border); }
    .lp-thumb { width: 84px; }
}
@media (prefers-reduced-motion: reduce) {
    .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
}

/* Workspace-led homepage */
.lp-marketing .bx { display: inline-block; width: 1em; height: 1em; flex: none; background: currentColor; mask: var(--svg) center / contain no-repeat; vertical-align: middle; }
.lp-marketing .bx-edit-alt { --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M19.045 7.401c.378-.378.586-.88.586-1.414s-.208-1.036-.586-1.414l-1.586-1.586c-.378-.378-.88-.586-1.414-.586s-1.036.208-1.413.585L4 13.585V18h4.413zm-3-3l1.587 1.585l-1.59 1.584l-1.586-1.585zM6 16v-1.585l7.04-7.018l1.586 1.586L7.587 16zm-2 4h16v2H4z'/%3E%3C/svg%3E"); }
.lp-marketing .bx-calendar { --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M7 11h2v2H7zm0 4h2v2H7zm4-4h2v2h-2zm0 4h2v2h-2zm4-4h2v2h-2zm0 4h2v2h-2z'/%3E%3Cpath fill='black' d='M5 22h14c1.103 0 2-.897 2-2V6c0-1.103-.897-2-2-2h-2V2h-2v2H9V2H7v2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2M19 8l.001 12H5V8z'/%3E%3C/svg%3E"); }
.lp-marketing .bx-message-square-dots { --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M16 2H8C4.691 2 2 4.691 2 8v12a1 1 0 0 0 1 1h13c3.309 0 6-2.691 6-6V8c0-3.309-2.691-6-6-6m4 13c0 2.206-1.794 4-4 4H4V8c0-2.206 1.794-4 4-4h8c2.206 0 4 1.794 4 4z'/%3E%3Ccircle cx='9.5' cy='11.5' r='1.5' fill='black'/%3E%3Ccircle cx='14.5' cy='11.5' r='1.5' fill='black'/%3E%3C/svg%3E"); }
.lp-marketing .bx-link-external { --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z'/%3E%3Cpath fill='black' d='M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2z'/%3E%3C/svg%3E"); }
.lp-marketing .bx-chevron-down { --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M16.293 9.293L12 13.586L7.707 9.293l-1.414 1.414L12 16.414l5.707-5.707z'/%3E%3C/svg%3E"); }
.lp-marketing .bx-right-arrow-alt { --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='m11.293 17.293l1.414 1.414L19.414 12l-6.707-6.707l-1.414 1.414L15.586 11H6v2h9.586z'/%3E%3C/svg%3E"); }
@font-face {
    font-family: "Bricolage Grotesque";
    src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
}

body.lp-marketing {
    --rv-canvas: #fcfbfe;
    --rv-card: #fdfcff;
    --rv-soft: #eeeaff;
    --rv-neutral: #f2f0f8;
    --rv-rule: #dad5e6;
    --rv-gutter: clamp(18px, 5vw, 64px);
    --rv-section: clamp(52px, 8vw, 104px);
    --rv-radius: 12px;
    --ink: #191527;
    --text: #39344b;
    --muted: #5d5671;
    --border: var(--rv-rule);
    background: var(--rv-canvas);
    font: 400 16px/1.6 "Bricolage Grotesque", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
    body.lp-marketing {
        --rv-canvas: #181624;
        --rv-card: #212031;
        --rv-soft: #30264a;
        --rv-neutral: #272338;
        --rv-rule: #47415d;
        --ink: #f4f0ff;
        --text: #e0d9ed;
        --muted: #bbb3ce;
        --primary-600: #c6b8ff;
        --primary-50: #372d53;
        color-scheme: dark;
    }
}

.lp-marketing .lp-shell { display: block; }
.rv-wrap { width: min(1216px, 100% - 2 * var(--rv-gutter)); margin-inline: auto; }
.lp-marketing .lp-btn { min-height: 46px; border-radius: 8px; box-shadow: none; font-family: inherit; }
.lp-marketing .lp-btn-primary:hover { background: #4535dc; border-color: #4535dc; }
@media (prefers-reduced-motion: no-preference) {
    .lp-marketing .lp-btn:active { transform: translateY(1px); }
}

.rv-header { border-bottom: 1px solid var(--rv-rule); }
.rv-header-inner { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; min-height: 70px; }
.rv-wordmark { display: inline-flex; align-items: center; gap: 8px; width: fit-content; min-height: 44px; text-decoration: none; color: var(--ink); font-size: 23px; font-weight: 800; letter-spacing: -.055em; }
.rv-mark, .rv-stage-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--primary); color: #fff; }
.rv-nav { display: flex; align-items: center; gap: 6px; justify-self: center; }
.rv-nav a, .rv-login { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 10px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; }
.rv-nav a:hover, .rv-login:hover, .rv-menu summary:hover, .rv-menu nav a:hover { background: var(--rv-neutral); color: var(--ink); }
.rv-header nav a[aria-current] { background: var(--rv-soft); color: var(--primary-600); }
.rv-header-actions { display: flex; align-items: center; gap: 7px; }
.rv-header .rv-header-cta { min-height: 44px; padding-inline: 14px; border-color: var(--rv-rule); background: var(--rv-card); color: var(--ink); }
.rv-header .rv-header-cta:hover { background: var(--rv-soft); }
.rv-menu { display: none; }

.rv-hero {
    display: grid;
    grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
    align-items: center;
    gap: clamp(28px, 4.6vw, 66px);
    padding-block: clamp(41px, 6vw, 86px) clamp(48px, 7vw, 94px);
}
.rv-kicker { color: var(--primary-600); font-size: 13px; font-weight: 650; }
.rv-hero h1 { margin-top: 14px; font-size: clamp(39px, 5.25vw, 76px); font-weight: 740; line-height: 1.01; letter-spacing: -.078em; }
.rv-headline-line { display: block; overflow: clip; overflow-clip-margin: .14em; }
.rv-headline-line > span { display: block; }
.rv-headline-line em { color: var(--primary-600); font-style: normal; }
.rv-hero-lead { max-width: 40ch; margin-top: 20px; color: var(--text); font-size: clamp(16px, 1.36vw, 20px); line-height: 1.52; }
.rv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 20px; margin-top: 22px; }
.rv-text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--primary-600); font-size: 14px; font-weight: 700; text-decoration: none; }
.rv-text-link i { font-size: 18px; }
.rv-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.rv-hero-preview { min-width: 0; overflow: hidden; border-radius: var(--rv-radius); background: var(--rv-neutral); box-shadow: 9px 10px 0 var(--rv-soft); }
.rv-hero-preview img { width: 100%; aspect-ratio: 1.1; object-fit: cover; object-position: center; }

.rv-story-intro h2, .rv-final h2 { font-size: clamp(34px, 4.2vw, 57px); font-weight: 730; line-height: 1.04; letter-spacing: -.066em; text-wrap: balance; }
.rv-story-intro h2 + p { max-width: 54ch; margin-top: 12px; }
.rv-story-intro .rv-text-link { margin-top: 9px; }

.rv-tour { padding-block: 28px 0; border-top: 1px solid var(--rv-rule); }
.rv-stage { min-width: 0; margin: 22px 0 0; padding: 0; border: 1px solid var(--rv-rule); border-radius: var(--rv-radius); background: var(--rv-soft); }
.rv-stage-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 13px clamp(14px, 2.5vw, 28px); border-bottom: 1px solid var(--rv-rule); font-size: 13px; }
.rv-stage-top p:first-child { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.rv-stage-mark { width: 26px; height: 26px; }
.rv-stage-top p:last-child { color: var(--muted); }
.rv-tour-controls { display: flex; flex-wrap: wrap; gap: 4px 22px; padding: 0 clamp(14px, 2.5vw, 28px); border-bottom: 1px solid var(--rv-rule); background: var(--rv-card); }
.rv-tour-controls label { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 5px 2px 3px; border-bottom: 2px solid transparent; color: var(--text); font-size: 14px; font-weight: 650; cursor: pointer; }
.rv-tour-controls label i { font-size: 18px; }
.rv-tour-controls label:hover { color: var(--primary-600); }
#rv-draft:checked ~ .rv-tour-controls [for="rv-draft"],
#rv-calendar:checked ~ .rv-tour-controls [for="rv-calendar"],
#rv-replies:checked ~ .rv-tour-controls [for="rv-replies"] { border-color: var(--primary-600); color: var(--primary-600); }
#rv-draft:focus-visible ~ .rv-tour-controls [for="rv-draft"],
#rv-calendar:focus-visible ~ .rv-tour-controls [for="rv-calendar"],
#rv-replies:focus-visible ~ .rv-tour-controls [for="rv-replies"] { outline: 2px solid var(--primary-600); outline-offset: 2px; }

.rv-tour-panel { display: none; grid-template-columns: minmax(0, 1.55fr) minmax(0, .6fr); align-items: center; gap: clamp(18px, 4vw, 55px); padding: clamp(14px, 3.2vw, 40px); min-width: 0; }
#rv-draft:checked ~ #rv-panel-draft,
#rv-calendar:checked ~ #rv-panel-calendar,
#rv-replies:checked ~ #rv-panel-replies { display: grid; }
.rv-screen-image, .rv-inbox-screen img { overflow: hidden; border: 1px solid var(--rv-rule); border-radius: var(--rv-radius); }
.rv-screen-image img { width: 100%; height: auto; }
.rv-screen-caption h3 { font-size: clamp(22px, 2.5vw, 36px); font-weight: 710; line-height: 1.09; letter-spacing: -.051em; }
.rv-screen-caption p { margin-top: 10px; }
.rv-screen-caption .rv-text-link { margin-top: 8px; }

.rv-channels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-block: 19px 25px; color: var(--ink); font-size: 14px; }
.rv-channels span { color: var(--muted); }
.rv-channels strong { font-weight: 630; }

.rv-feature { padding-block: var(--rv-section); border-block: 1px solid var(--rv-rule); background: var(--rv-neutral); }
.rv-workflow { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); margin-top: 30px; border-block: 1px solid var(--rv-rule); }
.rv-workflow li { padding: 22px clamp(14px, 2.6vw, 32px); }
.rv-workflow li:first-child { padding-left: 0; }
.rv-workflow li + li { border-left: 1px solid var(--rv-rule); }
.rv-workflow h3, .rv-report h3 { font-size: 21px; font-weight: 720; letter-spacing: -.04em; }
.rv-workflow p, .rv-report p { margin-top: 5px; }

.rv-revision { margin-top: 15px; }
.rv-revision summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; padding: 5px 12px; border: 1px solid var(--rv-rule); border-radius: 8px; background: var(--rv-card); color: var(--primary-600); cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; }
.rv-revision summary span { display: flex; align-items: center; gap: 7px; }
.rv-revision summary:hover { background: var(--rv-soft); }
.rv-revision summary::-webkit-details-marker, .rv-menu summary::-webkit-details-marker { display: none; }
.rv-revision summary i { font-size: 17px; }
.rv-revision[open] summary > i { transform: rotate(180deg); }
.rv-revision > p { max-width: 78ch; padding: 10px 12px 0; }

.rv-afterward { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); align-items: center; gap: clamp(24px, 6vw, 72px); padding-block: var(--rv-section); }
.rv-report { margin-top: 14px; padding-top: 15px; border-top: 1px solid var(--rv-rule); }
.rv-inbox-screen img { width: 100%; }
.rv-inbox-screen figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }

.rv-pricing { padding-block: var(--rv-section); border-block: 1px solid var(--rv-rule); }
.rv-pricing-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 15px; }
.rv-pricing .lp-billing { border-radius: 8px; background: var(--rv-card); }
.rv-pricing .lp-billing label { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 12px; border-radius: 6px; }
.rv-plan-layout { display: grid; gap: 12px; margin-top: 25px; }
.rv-plan-layout:has(.rv-plan-featured):has(.rv-plan:not(.rv-plan-featured)) { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.rv-plan { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(15px, 2.5vw, 28px); border: 1px solid var(--rv-rule); border-radius: var(--rv-radius); background: var(--rv-neutral); }
.rv-plan-featured { grid-row: span 2; flex-direction: column; align-items: start; background: var(--rv-soft); }
.rv-plan h3 { font-size: 21px; font-weight: 740; letter-spacing: -.04em; }
.rv-plan h3 + p, .rv-plan-credits { color: var(--muted); font-size: 14px; }
.rv-plan-amount { text-align: right; }
.rv-plan-featured .rv-plan-amount { text-align: left; }
.rv-plan .lp-price { margin-top: 0 !important; font-size: clamp(24px, 3vw, 36px); font-weight: 770; line-height: 1.14; }
.rv-plan-featured .lp-price { font-size: clamp(41px, 5vw, 67px); letter-spacing: -.072em; }
.rv-plan .lp-price small { margin-left: 0; white-space: nowrap; }
.rv-pricing .rv-text-link { margin-top: 11px; }

.rv-questions { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: start; gap: clamp(25px, 7vw, 96px); padding-block: var(--rv-section); }
.rv-questions .lp-faq { border-block: 1px solid var(--rv-rule); }
.rv-questions .lp-faq summary { min-height: 48px; }
.rv-questions .lp-faq summary:hover { color: var(--primary-600); }

.rv-final { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding: clamp(26px, 5vw, 63px); border: 1px solid var(--rv-rule); border-radius: var(--rv-radius); background: var(--rv-soft); }
.rv-final p { margin-top: 9px; }
.lp-marketing .lp-footer { width: min(1216px, 100% - 2 * var(--rv-gutter)); padding: 24px 0 16px; }
.lp-marketing .lp-footer-inner { padding: 0; border: 0; background: transparent; }
.lp-marketing .lp-footer-legal { text-align: left; }
.lp-marketing .lp-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.lp-marketing .lp-footer .lp-brand-mark { background: var(--primary); box-shadow: none; }

@media (max-width: 780px) {
    .rv-header-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 5px; min-height: 62px; }
    .rv-nav, .rv-login { display: none; }
    .rv-menu { display: block; }
    .rv-menu summary { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; min-width: 44px; padding-inline: 7px; border-radius: 8px; color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
    .rv-menu[open] summary i { transform: rotate(180deg); }
    .rv-menu nav { position: absolute; z-index: 2; inset: calc(100% + 4px) 0 auto; display: grid; gap: 3px; padding: 8px; border: 1px solid var(--rv-rule); border-radius: var(--rv-radius); background: var(--rv-card); box-shadow: var(--shadow); }
    .rv-menu nav a { display: flex; align-items: center; min-height: 44px; padding-inline: 8px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; }
    .rv-menu .rv-menu-login { margin-top: 2px; border-top: 1px solid var(--rv-rule); border-radius: 0; }
    .rv-hero { grid-template-columns: 1fr; gap: 21px; padding-top: 32px; }
    .rv-hero h1 { margin-top: 9px; font-size: clamp(42px, 8.3vw, 60px); }
    .rv-hero-lead { margin-top: 13px; }
    .rv-actions { margin-top: 15px; }
    .rv-hero-preview { box-shadow: 5px 6px 0 var(--rv-soft); }
    .rv-hero-preview img { aspect-ratio: 1.6; }
    .rv-tour-panel, .rv-afterward, .rv-questions, .rv-plan-layout:has(.rv-plan-featured):has(.rv-plan:not(.rv-plan-featured)) { grid-template-columns: 1fr; }
    .rv-workflow { grid-template-columns: 1fr; margin-top: 20px; }
    .rv-workflow li { padding: 14px 0; }
    .rv-workflow li + li { border-left: 0; border-top: 1px solid var(--rv-rule); }
    .rv-plan-featured { grid-row: auto; }
}

@media (max-width: 620px) {
    .rv-tour-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .rv-tour-controls label { gap: 4px; min-height: 48px; line-height: 1.15; font-size: 12px; }
    .rv-tour-controls label i { font-size: 15px; }
    .rv-channels { gap: 4px 12px; }
    .rv-channels span { flex-basis: 100%; }
}

@media (max-width: 355px) {
    .rv-wordmark { gap: 6px; font-size: 19px; }
    .rv-wordmark .rv-mark { width: 26px; height: 26px; }
    .rv-header .rv-header-cta { max-width: 114px; padding-inline: 8px; font-size: 13px; line-height: 1.2; text-align: center; white-space: normal; }
    .rv-tour-controls label i { display: none; }
    .rv-plan-credits { font-size: 12px; }
}

/* Supporting marketing pages */
.rv-page-head { padding-block: clamp(38px, 6vw, 82px) clamp(30px, 4.5vw, 60px); }
.rv-page-head h1, .rv-guide h1 { max-width: 21ch; font-size: clamp(37px, 5.7vw, 70px); font-weight: 740; line-height: 1.02; letter-spacing: -.072em; }
.rv-page-head .rv-kicker { margin-bottom: 10px; }
.rv-page-head h1 + p, .rv-page-head p + p { max-width: 60ch; margin-top: 13px; }
.rv-page-head h1 + p, .rv-guide-lead { font-size: clamp(17px, 1.6vw, 21px); }
.rv-page-links { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 16px; }
.rv-page-links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 10px; border-bottom: 2px solid var(--rv-rule); color: var(--text); font-size: 14px; font-weight: 650; text-decoration: none; }
.rv-page-links a:hover { border-color: var(--primary-600); color: var(--primary-600); }
.rv-platform, .rv-scenarios, .rv-guides, .rv-price-page, .rv-about, .rv-contact, .rv-guide { margin-bottom: clamp(32px, 6vw, 68px); }
.rv-platform-row { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(20px, 5vw, 70px); padding-block: clamp(26px, 5vw, 60px); border-top: 1px solid var(--rv-rule); }
.rv-platform-row h2, .rv-more-tools h2, .rv-scenario h2, .rv-guide-feature h2 { font-size: clamp(25px, 3.4vw, 45px); font-weight: 730; line-height: 1.07; letter-spacing: -.056em; }
.rv-platform-row h2 + p, .rv-scenario h2 + p, .rv-guide-feature h2 + p, .rv-more-tools h2 + p { margin-top: 10px; }
.rv-capabilities { display: grid; gap: 11px; margin-top: 20px; padding-top: 13px; border-top: 1px solid var(--rv-rule); }
.rv-capabilities dt { color: var(--ink); font-weight: 700; }
.rv-capabilities dd { color: var(--muted); }
.rv-product-shot { padding: clamp(9px, 1.5vw, 18px); border: 1px solid var(--rv-rule); border-radius: var(--rv-radius); background: var(--rv-soft); }
.rv-product-shot img { width: 100%; border-radius: 8px; }
.rv-platform-calendar { display: block; }
.rv-platform-calendar .rv-capabilities { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 28px; }
.rv-platform-calendar .rv-product-shot { width: min(100%, 1000px); margin: 22px auto 0; }
.rv-more-tools { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px clamp(16px, 4vw, 50px); padding: clamp(18px, 4vw, 46px); border: 1px solid var(--rv-rule); border-radius: var(--rv-radius); background: var(--rv-neutral); }
.rv-more-tools h2 { font-size: clamp(23px, 2.8vw, 36px); }
.rv-more-tools .rv-text-link, .rv-scenario .rv-text-link { margin-top: 9px; }

.rv-scenarios { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 16px; }
.rv-scenario { min-width: 0; border: 1px solid var(--rv-rule); border-radius: var(--rv-radius); background: var(--rv-neutral); }
.rv-scenario-feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; background: var(--rv-soft); }
.rv-scenario > img { width: 100%; aspect-ratio: 2.2; object-fit: cover; border-radius: calc(var(--rv-radius) - 1px) calc(var(--rv-radius) - 1px) 0 0; }
.rv-scenario-feature > img { aspect-ratio: 1.55; border-radius: calc(var(--rv-radius) - 1px) 0 0 calc(var(--rv-radius) - 1px); }
.rv-scenario > div, .rv-guide-feature > div { padding: clamp(16px, 3.1vw, 36px); }

.rv-price-page { border-bottom: 1px solid var(--rv-rule); padding-bottom: clamp(26px, 4.5vw, 52px); margin-bottom: 0; }
.rv-price-page .lp-billing { background: var(--rv-card); border-radius: 8px; }
.rv-price-page .lp-billing label { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 12px; border-radius: 6px; }
.rv-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.rv-plan-detail { display: flex; flex-direction: column; align-items: start; gap: 6px; padding: clamp(16px, 2.7vw, 30px); border: 1px solid var(--rv-rule); border-radius: var(--rv-radius); background: var(--rv-neutral); }
.rv-plan-detail-free { background: var(--rv-soft); }
.rv-plan-detail h2 { font-size: 24px; font-weight: 740; letter-spacing: -.05em; }
.rv-plan-detail > p:not(.lp-price) { color: var(--muted); }
.rv-plan-detail .lp-price { font-size: clamp(29px, 3.9vw, 48px); line-height: 1.08; letter-spacing: -.06em; }
.rv-plan-details { width: 100%; margin-top: auto; padding-top: 10px; }
.rv-plan-details div { display: flex; justify-content: space-between; gap: 8px; padding-block: 8px; border-top: 1px solid var(--rv-rule); font-size: 14px; }
.rv-plan-details dd { color: var(--ink); font-weight: 700; }

.rv-guide-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; border: 1px solid var(--rv-rule); border-radius: var(--rv-radius); background: var(--rv-soft); color: var(--text); text-decoration: none; }
.rv-guide-feature:hover { border-color: var(--primary-600); }
.rv-guide-feature > img { width: 100%; aspect-ratio: 1.65; object-fit: cover; object-position: top; border-radius: calc(var(--rv-radius) - 1px) 0 0 calc(var(--rv-radius) - 1px); }
.rv-guide-compact { grid-template-columns: 1fr; margin-top: 14px; background: var(--rv-neutral); }
.rv-guide-compact h2 { font-size: clamp(24px, 2.6vw, 36px); }
.rv-guide-action { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--primary-600); font-size: 14px; font-weight: 700; }
.rv-guide { max-width: 740px; padding-top: clamp(24px, 5vw, 66px); }
.rv-guide h1 { margin-block: 10px 16px; }
.rv-guide-lead { margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--rv-rule); }
.rv-guide h2 { margin-block: 26px 7px; font-size: clamp(23px, 2.8vw, 32px); line-height: 1.13; letter-spacing: -.045em; }
.rv-guide blockquote { margin: 10px 0; padding: 14px 18px; border-radius: var(--rv-radius); background: var(--rv-soft); }
.rv-guide > .rv-text-link:last-child { margin-top: 18px; }

.rv-about, .rv-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .84fr); align-items: start; gap: clamp(22px, 6vw, 80px); }
.rv-about { padding-top: clamp(20px, 3vw, 34px); border-top: 1px solid var(--rv-rule); }
.rv-company, .rv-contact .contact-form { padding: clamp(16px, 3.4vw, 36px); border: 1px solid var(--rv-rule); border-radius: var(--rv-radius); background: var(--rv-soft); }
.rv-company h2, .rv-contact .contact-form h2 { font-size: clamp(24px, 3vw, 38px); line-height: 1.1; letter-spacing: -.055em; }
.rv-company p { margin-top: 12px; overflow-wrap: anywhere; }
.rv-contact { padding-top: clamp(34px, 6vw, 76px); }
.rv-contact .rv-page-head { padding: 0; }
.rv-contact .contact-form { background: var(--rv-neutral); }
.rv-contact-links { display: grid; justify-items: start; margin-top: 12px; }
.rv-contact .contact-form h2 { margin-bottom: 18px; }
.rv-contact .form-group { margin-bottom: 14px; }
.rv-contact label { display: block; margin-bottom: 4px; color: var(--ink); font-size: 14px; font-weight: 650; }
.rv-contact :is(input, textarea) { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #81778f; border-radius: 8px; background: var(--rv-card); color: var(--ink); font: inherit; }
.rv-contact :is(input, textarea)::placeholder { color: var(--muted); }
.rv-contact textarea { min-height: 8rem; resize: vertical; }
.rv-contact [aria-invalid="true"] { border-color: #af2f40; }
.rv-contact :is(input, textarea):focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; }
.rv-contact .contact-error { display: block; margin-top: 4px; color: #a8293b; font-size: 14px; }
.rv-contact .contact-status { padding: 12px; margin-bottom: 14px; border: 1px solid var(--rv-rule); border-radius: 8px; background: var(--rv-card); }
.rv-contact .contact-status strong { color: var(--ink); }
.rv-contact .contact-status button { margin-top: 8px; }
.rv-contact .contact-submit { width: 100%; }
.rv-contact .contact-submit:disabled { cursor: wait; }
@media (prefers-color-scheme: dark) {
    .rv-contact :is(input, textarea) { border-color: #8e82a5; }
    .rv-contact .contact-error { color: #ffadb9; }
    .rv-contact .text-danger { color: #ffadb9 !important; }
    .rv-contact [aria-invalid="true"] { border-color: #ffadb9; }
}

@media (max-width: 780px) {
    .rv-platform-row, .rv-scenarios, .rv-scenario-feature, .rv-guide-feature, .rv-about, .rv-contact, .rv-more-tools { grid-template-columns: 1fr; }
    .rv-platform-calendar .rv-capabilities { grid-template-columns: 1fr; }
    .rv-scenario-feature > img, .rv-guide-feature > img { border-radius: calc(var(--rv-radius) - 1px) calc(var(--rv-radius) - 1px) 0 0; }
    .rv-scenario-feature > img { aspect-ratio: 1.5; }
}
