/**
 * XGene Stage 5 — Commercial Conversion System.
 * Loaded last. Includes inherited Stage 4 acceptance corrections for the
 * article reading rail and Regulatory Record single family.
 */

:root{
  --xg110-navy:#082b49;
  --xg110-blue:#125df5;
  --xg110-teal:#0aa6a6;
  --xg110-cyan:#23b9d3;
  --xg110-lime:#84cc16;
  --xg110-coral:#ff7a3d;
  --xg110-line:#d8e4ed;
  --xg110-soft:#f5f9fc;
  --xg110-shadow:0 1.15rem 3.2rem rgba(8,43,73,.09);
}

/* --------------------------------------------------------------------------
   A. Editorial inherited correction — keep the rail in its original column.
   -------------------------------------------------------------------------- */
@media (min-width:1101px){
  .xg-article-reading .xg-editorial-reading-rail.xg-toc-docked{
    left:var(--xg-toc-dock-left,auto)!important;
    right:auto!important;
    margin:0!important;
    transform:none!important;
  }
  .xg-article-reading .xg-editorial-reading-rail.xg-toc-bottomed{
    left:var(--xg-toc-bottom-left,auto)!important;
    right:auto!important;
    margin:0!important;
    transform:none!important;
  }
}

/* --------------------------------------------------------------------------
   B. Regulatory Record single — long-title, bounded-graph evidence layout.
   -------------------------------------------------------------------------- */
.xg190-reg-record-single .xg190-hero--reg-record-single{
  overflow:hidden!important;
  padding:clamp(2.25rem,3.6vw,3.4rem) 0 clamp(2rem,3vw,2.75rem)!important;
}
.xg190-reg-record-single .xg190-hero--reg-record-single .xg190-hero__grid{
  grid-template-columns:minmax(0,1.65fr) minmax(18rem,.7fr)!important;
  gap:clamp(1.8rem,3.6vw,3.8rem)!important;
  align-items:center!important;
  overflow:hidden!important;
}
.xg190-reg-record-single .xg190-hero__copy{min-width:0!important;max-width:none!important;}
.xg190-reg-record-single .xg110-record-title,
.xg190-reg-record-single .xg190-hero--reg-record-single h1{
  max-width:31ch!important;
  margin:.18em 0 .42em!important;
  font-size:clamp(1.95rem,2.55vw,3.05rem)!important;
  line-height:1.035!important;
  letter-spacing:-.038em!important;
  text-wrap:balance;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.xg190-reg-record-single .xg190-hero--reg-record-single .xg190-hero__lead{
  max-width:61rem!important;
  font-size:clamp(.96rem,1vw,1.08rem)!important;
  line-height:1.6!important;
}
.xg110-record-graph-wrap{
  min-width:0;
  width:100%;
  max-width:24rem;
  margin-inline:auto;
  overflow:hidden;
  border-radius:1.35rem;
}
.xg190-reg-record-single .xg110-record-graph-wrap .xg190-graph{
  width:100%!important;
  max-width:24rem!important;
  min-width:0!important;
  aspect-ratio:1.26!important;
  margin:0!important;
  border-radius:1.35rem!important;
  overflow:hidden!important;
  contain:layout paint;
}
.xg190-reg-record-single .xg110-record-graph-wrap .xg190-graph svg{
  inset:4%!important;
  width:92%!important;
  height:92%!important;
  overflow:hidden!important;
}
.xg190-reg-record-single .xg110-record-graph-wrap .xg190-graph__core{
  width:7.1rem!important;
  height:7.1rem!important;
}
.xg190-reg-record-single .xg110-record-graph-wrap .xg190-graph__core strong{font-size:1rem!important;}
.xg190-reg-record-single .xg110-record-graph-wrap .xg190-graph__core span{font-size:.58rem!important;max-width:5.7rem!important;}
.xg190-reg-record-single .xg110-record-graph-wrap .xg190-graph__node{
  min-width:6.7rem!important;
  max-width:7.6rem!important;
  padding:.58rem .66rem!important;
  border-radius:.72rem!important;
}
.xg190-reg-record-single .xg110-record-graph-wrap .xg190-graph__node b{font-size:.56rem!important;}
.xg190-reg-record-single .xg110-record-graph-wrap .xg190-graph__node span{font-size:.72rem!important;line-height:1.15!important;}
.xg190-reg-record-single .xg190-record-hero-facts>span{min-width:8.5rem!important;max-width:17rem!important;}
.xg190-reg-record-single .xg190-record-signal-strip__grid{max-width:76rem;margin-inline:auto;}
.xg190-reg-record-single .xg190-section--record-body{padding-top:clamp(2.6rem,4vw,4.25rem)!important;}
.xg190-reg-record-single .xg190-record-layout{
  grid-template-columns:minmax(13.5rem,16rem) minmax(0,52rem)!important;
  gap:clamp(1.7rem,3.2vw,3rem)!important;
  align-items:start!important;
}
.xg190-reg-record-single .xg190-prose--record{padding:clamp(1.35rem,2vw,2rem)!important;}

@media(max-width:1050px){
  .xg190-reg-record-single .xg190-hero--reg-record-single .xg190-hero__grid{grid-template-columns:1fr!important;}
  .xg190-reg-record-single .xg110-record-title,
  .xg190-reg-record-single .xg190-hero--reg-record-single h1{max-width:27ch!important;font-size:clamp(2.05rem,5vw,3.1rem)!important;}
  .xg110-record-graph-wrap{max-width:31rem;margin-inline:0;}
  .xg190-reg-record-single .xg110-record-graph-wrap .xg190-graph{max-width:31rem!important;}
}
@media(max-width:760px){
  .xg190-reg-record-single .xg110-record-title,
  .xg190-reg-record-single .xg190-hero--reg-record-single h1{max-width:none!important;font-size:clamp(1.9rem,8.4vw,2.65rem)!important;line-height:1.06!important;}
  .xg190-reg-record-single .xg190-record-layout{grid-template-columns:1fr!important;}
}

/* --------------------------------------------------------------------------
   C. Commercial page system.
   -------------------------------------------------------------------------- */
.xg-contact-enterprise,.xg-book-enterprise,.xg-who-we-help,.xg-about-enterprise{
  --xg-local-ink:var(--xg110-navy);
}
.xg-contact-enterprise .xg-contact-hero,
.xg-book-enterprise .xg-contact-hero--booking{
  position:relative;
  overflow:hidden;
  border-bottom:1px solid rgba(14,132,151,.22);
}
.xg-contact-enterprise .xg-contact-hero:after,
.xg-book-enterprise .xg-contact-hero--booking:after{
  content:"";
  position:absolute;
  inset:auto -8vw -7rem auto;
  width:25rem;height:25rem;
  border:1px solid rgba(123,226,226,.15);
  border-radius:50%;
  pointer-events:none;
}
.xg-contact-enterprise .xg-contact-hero h1,
.xg-book-enterprise .xg-contact-hero h1{
  max-width:14ch!important;
  font-size:clamp(2.7rem,4.6vw,5rem)!important;
  line-height:.98!important;
  letter-spacing:-.05em!important;
}
.xg-contact-enterprise .xg-enterprise-lead,
.xg-book-enterprise .xg-enterprise-lead{max-width:43rem!important;font-size:clamp(1.02rem,1.15vw,1.18rem)!important;}
.xg-contact-pathways__grid{gap:1rem!important;}
.xg-contact-path{
  min-height:15rem;
  padding:1.35rem!important;
  border-radius:1.1rem!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
.xg-contact-path:hover,.xg-contact-path:focus-visible{transform:translateY(-6px)!important;box-shadow:0 1.25rem 2.6rem rgba(8,43,73,.13)!important;}
.xg-contact-form-layout{gap:clamp(1.6rem,4vw,4rem)!important;}
.xg-contact-assurance{
  border:1px solid #d7e5ee!important;
  border-radius:1.25rem!important;
  background:linear-gradient(160deg,#f7fbff 0%,#f2fbfa 58%,#fff8f3 100%)!important;
  box-shadow:var(--xg110-shadow)!important;
}
.xg-contact-form-wrap .xg-intake{
  border:1px solid #d9e5ed!important;
  border-radius:1.25rem!important;
  box-shadow:var(--xg110-shadow)!important;
}
.xg-contact-form-wrap .xg-intake__header{padding-bottom:1rem;border-bottom:1px solid #e2eaf0;}
.xg-contact-form-wrap .xg-form-field input:not([type=checkbox]),
.xg-contact-form-wrap .xg-form-field select,
.xg-contact-form-wrap .xg-form-field textarea{
  border-color:#cbdbe6!important;
  border-radius:.72rem!important;
  background:#fbfdff!important;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease!important;
}
.xg-contact-form-wrap .xg-form-field input:not([type=checkbox]):focus,
.xg-contact-form-wrap .xg-form-field select:focus,
.xg-contact-form-wrap .xg-form-field textarea:focus{
  border-color:var(--xg110-blue)!important;
  box-shadow:0 0 0 3px rgba(18,93,245,.11)!important;
  background:#fff!important;
}
.xg-book-layout{gap:clamp(2rem,5vw,5rem)!important;}
.xg-book-guide{
  padding:1.3rem!important;
  border:1px solid #dbe7ef;
  border-radius:1.15rem;
  background:linear-gradient(160deg,#f7fbff,#f6fcfb);
  box-shadow:0 .8rem 2.3rem rgba(8,43,73,.06);
}
.xg-booking-wrap{min-width:0;}
.xg-booking-wrap>*{max-width:100%;}

/* Route-aware conversion accenting. */
.xg-contact-enterprise--project .xg-contact-form-section{background:linear-gradient(135deg,#f5f9ff,#fff8f3 72%)!important;}
.xg-contact-enterprise--assessment .xg-contact-form-section{background:linear-gradient(135deg,#f4fbfb,#f8fbff 72%)!important;}

/* --------------------------------------------------------------------------
   D. Reduced motion and responsive resilience.
   -------------------------------------------------------------------------- */
@media(max-width:900px){
  .xg-contact-enterprise .xg-contact-hero h1,.xg-book-enterprise .xg-contact-hero h1{max-width:18ch!important;}
  .xg-contact-form-layout,.xg-book-layout{grid-template-columns:1fr!important;}
}
@media(prefers-reduced-motion:reduce){
  .xg-contact-path{transition:none!important;}
}
html.xg-commercial-110:not(.xg-reduced-motion) .xg110-commercial-card{opacity:.94;transform:translateY(10px);}
html.xg-commercial-110:not(.xg-reduced-motion) .xg110-commercial-card.xg110-in-view{opacity:1;transform:translateY(0);transition:opacity .35s ease var(--xg110-delay,0ms),transform .35s ease var(--xg110-delay,0ms);}
