@layer base {
  html { scroll-behavior: smooth; }
  html, body { margin: 0; padding: 0; }
  body { min-height: 100vh; }
  main > :first-child { margin-top: 0 !important; }
  main > :last-child { margin-bottom: 0 !important; }
}
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 9999; background:#006b2c; color:#fff; padding:.65rem 1rem; border-radius:.5rem; transition:top .15s; }
.skip-link:focus { top:1rem; }
.mobile-nav-link { display:block; padding:.7rem .85rem; border-radius:.55rem; font-weight:600; font-size:.9rem; color:#3e4a3d; }
.mobile-nav-link:hover { background:#f2f3ff; color:#131b2e; }
.footer-link:hover { color:#006b2c; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.price-number { font-variant-numeric: tabular-nums; }
@media (max-width: 1279px) { #mobile-menu:not(.hidden) { display:block; } }

/* Migo header controls — keep original header shell, refined navigation/buttons */
.migo-brand-lockup{transition:transform .2s ease,filter .2s ease;}
.migo-brand-lockup:hover{transform:translateY(-1px);filter:saturate(1.05);}
.migo-desktop-nav{padding:.3rem;border-radius:12px;background:rgba(241,245,249,.62);border:1px solid rgba(226,232,240,.8);}
.migo-nav-pill{padding:.56rem .72rem;border-radius:9px;white-space:nowrap;}
.migo-nav-pill:hover{background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.05);}
.migo-nav-pill.text-primary{background:#fff;box-shadow:0 2px 10px rgba(0,107,44,.08);}
.migo-login-btn{height:42px;gap:.4rem;padding:0 1rem;border-radius:11px;color:#334155;background:#fff;border:1px solid #e2e8f0;box-shadow:0 1px 3px rgba(15,23,42,.04);transition:.2s ease;}
.migo-login-btn:hover{border-color:#cbd5e1;transform:translateY(-1px);color:#131b2e;}

.migo-demo-btn{position:relative;isolation:isolate;overflow:visible;height:42px;gap:.45rem;padding:0 1.15rem;border-radius:11px;color:#fff;background:linear-gradient(110deg,#15803d 0%,#22c55e 24%,#006b2c 46%,#712edd 72%,#eab308 100%);background-size:260% 260%;box-shadow:0 8px 22px rgba(0,107,44,.18);transition:transform .2s ease,box-shadow .2s ease;animation:migoDemoGradient 7s ease-in-out infinite;}
.migo-demo-btn>span{position:relative;z-index:3;}
.migo-demo-btn::before{content:"";position:absolute;z-index:-2;inset:-24px -34px;border-radius:28px;background:radial-gradient(circle at 18% 38%,rgba(34,197,94,.42),transparent 32%),radial-gradient(circle at 82% 42%,rgba(124,58,237,.34),transparent 34%),radial-gradient(circle at 50% 8%,rgba(234,179,8,.24),transparent 24%),radial-gradient(circle at 50% 92%,rgba(34,197,94,.18),transparent 20%);filter:blur(18px);opacity:0;transform:scale(.9);transition:opacity .25s ease,transform .4s ease;pointer-events:none;}
.migo-demo-btn::after{content:"";position:absolute;z-index:-1;inset:-16px -20px;border-radius:24px;background:conic-gradient(from 180deg at 50% 50%,rgba(124,58,237,0),rgba(124,58,237,.18),rgba(34,197,94,.2),rgba(234,179,8,.16),rgba(124,58,237,0));filter:blur(10px);opacity:0;transform:scale(.88) rotate(0deg);transition:opacity .25s ease,transform .5s ease;pointer-events:none;}
.migo-demo-btn:hover,.migo-demo-btn:focus-visible{transform:translateY(-1px);box-shadow:0 11px 28px rgba(0,107,44,.24);animation-duration:3.8s;}
.migo-demo-btn:hover::before,.migo-demo-btn:focus-visible::before{opacity:1;transform:scale(1.14);}
.migo-demo-btn:hover::after,.migo-demo-btn:focus-visible::after{opacity:.95;transform:scale(1.18) rotate(18deg);}
.migo-demo-particle{position:absolute;z-index:4;width:6px;height:6px;border-radius:999px;background:#fff;opacity:0;pointer-events:none;box-shadow:0 0 10px rgba(255,255,255,.95),0 0 18px rgba(98,223,125,.7);--dx:58px;--dy:-34px;--rot:-25deg;--delay:0s;}
.migo-demo-particle::after{content:"";position:absolute;right:3px;top:50%;width:36px;height:2px;transform:translateY(-50%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.92));border-radius:999px;}
.migo-demo-particle-1{left:-10px;top:8%;--dx:-58px;--dy:-34px;--rot:26deg;--delay:.02s;}
.migo-demo-particle-2{left:26%;top:-12px;--dx:-4px;--dy:-44px;--rot:76deg;--delay:.22s;}
.migo-demo-particle-3{right:-8px;top:10%;--dx:60px;--dy:-30px;--rot:155deg;--delay:.40s;}
.migo-demo-particle-4{right:-12px;bottom:2px;--dx:56px;--dy:34px;--rot:205deg;--delay:.62s;}
.migo-demo-particle-5{left:-8px;bottom:4px;--dx:-54px;--dy:30px;--rot:330deg;--delay:.82s;}
.migo-demo-btn:hover .migo-demo-particle,.migo-demo-btn:focus-visible .migo-demo-particle{animation:migoDemoMeteor 1.35s cubic-bezier(.2,.72,.28,1) var(--delay) infinite;}
@keyframes migoDemoGradient{0%,100%{background-position:0% 50%;}50%{background-position:100% 50%;}}
@keyframes migoDemoMeteor{0%{opacity:0;transform:translate(0,0) rotate(var(--rot)) scale(.35);}10%{opacity:1;}65%{opacity:.95;}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--rot)) scale(.06);}}
/* Team plan — Google Stitch-like animated inner glow */
@property --team-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.pricing-team-card{
  position:relative;
  isolation:isolate;
  overflow:visible;
  border:1px solid rgba(0,107,44,.24);
  background:linear-gradient(180deg,#ffffff 0%,#ffffff 65%,rgba(127,252,151,.06) 100%);
  box-shadow:0 18px 48px -32px rgba(15,23,42,.28);
}
.pricing-team-card::before,
.pricing-team-card::after{
  content:"";
  position:absolute;
  pointer-events:none;
  border-radius:inherit;
}
/* moving color field inside the card, stronger near the inner edges and soft in the center */
.pricing-team-card::before{
  inset:8px;
  z-index:0;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0) 0 42%, rgba(255,255,255,.08) 54%, rgba(255,255,255,0) 68%),
    conic-gradient(from var(--team-angle),
      rgba(34,197,94,.00) 0deg 214deg,
      rgba(34,197,94,.14) 228deg,
      rgba(34,197,94,.48) 248deg,
      rgba(113,46,221,.50) 276deg,
      rgba(234,179,8,.44) 304deg,
      rgba(34,197,94,.18) 328deg,
      rgba(34,197,94,.00) 346deg 360deg);
  filter:blur(26px) saturate(1.05);
  opacity:.9;
  -webkit-mask:radial-gradient(circle at center, transparent 0 40%, #000 66%, #000 100%);
  mask:radial-gradient(circle at center, transparent 0 40%, #000 66%, #000 100%);
  animation:migoTeamOrbit 6.4s linear infinite;
}
/* slim animated border runner */
.pricing-team-card::after{
  inset:-1px;
  z-index:1;
  padding:1.5px;
  background:conic-gradient(from var(--team-angle),
      rgba(34,197,94,.00) 0deg 220deg,
      rgba(127,252,151,.18) 234deg,
      #22c55e 252deg,
      #712edd 280deg,
      #eab308 306deg,
      rgba(127,252,151,.78) 328deg,
      rgba(34,197,94,.00) 346deg 360deg);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  filter:saturate(1.08);
  animation:migoTeamOrbit 6.4s linear infinite;
}
.pricing-team-card > *{position:relative;z-index:3;}
.pricing-team-card .pricing-team-badge{
  z-index:10;
  top:-22px;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.55rem 1.05rem;
  border-radius:999px;
  background:rgba(255,255,255,.90);
  color:#0c6d38;
  border:1px solid rgba(12,109,56,.16);
  box-shadow:0 6px 18px rgba(15,23,42,.08);
  backdrop-filter:blur(10px);
  text-transform:none;
  letter-spacing:.01em;
  font-size:12px;
  line-height:1;
}
.pricing-team-card .pricing-team-badge .material-symbols-outlined{
  font-size:16px;
  line-height:1;
  color:#22c55e;
  text-shadow:0 0 10px rgba(34,197,94,.18);
  flex:0 0 auto;
}
.pricing-team-card .pricing-team-ghost-btn{
  background:rgba(255,255,255,.28);
  color:#0c6d38;
  border:1px solid rgba(12,109,56,.22);
  box-shadow:none;
  backdrop-filter:blur(8px);
}
.pricing-team-card .pricing-team-ghost-btn:hover{
  background:rgba(255,255,255,.52);
  border-color:rgba(12,109,56,.34);
  color:#075228;
}
.pricing-team-card .pricing-team-ghost-btn .material-symbols-outlined{
  color:inherit;
}
@keyframes migoTeamOrbit{
  to{--team-angle:360deg;}
}
@media (prefers-reduced-motion:reduce){.migo-demo-btn{animation:none;background-position:50% 50%;}.migo-demo-btn:hover,.migo-demo-btn:focus-visible{transform:none}.migo-demo-btn::before,.migo-demo-btn::after{transition:none}.migo-demo-particle{display:none!important;}.pricing-team-card::before,.pricing-team-card::after{animation:none;--team-angle:290deg;}}

.migo-mobile-menu-button{border-radius:11px;border:1px solid #e2e8f0;background:#fff;color:#131b2e;box-shadow:0 1px 4px rgba(15,23,42,.05);}

/* Resource + legal cross-navigation */
.resource-switcher-wrap,.legal-switcher-wrap{max-width:80rem;margin:0 auto;padding:1rem 1.5rem 0;}
.resource-switcher,.legal-switcher{display:flex;gap:.4rem;overflow-x:auto;padding:.35rem;border:1px solid #e2e8f0;border-radius:14px;background:rgba(255,255,255,.78);box-shadow:0 8px 30px -24px rgba(15,23,42,.25);backdrop-filter:blur(12px);scrollbar-width:none;}
.resource-switcher::-webkit-scrollbar,.legal-switcher::-webkit-scrollbar{display:none;}
.resource-switcher-link,.legal-switcher-link{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.65rem .9rem;border-radius:10px;white-space:nowrap;color:#475569;font-size:.86rem;font-weight:650;transition:.18s ease;}
.resource-switcher-link .material-symbols-outlined,.legal-switcher-link .material-symbols-outlined{font-size:18px;}
.resource-switcher-link:hover,.legal-switcher-link:hover{background:#f8fafc;color:#131b2e;}
.resource-switcher-link.is-active,.legal-switcher-link.is-active{background:#fff;color:#006b2c;box-shadow:0 2px 10px rgba(0,107,44,.09);}
.legal-switcher-wrap{max-width:64rem;}

/* Resource hub */
.resource-hero-card{display:flex;min-height:310px;flex-direction:column;border:1px solid #e2e8f0;border-radius:20px;background:#fff;padding:1.75rem;box-shadow:0 12px 36px -28px rgba(15,23,42,.28);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;}
.resource-hero-card:hover{transform:translateY(-3px);box-shadow:0 20px 44px -28px rgba(15,23,42,.3);border-color:#cbd5e1;}
.resource-hero-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;}
.resource-hero-kicker{margin-top:1.3rem;font-size:11px;line-height:16px;letter-spacing:.1em;font-weight:800;color:#64748b;}
.resource-hero-card h2{margin-top:.4rem;font-size:26px;line-height:34px;font-weight:750;color:#131b2e;}
.resource-hero-card p{margin-top:.65rem;color:#64748b;line-height:1.65;}
.resource-card-cta{margin-top:auto;padding-top:1.5rem;display:inline-flex;align-items:center;gap:.4rem;color:#006b2c;font-weight:700;}
.resource-card-cta .material-symbols-outlined{font-size:18px;transition:transform .2s ease;}.resource-hero-card:hover .resource-card-cta .material-symbols-outlined{transform:translateX(3px);}

/* News */
.news-featured-card{position:relative;overflow:hidden;border-radius:24px;background:#0b0f17;padding:2rem;box-shadow:0 20px 55px -36px rgba(15,23,42,.45);}
.news-featured-glow{position:absolute;right:-10%;top:-45%;width:440px;height:440px;border-radius:999px;background:radial-gradient(circle,rgba(34,197,94,.24),rgba(113,46,221,.12) 45%,transparent 70%);filter:blur(12px);}
.news-tag,.news-status{display:inline-flex;align-items:center;gap:.4rem;border-radius:999px;padding:.35rem .65rem;font-size:12px;font-weight:700;}
.news-tag{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.1);}.news-status{background:rgba(255,255,255,.06);color:rgba(255,255,255,.75);}
.news-card{border:1px solid #e2e8f0;border-radius:18px;background:#fff;padding:1.4rem;box-shadow:0 10px 28px -24px rgba(15,23,42,.24);transition:.2s ease;}.news-card:hover{transform:translateY(-2px);box-shadow:0 16px 36px -25px rgba(15,23,42,.3);}.news-tag-light{border-radius:999px;background:#f2f3ff;padding:.3rem .55rem;font-size:12px;font-weight:700;color:#475569;}

/* Roadmap */
.roadmap-column{border:1px solid #e2e8f0;border-radius:20px;background:#fff;padding:1.5rem;box-shadow:0 12px 34px -28px rgba(15,23,42,.26);}
.roadmap-item{display:flex;gap:.75rem;border-radius:14px;background:#f8fafc;padding:1rem;transition:.18s ease;}.roadmap-item:hover{background:#f2f3ff;}.roadmap-item-dot{width:7px;height:7px;margin-top:.5rem;flex:0 0 auto;border-radius:999px;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.1);}

/* Wishlist */
.wishlist-step{display:flex;gap:.85rem;align-items:flex-start;border:1px solid #e2e8f0;border-radius:16px;background:#fff;padding:1.15rem;}.wishlist-step>span{width:30px;height:30px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:999px;background:#006b2c;color:#fff;font-size:12px;font-weight:800;}.wishlist-step p{margin-top:.2rem;color:#64748b;font-size:13px;line-height:1.55;}
.wishlist-card{border:1px solid #e2e8f0;border-radius:18px;background:#fff;padding:1.35rem;transition:.2s ease;}.wishlist-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px -28px rgba(15,23,42,.3);}.wishlist-status{border-radius:999px;padding:.3rem .55rem;font-size:12px;font-weight:700;}.wishlist-status-primary{background:#dcfce7;color:#166534}.wishlist-status-secondary{background:#ede9fe;color:#5b21b6}.wishlist-status-tertiary{background:#fef3c7;color:#92400e}.wishlist-input{width:100%;height:44px;border-radius:12px;background:#f2f3ff;padding:0 .8rem;color:#131b2e;outline:none;border:1px solid transparent;transition:.18s ease;}.wishlist-input:focus{background:#fff;border-color:rgba(0,107,44,.35);box-shadow:0 0 0 3px rgba(0,107,44,.08);}

@media(max-width:640px){.resource-switcher-wrap,.legal-switcher-wrap{padding-left:1rem;padding-right:1rem}.resource-switcher-link,.legal-switcher-link{padding:.6rem .72rem}.news-featured-card{padding:1.4rem}.resource-hero-card{min-height:270px}}
