/* Phase 4.4 — Adaptive AI Design System
   Shared B2B visual tokens, touch targets, safe-area handling, and mobile navigation.
   The token layer is intentionally platform-neutral so the same visual hierarchy can
   later be mapped to a native mobile design system without changing information architecture. */
:root{
  --navy:#061426;
  --navy2:#0b2748;
  --blue:#2f6bff;
  --cyan:#21c8d7;
  --violet:#745cf5;
  --ink:#12243d;
  --muted:#5d7084;
  --line:#d9e3ee;
  --bg:#f5f8fc;
  --soft:#edf4fb;
  --sg-ai-gradient:linear-gradient(100deg,#2f6bff 0%,#5b66f2 46%,#21c8d7 100%);
  --sg-ai-dark:radial-gradient(circle at 82% 16%,rgba(33,200,215,.18),transparent 30%),linear-gradient(135deg,#05111f 0%,#0a2748 62%,#075c6c 100%);
  --sg-radius-sm:10px;
  --sg-radius-md:16px;
  --sg-radius-lg:22px;
  --sg-shadow-sm:0 10px 30px rgba(9,32,59,.07);
  --sg-shadow-md:0 18px 50px rgba(9,32,59,.10);
  --sg-touch:44px;
}
html{scroll-padding-top:100px}
body{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
body.sg-nav-open{overflow:hidden}
.w{width:min(100%,1200px);padding-left:clamp(18px,3vw,32px);padding-right:clamp(18px,3vw,32px)}
a,button{-webkit-tap-highlight-color:transparent}
button{font-family:inherit}
.primary,.secondary,.navcta,.product-link,.demo,.consult,.cb-actions a{
  min-height:var(--sg-touch);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;
}
.primary,.navcta,.product-link.primary-link,.cb-actions .primary{background:var(--sg-ai-gradient)!important;box-shadow:0 10px 28px rgba(47,107,255,.22)}
.primary:hover,.navcta:hover,.product-link.primary-link:hover,.cb-actions .primary:hover{transform:translateY(-1px);box-shadow:0 15px 34px rgba(47,107,255,.28)}
.secondary:hover,.consult:hover,.product-link:hover,.cb-actions .secondary:hover{border-color:#90b0e8;background:#f7fbff}

/* AI-company visual language: deep navy + indigo + electric cyan, restrained for B2B */
.hero,.cb-hero{background:var(--sg-ai-dark)!important}
.hero h1,.cb-hero h1{font-size:clamp(2.2rem,5vw,3.65rem);letter-spacing:-.045em}
.hero.p4-hero h1{font-size:clamp(2.35rem,5.4vw,4rem)}
h2,.cb-section h2{font-size:clamp(1.85rem,3.4vw,2.55rem)}
.eyebrow,.kicker,.p4-kicker,.cb-kicker{letter-spacing:.14em}
.card,.p4-foundation-flow,.p42-support-card,.cb-card,.cb-offer,.cb-demo-copy{
  border-color:var(--line);
  box-shadow:var(--sg-shadow-sm);
}
.card,.p42-support-card,.cb-card,.cb-offer{border-radius:var(--sg-radius-lg)}
.p4-core-card{box-shadow:0 18px 52px rgba(0,17,36,.18)}
.p4-core-no span:last-child,.p4-kicker,.cb-kicker,.kicker{color:var(--blue)}
.p4-tagline,.p4-story-card em,.p42-industry-card small{color:#88eef4}
.status,.tag,.cb-status{background:#edf4ff;color:#245dd1}

/* Desktop story-flow navigation */
header .desktop a,.site-head .navlinks a{
  position:relative;
  white-space:nowrap;
  transition:color .18s ease;
}
header .desktop a:not(.navcta):after,.site-head .navlinks a:not(.navcta):after{
  content:"";
  position:absolute;
  left:0;right:100%;bottom:-8px;height:2px;border-radius:99px;
  background:var(--sg-ai-gradient);
  transition:right .2s ease;
}
header .desktop a:not(.navcta):hover:after,.site-head .navlinks a:not(.navcta):hover:after{right:0}
header,.site-head{border-bottom:1px solid rgba(255,255,255,.08)}
.site-head{background:rgba(5,17,31,.96)}
.navrow,.site-head .nav{min-height:72px}
.site-head .brand{box-shadow:0 5px 18px rgba(0,0,0,.12)}
.lang a{min-height:34px;display:inline-flex;align-items:center;justify-content:center}

/* Native-app readiness conventions: touch size, safe area, stable compact header */
.menu,.sg-mobile-menu-button{
  width:var(--sg-touch);height:var(--sg-touch);min-width:var(--sg-touch);
  align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.28);
  border-radius:11px;background:rgba(255,255,255,.06);color:#fff;
  font-size:20px;cursor:pointer;
}
.sg-mobile-menu-button{display:none}
.v25-mobile-overlay,.sg-mobile-overlay{
  position:fixed;inset:0;z-index:48;background:rgba(2,10,20,.58);
  backdrop-filter:blur(3px);opacity:0;visibility:hidden;transition:.2s ease;
}
.v25-mobile-overlay.sg-open,.sg-mobile-overlay.sg-open{opacity:1;visibility:visible}
.sg-mobile-drawer{
  display:none;position:fixed;z-index:60;left:0;right:0;
  top:calc(72px + env(safe-area-inset-top));
  max-height:calc(100dvh - 72px - env(safe-area-inset-top));
  overflow-y:auto;overscroll-behavior:contain;
  padding:14px clamp(18px,4vw,28px) calc(20px + env(safe-area-inset-bottom));
  background:#07182d;border-top:1px solid rgba(255,255,255,.10);
  box-shadow:0 25px 60px rgba(0,0,0,.32);
  -webkit-overflow-scrolling:touch
}
.sg-mobile-drawer.sg-open{display:flex;flex-direction:column;gap:4px}
.sg-mobile-drawer a,.mobile a{
  min-height:var(--sg-touch);display:flex;align-items:center;
  padding:10px 12px;border-radius:10px;
  color:#f1f6fb!important;-webkit-text-fill-color:#f1f6fb!important;
  opacity:1!important;visibility:visible!important;
  font-size:14px;line-height:1.4;font-weight:750;
  text-shadow:none
}
.sg-mobile-drawer a:hover,.sg-mobile-drawer a:focus-visible,
.mobile a:hover,.mobile a:focus-visible{
  background:rgba(255,255,255,.08);color:#fff!important;-webkit-text-fill-color:#fff!important;
  outline:2px solid rgba(103,232,249,.65);outline-offset:1px
}
.sg-mobile-drawer .navcta,.mobile .v32-nav-contact{
  justify-content:center;margin-top:8px;background:var(--sg-ai-gradient);
  color:#fff!important;-webkit-text-fill-color:#fff!important
}
.sg-mobile-close,.v25-mobile-close{
  width:var(--sg-touch);height:var(--sg-touch);align-self:flex-end;
  border:0;background:transparent;color:#fff;font-size:28px;cursor:pointer
}

/* Content density and visual rhythm */
.p4-section,.cb-section,.section,section{scroll-margin-top:92px}
.p4-section,.cb-section,.section{padding-top:clamp(64px,8vw,92px);padding-bottom:clamp(64px,8vw,92px)}
.intro,.cb-intro{max-width:840px}
.p4-foundation-step,.p42-industry-card,.p42-support-card,.cb-card{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
@media(hover:hover){
  .p4-foundation-step:hover,.p42-industry-card:hover,.p42-support-card:hover,.cb-card:hover{transform:translateY(-2px);border-color:#bfd2e6;box-shadow:var(--sg-shadow-md)}
}

@media(max-width:1080px){
  header .desktop,.site-head .navlinks{gap:14px}
  header .desktop a,.site-head .navlinks a{font-size:12px}
}
@media(max-width:900px){
  header .top{display:none}
  header .navrow{height:72px;padding-top:env(safe-area-inset-top)}
  header{padding-top:env(safe-area-inset-top)}
  .site-head{padding-top:env(safe-area-inset-top)}
  .site-head .nav{height:72px}
  .site-head .navlinks{display:none}
  .site-head .sg-mobile-menu-button{display:inline-flex;margin-left:auto}
  .site-head .lang{margin-left:4px}
  .menu{display:inline-flex}
  .mobile{
    display:none!important;position:fixed;z-index:60;left:0;right:0;top:calc(72px + env(safe-area-inset-top));
    max-height:calc(100dvh - 72px - env(safe-area-inset-top));
    overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
    padding:12px clamp(18px,4vw,28px) calc(20px + env(safe-area-inset-bottom));
    background:#07182d;border-top:1px solid rgba(255,255,255,.10);
    box-shadow:0 25px 60px rgba(0,0,0,.32)
  }
  .mobile.sg-open{display:flex!important}
  body.sg-v4-home .hero.p4-hero,.hero{padding-top:clamp(112px,16vw,138px)}
  .cb-hero{padding-top:clamp(118px,17vw,150px)}
  .p42-knowledge-demo{min-height:auto!important}
}
@media(max-width:620px){
  :root{--sg-touch:46px}
  .lang a{padding:5px 8px;font-size:10px}
  .site-head .brand img{height:32px}
  .site-head .brand{padding:5px 7px}
  .hero p,.cb-hero p,.lead{font-size:15.5px;line-height:1.75}
  .btns,.cb-actions{gap:9px}
  .btns a,.cb-actions a{width:100%;justify-content:center}
  .p4-story,.flow,.hero-visual{border-radius:18px}
  .p4-core-card,.card,.cb-card,.cb-offer,.p42-support-card,.p42-industry-card{border-radius:18px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* About · Ecosystem / program status */
.sg-ecosystem-featured{
  position:relative;
  border-color:#8fb9ff!important;
  background:linear-gradient(145deg,#ffffff 0%,#f2f7ff 64%,#eefcfd 100%)!important;
  box-shadow:0 16px 42px rgba(47,107,255,.10)!important
}
.sg-ecosystem-featured:before{
  content:"";
  position:absolute;left:0;top:18px;bottom:18px;width:3px;border-radius:99px;
  background:var(--sg-ai-gradient)
}
.sg-program-status{
  display:inline-flex;align-items:center;min-height:24px;margin-top:14px;padding:4px 8px;
  border-radius:999px;background:#edf4ff;color:#245dd1;font-size:9px;font-weight:900;letter-spacing:.06em
}
.sg-program-status.sg-progress{background:#f2f0ff;color:#6248d7}
.sg-program-status.sg-selected{background:#eaf9f6;color:#087b69}


/* 2026-11-06 — active primary navigation state */
.navlinks a:not(.navcta),
.desktop a:not(.navcta){
  position:relative;
  transition:color .18s ease;
}
.navlinks a[aria-current="page"]:not(.navcta),
.desktop a[aria-current="page"]:not(.navcta){
  color:#7ce7f0!important;
}
.navlinks a[aria-current="page"]:not(.navcta)::after,
.desktop a[aria-current="page"]:not(.navcta)::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-12px;
  width:24px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,#315fd6,#16b8a6);
  transform:translateX(-50%);
  box-shadow:0 0 10px rgba(124,231,240,.34);
}
.sg-mobile-drawer a[aria-current="page"]:not(.navcta),
.mobile a[aria-current="page"]:not(.v32-nav-contact){
  color:#7ce7f0!important;
  background:rgba(124,231,240,.08);
  border-left:3px solid #16b8a6;
}


/* 2026-11-06 — stable desktop viewport + stronger active nav */
@media (min-width: 861px){
  html{
    scrollbar-gutter:stable;
  }
}
.navlinks a[aria-current="page"]:not(.navcta),
.desktop a[aria-current="page"]:not(.navcta){
  color:#7ce7f0!important;
  font-weight:850!important;
}
.site-head .navlinks a[aria-current="page"]:not(.navcta)::after,
header .desktop a[aria-current="page"]:not(.navcta)::after{
  opacity:1!important;
}


/* 2026-11-18 — Final cross-site card design system */
:root{
  --sg-card-radius:20px;
  --sg-card-border:#d9e3ee;
  --sg-card-shadow:0 14px 38px rgba(15,35,60,.065);
  --sg-card-shadow-hover:0 20px 48px rgba(15,35,60,.10);
  --sg-card-title-leading:1.32;
  --sg-card-body-leading:1.68;
}
.card,
.cb-card,
.cb-offer,
.p4-problem-card,
.p4-how-card,
.p42-industry-card,
.p42-support-card,
.engagement-card,
.ia-cat-card,
.ia-roadmap-card,
.about-vm-card,
.core-cap-card,
.nvidia-card{
  border-color:var(--sg-card-border);
  border-radius:var(--sg-card-radius);
  box-shadow:var(--sg-card-shadow);
}
.card h3,
.cb-card h3,
.cb-offer h3,
.p4-problem-card h3,
.p4-how-card h3,
.p42-industry-card h3,
.p42-support-card h3,
.engagement-card h3,
.ia-cat-card h3,
.ia-roadmap-card h3,
.about-vm-card h3,
.core-cap-card h3,
.nvidia-card h3{
  line-height:var(--sg-card-title-leading);
}
.card p,
.cb-card p,
.cb-offer p,
.p4-problem-card p,
.p4-how-card p,
.p42-industry-card p,
.p42-support-card p,
.engagement-card p,
.ia-cat-card p,
.ia-roadmap-card p,
.about-vm-card p,
.core-cap-card p,
.nvidia-card p{
  line-height:var(--sg-card-body-leading);
}
.p4-problem-card,
.p4-how-card,
.p42-industry-card,
.p42-support-card,
.cb-card,
.engagement-card,
.ia-cat-card,
.about-vm-card,
.core-cap-card,
.nvidia-card{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.p4-how-card .p4-tech,
.p42-industry-card .p42-tags,
.p42-support-card>a,
.cb-card>a,
.engagement-card>a,
.ia-cat-card .ia-status,
.about-vm-card .tagrow,
.about-vm-card .about-mission-steps,
.core-cap-card .tagrow,
.nvidia-card .tagrow{
  margin-top:auto;
}
.ia-cat-card .ia-tech{
  margin-top:10px;
}
.status,
.cb-status,
.ia-status,
.sg-program-status{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  box-sizing:border-box;
  padding:6px 10px;
  border-radius:999px;
  line-height:1.2;
}
.product-link,
.demo,
.consult,
.cb-actions a,
.engagement-card>a{
  min-height:46px;
  border-radius:11px;
}
@media(hover:hover){
  .card:hover,
  .cb-card:hover,
  .p4-problem-card:hover,
  .p4-how-card:hover,
  .p42-industry-card:hover,
  .p42-support-card:hover,
  .engagement-card:hover,
  .ia-cat-card:hover{
    border-color:#bfd0df;
    box-shadow:var(--sg-card-shadow-hover);
  }
}
@media(min-width:901px){
  .p4-problem-grid .p4-problem-card h3,
  .p4-how-grid .p4-how-card h3,
  .p42-industry-grid .p42-industry-card h3,
  .p42-support-grid .p42-support-card h3,
  .cb-grid3 .cb-card h3,
  .ia-category-overview .ia-cat-card h3,
  .engagement-grid .engagement-card h3,
  .about-vm-grid .about-vm-card h3{
    min-height:2.65em;
  }
  .core-cap-grid .core-cap-card h3,
  .nvidia-grid .nvidia-card h3{
    min-height:2.8em;
  }
  .cb-grid3 .cb-card>small,
  .ia-category-overview .ia-cat-card>small,
  .engagement-grid .engagement-card>span,
  .about-vm-grid .about-vm-card>small,
  .core-cap-grid .core-cap-card>small,
  .nvidia-grid .nvidia-card>small{
    display:flex;
    align-items:center;
    min-height:28px;
  }
}
@media(max-width:620px){
  .p4-problem-grid .p4-problem-card h3,
  .p4-how-grid .p4-how-card h3,
  .p42-industry-grid .p42-industry-card h3,
  .p42-support-grid .p42-support-card h3,
  .cb-grid3 .cb-card h3,
  .ia-category-overview .ia-cat-card h3,
  .engagement-grid .engagement-card h3,
  .about-vm-grid .about-vm-card h3,
  .core-cap-grid .core-cap-card h3,
  .nvidia-grid .nvidia-card h3{
    min-height:0;
  }
  .card,
  .cb-card,
  .cb-offer,
  .p4-problem-card,
  .p4-how-card,
  .p42-industry-card,
  .p42-support-card,
  .engagement-card,
  .ia-cat-card,
  .ia-roadmap-card,
  .about-vm-card,
  .core-cap-card,
  .nvidia-card{
    border-radius:18px;
  }
}
