/* Mitsiry Visual Audit v21
   Final stabilization layer after full desktop/tablet/mobile review.
   Scope: readability, hierarchy, touch targets, card numbering, CTA contrast,
   orbit labels, footer/legal polish and restrained motion. */

:root{
  --va-ink:#14372b;
  --va-copy:#566b61;
  --va-paper:#fffdf8;
  --va-line:rgba(24,67,50,.13);
  --va-forest:#0b3025;
  --va-forest-2:#165742;
  --va-mint:#dff1e5;
  --va-gold:#efd38c;
  --va-gold-ink:#17392c;
  --va-shadow:0 18px 48px rgba(20,53,39,.10);
}

html{-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
body{font-kerning:normal}

/* Header: keep the compact identity, but remove undersized interactive text. */
body.ms-orbital-theme .site-header .main-nav a{
  font-size:13px!important;
  line-height:1.2!important;
  padding:10px 9px!important;
}
body.ms-orbital-theme .ms-global-brand small,
body.ms-orbital-theme .editorial-header .editorial-brand small{
  font-size:11px!important;
  line-height:1.25!important;
  letter-spacing:.01em!important;
}
body.ms-orbital-theme .ms-global-language{
  min-width:66px!important;
  min-height:40px!important;
  padding:8px 5px!important;
  font-size:11px!important;
  line-height:1!important;
}
body.ms-orbital-theme .ms-global-language span{font-size:11px!important}
body.ms-orbital-theme .ms-page-scroll{
  min-width:44px!important;
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

/* General editorial hierarchy. */
body.ms-orbital-theme .msx-section{
  color:var(--va-ink);
}
body.ms-orbital-theme .msx-intro p,
body.ms-orbital-theme .msx-feature-copy p,
body.ms-orbital-theme .ms-strategy-card p,
body.ms-orbital-theme .ms-value-row p,
body.ms-orbital-theme .msx-qa details p{
  color:var(--va-copy)!important;
  -webkit-text-fill-color:var(--va-copy)!important;
}
body.ms-orbital-theme .msx-eyebrow{
  font-size:11.5px!important;
  line-height:1.25!important;
  letter-spacing:.115em!important;
}
body.ms-orbital-theme .msx-card-kicker{
  font-size:11px!important;
  letter-spacing:.11em!important;
}
body.ms-orbital-theme .msx-card h3,
body.ms-orbital-theme .msx-process-body h3{
  text-wrap:balance;
}
body.ms-orbital-theme .msx-card p,
body.ms-orbital-theme .msx-process-body p{
  font-size:14px!important;
  line-height:1.65!important;
}
body.ms-orbital-theme .msx-caption{
  font-size:12px!important;
  line-height:1.55!important;
}

/* Cards: quieter borders and shadows, stronger copy. */
body.ms-orbital-theme .msx-section .msx-card,
body.ms-orbital-theme .msx-section .msx-process-card{
  border-color:var(--va-line)!important;
  box-shadow:var(--va-shadow)!important;
}
body.ms-orbital-theme .msx-section .msx-card:hover,
body.ms-orbital-theme .msx-section .msx-process-card:hover{
  transform:translateY(-3px)!important;
  box-shadow:0 23px 54px rgba(20,53,39,.13)!important;
}
body.ms-orbital-theme .msx-section .msx-card-media img,
body.ms-orbital-theme .msx-section .msx-process-picture img{
  transition:transform .55s cubic-bezier(.2,.65,.25,1),filter .45s ease!important;
}
body.ms-orbital-theme .msx-section .msx-card:hover .msx-card-media img,
body.ms-orbital-theme .msx-section .msx-process-card:hover .msx-process-picture img{
  transform:scale(1.035)!important;
}

/* Process numbers: keep them inside the photograph instead of balancing awkwardly on the seam. */
body.ms-orbital-theme .msx-section .msx-process-picture{
  overflow:hidden!important;
}
body.ms-orbital-theme .msx-section .msx-process-number{
  top:16px!important;
  bottom:auto!important;
  left:16px!important;
  width:46px!important;
  height:46px!important;
  border:1px solid rgba(255,255,255,.82)!important;
  border-radius:50%!important;
  background:linear-gradient(180deg,rgba(255,248,224,.98),rgba(241,216,153,.96))!important;
  color:#77541a!important;
  -webkit-text-fill-color:#77541a!important;
  font:820 13px/1 Manrope,system-ui,sans-serif!important;
  box-shadow:0 8px 22px rgba(24,42,28,.16),inset 0 1px 0 rgba(255,255,255,.9)!important;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
body.ms-orbital-theme .msx-section .msx-process-body{
  padding:24px 22px 26px!important;
}

/* CTA / conversation bands: explicit contrast wins over older card rules. */
body.ms-orbital-theme .msx-section--night{
  padding-block:clamp(68px,6vw,90px)!important;
  background:#f5f4ed!important;
}
body.ms-orbital-theme .msx-contact-band{
  position:relative!important;
  isolation:isolate;
  overflow:hidden!important;
  border:1px solid rgba(210,235,218,.22)!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 83% 8%,rgba(105,224,175,.18),transparent 31%),
    radial-gradient(circle at 10% 95%,rgba(236,204,126,.08),transparent 32%),
    linear-gradient(128deg,#082d22 0%,#0f4434 52%,#17624b 100%)!important;
  box-shadow:0 28px 66px rgba(14,54,40,.16),inset 0 1px 0 rgba(255,255,255,.07)!important;
}
body.ms-orbital-theme .msx-contact-band::before{
  content:"";
  position:absolute;
  inset:-35% 46% 38% -14%;
  z-index:-1;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.07),transparent 68%);
  pointer-events:none;
  animation:msAuditBandGlow 11s ease-in-out infinite alternate;
}
body.ms-orbital-theme .msx-contact-band .msx-eyebrow{
  color:#d9e9d6!important;
  -webkit-text-fill-color:#d9e9d6!important;
  font-weight:800!important;
}
body.ms-orbital-theme .msx-contact-band .msx-eyebrow::before,
body.ms-orbital-theme .msx-contact-band .msx-eyebrow span{
  background:#e6c77c!important;
}
body.ms-orbital-theme .msx-contact-band h2{
  max-width:17ch!important;
  margin:12px 0 18px!important;
  color:#f8fbf8!important;
  -webkit-text-fill-color:#f8fbf8!important;
  font-size:clamp(2.35rem,3.55vw,3.45rem)!important;
  line-height:1.04!important;
  letter-spacing:-.055em!important;
  text-shadow:0 4px 22px rgba(0,0,0,.14);
}
body.ms-orbital-theme .msx-contact-band p{
  max-width:63ch!important;
  margin:0!important;
  color:#dcebe2!important;
  -webkit-text-fill-color:#dcebe2!important;
  font-size:15.5px!important;
  line-height:1.7!important;
}
body.ms-orbital-theme .msx-contact-band .msx-caption{
  display:block;
  max-width:68ch;
  margin-top:14px!important;
  color:#bcd3c6!important;
  -webkit-text-fill-color:#bcd3c6!important;
}
body.ms-orbital-theme .msx-contact-band .msx-button{
  min-height:50px!important;
  padding:13px 22px!important;
  border:1px solid rgba(255,247,216,.78)!important;
  background:linear-gradient(180deg,#f5df9d,#e5c978)!important;
  color:var(--va-gold-ink)!important;
  -webkit-text-fill-color:var(--va-gold-ink)!important;
  font-size:13.5px!important;
  font-weight:850!important;
  box-shadow:0 12px 30px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.8)!important;
}
body.ms-orbital-theme .msx-contact-band .msx-button:hover{
  transform:translateY(-2px)!important;
  background:linear-gradient(180deg,#ffe9ad,#ebce7a)!important;
  box-shadow:0 16px 34px rgba(0,0,0,.20)!important;
}
@keyframes msAuditBandGlow{
  from{transform:translate3d(-2%,0,0) scale(.96);opacity:.68}
  to{transform:translate3d(4%,2%,0) scale(1.04);opacity:1}
}

/* Buttons and inline actions: no low-contrast pale-on-gold labels. */
body.ms-orbital-theme .msx-section .msx-card-action{
  min-height:46px!important;
  padding:11px 17px!important;
  color:#24563f!important;
  -webkit-text-fill-color:#24563f!important;
  font-size:13px!important;
  font-weight:820!important;
}
body.ms-orbital-theme .msx-section .msx-card--overlay .msx-card-action{
  border-color:rgba(255,246,216,.55)!important;
  background:linear-gradient(180deg,#f2d58c,#e6c572)!important;
  color:#17382c!important;
  -webkit-text-fill-color:#17382c!important;
}
body.ms-orbital-theme .msx-section .msx-card--overlay .msx-card-action::after{
  color:#17382c!important;
  -webkit-text-fill-color:#17382c!important;
}

/* Homepage orbit: the secondary labels were visually too small at desktop size. */
body.ms-orbital-theme .ms-home-core-mark{
  font-size:11px!important;
  line-height:1.1!important;
  padding:7px 11px!important;
}
body.ms-orbital-theme .ms-home-orbit-copy strong{
  font-size:12px!important;
  line-height:1.08!important;
}
body.ms-orbital-theme .ms-home-orbit-copy small{
  font-size:9.5px!important;
  line-height:1.18!important;
  color:rgba(235,244,238,.82)!important;
}
body.ms-orbital-theme .ms-home-orbit-label{
  border-color:rgba(192,235,210,.22)!important;
  background:rgba(8,38,28,.82)!important;
  box-shadow:0 10px 24px rgba(0,22,15,.17)!important;
}

/* Topic orbit labels: legible without becoming dominant. */
body.ms-orbital-theme .ms-constellation[data-scene] .ms-satellite-translation{
  min-height:32px!important;
  padding:7px 11px!important;
  color:#173d2e!important;
  -webkit-text-fill-color:#173d2e!important;
  font-size:10.5px!important;
  font-weight:820!important;
  border-color:rgba(243,223,166,.68)!important;
  background:linear-gradient(135deg,rgba(255,252,243,.97),rgba(229,241,229,.96))!important;
}
body.ms-orbital-theme .ms-constellation[data-scene] .ms-constellation-caption{
  font-size:10.5px!important;
}

/* Homepage contact/form/footer legibility. */
body.ms-orbital-theme .contact-copy .eyebrow b{
  font-size:12px!important;
}
body.ms-orbital-theme .contact-trust i,
body.ms-orbital-theme .contact-trust small{
  font-size:11.5px!important;
  line-height:1.45!important;
}
body.ms-orbital-theme .contact-pixicore small{
  font-size:11px!important;
}
body.ms-orbital-theme .contact-form label span{
  font-size:12px!important;
  line-height:1.2!important;
}
body.ms-orbital-theme .contact-form input,
body.ms-orbital-theme .contact-form textarea{
  font-size:15px!important;
}
body.ms-orbital-theme .site-footer .footer-brand small,
body.ms-orbital-theme .footer-grid>small,
body.ms-orbital-theme .pixicore-endorsement small{
  font-size:11.5px!important;
  line-height:1.4!important;
}
body.ms-orbital-theme .footer-grid>nav a{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  font-size:12.5px!important;
}
body.ms-orbital-theme .privacy-toast a{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  font-size:12px!important;
}

/* Legal + privacy: same polished density and accessible targets. */
body.legal-page{
  color:#17382c;
  background:#f8f7f1;
}
body.legal-page .simple-header{
  max-width:1240px;
  margin-inline:auto;
  padding:24px clamp(24px,4vw,44px);
}
body.legal-page .simple-header .brand small{
  font-size:11.5px!important;
  line-height:1.3!important;
  color:#64776d!important;
}
body.legal-page .simple-header>a:last-child{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  padding:0 13px;
  border:1px solid rgba(24,67,50,.13);
  border-radius:999px;
  background:#fffdf8;
  color:#194b38;
  font-size:13.5px;
  font-weight:760;
  text-decoration:none;
  box-shadow:0 7px 22px rgba(27,55,41,.06);
}
body.legal-page .legal-content{
  max-width:860px;
  padding-inline:clamp(24px,5vw,54px);
}
body.legal-page .legal-content h1{
  letter-spacing:-.055em;
}
body.legal-page .legal-content h2{
  margin-top:36px;
  color:#173e2f;
}
body.legal-page .legal-content p{
  font-size:16px;
  line-height:1.75;
  color:#53675d;
}
body.legal-page .legal-note{
  border-radius:16px;
  border:1px solid rgba(184,145,63,.18);
  background:#fff8e8;
  color:#695b39!important;
}

/* 404 page: keep the same calm premium language. */
body.error-page{
  background:
    radial-gradient(circle at 68% 25%,rgba(78,181,136,.10),transparent 30%),
    linear-gradient(180deg,#fbfaf5,#f0f3ec);
}
body.error-page main{
  width:min(620px,calc(100% - 42px));
  padding:52px clamp(26px,5vw,52px);
  border:1px solid rgba(24,67,50,.10);
  border-radius:30px;
  background:rgba(255,253,248,.88);
  box-shadow:0 26px 70px rgba(25,55,41,.10);
}
body.error-page h1{color:#17382c;letter-spacing:-.05em;text-wrap:balance}
body.error-page .button{min-height:48px;font-size:14px}

/* Tablet/mobile density and touch targets. */
@media(max-width:900px){
  body.ms-orbital-theme .msx-section--night{padding-block:64px!important}
  body.ms-orbital-theme .msx-contact-band{
    grid-template-columns:1fr!important;
    gap:24px!important;
    padding:clamp(30px,6vw,42px)!important;
  }
  body.ms-orbital-theme .msx-contact-band h2{max-width:19ch!important}
  body.ms-orbital-theme .msx-contact-band .msx-button{justify-self:start!important}
  body.ms-orbital-theme .site-header .main-nav a{font-size:12.5px!important}
  body.ms-orbital-theme .ms-global-language{min-height:44px!important}
}
@media(max-width:620px){
  body.ms-orbital-theme .msx-section--night{padding-block:52px!important}
  body.ms-orbital-theme .msx-contact-band{
    padding:28px 23px!important;
    border-radius:22px!important;
  }
  body.ms-orbital-theme .msx-contact-band h2{
    margin-top:10px!important;
    font-size:clamp(2.05rem,9.5vw,2.75rem)!important;
    line-height:1.02!important;
  }
  body.ms-orbital-theme .msx-contact-band p{font-size:14.5px!important;line-height:1.65!important}
  body.ms-orbital-theme .msx-contact-band .msx-button{
    width:100%;
    min-height:50px!important;
  }
  body.ms-orbital-theme .msx-section .msx-process-number{
    top:14px!important;
    left:14px!important;
    width:42px!important;
    height:42px!important;
    font-size:12px!important;
  }
  body.ms-orbital-theme .msx-section .msx-process-body{padding:22px 20px 24px!important}
  body.ms-orbital-theme .ms-home-core-mark{font-size:9.5px!important}
  body.ms-orbital-theme .ms-home-orbit-copy strong{font-size:10px!important}
  body.ms-orbital-theme .ms-constellation[data-scene] .ms-satellite-translation{
    min-height:28px!important;
    padding:5px 8px!important;
    font-size:8.5px!important;
  }
  body.ms-orbital-theme .ms-constellation[data-scene] .ms-constellation-caption{font-size:9px!important}
  body.legal-page .simple-header{padding:20px 20px}
  body.legal-page .simple-header>a:last-child{min-width:82px;justify-content:center}
  body.legal-page .legal-content{padding-inline:24px}
}
@media(prefers-reduced-motion:reduce){
  body.ms-orbital-theme .msx-contact-band::before{animation:none!important}
  body.ms-orbital-theme .msx-section .msx-card,
  body.ms-orbital-theme .msx-section .msx-process-card,
  body.ms-orbital-theme .msx-section .msx-card-media img,
  body.ms-orbital-theme .msx-section .msx-process-picture img{
    transition:none!important;
  }
}

/* v21 post-audit corrections: higher-specificity final passes. */
body.ms-orbital-theme #top .ms-home-orbit-copy small{
  font-size:9.5px!important;
  line-height:1.2!important;
}
body.ms-orbital-theme #top .ms-home-orbit-copy strong{
  font-size:12px!important;
  line-height:1.08!important;
}
body.ms-orbital-theme .msx-qa summary{
  min-height:44px!important;
  padding:8px 0!important;
  align-items:center!important;
}
body.ms-orbital-theme .editorial-footer .editorial-brand{
  min-height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
}
body.ms-orbital-theme .editorial-footer nav a{
  min-height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:4px 2px!important;
  font-size:13px!important;
}
body.ms-orbital-theme .privacy-toast button{
  min-width:74px!important;
  min-height:42px!important;
  padding:8px 16px!important;
  font-size:12px!important;
}
@media(min-width:621px){
  body.ms-orbital-theme .ms-constellation[data-scene] .ms-satellite-translation{
    font-size:11.5px!important;
  }
}
@media(max-width:620px){
  body.ms-orbital-theme .editorial-footer .editorial-brand,
  body.ms-orbital-theme .editorial-footer nav a{
    min-height:44px!important;
  }
}

/* Final mobile readability pass after rendered screenshot review. */
@media(max-width:620px){
  body.ms-orbital-theme .ms-home-core-mark{font-size:10px!important}
  body.ms-orbital-theme .ms-constellation[data-scene] .ms-satellite-translation{
    font-size:10px!important;
    line-height:1.05!important;
  }
}
