
/* ===== MPLink brand: 60% pure white / 30% deep teal #005A5B / 10% dark navy #0C2340 ===== */
:root{
  --mp-teal:#005A5B; --mp-navy:#0C2340; --mp-white:#FFFFFF;
  /* brand font (same stack as the rest of the MPLink site) */
  --font-body:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
  --font-code:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
  /* dark backgrounds -> navy.  bg-1 is the page / 3D scene background, the rest are panel tints */
  --hex-bg-1:#0C2340; --hex-bg-2:#0F2A4B; --hex-bg-3:#12335C; --hex-bg-4:#173B69;
  --hex-bg-5:#1D4475; --hex-bg-6:#234C80; --hex-bg-7:#2A558A; --hex-bg-8:#315E94;
  /* text on navy -> pure white scale */
  --hex-fg-1:#FFFFFF; --hex-fg-2:#E3EBF3; --hex-fg-3:#BFCDDC; --hex-fg-4:#97A9BF;
  --hex-fg-5:#6F86A1; --hex-fg-6:#51698A; --hex-fg-7:#3B5276;
  --hex-black-1:#0C2340; --hex-black-2:#0C2340; --hex-black-3:#0C2340; --hex-black-4:#0D2542;
  --hex-black-5:#0D2542; --hex-black-6:#0D2542; --hex-black-7:#0D2542; --hex-black-8:#0D2542;
  --hex-white-1:#FFFFFF; --hex-white-2:#E3EBF3; --hex-white-3:#97A9BF; --hex-white-4:#7F93AB;
  --hex-white-5:#667B96; --hex-white-6:#4F6584; --hex-white-7:#3C5274; --hex-white-8:#2B4166;
  /* light sections: the grey-beige backdrop becomes pure white.
     (3D model shading / outline / rim / shadow variables are deliberately NOT touched) */
  --worldColorLight1:#FFFFFF;
}
html,body{background-color:var(--backgroundColor);font-variation-settings:normal}
input,button,select{font-variation-settings:normal}
pre,code,kbd,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace}

/* Anime's own header stays in the page (its script needs it and it reserves the same top space) but is invisible and inert */
.mp-anime-stub{visibility:hidden!important;pointer-events:none!important}

/* real MPLink header floats over the 3D scene; footer covers Anime's side widgets */
.mp-chrome .site-header{--mp-top:12px;position:fixed;left:0;right:0;top:var(--mp-top);margin:0}
@media(max-width:760px){.mp-chrome .site-header{--mp-top:8px}}

/* the footer sits above the 3D layer and Anime's side widgets, and spans the full width */
.mp-chrome .site-footer{position:relative;z-index:50;width:100%}

/* keep every section heading clear of the floating header (header bottom edge: 80px, or 68px on phones) */
:root{--mp-clear:6rem}
@media(max-width:760px){:root{--mp-clear:5.25rem}}
.page main section:not(#intro) .section-content{padding-top:var(--mp-clear)}
@media(max-width:899px){.feature-section .section-text{top:var(--mp-clear)}}
@media(max-width:800px){#intro .section-content{padding-top:calc(var(--mp-clear) - 3.5rem)}}

/* the "Trusted worldwide" block is tall: on short screens drop the least important lines so nothing runs off the bottom */
@media(max-height:820px){#sponsors .section-text .mp-press{display:none}}
@media(max-height:740px){#sponsors blockquote.mp-quote+blockquote.mp-quote{display:none}}

/* 3D scene labels: MPLink words instead of module sizes */
.module-label-text div{font-size:0}
.module-label-text .size{display:none}
.module-label-text div::after{font-size:var(--text-xs);margin-left:.1rem}
.module-label-text.module-waapi div::after{content:"Hosting"}
.module-label-text.module-timeline div::after{content:"Domains"}
.module-label-text.module-svg div::after{content:"AI Builder"}
.module-label-text.module-spring div::after{content:"WordPress"}
.module-label-text.module-draggable div::after{content:"n8n"}
.module-label-text.module-scroll div::after{content:"Services"}
.modules-bundle-size{font-size:0}
.modules-bundle-size::after{content:"All-in-one";font-size:1rem}

/* hero trust badge */
.heading-sponsors .mp-trust{width:100%;display:flex;justify-content:flex-end}
.heading-sponsors .mp-trust a{display:flex;flex-direction:column;align-items:center;padding:0;background:transparent;text-decoration:none}
.heading-sponsors .mp-trust img{width:3rem;height:auto;aspect-ratio:1/1;border-radius:.6rem}
.heading-sponsors .mp-trust span{display:none}

/* trust section */
#sponsors .mp-stats{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:.4rem!important;width:100%!important;padding:0;margin:var(--margin-s) 0;max-width:26rem;list-style:none}
#sponsors .mp-stats li{width:auto!important;display:block!important;margin:0}
#sponsors .mp-stats a,#sponsors .mp-stats a *{text-decoration:none!important;border-bottom:0!important}
#sponsors .mp-stats a{display:flex;flex-direction:column;gap:.1rem;height:100%;padding:.55rem .85rem!important;border:1px solid rgba(255,255,255,.18);border-radius:.5rem;background:var(--mp-teal);color:#fff}
#sponsors .mp-stats strong{font-size:1.35rem;line-height:1.1}
#sponsors .mp-stats span{font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.8)}
#sponsors .mp-quote{max-width:26rem;font-size:.95rem;margin:0 0 var(--margin-xs);padding-left:var(--margin-s);border-left:2px solid rgba(255,255,255,.35);color:var(--hex-fg-2)}
.mp-quote cite{display:block;margin-top:.4rem;font-style:normal;color:var(--hex-fg-4);font-size:.85em}
#sponsors .section-text .mp-press{font-size:.78rem;line-height:1.5;margin-top:var(--margin-xs);color:var(--hex-fg-4)}
.mp-note{color:var(--hex-fg-4);text-align:center;margin-top:var(--margin-s)}
.sub-nav [data-card="sponsors"] .chart-bar{background:#fff}
#get-started .links-list a:hover{background:var(--mp-teal);color:#fff}

/* if the 3D scene cannot start (no WebGL): show the content and say why */
/* slow load (still starting): show the content but NEVER hide #engine: a hidden element measures 0x0 and the 3D scene would build zero-size render targets (blank until a hard refresh) */
html.mp-slow .page{opacity:1!important}
html.mp-fallback .page{opacity:1!important}
html.mp-fallback #engine{display:none}
#mp-3d-notice{position:relative;z-index:200;margin:0;padding:.9rem 1.5rem;background:#00494a;color:#fff;font-size:.9rem;line-height:1.5}
#mp-3d-notice span{display:block;opacity:.85}
#mp-3d-notice pre{white-space:pre-wrap;margin:.5rem 0 0;font-size:.75rem}
