@import url('/assets/common/language-toggle.css');
/* Shared public-page background: the dashboard's Midnight Flare gradient, rendered statically. */
html,body{width:100%;max-width:100%;overflow-x:clip}
body{
  min-width:320px;
  background-color:#10151F!important;
  background-image:
    radial-gradient(ellipse 45% 35% at 12% 4%,rgba(230,109,85,.10),transparent 72%),
    radial-gradient(ellipse 48% 36% at 88% 22%,rgba(70,81,100,.34),transparent 75%),
    radial-gradient(ellipse 62% 46% at 58% 100%,rgba(38,48,68,.56),transparent 78%),
    linear-gradient(155deg,#10151F,#121A27 56%,#10151F)!important;
  background-attachment:scroll!important;
  background-repeat:no-repeat;
}
.site-header,body>main,body>.site-footer{position:relative;z-index:1}


/* Static grid texture only. The existing Midnight Flare background remains unchanged. */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.62;
  background-image:
    linear-gradient(rgba(166,176,191,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(166,176,191,.055) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.72) 58%,transparent 100%);
}

/* Shared public header: this is used by every static page. */
.site-header{
  position:relative;
  z-index:20;
  border-bottom:1px solid rgba(70,81,100,.62);
  background:rgba(16,21,31,.46);
}
.site-header-inner{
  box-sizing:border-box;
  width:min(1280px,calc(100% - 48px));
  min-height:88px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:clamp(12px,1.8vw,24px);
}
.site-brand{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  gap:9px;
  min-width:0;
  color:#F2F4F7;
  font:750 18px/1.2 Manrope,"Segoe UI",sans-serif;
  letter-spacing:-.035em;
  white-space:nowrap;
  text-decoration:none;
}
.site-brand>img{
  display:block;
  flex:0 0 36px;
  width:36px;
  height:36px;
  object-fit:contain;
}
.site-beta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:3px 6px;
  border:1px solid rgba(230,109,85,.46);
  border-radius:5px;
  color:#E66D55;
  font:800 9px/1.2 Consolas,monospace;
  letter-spacing:.12em;
}
.site-desktop-nav{
  display:flex;
  flex:0 1 auto;
  align-items:center;
  justify-content:center;
  gap:clamp(16px,2.2vw,30px);
  min-width:0;
  margin-left:auto;
}
.site-desktop-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  color:#C4CBD6;
  font:600 13px/1.3 Manrope,"Segoe UI",sans-serif;
  white-space:nowrap;
  text-decoration:none;
  transition:color .16s ease;
}
.site-desktop-nav a:hover,
.site-desktop-nav a[aria-current="page"]{color:#E66D55}
.site-header-inner>.site-panel,
.site-mobile-nav>.site-panel{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:10px 15px;
  border:1px solid #465164;
  border-radius:10px;
  background:#263044;
  color:#F2F4F7;
  font:700 12px/1.35 Manrope,"Segoe UI",sans-serif;
  white-space:nowrap;
  text-decoration:none;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.site-header-inner>.site-panel:hover,
.site-mobile-nav>.site-panel:hover{
  border-color:#E66D55;
  background:#303B50;
  color:#F2F4F7;
}
.site-menu{
  display:none;
  flex:0 0 44px;
  align-items:center;
  justify-content:center;
  width:44px;
  min-width:44px;
  height:44px;
  padding:0;
  border:1px solid #465164;
  border-radius:10px;
  background:#263044;
  color:#F2F4F7;
}
.site-menu svg{display:block;width:21px;height:21px}
.site-mobile-nav{display:none}
.site-mobile-nav[hidden]{display:none!important}

/* Shared footer: keep primary and legal links aligned instead of collapsing into text. */
.site-footer{
  box-sizing:border-box;
  width:min(1280px,calc(100% - 48px));
  margin:64px auto 0;
  padding:26px 0 30px;
  border-top:1px solid rgba(70,81,100,.68);
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"brand primary" "description legal";
  align-items:center;
  gap:9px 30px;
  color:#F2F4F7;
}
.site-footer>.site-brand{grid-area:brand}
.site-footer>p{
  grid-area:description;
  max-width:440px;
  margin:0;
  color:#C4CBD6;
  font:400 12px/1.65 Manrope,"Segoe UI",sans-serif;
}
.site-footer-nav,
.legal-footer-links{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px clamp(14px,1.8vw,24px);
  min-width:0;
}
.site-footer-nav{grid-area:primary;justify-self:end}
.legal-footer-links{grid-area:legal;justify-self:end}
.site-footer-nav a,
.legal-footer-links a{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  color:#AEB8C8;
  font:550 11px/1.4 Manrope,"Segoe UI",sans-serif;
  white-space:nowrap;
  text-decoration:none;
  transition:color .16s ease;
}
.site-footer-nav a:hover,
.legal-footer-links a:hover{color:#E66D55}

/* Restore small, one-shot text reveals; no full-screen or continuous animation. */
.eb-reveal{
  opacity:0;
  transform:translateY(9px);
  transition:opacity .42s ease,transform .42s cubic-bezier(.2,.7,.2,1);
}
.eb-reveal.eb-in{opacity:1;transform:translateY(0)}
.eb-reveal-delay{transition-delay:70ms}

/* Lightweight feedback on the controls people interact with most. */
.site-header-inner>.site-panel,
.site-menu,
.site-language-toggle,
.button,
.topic,
.filters button{
  transition:color .16s ease,background-color .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.site-header-inner>.site-panel:hover,
.site-menu:hover,
.site-language-toggle:hover,
.button:hover,
.topic:hover,
.filters button:hover{transform:translateY(-2px)}
.site-menu:active,
.site-language-toggle:active,
.button:active,
.topic:active,
.filters button:active{transform:translateY(0) scale(.985)}

@media(max-width:900px){
  .site-header-inner{min-height:76px}
  .site-desktop-nav,
  .site-header-inner>.site-panel{display:none}
  .site-language-toggle{margin-left:auto}
  .site-menu{display:inline-flex}
  .site-mobile-nav{
    box-sizing:border-box;
    width:min(1280px,calc(100% - 48px));
    margin:0 auto;
    padding:0 0 18px;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px 10px;
  }
  .site-mobile-nav:not([hidden]){display:grid}
  .site-mobile-nav>a:not(.site-panel){
    display:flex;
    align-items:center;
    min-height:42px;
    padding:9px 12px;
    border:1px solid rgba(70,81,100,.7);
    border-radius:9px;
    background:rgba(38,48,68,.66);
    color:#C4CBD6;
    font:600 12px/1.4 Manrope,"Segoe UI",sans-serif;
    text-decoration:none;
  }
  .site-mobile-nav>a:not(.site-panel):hover{border-color:#E66D55;color:#F2F4F7}
  .site-mobile-nav>.site-panel{display:flex;grid-column:1/-1}
  .site-footer{
    width:calc(100% - 48px);
    margin-top:48px;
    gap:10px 18px;
  }
}
@media(max-width:620px){
  .site-header-inner{width:calc(100% - 32px);min-height:70px;gap:10px}
  .site-brand{gap:7px;font-size:16px}
  .site-brand>img{width:32px;height:32px;flex-basis:32px}
  .site-beta{font-size:8px;padding:3px 5px}
  .site-mobile-nav{width:calc(100% - 32px)}
  .site-footer{
    width:calc(100% - 32px);
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"brand" "description" "primary" "legal";
    align-items:start;
    gap:10px;
    padding-top:22px;
  }
  .site-footer-nav,
  .legal-footer-links{justify-self:start;gap:6px 16px}
  .site-footer-nav a,
  .legal-footer-links a{min-height:30px}
}
@media(prefers-reduced-motion:reduce){
  .eb-reveal,.eb-reveal.eb-in{opacity:1;transform:none;transition:none}
  .site-header-inner>.site-panel,.site-menu,.site-language-toggle,.button,.topic,.filters button{transition:none}
}


/* A contrasting display face, reserved for accent phrases and deliberate emphasis. */
.gradient,
main p strong,
main .price strong,
main .signal-strip strong{
  font-family:"Mona Sans",Mona,"Manrope",sans-serif;
  font-optical-sizing:auto;
  letter-spacing:-.025em;
}
.gradient{font-weight:650}
