/* Homepage Sign in button + still buddy containers. Load after the marshmallow CSS. */

.marketing .mkt-nav{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  min-height:64px;
}
.marketing .mkt-nav .hero-logo-link{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  flex-shrink:0;
  min-width:118px;
  text-decoration:none;
}
.marketing .mkt-nav .hero-logo{
  display:block;
  width:170px;
  height:76px;
  max-width:min(170px,32vw);
  height:auto;
  aspect-ratio:360/160;
  object-fit:contain;
  flex-shrink:0;
}
.marketing .mkt .nav-signin{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex:0 0 auto;
  min-height:48px;
  min-width:48px;
  padding:12px 16px;
  white-space:nowrap;
}
.marketing .mkt .nav-signin-ic{
  display:block;
  width:22px;
  height:22px;
  flex-shrink:0;
}
.marketing .mkt .nav-signin-label{
  font-weight:800;
  line-height:1;
}
.marketing .mkt .nav-claim{
  flex:0 0 auto;
  white-space:nowrap;
  overflow:visible;
  text-overflow:clip;
  max-width:none;
}
.marketing .mkt .nav-claim-short{display:none;}
.marketing .mkt .nav-claim-full{display:inline;}


/* Containers stay still; only the buddy cutout animates. */
.marketing .mkt .bud,
.marketing .mkt .bud:hover,
.marketing .mkt .bud:active,
.marketing .mkt .stage-btn,
.marketing .mkt .stage-btn:hover,
.marketing .mkt .stage-btn.on{
  transform:none !important;
}
.marketing .mkt .bud-frame{
  display:block;
  width:100%;
  aspect-ratio:1;
  border-radius:33px;
  border:3px solid #fff;
  box-shadow:0 6px 0 #a59abd;
  overflow:visible;
  transform:none;
  background:transparent;
  pointer-events:none;
}
.marketing .mkt .bud .bud-cutout,
.marketing .mkt .bud img.bud-cutout{
  width:100%;
  height:auto;
  aspect-ratio:1;
  object-fit:contain;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  background:transparent;
  pointer-events:none;
  transform-origin:center center;
}
.marketing .mkt .bud:hover .bud-cutout{
  transform:translateY(-6px);
}
.marketing .mkt .stage-btn img{
  transition:transform .2s ease;
  transform-origin:center center;
}
.marketing .mkt .stage-btn:hover img{
  transform:translateY(-4px);
}
.marketing .mkt .stage-btn.on img{
  transform:translateY(-4px) scale(1.02);
}
.marketing .mkt .stage-btn.on{
  outline:4px solid #3458a0;
}

@media (max-width:599px){
  .marketing .mkt-nav{
    gap:6px;
    padding:8px 8px;
  }
  .marketing .mkt-nav .hero-logo-link{min-width:min(108px,28vw);flex-shrink:0}
  .marketing .mkt-nav .hero-logo{width:min(108px,26vw);max-width:min(108px,26vw);height:auto;flex-shrink:0}
  .marketing .mkt .night-toggle{width:44px;height:44px;min-width:44px;padding:4px}
  .marketing .mkt .night-toggle img{width:30px;height:30px}
  .marketing .mkt .nav-signin{padding:10px 10px;min-height:46px;gap:5px}
  .marketing .mkt .nav-signin-ic{width:18px;height:18px}
  .marketing .mkt .nav-claim{
    padding:10px 12px;
    font-size:.8rem;
    max-width:none;
    overflow:visible;
    text-overflow:clip;
    flex:0 0 auto;
  }
  .marketing .mkt .nav-claim-full{display:none;}
  .marketing .mkt .nav-claim-short{display:inline;}
  .marketing .mkt .bud-frame{border-radius:25px}
}

@media (max-width:379px){
  .marketing .mkt-nav .hero-logo-link{min-width:min(96px,26vw)}
  .marketing .mkt-nav .hero-logo{width:min(96px,24vw);max-width:min(96px,24vw);height:auto}
  .marketing .mkt .nav-signin{padding:10px 9px}
  .marketing .mkt .nav-claim{padding:10px 11px}
}

@media (prefers-reduced-motion:reduce){
  .marketing .mkt .bud:hover .bud-cutout,
  .marketing .mkt .stage-btn:hover img,
  .marketing .mkt .stage-btn.on img,
  .marketing .mkt .buddy-spin,
  .marketing .mkt .buddy-cartwheel,
  .marketing .mkt .buddy-flip,
  .marketing .mkt .buddy-dance{
    transform:none !important;
    animation:none !important;
  }
}
