/* RoxStart — supplemental styles for behaviors the compiled CSS/React runtime handled. */

/* Hero rotating-word keyframe (was injected at runtime on the source site). */
@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Nav dropdown mega-menus */
[data-dropdown-menu] {
  position: absolute; top: 100%; left: 0; margin-top: 12px; min-width: 340px;
  background: #fff; border: 1px solid #e8ebef; border-radius: 14px;
  box-shadow: 0 20px 48px -18px rgba(11,19,32,.32); padding: 10px; display: none; z-index: 60;
}
/* invisible bridge so moving the cursor from trigger to menu never crosses dead space */
[data-dropdown-menu]::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
[data-dropdown-menu].rox-open { display: block; }
.rox-mm-item { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.rox-mm-item:hover { background: #f1f5f9; }
.rox-mm-label { display: block; font-family: Inter, sans-serif; font-size: 14px; font-weight: 600; color: #0B1320; }
.rox-mm-desc { display: block; font-family: Inter, sans-serif; font-size: 12.5px; color: #64748b; margin-top: 2px; line-height: 1.4; }
.rox-mm-subhead { font-family: Inter, sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #94a3b8; padding: 10px 12px 4px; margin-top: 4px; border-top: 1px solid #eef1f5; }
.rox-mm-sub { padding-left: 22px; }
.rox-mm-sub .rox-mm-label { font-size: 13px; }

/* Blog "Recent Articles" right-side flyout */
.rox-mm-fly { position: relative; }
.rox-mm-item--parent { padding-right: 30px; }
.rox-mm-caret { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 17px; line-height: 1; }
.rox-mm-flyout { position: absolute; top: -10px; left: 100%; margin-left: 10px; min-width: 300px; max-width: 340px;
  background: #fff; border: 1px solid #e8ebef; border-radius: 14px; box-shadow: 0 20px 48px -18px rgba(11,19,32,.32);
  padding: 12px; display: none; z-index: 61; }
.rox-mm-flyout::before { content: ""; position: absolute; left: -12px; top: 0; bottom: 0; width: 12px; }
.rox-mm-fly:hover .rox-mm-flyout { display: block; }
.rox-mm-flyout .rox-mm-subhead { border-top: none; margin-top: 0; padding-top: 6px; }
.rox-mm-flysub { font-family: Inter, sans-serif; font-size: 12.5px; color: #94a3b8;
  padding: 0 12px 10px; margin-bottom: 6px; border-bottom: 1px solid #eef1f5; }

/* "Coming Soon" badge on a menu item + the "Book a Demo" footer CTA */
.rox-mm-badge { display: inline-block; font-family: Inter, sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.03em; color: #0e7d90; background: rgba(24,209,237,0.12); border: 1px solid rgba(24,209,237,0.3);
  border-radius: 999px; padding: 2px 9px; margin-left: 8px; vertical-align: middle; white-space: nowrap; }
.rox-mm-cta { position: relative; border-top: 1px solid #eef1f5; border-radius: 0 0 10px 10px;
  margin-top: 6px; padding-top: 14px; padding-right: 32px; }
.rox-mm-cta-label { color: #0e7d90 !important; }
.rox-mm-cta-arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #18D1ED; font-size: 16px; line-height: 1; }

/* Radar ring in the RoxVault "A Clear Record" graphic — one settle rotation, then rest. */
@keyframes rox-radar-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Cookie consent banner (global, wired) */
.rox-cookie { display: none; position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 90; width: min(760px, calc(100vw - 32px)); }
.rox-cookie--show { display: block; animation: rox-cookie-up .38s cubic-bezier(.16,1,.3,1) both; }
@keyframes rox-cookie-up { from { opacity: 0; transform: translate(-50%, 18px); } to { opacity: 1; transform: translate(-50%, 0); } }
.rox-cookie-inner { background: #0e1a2c; border: 1px solid #20304a; border-radius: 16px;
  box-shadow: 0 26px 64px -22px rgba(0,0,0,.62); padding: 15px 20px; display: flex; align-items: center; gap: 16px; }
.rox-cookie-dot { flex-shrink: 0; }
.rox-cookie-inner p { margin: 0; flex: 1; font-family: Inter, sans-serif; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.72); }
.rox-cookie-inner a { color: #18D1ED; text-decoration: underline; }
.rox-cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.rox-cookie-actions button { font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; border: none;
  border-radius: 8px; padding: 9px 18px; cursor: pointer; }
.rox-cookie-actions button[data-cookie="declined"] { background: rgba(255,255,255,.08); color: rgba(255,255,255,.72); }
.rox-cookie-accept { background: #18D1ED; color: #0B1320; }
@media (max-width: 560px) { .rox-cookie-inner { flex-direction: column; align-items: stretch; } .rox-cookie-actions button { flex: 1; } }

/* Mobile menu */
.rox-mobile-menu {
  display: none; position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
  background: #fff; box-shadow: -12px 0 44px -14px rgba(11,19,32,.32); z-index: 80;
  padding: 22px; overflow-y: auto; flex-direction: column; gap: 4px;
}
.rox-mobile-menu.rox-open { display: flex; }
.rox-mobile-menu a {
  font-family: Inter, sans-serif; font-size: 16px; font-weight: 600; color: #0B1320;
  text-decoration: none; padding: 13px 8px; border-bottom: 1px solid #f1f5f9;
}
.rox-mobile-menu a.rox-mobile-sub { font-size: 14px; font-weight: 500; color: #475569; padding-left: 18px; }
.rox-mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(11,19,32,.45); z-index: 75; }
.rox-mobile-overlay.rox-open { display: block; }

/* Scroll-reveal: elements start at inline opacity:0; JS adds this when in view. */
.rox-revealed { opacity: 1 !important; transform: none !important;
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }

/* Hero background videos */
video.rox-hero-video, .rox-hero-video { object-fit: cover; }

/* Lead-capture modals */
.rox-modal { display: none; position: fixed; inset: 0; z-index: 100; }
.rox-modal.rox-open { display: block; }
.rox-modal-overlay { position: absolute; inset: 0; background: rgba(11,19,32,.55); backdrop-filter: blur(2px); }
.rox-modal-card { position: relative; z-index: 1; background: #fff; width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 48px); overflow-y: auto; margin: 24px auto; border-radius: 18px;
  box-shadow: 0 40px 90px -30px rgba(11,19,32,.6); padding: clamp(24px, 4vw, 38px);
  animation: rox-modal-in .28s cubic-bezier(.16,1,.3,1) both; font-family: Inter, sans-serif; }
@keyframes rox-modal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rox-modal-x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: none; border-radius: 8px;
  background: #f1f5f9; color: #475569; font-size: 15px; cursor: pointer; line-height: 1; }
.rox-modal-x:hover { background: #e2e8f0; }
.rox-modal-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #0e7d90; }
.rox-modal-title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: #0B1320; margin: 8px 0 6px; }
.rox-modal-sub { color: #475569; font-size: 14.5px; margin: 0 0 22px; }
.rox-field { margin-bottom: 15px; }
.rox-field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #64748b; margin-bottom: 6px; }
.rox-field input, .rox-field select, .rox-field textarea { width: 100%; box-sizing: border-box; font-family: Inter, sans-serif;
  font-size: 15px; color: #0B1320; background: #fff; border: 1px solid #cbd5e1; border-radius: 9px; padding: 12px 13px; appearance: none; }
.rox-field textarea { resize: vertical; min-height: 84px; }
.rox-field input:focus, .rox-field select:focus, .rox-field textarea:focus { outline: none; border-color: #18D1ED; box-shadow: 0 0 0 3px rgba(24,209,237,.18); }
.rox-mg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rox-modal-submit { width: 100%; margin-top: 6px; font-family: Inter, sans-serif; font-weight: 700; font-size: 15px;
  background: #18D1ED; color: #0B1320; border: none; border-radius: 9px; padding: 14px; cursor: pointer; }
.rox-modal-submit:hover { filter: brightness(.96); }
.rox-modal-submit:disabled { opacity: .7; cursor: default; }
.rox-form-ok { font-family: Inter, sans-serif; font-size: 15px; font-weight: 600; color: #0e7d90;
  background: rgba(24,209,237,.1); border: 1px solid rgba(24,209,237,.35); border-radius: 10px; padding: 16px 18px; }
@media (max-width: 480px) { .rox-mg2 { grid-template-columns: 1fr; } }

/* ---------- Blog / resource articles ---------- */
.rox-article-page { font-family: Inter, sans-serif; background: #fff; }
.rox-article-wrap { max-width: 760px; margin: 0 auto; padding: 44px 24px 100px; }
.rox-article-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  color: #0e7d90; text-decoration: none; margin-bottom: 30px; }
.rox-article-back:hover { color: #18D1ED; }
.rox-article { color: #334155; font-size: 17px; line-height: 1.75; }
.rox-article h1 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  color: #0B1320; margin: 10px 0 20px; text-wrap: balance; }
.rox-article h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.02em; color: #0B1320; margin: 46px 0 14px; }
.rox-article h3 { font-size: 19px; font-weight: 700; color: #0B1320; margin: 30px 0 8px; }
.rox-article p { margin: 0 0 20px; }
.rox-article a { color: #0e7d90; text-decoration: underline; }
.rox-article a:hover { color: #18D1ED; }
.rox-article strong { color: #0B1320; font-weight: 700; }
.rox-article em { font-style: italic; }
.rox-article blockquote { margin: 30px 0; padding: 18px 26px; border-left: 3px solid #18D1ED;
  background: rgba(24,209,237,0.06); font-size: 18px; font-style: italic; color: #0B1320; border-radius: 0 10px 10px 0; }
.rox-article blockquote p { margin: 0; }
.rox-article ul, .rox-article ol { margin: 0 0 22px; padding-left: 24px; }
.rox-article li { margin-bottom: 9px; }
.rox-article table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px; display: block; overflow-x: auto; }
.rox-article thead { background: #f1f5f9; }
.rox-article th { text-align: left; color: #0B1320; font-weight: 700; padding: 12px 14px; border: 1px solid #e2e8f0; white-space: nowrap; }
.rox-article td { padding: 12px 14px; border: 1px solid #e2e8f0; vertical-align: top; }
/* article header eyebrow: the category label + date at the very top */
.rox-article > section:first-of-type > div:first-of-type { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #64748b; margin-bottom: 6px; }
.rox-article > section:first-of-type > div:first-of-type span:first-child { color: #0e7d90; font-weight: 700; }
/* dividers between stacked sections */
.rox-article section + section { margin-top: 8px; }

/* styled article capture: navy breadcrumb bar + full-bleed body */
.rox-article-crumb { background: #0B1320; }
.rox-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px;
  max-width: 1120px; margin: 0 auto; padding: 20px 24px; box-sizing: border-box; }
.rox-breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.rox-breadcrumb a:hover { color: #18D1ED; }
.rox-breadcrumb > span { color: rgba(255,255,255,0.28); }
.rox-breadcrumb-current { color: #18D1ED; }
/* restore the centering/padding the stripped .container class provided
   (blog captures use <section> bands; news captures use <div> bands) */
.rox-article-full > section, .rox-article-full > div { overflow: hidden; }
.rox-article-full > section > div, .rox-article-full > section > article,
.rox-article-full > div > div, .rox-article-full > div > article {
  margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.rox-article-full > section > div:not([style*="max-width"]), .rox-article-full > section > article:not([style*="max-width"]),
.rox-article-full > div > div:not([style*="max-width"]), .rox-article-full > div > article:not([style*="max-width"]) { max-width: 1120px; }
.rox-article-full img { max-width: 100%; height: auto; }

/* leadership bio modal: photo + content */
.rox-bio-card { width: min(720px, calc(100vw - 32px)); padding: 0; overflow: hidden; }
.rox-bio-grid { display: grid; grid-template-columns: 240px 1fr; }
.rox-bio-photo { background: #0B1320; }
.rox-bio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rox-bio-body { padding: clamp(26px, 3.4vw, 40px); }
.rox-bio-card .rox-modal-x { background: rgba(255,255,255,0.9); }
@media (max-width: 560px) {
  .rox-bio-grid { grid-template-columns: 1fr; }
  .rox-bio-photo { height: 260px; }
}
