/* Shared public shell. The homepage is the single visual source for navigation and footer. */
body.lock{overflow:hidden}

body > .header{
  background:#fff;
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 1px 0 rgba(16,20,38,.06);
}
body > .header .header-inner{
  max-width:960px;
  margin:0 auto;
  height:clamp(60px,10vw,96px);
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px 0 clamp(14px,4vw,32px);
}
body > .header .logo,
body > .footer .logo{
  display:flex;
  align-items:center;
  gap:10px;
  flex:none;
  min-width:0;
  text-decoration:none;
}
body > .header .logo > svg{width:clamp(24px,4vw,34px);height:auto;flex:none}
body > .header .logo-text,
body > .footer .logo-text{
  font-weight:800;
  letter-spacing:-.6px;
  white-space:nowrap;
  background-image:linear-gradient(115deg,#e8008f 0%,#8a2be2 90%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  transition:filter .2s;
}
body > .header .logo-text{font-size:clamp(17px,2.6vw,22px)}
body > .footer .logo-text{font-size:15px!important}
body > .header .logo-text span,
body > .footer .logo-text span{
  background-image:linear-gradient(115deg,#2563eb 0%,#00a3ff 90%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
body > .header .logo:hover .logo-text{filter:brightness(1.18)}
body > .header .nav{
  display:flex;
  align-items:center;
  gap:clamp(14px,2.9vw,28px);
  margin-left:clamp(6px,2.6vw,26px);
  height:100%;
  min-width:0;
}
body > .header .nav a{
  position:relative;
  color:#20243c;
  font-size:clamp(11px,1.3vw,12.5px);
  font-weight:600;
  transition:.15s;
  white-space:nowrap;
  text-decoration:none;
}
body > .header .nav a:hover,
body > .header .nav a.active{color:#4f46e5}
body > .header .nav a.active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-22px;
  height:3px;
  border-radius:2px;
  background:linear-gradient(90deg,#2643e6,#8a2be2);
}
body > .header .header-actions{margin-left:auto;display:flex;gap:8px;flex:none}
body > .header .btn,
body > .mobile-menu .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:10px;
  height:clamp(36px,4.5vw,40px);
  padding:0 clamp(12px,1.8vw,16px);
  font-size:clamp(11.5px,1.3vw,12.5px);
  font-weight:700;
  border:none;
  transition:.2s;
  white-space:nowrap;
  text-decoration:none;
}
body > .header .btn-ghost,
body > .mobile-menu .btn-ghost{background:#fff;border:1px solid #e3e6f3;color:#171b34}
body > .header .btn-ghost:hover,
body > .mobile-menu .btn-ghost:hover{border-color:#c9cdea;background:#f6f7fd}
body > .header .btn-grad,
body > .mobile-menu .btn-grad{background:linear-gradient(90deg,#8a2be2,#ec008c);color:#fff;box-shadow:0 6px 16px rgba(236,0,140,.25)}
body > .header .btn-grad:hover,
body > .mobile-menu .btn-grad:hover{filter:brightness(1.07)}
body > .header .hamburger{
  display:none;
  margin-left:auto;
  background:none;
  border:none;
  padding:8px;
  color:#171b34;
  border-radius:8px;
  flex:none;
}
body > .mm-backdrop{
  position:fixed;
  inset:0;
  background:rgba(13,17,40,.45);
  opacity:0;
  pointer-events:none;
  transition:.25s;
  z-index:60;
}
body > .mm-backdrop.show{opacity:1;pointer-events:auto}
body > .mobile-menu{
  position:fixed;
  top:0;
  right:0;
  height:100vh;
  height:100dvh;
  width:min(320px,88vw);
  background:#fff;
  z-index:70;
  transform:translateX(105%);
  transition:transform .3s cubic-bezier(.2,.8,.25,1);
  padding:18px 18px calc(18px + env(safe-area-inset-bottom));
  display:flex;
  flex-direction:column;
  gap:4px;
  overflow-y:auto;
}
body > .mobile-menu.show{transform:translateX(0)}
body > .mobile-menu .mm-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
body > .mobile-menu .mm-close{background:none;border:none;padding:8px;color:#171b34;border-radius:8px}
body > .mobile-menu nav{display:flex;flex-direction:column}
body > .mobile-menu nav a{padding:13px 12px;border-radius:10px;font-size:14px;font-weight:600;color:#20243c;text-decoration:none}
body > .mobile-menu nav a:hover{background:#f4f5fc;color:#4f46e5}
body > .mobile-menu nav a.active{color:#4f46e5;background:#eef0ff}
body > .mobile-menu .mm-actions{margin-top:auto;display:flex;flex-direction:column;gap:10px;padding-top:18px}
body > .mobile-menu .mm-actions .btn{width:100%;height:46px;font-size:13px}

body > .footer{
  background:#fff;
  margin-top:clamp(20px,3.6vw,28px);
  border-top:1px solid #edeff7;
}
body > .footer .footer-inner{
  max-width:960px;
  margin:0 auto;
  padding:20px clamp(14px,4vw,32px) calc(20px + env(safe-area-inset-bottom));
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}
body > .footer .copy{font-size:11px;color:#8a8fa8}
body > .footer .footer-links{margin-left:auto;display:flex;gap:clamp(14px,2.8vw,26px);flex-wrap:wrap}
body > .footer .footer-links a{font-size:11px;color:#565b74;text-decoration:none}
body > .footer .footer-links a:hover{color:#4f46e5}
body > .footer .socials{display:flex;gap:18px;margin-left:6px}
body > .footer .socials a{color:#171b34;display:inline-flex;transition:.15s;padding:4px;text-decoration:none}
body > .footer .socials a:hover{color:#4f46e5}

@media (max-width:900px){
  body > .header .nav,
  body > .header .header-actions{display:none}
  body > .header .hamburger{display:inline-flex}
}
@media (max-width:680px){
  body > .footer .footer-inner{flex-direction:column;justify-content:center;text-align:center;gap:12px}
  body > .footer .footer-links{margin-left:0;justify-content:center}
  body > .footer .socials{margin-left:0}
}
@media (max-width:360px){
  body > .header .logo-text{font-size:16px}
}
@media (pointer:coarse){
  body > .footer .socials a{padding:8px}
}
@media (hover:none){
  body > .header .btn-grad:hover,
  body > .mobile-menu .btn-grad:hover{filter:none;box-shadow:none}
  body > .header .logo:hover .logo-text{filter:none}
}

