/* Vexel's fixed navigation, hero stack, paired controls, and oversailing dashboard.
   The opening crop follows the supplied screenshot. The chat uses its existing
   three-state controller and visual-viewport sizing. */
html.rrh-landing {
  --landing-background: #000;
  background: #000;
  overflow-x: clip;
  scroll-padding-top: 92px;
}
body.option-b { isolation: isolate; background: transparent; }
.option-b .reference-hero {
  position: relative;
  height: 100svh;
  min-height: 0;
  padding: 0 40px;
  align-items: center;
  overflow-x: clip;
  overflow-y: visible;
  background: transparent;
  color: white;
  font-family: "Vexel DM Sans", "DM Sans", Arial, sans-serif;
}
.option-b .reference-hero .topbar {
  position: fixed;
  top: max(0px, var(--safe-top));
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 0;
  height: auto;
  padding: 20px max(40px, var(--safe-left), var(--safe-right));
  pointer-events: none;
  color: white;
}
.topbar :is(.brand, .nav-shell, .vx-menu-button) { pointer-events: auto; }
.option-b .reference-hero .brand {
  display: block;
  width: clamp(134px, 10.5vw, 167px);
  padding: 4px 7px;
  border-radius: 6px;
  background: white;
}
.option-b .reference-hero .brand-logo { display: block; width: 100%; height: auto; }
.nav-shell {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(46vw, 600px);
  padding: 8px 8px 8px 40px;
  border-radius: 999px;
  background: rgb(20 20 20 / 25%);
  backdrop-filter: blur(10px);
}
.reference-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.reference-nav a, .option-b .reference-hero .header-actions > :is(.client-sign-in, .nav-cta) {
  padding: 0;
  color: white;
  background: transparent;
  border: 0;
  font: 400 16px/1 "Vexel DM Sans", "DM Sans", Arial, sans-serif;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.reference-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.reference-nav a:hover, .option-b .reference-hero .client-sign-in:hover { color: #a6e1ff; }
.option-b .reference-hero .header-actions { display: flex; align-items: center; gap: 23px; margin: 0; }
.option-b .reference-hero .header-actions > .nav-cta, .hero-demo, .vx-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  height: auto;
  padding: 12px 12px 12px 20px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font: 400 16px/1 "Vexel DM Sans", "DM Sans", Arial, sans-serif;
  letter-spacing: -.02em;
}
.option-b .reference-hero .nav-cta:hover, .hero-demo:hover { background: #d4efff; }
.round-arrow {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: white;
  background: black;
  font: 18px/1 Arial, sans-serif;
}
.option-b .reference-hero .nav-cta .round-arrow { margin: 0; }
.vx-menu-button {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 0; padding: 0; border-radius: 50%; color: #000; background: #fff;
}
.vx-menu {
  position: absolute; inset: 100% 0 auto; margin: 0; width: 100%; max-width: none;
  max-height: calc(100dvh - 70px - var(--safe-top)); overflow: auto;
  border: 0; padding: 7px max(20px,var(--safe-left)) 32px;
  pointer-events: auto; color: white; background: #000;
}
.topbar:has(.vx-menu[open]) { background-color: #000; }
.vx-menu nav { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.vx-menu nav a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font: 400 16px/1.2 "Vexel DM Sans", sans-serif; }
.option-b .reference-hero .hero-layout {
  position: relative;
  z-index: 5;
  display: flex;
  flex: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 1440px;
  min-height: 0;
  margin: 0 auto;
  padding: 16.67svh 0 0;
  text-align: center;
}
.option-b .reference-hero .hero-copy { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; padding: 0; }
.reference-eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 6px 24px; margin: 0; border-radius: 999px; color: #ffffffd9;
  background: #000; font-size: 14px; font-weight: 400; line-height: 1; letter-spacing: -.04em;
}
.option-b .reference-hero h1 {
  margin: 0;
  color: #fff;
  font: 500 clamp(44px, 4vw, 68px)/1 "Vexel DM Sans", "DM Sans", Arial, sans-serif;
  letter-spacing: -.06em;
}
.reference-description {
  width: min(86vw, 1180px); margin: 0;
  color: #ececec; font-size: clamp(16px, 1.25vw, 21px); font-weight: 300;
  line-height: 1.15; letter-spacing: -.02em; text-wrap: balance;
}
.reference-hero :is(h1, .reference-description) { text-shadow: 0 1px 16px #0009; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; }
.option-b .reference-hero .orbit-stage { position: relative; width: auto; min-height: 0; height: auto; margin: 0; }
.option-b .reference-hero .reference-chat-launcher { position: relative; display: block; width: auto; margin: 0; padding: 0; border-radius: 999px; }
.option-b .reference-hero .reference-chat-launcher .orbit-chat-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: auto; min-width: 155px; min-height: 48px; margin: 0; padding: 8px 14px;
  border: 1px solid #ffffff17; border-radius: 999px; box-shadow: none; background: black; color: white;
  font: 400 16px/1 "Vexel DM Sans", "DM Sans", Arial, sans-serif; letter-spacing: -.02em;
}
.reference-chat-launcher img { width: 23px; height: 23px; border-radius: 50%; }
.reference-chat-prompt { flex: 1; text-align: left; }
.option-b .reference-hero .reference-chat-launcher .chat-launch-arrow { color: white; font: 18px/1 Arial, sans-serif; }
.option-b .reference-hero .reference-chat-launcher:hover .orbit-chat-bar { border-color: #69d7fc; }
.hero-demo { white-space: nowrap; }
.vx-dashboard-frame {
  position: absolute; z-index: 2; top: 59.7svh; left: 0; right: 0; margin: 0 auto;
  width: min(81vw, 1600px); padding: 10px; overflow: hidden; transform-origin: center;
  border: 1px solid #ffffff1a; border-radius: 32px;
  background: #0000004d; backdrop-filter: blur(10px);
}
.vx-dashboard-frame > .brief-glass { overflow: hidden; border-radius: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .option-b .reference-hero .vx-dashboard-frame { transition: transform 300ms linear; }
  .reference-hero.dashboard-enlarged .vx-dashboard-frame { transform: scale(1.3); }
  .option-b:not(.chat-open) .reference-hero :is(.hero-copy, .reference-chat-launcher, .hero-demo) {
    transition: opacity 550ms linear(0, .067, .218, .396, .566, .712, .826, .91, .966, 1.001, 1.019, 1.027, 1.028, 1.025, 1.02, 1.015, 1.011, 1.007, 1.004, 1.002, 1.001, 1, .999, .999, .999, .999, .999, 1);
  }
  .option-b:not(.chat-open) .reference-hero.opening-exited .hero-copy,
  .option-b:not(.chat-open) .reference-hero.opening-exited :is(.reference-chat-launcher, .hero-demo):not(:focus-visible) {
    opacity: 0;
    pointer-events: none;
  }
}
.option-b.chat-open:not(.chat-focused) .hero-demo { visibility: hidden; }
.option-b.chat-open:not(.chat-focused):not(.preview-keyboard) .reference-hero .hero-actions #mendy-card {
  left: calc(50% + 100px); top: 0; width: min(350px, calc(100vw - 32px)); transform: translate(-50%, -18%);
}
.option-b.chat-focused .reference-hero :is(.topbar, .hero-demo, .vx-dashboard-frame) { visibility: hidden; }
.option-b.chat-focused .reference-hero .hero-copy, .option-b.preview-keyboard .reference-hero .hero-copy { opacity: 0; }
.option-b.chat-focused .scene-field { opacity: .18; }
.option-b.chat-focused .hero-layout, .option-b.preview-keyboard .hero-layout { z-index: 40; }
.option-b .reference-hero :focus-visible { outline: 2px solid #8adfff; outline-offset: 3px; }
@media (max-width: 992px) {
  .option-b .reference-hero { padding-inline: 20px; }
  .option-b .reference-hero .topbar { padding: 12px max(20px, var(--safe-left), var(--safe-right)); }
  .nav-shell { position: relative; left: auto; transform: none; width: min(60vw, 480px); gap: 15px; padding: 6px 6px 6px 20px; }
  .reference-nav a, .option-b .reference-hero .header-actions > :is(.client-sign-in,.nav-cta) { font-size: 14px; }
  .option-b .reference-hero .header-actions { gap: 15px; }
  .option-b .reference-hero .header-actions > .nav-cta, .hero-demo { padding: 8px 8px 8px 12px; }
}
@media (max-width: 760px) {
  html.rrh-landing { scroll-padding-top: 72px; }
  .option-b .reference-hero { height: max(610px, 100svh); padding-inline: 14px; }
  .option-b .reference-hero .topbar { height: 68px; gap: 5px; padding: 8px max(12px, var(--safe-left), var(--safe-right)); }
  .option-b .reference-hero .brand { width: clamp(105px, 32vw, 143px); padding: 3px 5px; }
  .nav-shell { margin-left: auto; padding: 2px; width: auto; }
  .reference-nav { display: none; }
  .option-b .reference-hero .header-actions { gap: 1px; }
  .option-b .reference-hero .header-actions > :is(.client-sign-in, .nav-cta) { min-height: 44px; height: 44px; font-size: 13px; padding-inline: 10px; }
  .option-b .reference-hero .header-actions > .nav-cta { padding-inline: 12px; }
  .nav-cta .round-arrow { display: none; }
  .vx-menu-button { display: inline-flex; flex: none; }
  .option-b .reference-hero .hero-layout { width: 100%; padding: max(88px, 18svh) 0 0; }
  .option-b .reference-hero .hero-copy { gap: 12px; }
  .option-b .reference-hero h1 { font-size: clamp(32px, 7vw, 48px); }
  .reference-eyebrow { padding-inline: 12px; font-size: 12px; }
  .reference-eyebrow img { height: 16px; width: 16px; }
  .reference-description { width: 100%; max-width: 480px; font-size: 16px; line-height: 1.2; }
  .hero-actions { gap: 10px; margin-top: 26px; }
  .option-b .reference-hero .reference-chat-launcher .orbit-chat-bar { min-height: 44px; min-width: 134px; padding-inline: 10px; gap: 7px; font-size: 14px; }
  .hero-demo { font-size: 14px; gap: 7px; }
  .vx-dashboard-frame { width: min(76vw, 590px); top: max(405px, 56svh); padding: 5px; border-radius: 12px; }
  .vx-dashboard-frame > .brief-glass { border-radius: 8px; }
  .option-b.chat-open:not(.chat-focused):not(.preview-keyboard) .reference-hero .hero-actions #mendy-card { left: calc(50% + 81px); }
  .option-b .reference-hero .orbit-greeting-close { min-width: 44px; min-height: 44px; }
}
@media (max-width: 350px) {
  .option-b .reference-hero .topbar { gap: 2px; padding-inline: 8px; }
  .option-b .reference-hero .brand { width: 101px; }
  .option-b .reference-hero .header-actions > :is(.client-sign-in,.nav-cta) { padding-inline: 8px; }
  .hero-actions { gap: 6px; }
  .option-b .reference-hero .reference-chat-launcher .orbit-chat-bar { min-width: 127px; }
  .hero-demo { padding-inline: 10px 6px; }
}
@media (min-width: 761px) and (max-height: 590px) {
  .option-b .reference-hero .topbar { top: 0; padding-block: 4px; }
  .option-b .reference-hero .hero-layout { padding-top: max(62px, 14svh); }
  .option-b .reference-hero h1 { font-size: min(6.5svh, 44px); }
  .reference-eyebrow { padding-block: 3px; }
  .hero-actions { margin-top: 10px; }
  .vx-dashboard-frame { top: max(252px, 59.7svh); }
}

.option-b .reference-hero #mendy-card {
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 65px #17355f25, 0 0 0 1px #dbe4ef;
}
.option-b .reference-hero #mendy-card .mendy-root {
  --mendy-text: #1a2a43;
  --mendy-muted: #50627d;
  --mendy-accent: #174dcc;
  --mendy-you: #e8efff;
  --mendy-them: #f2f5f9;
  --mendy-border: #dbe4ef;
  --mendy-banner: #f2f6fc;
  --mendy-focus: #174dcc;
}
.option-b .reference-hero #mendy-card .mendy-header { background: #fff; color: #1a2a43; }
.option-b .reference-hero #mendy-card .mendy-mark {
  border-radius: 10px;
  background: #eaf2ff url("/favicon.ico?v=mendy-robot") center / 72% auto no-repeat;
  font-size: 0;
}
.option-b .reference-hero #mendy-card .mendy-log {
  background: linear-gradient(180deg, #fbfcfe, #fff 55%);
  padding-block-start: 14px;
}
.option-b .reference-hero #mendy-card .mendy-msg { border-radius: 14px; }
.option-b .reference-hero #mendy-card .mendy-mendy { border-bottom-left-radius: 5px; }
.option-b .reference-hero #mendy-card .mendy-you { border-bottom-right-radius: 5px; }
.option-b .reference-hero #mendy-card .mendy-input { border-radius: 11px; }
.option-b .reference-hero #mendy-card .mendy-send { border-radius: 10px; }
.option-b .reference-hero #mendy-card .mendy-send:focus-visible { outline-color: #174dcc; outline-offset: 2px; }
.option-b .reference-hero #mendy-card .chat-back { border-color: #dbe4ef; border-radius: 10px; }
.option-b .reference-hero #mendy-card .mendy-waitlist {
  border-color: #dbe4ef;
  background: #f8faff;
}
.option-b .reference-hero #mendy-card .mendy-waitlist input { border-color: #bccde4; }

.option-b.chat-open:not(.chat-focused) .reference-hero #mendy-card {
  background: transparent;
  box-shadow: none;
}
.option-b.chat-open:not(.chat-focused):not(.preview-keyboard) .reference-hero #mendy-card {
  top: calc(50% + 16px);
}
.option-b.chat-open:not(.chat-focused) .reference-hero #mendy-card .mendy-panel {
  padding: 14px;
  border: 1px solid #dbe4ef;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 14px 45px #234e8124;
}
.option-b.chat-open:not(.chat-focused) .reference-hero #mendy-card .orbit-greeting {
  color: #162945;
  padding: 0 37px 0 0;
  text-align: left;
}
.option-b .reference-hero .orbit-greeting-ai { margin-bottom: 5px; color: #174dcc; font-size: 10px; }
.option-b .reference-hero .orbit-greeting h2 { font-size: 26px; font-weight: 600; }
.option-b .reference-hero .orbit-greeting p { margin: 6px 0 12px; font-size: 13px; }
.option-b .reference-hero .orbit-greeting-close {
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #f1f5fb;
  font-size: 20px;
}
.option-b.chat-open:not(.chat-focused) .reference-hero #mendy-card .mendy-form {
  padding: 5px 5px 5px 11px;
  border: 1px solid #c7d6eb;
  border-radius: 12px;
  background: #f8faff;
  box-shadow: none;
}
.option-b.chat-open:not(.chat-focused) .reference-hero #mendy-card .mendy-form:focus-within { border-color: #6289d4; }
.option-b.chat-open:not(.chat-focused) .reference-hero #mendy-card .mendy-input { color: #1a2a43; }
.option-b.chat-open:not(.chat-focused) .reference-hero #mendy-card .mendy-input::placeholder { color: #50627d; }
.option-b.chat-open:not(.chat-focused) .reference-hero #mendy-card .mendy-send { border-radius: 8px; }
.option-b.chat-open:not(.chat-focused) .reference-hero .orbit-choices { justify-content: flex-start; margin: 9px 0 0; }
.option-b .reference-hero .orbit-choices button { border-color: #dce5f1; border-radius: 8px; padding: 7px 8px; }
.option-b.preview-keyboard-compact .reference-hero .orbit-greeting h2 { margin-bottom: 8px; }
