@import url("/workspace-controls.css?v=73");
/* Small integration fixes; the uploaded design remains the visual source. */
html,body{overflow-x:clip}
/* Keep native form controls in the same Inter/Chinese fallback family as homepage copy. */
button,input,select,textarea{font-family:inherit}
/* Full privacy disclosures share the current document typography. */
#page-privacy .doc-content ul{padding-inline-start:24px;margin-bottom:20px}
#page-privacy .doc-content li{margin-bottom:8px}
#page-privacy .doc-content a{color:var(--brand-primary);text-decoration:underline;text-underline-offset:4px}
html{scrollbar-gutter:stable}
/* Lower subpage headings/copy without pushing the following content down. */
.page-section:not(#page-home)>.hero-section{padding-top:calc(clamp(80px,12vw,140px) + 24px)}
.hero-title{margin-bottom:16px}
.page-section:not(#page-home)>.hero-section .hero-subtitle{margin-bottom:4px}
:focus-visible{outline:3px solid var(--brand-primary);outline-offset:4px}
/* Keep text entry focus inside the field without the outer brand-colored frame. */
:is(input:not([type="button"],[type="submit"],[type="reset"],[type="image"],[type="checkbox"],[type="radio"],[type="range"],[type="color"],[type="file"],[type="hidden"]),textarea,select,[contenteditable]:not([contenteditable="false"]),[role="textbox"]):is(:focus,:focus-visible){outline:none!important;outline-offset:0;border-color:var(--text-secondary)!important;box-shadow:none!important}
#system_overview{scroll-margin-top:96px}
.hero-video-wrapper video{aspect-ratio:16/9}
.hero-video-wrapper{position:relative}
.video-preferences{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;width:100%;margin-top:12px;text-align:left}
.video-playback-hint{flex:1 1 260px;color:var(--text-secondary);font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.hero-video-wrapper .video-playback-hint{position:absolute;left:24px;right:24px;bottom:72px;padding:8px 12px;border-radius:12px;background:rgba(12,12,18,.76);color:#fff;text-align:left;pointer-events:none;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.video-playback-toggle{display:none}
.motion-toggle{max-width:100%;min-height:44px;padding:10px 16px;border:1px solid var(--border-subtle);border-radius:999px;background:var(--btn-tertiary-bg);color:var(--text-secondary);font:inherit;font-size:13px;line-height:1.4;text-align:center;white-space:normal;cursor:pointer;transition:background-color .25s ease,border-color .25s ease,color .25s ease}
.motion-toggle:not([hidden]){display:inline-flex;align-items:center;justify-content:center}
.motion-toggle:hover,.motion-toggle[aria-pressed="true"]{background:var(--btn-tertiary-hover);border-color:var(--border-hover);color:var(--text-primary)}
.mobile-nav-overlay{overflow-y:auto;overscroll-behavior:contain;height:calc(100dvh - 72px)}
html.mobile-menu-open body{position:fixed;top:var(--mobile-menu-scroll-y);left:0;right:0;width:100%;overflow:hidden}
.mobile-nav-overlay:not(.open){visibility:hidden}
.mobile-nav-preferences{display:none}
.header-left,.header-right{min-width:0;flex-shrink:0}
.brand-logo{flex-shrink:0}
.header-inner{gap:16px}
.language-control{position:relative;display:inline-flex;flex-shrink:0}
.language-control .lang-dropdown-wrapper{top:calc(100% + 8px);left:0;right:auto;bottom:auto}
/* The public language label stays light beside the pill-shaped header actions. */
body .language-control #langTrigger{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:none!important}
body .language-control #langTrigger:focus-visible{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
body .language-control #langDropdown{top:calc(100% + 8px)!important}
body .language-control #langDropdown .lang-menu{border:1px solid var(--cg-dropdown-strong,var(--text-primary))!important;border-radius:8px!important}
/* Public sign-in buttons keep their fill and focus indicator without a glow. */
.btn:is([href^="/login"],[href="https://www.crossgen-tech.com/login"],[href="#login-title"]){box-shadow:none!important}
.contact-form input,.contact-form textarea{min-width:0}
#homepageContactStatus{margin-top:20px;font-size:14px;line-height:1.6;color:var(--text-secondary)}
.feature-card,.env-card,.pricing-card,.contact-form,.contact-info{min-width:0}
.info-block p,.footer-meta,.privacy-content{overflow-wrap:anywhere}
.info-block a{color:inherit;text-underline-offset:3px}
.footer-brand-group{display:flex;flex-direction:column;gap:8px;min-width:0}
.footer-social-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 20px}
.footer-social-link{display:inline-flex;align-items:center;gap:6px;min-height:50px;color:var(--text-secondary);font-size:14px;font-weight:500;text-decoration:none}
.footer-social-link svg{width:14px;height:14px;flex:none}
.footer-social-link:hover,.footer-company-link:hover{color:var(--text-primary);text-decoration:underline;text-underline-offset:4px}
.footer-company-link{display:inline-flex;align-items:center;min-height:32px;color:inherit;text-decoration:none;max-width:100%}
.footer-social-link:focus-visible,.footer-company-link:focus-visible{outline:2px solid var(--brand-primary);outline-offset:4px;border-radius:3px}
.env-img{object-fit:contain}
@media(max-width:1150px) and (min-width:901px){
  .header-inner{padding:0 24px}.header-left{gap:20px}.header-right{gap:8px}.nav-desktop{gap:12px}
  .header-right .btn.ghost{display:none}
}
@media(max-width:900px){
  /* Keep the close icon in the viewport even while Safari locks body scrolling. */
  .header-container{position:fixed;top:0;left:0;right:0;width:100%}
  .header-wrap{height:calc(72px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px)}
  .app-layout{padding-top:calc(72px + env(safe-area-inset-top,0px))}
  .mobile-nav-overlay{top:calc(72px + env(safe-area-inset-top,0px));height:calc(100vh - 72px - env(safe-area-inset-top,0px));height:calc(100dvh - 72px - env(safe-area-inset-top,0px));padding-bottom:calc(32px + env(safe-area-inset-bottom,0px))}
  .theme-btn,.mobile-menu-btn{width:44px;height:44px;flex-shrink:0}
  .lang-btn{min-height:44px;padding:8px 10px;white-space:nowrap}
}
@media(max-width:600px){
  .form-group input,.form-group textarea{font-size:16px}
  .reveal{transform:none;transition-property:opacity}
  .brand-logo span{display:inline}.header-right{gap:4px}.header-inner{gap:20px;padding:0 20px}
  .header-right>.btn.primary{display:none}
  .mobile-nav-preferences{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;position:relative;padding:0 0 24px}
  .mobile-nav-preferences .motion-toggle{flex:0 1 auto;padding:8px 12px;background:transparent}
  .mobile-nav-links{gap:20px;margin-bottom:24px;padding-bottom:24px}
  .brand-logo img{height:24px}.header-right>.btn.primary{padding-left:14px;padding-right:14px;min-height:44px}
  .feature-card{padding:20px}.feature-image{border-radius:16px}.contact-form{padding:24px}
  .hero-actions{width:100%}.hero-actions .btn{white-space:normal;text-align:center}
  #page-home>.hero-section{padding-top:clamp(40px,12vw,64px);padding-bottom:24px}
  #page-home>.hero-section>.hero-subtitle{margin-bottom:28px}
  #page-home .hero-actions{gap:10px;margin-bottom:32px}
  #page-home .hero-video-wrapper{padding:8px;border-radius:20px}
  #page-home .hero-video-wrapper video{border-radius:12px}
  #page-home .video-preferences{display:none}
  #page-home .video-playback-toggle:not([hidden]){position:absolute;right:16px;bottom:16px;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:rgba(12,12,18,.58);color:#fff;box-shadow:0 2px 12px rgba(0,0,0,.2);cursor:pointer;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
  #page-home .video-playback-toggle svg{width:20px;height:20px;display:block;pointer-events:none}
  #page-home .hero-video-wrapper .video-playback-hint{left:16px;right:72px;bottom:16px;padding:6px 10px;border-radius:10px;font-size:12px;line-height:1.5}
  #page-home .hero-video-wrapper:has(video[controls]) .video-playback-toggle,#page-home .hero-video-wrapper:has(video[controls]) .video-playback-hint{bottom:64px}
  #page-home .section-header{margin:36px 0 24px}
  #page-home .section-title{max-width:22ch;margin-inline:auto;font-size:clamp(23px,6.6vw,28px);line-height:1.35;letter-spacing:-.025em;text-wrap:balance}
  #page-home .feature-list{margin-bottom:40px}
  .footer-inner{padding:0 20px}
}
@media(max-width:360px){
  .header-inner{padding:0 20px;gap:16px}.header-right{gap:0}.lang-btn{padding:8px 10px}
  .header-right>.btn.primary{padding-left:10px;padding-right:10px}
}
/* Keep reveal and interaction transforms on the same, gently accelerating curve. */
#page-home{--workflow-motion-ease:cubic-bezier(.25,.1,.25,1)}
#page-home .feature-card{transition:opacity .65s var(--workflow-motion-ease),transform .65s var(--workflow-motion-ease),background-color .35s ease,border-color .35s ease,box-shadow .35s ease}
#page-home .feature-image img{transform:scale(1);transform-origin:center;transition:transform .65s var(--workflow-motion-ease)}
@media(hover:hover) and (pointer:fine){
  #page-home .feature-card:hover .feature-image img{transform:scale(1.025)}
}
@media(hover:none),(pointer:coarse){
  /* Touch gets feedback only while pressed, without a synthetic hover left behind. */
  #page-home .feature-card:hover{transform:translateY(0);background:var(--bg-card);border-color:var(--border-subtle);box-shadow:var(--card-shadow)}
  #page-home .feature-card:hover .feature-image img{transform:scale(1)}
  #page-home .feature-card:active{background:var(--bg-card-hover);border-color:var(--border-hover)}
  #page-home .feature-card:active .feature-image img{transform:scale(1.015)}
}
/* An explicit site preference can override the OS; absent a choice, respect it. */
html[data-motion="reduce"],html[data-motion="reduce"] *,html[data-motion="reduce"] *::before,html[data-motion="reduce"] *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
html[data-motion="reduce"] .reveal{opacity:1!important}
html[data-motion="reduce"] :is(.reveal,.feature-image img,.btn){transform:none!important}
@media(prefers-reduced-motion:reduce){
  html:not([data-motion="full"]),html:not([data-motion="full"]) *,html:not([data-motion="full"]) *::before,html:not([data-motion="full"]) *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
  html:not([data-motion="full"]) .reveal{opacity:1!important}
  html:not([data-motion="full"]) :is(.reveal,.feature-image img,.btn){transform:none!important}
}
/* Match the workspace's 90% interface density without changing browser zoom.
   Scope this to the shared public shell: embedded tools and the conversation
   frame keep their own 100% documents and are scaled only by their parent. */
@supports (zoom: .9) {
  body:has(> .app-layout) {
    --site-ui-scale: .9;
    --site-viewport-height: calc(100dvh / .9);
    --site-viewport-small-height: calc(100svh / .9);
    zoom: var(--site-ui-scale);
  }
  body:has(> .app-layout) > .app-layout {
    min-height: var(--site-viewport-height);
  }
  body:has(> .app-layout) .login-page {
    min-height: calc(var(--site-viewport-small-height) - 72px);
  }
  html.mobile-menu-open body:has(> .app-layout) {
    top: calc(var(--mobile-menu-scroll-y) / var(--site-ui-scale));
  }
  @media (max-width: 900px) {
    body:has(> .app-layout) .mobile-nav-overlay {
      height: calc(var(--site-viewport-height) - 72px - env(safe-area-inset-top, 0px));
    }
  }
}
